Discussion:
[Bug 446146] Re: Huawei E169 USB dongle not working with kernel 2.6.31-12.40
(too old to reply)
Alex Murray
2009-10-10 07:21:14 UTC
Permalink
** Bug watch added: Linux Kernel Bug Tracker #14355
http://bugzilla.kernel.org/show_bug.cgi?id=14355

** Also affects: linux via
http://bugzilla.kernel.org/show_bug.cgi?id=14355
Importance: Unknown
Status: Unknown
--
Huawei E169 USB dongle not working with kernel 2.6.31-12.40
https://bugs.launchpad.net/bugs/446146
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.
GeorgeVita
2009-10-10 07:30:07 UTC
Permalink
Below is part of dmesg (2.6.31-13#43) showing the 'loop':

g at KKsep22:~$ dmesg
[ 1261.396207] usb 2-2: new full speed USB device using uhci_hcd and address 4
[ 1261.616651] usb 2-2: configuration #1 chosen from 1 choice
[ 1261.634400] scsi86 : SCSI emulation for USB Mass Storage devices
[ 1261.637423] usb-storage: device found at 4
[ 1261.637438] usb-storage: waiting for device to settle before scanning
[ 1261.744264] usb 2-2: USB disconnect, address 4
[ 1262.480201] usb 2-2: new full speed USB device using uhci_hcd and address 5
[ 1262.645650] usb 2-2: configuration #1 chosen from 1 choice
[ 1262.653302] option 2-2:1.0: GSM modem (1-port) converter detected
[ 1262.653695] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB0
[ 1262.656890] option 2-2:1.1: GSM modem (1-port) converter detected
[ 1262.657342] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB1
[ 1262.666827] option 2-2:1.2: GSM modem (1-port) converter detected
[ 1262.667166] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB2
[ 1262.672207] scsi90 : SCSI emulation for USB Mass Storage devices
[ 1262.678576] usb-storage: device found at 5
[ 1262.678585] usb-storage: waiting for device to settle before scanning
[ 1267.678453] usb-storage: device scan complete
[ 1267.681422] scsi 90:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
[ 1267.684423] scsi 90:0:0:1: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2
[ 1267.715350] sr0: scsi-1 drive
[ 1267.715798] sr 90:0:0:0: Attached scsi CD-ROM sr0
[ 1267.716193] sr 90:0:0:0: Attached scsi generic sg2 type 5
[ 1267.716944] sd 90:0:0:1: Attached scsi generic sg3 type 0
[ 1267.749246] option: option_instat_callback: error -108
[ 1267.749530] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 1267.749596] option 2-2:1.0: device disconnected
[ 1267.752224] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 1267.752271] option 2-2:1.1: device disconnected
[ 1267.755231] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 1267.755279] option 2-2:1.2: device disconnected
[ 1267.864140] usb 2-2: reset full speed USB device using uhci_hcd and address 5
[ 1268.011659] option 2-2:1.2: GSM modem (1-port) converter detected
[ 1268.011950] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB0
[ 1268.012354] option 2-2:1.1: GSM modem (1-port) converter detected
[ 1268.012698] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB1
[ 1268.013127] option 2-2:1.0: GSM modem (1-port) converter detected
[ 1268.013513] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB2
[ 1268.091233] option: option_instat_callback: error -108
[ 1268.099009] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 1268.099071] option 2-2:1.0: device disconnected
[ 1268.099265] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 1268.099322] option 2-2:1.1: device disconnected
[ 1268.099495] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 1268.099547] option 2-2:1.2: device disconnected
[ 1268.212136] usb 2-2: reset full speed USB device using uhci_hcd and address 5
[ 1268.363660] option 2-2:1.2: GSM modem (1-port) converter detected
[ 1268.363949] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB0
[ 1268.368194] option 2-2:1.1: GSM modem (1-port) converter detected
[ 1268.368600] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB1
[ 1268.377822] option 2-2:1.0: GSM modem (1-port) converter detected
[ 1268.378069] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB2
[ 1268.420234] option: option_instat_callback: error -108
[ 1268.437314] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 1268.437373] option 2-2:1.0: device disconnected
[ 1268.437538] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 1268.437591] option 2-2:1.1: device disconnected
[ 1268.437757] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 1268.437809] option 2-2:1.2: device disconnected
[ 1268.549191] usb 2-2: reset full speed USB device using uhci_hcd and address 5
[ 1268.699661] option 2-2:1.2: GSM modem (1-port) converter detected
[ 1268.699950] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB0
[ 1268.700381] option 2-2:1.1: GSM modem (1-port) converter detected
[ 1268.700738] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB1
[ 1268.704079] option 2-2:1.0: GSM modem (1-port) converter detected
[ 1268.704464] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB2
[ 1268.764235] option: option_instat_callback: error -108
[ 1268.764481] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 1268.764540] option 2-2:1.0: device disconnected
[ 1268.764733] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 1268.764785] option 2-2:1.1: device disconnected
--
Huawei E169 USB dongle not working with kernel 2.6.31-12.40
https://bugs.launchpad.net/bugs/446146
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.
p3car
2009-10-10 07:30:49 UTC
Permalink
Affects me to. Seems like the USB modem is mounted as an USB-memory
stick. I can actually open the disk in Nautilus and browse the content.
I tried to download http://www.greenhughes.com/files/e169g-
switch_0.3_all.deb which resolved the issue for me in earlier versions
of Ubuntu. The modem has been working flawless up until last week when I
upgraded to 2.6.31-12 and today I upgraded to 2.6.31-13 and the modem is
still being seen as usb-disk.

