USB Dongle Not Detected Since Upgrade to Network Manager 0.8x

Bug #421617 reported by Andy Rogers
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
NetworkManager
Invalid
Undecided
Unassigned
linux (Ubuntu)
Fix Released
Medium
Unassigned
Nominated for Karmic by Andy Rogers
network-manager (Ubuntu)
Invalid
Undecided
Alexander Sack
Nominated for Karmic by Andy Rogers

Bug Description

Since my laptop has been u[graded from Network Manager 0.71 to 0.8x in Karmic my Edimax Wiress USB dongle has failed to be picked up by Network Manager in Gnome.

Before I had no problems with it workling very robostly.

Sometimes it will be picked up and listed in the network manager list, but 9 times out of 10 it is failed to be picked up.

Down grading back to NM 0.71 does bring it back to life a bit, but is sitill noto as robost as it was before, it will keep dropping the connection and failing to reconnect.

In the early stages of the Karmic cycle on Kernel 2.6.31 I reported another bug which was here https://bugs.launchpad.net/ubuntu/+source/linux/+bug/396417 , but iam reporting these seperatley as this was since Network Manager got upgraded.

I have eaited a couple of weeks so see if a fix got released as there are other Bugs against NM but am filing this now.

Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote : apport-collect data

AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: SI7012 [SiS SI7012], device 0: Intel ICH [SiS SI7012]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: administrator 3309 F.... pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Card0.Amixer.info:
 Card hw:0 'SI7012'/'SiS SI7012 with ALC202 at irq 18'
   Mixer name : 'Realtek ALC202 rev 0'
   Components : 'AC97a:414c4740'
   Controls : 37
   Simple ctrls : 23
DistroRelease: Ubuntu 9.10
Gconf:

HibernationDevice: RESUME=UUID=6a511e64-223d-4609-8597-11fd65b82c3c
IfupdownConfig:
 auto lo
 iface lo inet loopback
IpRoute:
 192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.101 metric 1
 default via 192.168.0.254 dev eth0 proto static
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
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 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: MEDIONNB MID2020
Package: network-manager 0.8~a~git.20090825t221816.592769c-0ubuntu1~nmt1
PackageArchitecture: i386
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.31-8-generic root=UUID=8dfa434d-73e8-42ea-a1d5-43eec835591a ro quiet splash
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-8.28-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-8-generic N/A
 linux-firmware 1.16
RfKill:

Uname: Linux 2.6.31-8-generic i686
UserGroups:

WpaSupplicantLog:

dmi.bios.date: 04/02/2001
dmi.bios.vendor: Insyde Software
dmi.bios.version: Version 4.00
dmi.board.name: MID2020
dmi.board.vendor: MEDIONNB
dmi.board.version: A1
dmi.chassis.asset.tag: 12345678
dmi.chassis.type: 8
dmi.chassis.vendor: SiS
dmi.chassis.version: S2054S
dmi.modalias: dmi:bvnInsydeSoftware:bvrVersion4.00:bd04/02/2001:svnMEDIONNB:pnMID2020:pvrA1:rvnMEDIONNB:rnMID2020:rvrA1:cvnSiS:ct8:cvrS2054S:
dmi.product.name: MID2020
dmi.product.version: A1
dmi.sys.vendor: MEDIONNB

Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
Andy Rogers (andy-rogers) wrote :
tags: added: apport-collected
tags: added: networkmanager possible-regression rt2x00usb rt73usb
removed: regression
tags: added: regression-potential
removed: possible-regression
Revision history for this message
Andy Rogers (andy-rogers) wrote :
Revision history for this message
stereoit (smol-robert) wrote :

I am affected by the same stuff:
[ 7696.904097] usb 5-2: new full speed USB device using uhci_hcd and address 3
[ 7697.076380] usb 5-2: configuration #1 chosen from 1 choice
[ 7697.096211] cdc_acm 5-2:1.10: ttyACM0: USB ACM device
[ 7697.102127] usb 5-2: bad CDC descriptors
[ 7697.102177] usb 5-2: bad CDC descriptors

Btw, can somebody tell me where is NM logging in 9.10? before it was into /var/log/network-manager.log (or something like that). I am on updated 9.10 Alpha. It was working about a month ago. I'll try to run LIveCD of Alpha6 to see if it is because something happened during upgrade procedures. I am useing Nokia E51 with USB cable, but generally nothing on USB is now detected.

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

do older kernels work better for you?

Changed in network-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
stereoit (smol-robert) wrote :

I am on 2.6.31-7 and I do not see any other option. Is it possible to give a little info where NM is logging to and how it should pick-up the USB/serial port? I would try to isolate the problem but I do not know how is the dev supposed to appear in the NM. I guess UDEV creates the /dev/file and then DBUS notification??

Revision history for this message
Andy Rogers (andy-rogers) wrote :

I did try myself with Older Kernels ie 2.6.30 & 2.6.31 latest batch but this made difference.

It happened originally when the first software update from NM 0.71 to 0.8x came through the repositories.

Reverting back to NM 0.71 does help, but it is not as robust when you downgrade back to it from 0.8x

Revision history for this message
stereoit (smol-robert) wrote :

today I found it seems NM is logging to /var/log/daemon.log, and I see following message when phone is connected to USB

Sep 30 11:42:41 rsmol-laptop NetworkManager: SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.2/net/usbpn0, iface: usbpn0)

