https://bugzilla.novell.com/show_bug.cgi?id=740354 https://bugzilla.novell.com/show_bug.cgi?id=740354#c0 Summary: Huawei 3G usb modem E173 does not switch mode automatically Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: luizluca@tre-sc.gov.br QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 Hello, When I plug the Huawei 3G usb modem E173, it does not change to "modem mode" using usb_modeswitch command. I still see the "storage id" in lsusb $ $ lsusb | grep 12d1 Bus 001 Device 010: ID 12d1:1c0b Huawei Technologies Co., Ltd. The modem mode is "12d1:1c05" According to udev, it should run usb_modeswitch: $ grep -n 1c0b /lib/udev/rules.d/40-usb_modeswitch.rules 344:ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1c0b", RUN+="usb_modeswitch '%b/%k'" I switched udev to debug mode: # udevadm control --log-priority=debug I found that it really runned usb_modeswitch: Jan 9 18:22:04 linux udevd[15592]: RUN 'usb_modeswitch '%b/%k'' /lib/udev/rules.d/40-usb_modeswitch.rules:344 (...) Jan 9 18:22:05 tresc020239 udevd[15592]: 'usb_modeswitch '/1-7:1.0'' [15619] exit with return code 0 But nothing happened! I still get the same usbid in lsusb and no modem is detected. However, it I run it manually, it works: # /lib/udev/usb_modeswitch '/1-7:1.0' usbid changes and network manager detects it. $ lsusb | grep 12d1 Bus 001 Device 015: ID 12d1:1c05 Huawei Technologies Co., Ltd. Alternatively, I can run usb_modeswitch directly sudo usb_modeswitch -c /usr/share/usb_modeswitch/12d1\:1c0b Maybe it is just some missing env variable or udev undo the switch afterwards. Reproducible: Always Steps to Reproduce: 1. Plug the modem Actual Results: 2. No modem is detected Expected Results: 2. when udev called usb_modeswitch, it should switch mode -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.