When inserting the usb-modem I get the following error message:

Unable to mount Tele2 3G-modem

Error mounting: mount exited with exit code 32: Mount: block
device /dev/sr1 is write protected, mounting read-only
mount: /dev/sr1 already mounted or /media/Tele2 3G-
modem busy
--
Huawei E169 USB dongle not working with kernel 2.6.31-12.40
https://bugs.launchpad.net/bugs/446146
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.
Bug Watch Updater
2009-10-10 07:39:22 UTC
Permalink
** Changed in: linux
Status: Unknown => Confirmed
--
Huawei E169 USB dongle not working with kernel 2.6.31-12.40
https://bugs.launchpad.net/bugs/446146
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.
Benjamin Herrenschmidt
2009-10-10 22:33:35 UTC
Permalink
We identified the bug upstream, it's a 2.6.31.1 - >2.6.31.2 regression.
Still looking for a proper fix (yeah, I have one of these critters too).

Discussion is mostly happening on lkml but we'll keep
http://bugzilla.kernel.org/show_bug.cgi?id=14355 updated when a solution
is found, hopefully in the next couple of days.
--
Huawei E169 USB dongle not working with kernel 2.6.31-12.40
https://bugs.launchpad.net/bugs/446146
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.
Russell Faull
2009-10-11 03:13:13 UTC
Permalink
Thanks, Benjamin. Good luck with the fix. I have retained 2.6.31-11 and
I am updating other kernels as they appear in repos.
--
Huawei E169 USB dongle not working with kernel 2.6.31-12.40
https://bugs.launchpad.net/bugs/446146
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.
Andrea Chiavazza
2009-10-11 10:46:18 UTC
Permalink
2.6.31-13.44 doesn't fix the bug for me
--
Huawei E169 USB dongle not working with kernel 2.6.31-12.40
https://bugs.launchpad.net/bugs/446146
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.
Benjamin Herrenschmidt
2009-10-11 11:17:39 UTC
Permalink
The attached patch should make it work again, though it's a bit of a hack and probably not
what the final solution will be. In case you really don't want to stick to 2.6.31.1 :-)

