NetworkManager and Nokia's HSDPA modem



Hi,

I wanted to use Nokia's built-in HSDPA modem to connect to Internet using NM.

For this I used Nokia N95 8GB: 

lsusb | grep Nokia
Bus 005 Device 011: ID 0421:0070 Nokia Mobile Phones

I had to get very recent 10-modem.fdi file (from hal-info git)
lshal | grep tty -A4 -B5
udi = 
'/org/freedesktop/Hal/devices/usb_device_421_70_noserial_if0_0_serial_unknown_0'
  info.capabilities = {'serial', 'modem', 'modem'} (string list)
  info.category = 'serial'  (string)
  info.parent = 
'/org/freedesktop/Hal/devices/usb_device_421_70_noserial_if0_0'  (string)
  info.product = 'Serial Port'  (string)
  info.subsystem = 'tty'  (string)
  info.udi = 
'/org/freedesktop/Hal/devices/usb_device_421_70_noserial_if0_0_serial_unknown_0'  
(string)
  linux.device_file = '/dev/ttyACM0'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'tty'  (string)
  linux.sysfs_path = 
'/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.10/tty/ttyACM0'  (string)
  modem.command_sets = {'V.250', 'V.250', 'GSM-07.07', 'GSM-07.05'} (string 
list)
  serial.device = '/dev/ttyACM0'  (string)
  serial.originating_device = 
'/org/freedesktop/Hal/devices/usb_device_421_70_noserial_if0_0'  (string)
  serial.port = 0  (0x0)  (int)
  serial.type = 'unknown'  (string)



Now NM can detect it as modem, but almost instantly after connecting, it exits 
with deactivating device (reason: 2).

There's the output of 
NM_SERIAL_DEBUG=1 /usr/sbin/NetworkManager --no-daemon

NetworkManager: <info>  ttyACM0: driver is 'cdc_acm'.
NetworkManager: <debug> [1229474366.651347] setup_monitor_device(): No 
monitoring udi provided
NetworkManager: <info>  Found new Modem device 'ttyACM0'.                                     
NetworkManager: <info>  (ttyACM0): exported as 
/org/freedesktop/Hal/devices/usb_device_421_70_noserial_if0_0_serial_unknown_0
NetworkManager: <info>  (ttyACM0): device state change: 1 -> 2                                                                
NetworkManager: <info>  (ttyACM0): deactivating device (reason: 2).                                                           
NetworkManager: nm_system_device_flush_ip4_routes_with_iface: assertion 
`iface_idx >= 0' failed                               
NetworkManager: nm_system_device_flush_ip4_addresses_with_iface: assertion 
`iface_idx >= 0' failed                            
NetworkManager: <info>  (ttyACM0): device state change: 2 -> 3                                                                

At this point I can see device as disconnected.

Any hints how to get it to work?


Thanks,
Rob


Attachment: signature.asc
Description: This is a digitally signed message part.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]