NetworkManager con Vodafone Key mc950d

Ciao,

ho provato ad utilizzare la chiavetta internet Vodafone MC950D, ma sembra che venga riconosciuta solo dopo 5 minuti dal Network Manager. Quando collego la chiavetta al pc, viene vista correttamente.

Jun 25 10:37:56 cellopc kernel: usb 2-2: new full speed USB device using ohci_hcd and address 10
Jun 25 10:37:56 cellopc kernel: usb 2-2: New USB device found, idVendor=1410, idProduct=5010
Jun 25 10:37:56 cellopc kernel: usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=4
Jun 25 10:37:56 cellopc kernel: usb 2-2: Product: Novatel Wireless HSUPA Modem
Jun 25 10:37:56 cellopc kernel: usb 2-2: Manufacturer: Novatel Wireless
Jun 25 10:37:56 cellopc kernel: usb 2-2: SerialNumber: 356846010520030
Jun 25 10:37:56 cellopc kernel: usb 2-2: configuration #1 chosen from 1 choice
Jun 25 10:37:56 cellopc kernel: option 2-2:1.0: GSM modem (1-port) converter detected
Jun 25 10:37:56 cellopc kernel: usb 2-2: GSM modem (1-port) converter now attached to ttyUSB1
Jun 25 10:38:03 cellopc NetworkManager: (ttyUSB1): found serial port (udev: hal:CDMA)
Jun 25 10:38:03 cellopc NetworkManager: (ttyUSB1): ignoring due to lack of probed mobile broadband capabilties

Verificando con il comando lsusb viene listata correttamente la chiavetta ma da networkmanager non è visibile la connessione.

[root@cellopc ~]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 012: ID 1410:5010 Novatel Wireless
Bus 002 Device 002: ID 046d:c016 Logitech, Inc. M-UV69a/HP M-UV96 Optical Wheel Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Dopo 5 minuti la connessione diventa attiva e dai messages si nota che la device torna in stato ready.

Jun 25 10:42:57 cellopc kernel: usb 2-2: USB disconnect, address 10
Jun 25 10:42:57 cellopc kernel: option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Jun 25 10:42:57 cellopc kernel: option 2-2:1.0: device disconnected
Jun 25 10:42:58 cellopc kernel: usb 2-2: new full speed USB device using ohci_hcd and address 11
Jun 25 10:42:58 cellopc kernel: usb 2-2: New USB device found, idVendor=1410, idProduct=4400
Jun 25 10:42:58 cellopc kernel: usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=4
Jun 25 10:42:58 cellopc kernel: usb 2-2: Product: Novatel Wireless HSUPA Modem
Jun 25 10:42:58 cellopc kernel: usb 2-2: Manufacturer: Novatel Wireless
Jun 25 10:42:58 cellopc kernel: usb 2-2: SerialNumber: 356846010520031
Jun 25 10:42:58 cellopc kernel: usb 2-2: configuration #1 chosen from 1 choice
Jun 25 10:42:58 cellopc kernel: option 2-2:1.0: GSM modem (1-port) converter detected
Jun 25 10:42:58 cellopc kernel: usb 2-2: GSM modem (1-port) converter now attached to ttyUSB1
Jun 25 10:42:58 cellopc kernel: option 2-2:1.1: GSM modem (1-port) converter detected
Jun 25 10:42:58 cellopc kernel: usb 2-2: GSM modem (1-port) converter now attached to ttyUSB2
Jun 25 10:43:05 cellopc NetworkManager: (ttyUSB1): found serial port (udev:GSM hal:GSM)
Jun 25 10:43:05 cellopc NetworkManager: (ttyUSB1): new Modem device (driver: ‘option’)
Jun 25 10:43:05 cellopc NetworkManager: (ttyUSB1): exported as /org/freedesktop/Hal/devices/usb_device_1410_4400_356846010520031_if0_serial_usb_1
Jun 25 10:43:09 cellopc NetworkManager: (ttyUSB1): device state change: 1 -> 2
Jun 25 10:43:09 cellopc NetworkManager: (ttyUSB1): deactivating device (reason: 2).
Jun 25 10:43:09 cellopc NetworkManager: Policy set ‘System eth0’ (eth0) as default for routing and DNS.
Jun 25 10:43:09 cellopc NetworkManager: nm_system_device_flush_ip4_routes_with_iface: assertion iface_idx >= 0' failed Jun 25 10:43:09 cellopc NetworkManager: nm_system_device_flush_ip4_addresses_with_iface: assertion iface_idx >= 0’ failed
Jun 25 10:43:09 cellopc NetworkManager: (ttyUSB1): device state change: 2 -> 3

Potrebbe essere un bug di NetworkManager?

Grazie mille in anticipo

non credo, sembra più un riconoscimento improprio da parte di Hal, che poi ci “ripensa”.
prova a dare un:

# modprobe -r usbserial 

e subito dopo dare un:

# modprobe usbserial vendor=0x1410 product=0x4400

vedi come si comporta ora.

Il comportamento è lo stesso anche lanciando i comandi da te indicati. Mi sorge un dubbio, queste nuove chiavette in Windows montano un piccolo filesystem per installare i driver della chiavetta stessa. Non potrebbe essere che in Linux crea dei problemi durante il mount?

il problema è questo, inizialmente lo vede come:

Jun 25 10:37:56 cellopc kernel: usb 2-2: New USB device found, idVendor=1410, idProduct=5010

poi ci ripensa e diventa:
Jun 25 10:42:58 cellopc kernel: usb 2-2: New USB device found, idVendor=1410, idProduct=4400

entrambi:
Manufacturer: Novatel Wireless
SerialNumber: 356846010520031
GSM modem (1-port) converter detected
GSM modem (1-port) converter now attached to ttyUSB1

Un mio collega usa Fedora 10 e non vede neppure la chiavetta dopo ore. Su Fedora 11 facendo un eject /dev/scd1 la chiavetta viene vista per magia… Non è un problema vederla dopo 5 minuti, basta che venga vista…

mi sembra che fare l’eject sia un modo sbrigativo per imporre un “ripensamento”

all’amico con F 10 consiglio l’uso di:
http://www.draisberghof.de/usb_modeswitch/