0.7 3G: Nokia N95-3 (RM160) not detected

Bug #262566 reported by Craig Ringer
6
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Fix Released
Undecided
ainaa dorough

Bug Description

Binary package hint: network-manager

Very like bug #257725 ; just another Nokia without appropriate HAL rules.

Patch for hal-info attached.

Note that a significant number of other Nokia handsets will need HAL rules. I expect that all Series 60 3rd Edition Nokia phones will work, and I'd personally be inclined to try to match *ALL* nokia product IDs that have the appropriate USB interface and subinterface descriptors, rather than trying to exhaustively list all handset product IDs.

If that's for some reason not possible, then I'd say at least the following should be added to the int_outof match for Nokia phones in the patch I've attached:

N96: ?
N95 8GB: 0x006e
N82: ?
N75: 0x04e1
N73: 0x04d1

As it stands, the patch only adds the N95-1 (RM159) and N95-3 (RM160).

Revision history for this message
Craig Ringer (ringerc) wrote :
Revision history for this message
Craig Ringer (ringerc) wrote :
Revision history for this message
Craig Ringer (ringerc) wrote :
Revision history for this message
Craig Ringer (ringerc) wrote :
Revision history for this message
Craig Ringer (ringerc) wrote :

Note the way everything in the nm-tool output is repeated. That's a very odd, but separate, issue.

Revision history for this message
Craig Ringer (ringerc) wrote :

After a reboot everything is behaving sensibly. The N95 is detected and can connect to the Telstra network fine using APN "Telstra.WAP". The disconnect button doesn't actually disconnect, but it sounds like that's a known issue.

Now I just have to get it going with bluetooth, then get the laptop's built-in USB HSDPA to work. They all work with my own peers file and chat script, but NM doesn't see them. Expect bugs for them soon.

Revision history for this message
Alexander Sack (asac) wrote :

please attach lshal without and fdi tweakage.

Changed in network-manager:
status: New → Incomplete
Revision history for this message
Craig Ringer (ringerc) wrote :

lshal output with original hal-info from NM PPI, no tweaks to hal-info or changes in /etc/hal/fdi .

Note that the system has an internal HSDPA modem ( a Dell 5520 ) as well, and that'll also appear in the lshal output.

Revision history for this message
Craig Ringer (ringerc) wrote :

Note that the lshal output in the above comment was taken from a system running yesterday's intrepid.

Package versions:

ii hal-info 20080508+git20080601-1ubuntu2~nm1
ii network-manager 0.7~~svn20080818t061112+eni1-0ubu
ii network-manager-gnome 0.7~~svn20080817t183748-0ubuntu1frontend)

Kernel: unpatched 2.6.27-2-generic .

Dmesg output from device attach is:

[11516.040178] usb 4-1: new full speed USB device using uhci_hcd and address 5
[11516.213106] usb 4-1: configuration #1 chosen from 1 choice
[11516.241344] cdc_acm 4-1:1.10: ttyACM0: USB ACM device
[11516.249757] usb 4-1: bad CDC descriptors
[11516.249794] usb 4-1: bad CDC descriptors

There's nothing else output in /var/log/{syslog,daemon,debug}

Revision history for this message
Craig Ringer (ringerc) wrote :

The attached file, when placed in /etc/hal/fdi/information/ named (say) phones.fdi, will enable NM to see this phone. It's easy to add others, so people having issues can use this as a workaround until support for probing phones for capabilities is added. Just add your vendor and product IDs to the file as required.

Changed in network-manager:
status: Incomplete → New
Revision history for this message
Alexander Sack (asac) wrote :

udi = '/org/freedesktop/Hal/devices/usb_device_413c_8138_Novatel_Wireless_HSDPA_Modem_if1_serial_usb_1'
  info.capabilities = {'serial'} (string list)
  info.category = 'serial' (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_413c_8138_Novatel_Wireless_HSDPA_Modem_if1' (string)
  info.product = 'Wireless 5520 Voda I Mobile Broadband (3G HSDPA) Minicard EAP-SIM Port' (string)
  info.subsystem = 'tty' (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_413c_8138_Novatel_Wireless_HSDPA_Modem_if1_serial_usb_1' (string)
  linux.device_file = '/dev/ttyUSB1' (string)
  linux.hotplug_type = 2 (0x2) (int)
  linux.subsystem = 'tty' (string)
  linux.sysfs_path = '/sys/class/tty/ttyUSB1' (string)
  serial.device = '/dev/ttyUSB1' (string)
  serial.originating_device = '/org/freedesktop/Hal/devices/usb_device_413c_8138_Novatel_Wireless_HSDPA_Modem_if1' (string)
  serial.port = 1 (0x1) (int)
  serial.type = 'usb' (string)

Revision history for this message
Alexander Sack (asac) wrote :

should be fixed in latest hal-info

Changed in network-manager:
status: New → Fix Released
Revision history for this message
Germán Pabón (ninboy) wrote :

N82 code is
0421:0072 Nokia Mobile Phones

Revision history for this message
AkiraH (akirah) wrote :

N95 8Gb - 0421:0x070

Added to 10-modem.fdi and it works like a charm.

Revision history for this message
Martin Pitt (pitti) wrote :

German, added your's to upstream git.

AkiraH, your model is already present in upstream git head, as "N95-2".

Changed in network-manager (Ubuntu):
assignee: nobody → ainaa dorough (ainaa-dorough)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.