desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #142963
[Bug 1314842] Re: usb_modeswitch not run correctly for 3G dongle
** Tags added: trusty
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1314842
Title:
usb_modeswitch not run correctly for 3G dongle
Status in usb-modeswitch package in Ubuntu:
Confirmed
Bug description:
I am using a laptop (Asus N56VZ) with Ubuntu 14.04 LTS (recently
upgraded from 12.04 LTS) and until recently none of my 3G USB dongles
worked (I have a few). Note that the very same problem occurred on
12.04 and I upgraded early hoping for this issue to go away. It
didn't.
After investigation, it seems that usb_modeswitch is't doing its
magic:
My test dongle is a Huawei Technologies Co., Ltd. ID 12d1:14c1
According to the udev rules and the usb_modeswitch data I could dig
up, the product ID should switch to 14c6 to make it work correctly.
A file named "12d1:14c1" IS in the tgz package of usb-modeswitch-data,
but nonetheless this is all I see in /var/log/syslog when I plug the
dongle in:
===================================================================================
May 1 00:44:49 rramondalap02 kernel: [ 54.336137] usb 3-1: new high-speed USB device number 3 using xhci_hcd
May 1 00:44:49 rramondalap02 kernel: [ 54.354566] usb 3-1: New USB device found, idVendor=12d1, idProduct=14c1
May 1 00:44:49 rramondalap02 kernel: [ 54.354570] usb 3-1: New USB device strings: Mfr=3, Product=2, SerialNumber=0
May 1 00:44:49 rramondalap02 kernel: [ 54.354571] usb 3-1: Product: Vodafone Mobile Broadband (Huawei)
May 1 00:44:49 rramondalap02 kernel: [ 54.354572] usb 3-1: Manufacturer: Vodafone Group (Huawei)
May 1 00:44:49 rramondalap02 kernel: [ 54.355682] usb-storage 3-1:1.0: USB Mass Storage device detected
May 1 00:44:49 rramondalap02 kernel: [ 54.355814] scsi7 : usb-storage 3-1:1.0
May 1 00:44:49 rramondalap02 kernel: [ 54.355879] usb-storage 3-1:1.1: USB Mass Storage device detected
May 1 00:44:49 rramondalap02 kernel: [ 54.355985] scsi8 : usb-storage 3-1:1.1
May 1 00:44:49 rramondalap02 mtp-probe: checking bus 3, device 3: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1"
May 1 00:44:49 rramondalap02 mtp-probe: bus: 3, device: 3 was not an MTP device
May 1 00:44:50 rramondalap02 kernel: [ 55.354598] scsi 7:0:0:0: CD-ROM Vodafone CD ROM (Huawei) 2.31 PQ: 0 ANSI: 2
May 1 00:44:50 rramondalap02 kernel: [ 55.355275] scsi 8:0:0:0: Direct-Access Vodafone Storage (Huawei) PQ: 0 ANSI: 2
May 1 00:44:50 rramondalap02 kernel: [ 55.356963] sr1: scsi-1 drive
May 1 00:44:50 rramondalap02 kernel: [ 55.357074] sr 7:0:0:0: Attached scsi CD-ROM sr1
May 1 00:44:50 rramondalap02 kernel: [ 55.357135] sr 7:0:0:0: Attached scsi generic sg3 type 5
May 1 00:44:50 rramondalap02 kernel: [ 55.357264] sd 8:0:0:0: Attached scsi generic sg4 type 0
May 1 00:44:50 rramondalap02 kernel: [ 55.359620] sd 8:0:0:0: [sdc] Attached SCSI removable disk
May 1 00:44:50 rramondalap02 usb_modeswitch: switch device 12d1:14c1 on 003/003
===================================================================================
Now I found a way to make it work:
sudo usb_modeswitch -v 12d1 -p 14c1 -M
'55534243123456780000000000000011062000000100000000000000000000'
After some seconds pass the dongle is correctly switched to the new
ProductID and works as intended.
I thought the issue was with the usb-storage delay (as per
/etc/usb_modprobe.conf ) but even after configuring SetStorageDelay=6
I got no change in behavior.
Still, I hope that someone more accustomed to the internals of
usb_modeswitch will find a solution, given that a workaround is
already available.
Further info on my machine:
uname -a
Linux rramondalap02 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
All USB ports are 3.0 and I suspect this is related to the issue: on
my work desktop, 2.0 ports, the same dongle works right away in 12.04
LTS
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1314842/+subscriptions