Bug#698413: usb-modeswitch-data: Huawei e3276 no longer switched
Am 02.08.2014 19:43, schrieb Didier 'OdyX' Raboud: Josua: what do you think could be done there? Uh, sorry, this was not on my radar anymore ... I just checked version 1.2.5 with two cascaded USB hubs and got the same problem as Stefano with a mutilated device path. It seems I have incorporated the fix in 1.2.6 which works just fine with the hub chain. To my partial exoneration I can say that the Changelog states: "fix for error with cascaded hubs in dispatcher script" So I look forward to a mild verdict, even if I had failed to close this bug properly 8-] I'd appreciate if you would this as soon as it suits you ... Josh -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#698413: usb-modeswitch-data: Huawei e3276 no longer switched
Control: reassign -1 usb-modeswitch 1.2.5+repack0-1 Control: retitle -1 usb-modeswitch fails to work through some USB hubs On Thu, 24 Jan 2013, Stefano Rivera wrote: > Control: reopen -1 > > I'm sure I couldn't get it to work on Friday (which was what lead to > > me filing this bug). > > Aha. Reproduced it. Josua: what do you think could be done there? See https://bugs.debian.org/698413 . Thanks in advance, cheers, OdyX -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#698413: usb-modeswitch-data: Huawei e3276 no longer switched
Control: reopen -1 > I'm sure I couldn't get it to work on Friday (which was what lead to > me filing this bug). Aha. Reproduced it. The problem seems to be with the USB hub on my desk at work. When I plug the modem into it, I get /var/log/usb_modeswitch_1-1.1.1.4: | USB_ModeSwitch log from Thu Jan 24 17:40:13 SAST 2013 | | Raw args from udev: /1-1.1.1.4 | | Using global config file: /etc/usb_modeswitch.conf | Called by new rules file - remember to check class of first interface ... | Using top device dir /sys/bus/usb/devices/1-1.1 |Warning: USB attribute "manufacturer" not found |Warning: USB attribute "product" not found | Check class of first interface ... | Device is not in install mode. Exiting And this in the kernel log: [426027.648903] usb 1-1.1.1.4: new high-speed USB device number 113 using ehci_hcd [426027.762013] usb 1-1.1.1.4: New USB device found, idVendor=12d1, idProduct=14fe [426027.762017] usb 1-1.1.1.4: New USB device strings: Mfr=2, Product=1, SerialNumber=0 [426027.762019] usb 1-1.1.1.4: Product: HUAWEI Mobile [426027.762021] usb 1-1.1.1.4: Manufacturer: HUAWEI Technology [426027.802104] scsi118 : usb-storage 1-1.1.1.4:1.0 [426027.802267] scsi119 : usb-storage 1-1.1.1.4:1.1 [426028.800119] scsi 118:0:0:0: CD-ROMHUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2 [426028.800132] scsi 119:0:0:0: Direct-Access HUAWEI TF CARD Storage 2.31 PQ: 0 ANSI: 2 [426028.800875] sd 119:0:0:0: Attached scsi generic sg4 type 0 [426028.803620] sr1: scsi-1 drive [426028.803780] sr 118:0:0:0: Attached scsi CD-ROM sr1 [426028.803907] sr 118:0:0:0: Attached scsi generic sg5 type 5 [426028.804112] sd 119:0:0:0: [sdd] Attached SCSI removable disk [426028.975051] ISO 9660 Extensions: Microsoft Joliet Level 1 [426028.977946] ISOFS: changing to secondary root SR -- Stefano Rivera http://tumbleweed.org.za/ H: +27 21 465 6908 C: +27 72 419 8559 UCT: x3127 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#698413: usb-modeswitch-data: Huawei e3276 no longer switched
Control: tags -1 +pending Le samedi, 19 janvier 2013 13.06:08, Stefano Rivera a écrit : > Hi Josua (2013.01.19_13:15:14_+0200) > > > You need usb-modeswitch 1.2.5 for the new udev rule flavour of data > > 20121109. > > > > I think I failed to stress that requirement - sorry! > > The head information in the rules file is obviously incorrect. Should > > read: > > > > # Use with USB_ModeSwitch >= 1.2.5 ! > > And the Depends/Breaks should be adjusted appropriately. Ha yeah, right. I have pushed the fix to the packaging repository. Cheers, OdyX signature.asc Description: This is a digitally signed message part.
Bug#698413: usb-modeswitch-data: Huawei e3276 no longer switched
Hi Josua (2013.01.19_13:15:14_+0200) > You need usb-modeswitch 1.2.5 for the new udev rule flavour of data 20121109. > > I think I failed to stress that requirement - sorry! > The head information in the rules file is obviously incorrect. Should read: > > # Use with USB_ModeSwitch >= 1.2.5 ! And the Depends/Breaks should be adjusted appropriately. Hrm, yes, now I find that that usb-modeswitch 1.2.5+repack0-1 works with the new data package. I'm sure I couldn't get it to work on Friday (which was what lead to me filing this bug). Oh well, all's well that ends well... SR -- Stefano Rivera http://tumbleweed.org.za/ H: +27 21 461 1230 C: +27 72 419 8559 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#698413: usb-modeswitch-data: Huawei e3276 no longer switched
Am 19.01.2013 10:30, schrieb Stefano Rivera: With 20121109-1 I get /var/log/usb_modeswitch_1-1.2 containing: | USB_ModeSwitch log from Sat Jan 19 11:25:40 SAST 2013 | | Raw args from udev: /1-1.2 | | Using global config file: /etc/usb_modeswitch.conf | Could not determine top device dir from udev values! Exiting You need usb-modeswitch 1.2.5 for the new udev rule flavour of data 20121109. I think I failed to stress that requirement - sorry! The head information in the rules file is obviously incorrect. Should read: # Use with USB_ModeSwitch >= 1.2.5 ! Regards, Josh -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#698413: usb-modeswitch-data: Huawei e3276 no longer switched
Hi Josua (2013.01.18_11:37:34_+0200) > Stefano, can you retrieve a mode-switching debug log? > See /etc/usb_modeswitch.conf for the setting and some hints. Aha. With 20121109-1 I get /var/log/usb_modeswitch_1-1.2 containing: | USB_ModeSwitch log from Sat Jan 19 11:25:40 SAST 2013 | | Raw args from udev: /1-1.2 | | Using global config file: /etc/usb_modeswitch.conf | Could not determine top device dir from udev values! Exiting With 20120815-2 I get /var/log/usb_modeswitch_1-1.2:1.0 that's far longer and happier. It begins: | USB_ModeSwitch log from Sat Jan 19 11:27:07 SAST 2013 | | Raw args from udev: /1-1.2:1.0 | | Using global config file: /etc/usb_modeswitch.conf | Using top device dir /sys/bus/usb/devices/1-1.2 | | USB values from sysfs: | manufacturerHUAWEI Technology | product HUAWEI Mobile | serial | ... SR -- Stefano Rivera http://tumbleweed.org.za/ H: +27 21 461 1230 C: +27 72 419 8559 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#698413: usb-modeswitch-data: Huawei e3276 no longer switched
Le vendredi, 18 janvier 2013 10.38:11, Stefano Rivera a écrit : > Hi Didier (2013.01.18_11:01:29_+0200) > > > That's very weird as 20120815-2 and 20121109-1 have the exact same > > configuration file for 12d1:14fe : > Yeah, I found it fairly confusing too. Well, just reminded that there is another difference: -# Special treat for IF 3 -ATTRS{bInterfaceNumber}=="03", ATTRS{bInterfaceClass}=="08", ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="2000", GOTO="modeswitch_rules_begin" -ATTRS{bInterfaceNumber}=="03", ATTRS{bInterfaceClass}=="08", ATTRS{idVendor}=="16d8", ATTRS{idProduct}=="6803", GOTO="modeswitch_rules_begin" -# Most known install partitions are on interface 0, two on 3, one on 9 -ATTRS{bInterfaceNumber}!="0[09]", GOTO="modeswitch_rules_end" +# Don't continue on "change" event, prevent trigger by changed configuration +ACTION!="add", GOTO="modeswitch_rules_end" (…) # T-Mobile NL (Huawei E352) -ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="14fe", RUN+="usb_modeswitch '%b/%k'" +ATTR{idVendor}=="12d1", ATTR{idProduct}=="14fe", RUN+="usb_modeswitch '%b/%k'" > How do I go about debugging usb_modeswitch_dispatcher? You can use the usb_modeswitch.tcl file from the usb-modeswitch source, install a valid tclsh and put it as "usb_modeswitch_dispatcher" in /usr/sbin , then you can debug its tcl. An easier first step is enabling EnableLogging in /etc/usb_modeswitch.conf and send the /var/log/* resulting file to the buglog where Josua will parse it for you. :-) Cheers, OdyX -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#698413: usb-modeswitch-data: Huawei e3276 no longer switched
Am 18.01.2013 10:01, schrieb Didier 'OdyX' Raboud: That's very weird as 20120815-2 and 20121109-1 have the exact same configuration file for 12d1:14fe : I was just about to write and point out that very same fact. Stefano, can you retrieve a mode-switching debug log? See /etc/usb_modeswitch.conf for the setting and some hints. Regards, Josh -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#698413: usb-modeswitch-data: Huawei e3276 no longer switched
Hi Didier (2013.01.18_11:01:29_+0200) > That's very weird as 20120815-2 and 20121109-1 have the exact same > configuration file for 12d1:14fe : Yeah, I found it fairly confusing too. > So: are you sure these are the only packages you changed ? Did you also > upgrade usb-modeswitch itself? Yes, tried all the combinations, it seems to be the new data package that causes the trouble, but it's hard to figure out why. > Does this still happen if you launch "# udevadm trigger" between > installations > of usb-modeswitch-data? Yeah, doesn't help. How do I go about debugging usb_modeswitch_dispatcher? SR -- Stefano Rivera http://tumbleweed.org.za/ H: +27 21 461 1230 C: +27 72 419 8559 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#698413: usb-modeswitch-data: Huawei e3276 no longer switched
Hi Stefano, and thanks for your bugreport, Le vendredi, 18 janvier 2013 09.42:44, Stefano Rivera a écrit : > With 20120815-2, the Huawei e3276 is successfully switched and provides a > /dev/ttyUSB0. With 20121109-1, it doesn't. > > $ lsusb | grep Huawei > Bus 001 Device 054: ID 12d1:14fe Huawei Technologies Co., Ltd. That's very weird as 20120815-2 and 20121109-1 have the exact same configuration file for 12d1:14fe : aptitude download usb-modeswitch-data=20120815-2 dpkg -x usb-modeswitch-data_20120815-2_all.deb um-unstable aptitude download usb-modeswitch-data=20121109-1 dpkg -x usb-modeswitch-data_20121109-1_all.deb um-experimental tar xzf um-unstable/usr/share/usb_modeswitch/configPack.tar.gz 12d1:14fe mv 12d1\:14fe 12d1\:14fe.unstable tar xzf um-experimental/usr/share/usb_modeswitch/configPack.tar.gz 12d1:14fe diff -Naur 12d1\:14fe 12d1\:14fe.unstable => No difference. Indeed, 20120815-2 got 20121109-1 changes backported. So: are you sure these are the only packages you changed ? Did you also upgrade usb-modeswitch itself? Does this still happen if you launch "# udevadm trigger" between installations of usb-modeswitch-data? Cheers, OdyX signature.asc Description: This is a digitally signed message part.
Bug#698413: usb-modeswitch-data: Huawei e3276 no longer switched
Package: usb-modeswitch-data Version: 20121109-1 Severity: normal With 20120815-2, the Huawei e3276 is successfully switched and provides a /dev/ttyUSB0. With 20121109-1, it doesn't. $ lsusb | grep Huawei Bus 001 Device 054: ID 12d1:14fe Huawei Technologies Co., Ltd. SR -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (900, 'testing'), (800, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.7-trunk-amd64 (SMP w/4 CPU cores) Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages usb-modeswitch-data depends on: ii dpkg 1.16.9 Versions of packages usb-modeswitch-data recommends: ii udev175-7 ii usb-modeswitch 1.2.3+repack0-1 usb-modeswitch-data suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org