Yet I am not getting the option ot activate the connection in NM menu. I've seen there is new libnm-util pushed to my machine today, I will restart and retry.

Revision history for this message
Rick Spencer (rick-rickspencer3) wrote :

Please comment wrt status of this issue. Please re-assign/un-assign as appropriate.

Changed in network-manager (Ubuntu):
assignee: nobody → Alexander Sack (asac)
Revision history for this message
Alexander Sack (asac) wrote :

stereoit, please provide output of the following commands:

udevadm info --query=all --path=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.2/net/usbpn0
udevadm info --query=all --attribute-walk --path=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.2/net/usbpn0
ls -l /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.2/net/usbpn0/phy80211/

and post what you have in /etc/network/interfaces

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Andy,

I do notice quite a few errors printed in your dmesg logs. Care to give the latest 2.6.32-rc1 upstream kernel a quick test http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.32-rc1/ . It would be interesting to know if the issue remains. Thanks.

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
stereoit (smol-robert) wrote :
Download full text (3.6 KiB)

Hi,
after today's update&&upgrade procedure everything is detected fine.

Oct 3 11:23:14 rsmol-laptop modem-manager: (ttyACM0) opening serial device...
Oct 3 11:23:14 rsmol-laptop NetworkManager: SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1d.1/usb6/6-2/6-2:1.2/net/usbpn0, iface: usbpn0)
Oct 3 11:23:14 rsmol-laptop NetworkManager: SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:1d.1/usb6/6-2/6-2:1.2/net/usbpn0, iface: usbpn0): no exported connection
Oct 3 11:23:14 rsmol-laptop modem-manager: (ttyACM0): probe requested by plugin 'Nokia'
Oct 3 11:23:15 rsmol-laptop modem-manager: (ttyACM0) closing serial device...
Oct 3 11:23:15 rsmol-laptop modem-manager: (Nokia): GSM modem /sys/devices/pci0000:00/0000:00:1d.1/usb6/6-2 claimed port ttyACM0
Oct 3 11:23:15 rsmol-laptop modem-manager: Added modem /sys/devices/pci0000:00/0000:00:1d.1/usb6/6-2
Oct 3 11:23:15 rsmol-laptop modem-manager: Exported modem /sys/devices/pci0000:00/0000:00:1d.1/usb6/6-2 as /org/freedesktop/ModemManager/Modems/0
Oct 3 11:23:15 rsmol-laptop NetworkManager: <info> (ttyACM0): new GSM device (driver: 'cdc_acm')
Oct 3 11:23:15 rsmol-laptop NetworkManager: <info> (ttyACM0): exported as /org/freedesktop/NetworkManager/Devices/2
Oct 3 11:23:15 rsmol-laptop NetworkManager: <info> (ttyACM0): now managed
Oct 3 11:23:15 rsmol-laptop NetworkManager: <info> (ttyACM0): device state change: 1 -> 2 (reason 2)
Oct 3 11:23:15 rsmol-laptop NetworkManager: <info> (ttyACM0): deactivating device (reason: 2).
Oct 3 11:23:15 rsmol-laptop NetworkManager: flush_routes: assertion `iface_idx >= 0' failed
Oct 3 11:23:15 rsmol-laptop NetworkManager: flush_addresses: assertion `iface_idx >= 0' failed
Oct 3 11:23:15 rsmol-laptop NetworkManager: <info> (ttyACM0): device state change: 2 -> 3 (reason 0)
Oct 3 11:23:15 rsmol-laptop NetworkManager: <info> Activation (ttyACM0) starting connection 'Telefónica O2'
Oct 3 11:23:15 rsmol-laptop NetworkManager: <info> (ttyACM0): device state change: 3 -> 4 (reason 0)
Oct 3 11:23:15 rsmol-laptop NetworkManager: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) scheduled...
Oct 3 11:23:15 rsmol-laptop NetworkManager: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) started...
Oct 3 11:23:15 rsmol-laptop NetworkManager: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) complete.
Oct 3 11:23:15 rsmol-laptop modem-manager: (ttyACM0) opening serial device...
Oct 3 11:23:15 rsmol-laptop modem-manager: Registration state changed: 1
Oct 3 11:23:16 rsmol-laptop NetworkManager: <info> Activation (ttyACM0) Stage 2 of 5 (Device Configure) scheduled...
Oct 3 11:23:16 rsmol-laptop NetworkManager: <info> Activation (ttyACM0) Stage 2 of 5 (Device Configure) starting...
Oct 3 11:23:16 rsmol-laptop NetworkManager: <info> (ttyACM0): device state change: 4 -> 5 (reason 0)
Oct 3 11:23:16 rsmol-laptop NetworkManager: <info> Activation (ttyACM0) Stage 2 of 5 (Device Configure) successful.
Oct 3 11:23:16 rsmol-laptop NetworkManager: <info> Activation (ttyACM0) Stage 3 of 5 (IP Configure Start) scheduled.
Oct 3 11:23:16 rsmol-laptop NetworkManager: <info> Activation (...

Read more...

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

not a NM issue - seems to be fixed in linux.

Changed in network-manager (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Andy Whitcroft (apw) wrote :

As per reporter this seems to be fixed following a kernel update. Closing Fix Released.

Changed in linux (Ubuntu):
status: Triaged → Fix Released
Changed in network-manager:
status: New → Invalid
To post a comment you must log in.