** Attachment added: "patch0"
http://launchpadlibrarian.net/33442788/patch0
--
Huawei E169 USB dongle not working with kernel 2.6.31-12.40
https://bugs.launchpad.net/bugs/446146
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.
Benjamin Herrenschmidt
2009-10-11 11:14:44 UTC
Permalink
We now know what the problem is, still debating how to properly fix it
--
Huawei E169 USB dongle not working with kernel 2.6.31-12.40
https://bugs.launchpad.net/bugs/446146
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.
GeorgeVita
2009-10-11 14:06:22 UTC
Permalink
Hi Benjamin, I do not want to 'gain' from your knowledge but if possible can you take a look to bug:
https://bugs.launchpad.net/bugs/408555
that has a similar 'looping' on creating/disconnecting ttyUSBx with ZTE MF636? The difference there is that ttyUSBx is advanced (+1) at a time reaching ttyUSB8-9-... and finally the system gets frozen.
Thanks in advance,
George
--
Huawei E169 USB dongle not working with kernel 2.6.31-12.40
https://bugs.launchpad.net/bugs/446146
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.
Andy Whitcroft
2009-10-12 08:46:26 UTC
Permalink
** Changed in: linux (Ubuntu)
Status: Triaged => In Progress

** Changed in: linux (Ubuntu)
Assignee: (unassigned) => Andy Whitcroft (apw)
--
Huawei E169 USB dongle not working with kernel 2.6.31-12.40
https://bugs.launchpad.net/bugs/446146
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.
Andy Whitcroft
2009-10-12 10:08:32 UTC
Permalink
Ok I have taken the dirty fix benh referenced above and applied it to
the karmic kernel and built some kernels for testing. Could those of
you affected by this issue please try these kernels and report back
here. The kernels can be found at the URL below:

http://people.canonical.com/~apw/lp446146-karmic/

** Changed in: linux (Ubuntu)
Status: In Progress => Incomplete
--
Huawei E169 USB dongle not working with kernel 2.6.31-12.40
https://bugs.launchpad.net/bugs/446146
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.
Andrea Chiavazza
2009-10-12 10:28:56 UTC
Permalink
Andy's #44lp446146apw1 fixes the problem for me.
--
Huawei E169 USB dongle not working with kernel 2.6.31-12.40
https://bugs.launchpad.net/bugs/446146
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.
Dominique Eckert
2009-10-12 11:57:41 UTC
Permalink
The problem is also solved for me using Andy's kernel.
--
Huawei E169 USB dongle not working with kernel 2.6.31-12.40
https://bugs.launchpad.net/bugs/446146
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.
GeorgeVita
2009-10-12 18:32:15 UTC
Permalink
Same good results for my E169 with 2.6.31-13-generic #44lp446146apw1
--
Huawei E169 USB dongle not working with kernel 2.6.31-12.40
https://bugs.launchpad.net/bugs/446146
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.
Rorohiko
2009-10-12 20:17:40 UTC
Permalink
My problem is fixed with this Andy's #44lp446146apw1. Thank you!
--
Huawei E169 USB dongle not working with kernel 2.6.31-12.40
https://bugs.launchpad.net/bugs/446146
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.
Russell Faull
2009-10-12 20:32:10 UTC
Permalink
Works for me too, except the E169 also loads as a USB drive.

Thanks
--
Huawei E169 USB dongle not working with kernel 2.6.31-12.40
https://bugs.launchpad.net/bugs/446146
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.
whise
2009-10-12 20:56:05 UTC
Permalink
i got this to with my E220 usb modem using kernel 2.31.13 , hope this
gets fixed in the future
--
Huawei E169 USB dongle not working with kernel 2.6.31-12.40
https://bugs.launchpad.net/bugs/446146
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.
GeorgeVita
2009-10-13 06:51:07 UTC
Permalink
Hi Russell Faull,
my opinion is that USB drive (virtual CDROM/ZeroCD) must exist but possibly not mounted automatically. It is not good to reject it as in the future a manufacturer may want to include any Linux (open source better) application program to control/update their modem (ex. like betavine s/w). The user can add a rule to eject/unmount it automatically. The same and more important is to get access on microSD card reader.
Regards,
George
--
Huawei E169 USB dongle not working with kernel 2.6.31-12.40
https://bugs.launchpad.net/bugs/446146
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.
Russell Faull
2009-10-13 07:23:42 UTC
Permalink
Hi George

Good point about future Linux software, I hope more manufacturers adopt
open source.

Perhaps not for this thread, but how do I control mount / unmount
automatically, as you suggest?

Regards and thanks
Russell
--
Huawei E169 USB dongle not working with kernel 2.6.31-12.40
https://bugs.launchpad.net/bugs/446146
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.
Loading...