Created attachment 527119 [details] procedure, logs, lsusb, usb_modeswitch Description of problem: HUAWEI E173s (USB) 3G-MODEM does not work by default. The modem is not detected (no devices created) when inserted. Using usb_modeswitch does not work for some reason. The current workaround is to power-off the system (laptop), then plug the thing and then power-on. That way it is detected as it should. Version-Release number of selected component (if applicable): kernel: 2.6.40.6-0.fc15.x86_64 NetworkManager.x86_64 1:0.9.1.90-3.git20110927.fc15 @updates NetworkManager-glib.x86_64 1:0.9.1.90-3.git20110927.fc15 @updates NetworkManager-openvpn.x86_64 1:0.9.0-1.fc15 @updates NetworkManager-pptp.x86_64 1:0.9.0-1.fc15 @updates NetworkManager-vpnc.x86_64 1:0.9.0-1.fc15 @updates kde-plasma-networkmanagement.x86_64 1:0.9-0.59.20110919git.nm09.fc15 @updates kde-plasma-networkmanagement-libs.x86_64 1:0.9-0.59.20110919git.nm09.fc15 @updates kde-plasma-networkmanagement-openvpn.x86_64 1:0.9-0.59.20110919git.nm09.fc15 @updates kde-plasma-networkmanagement-pptp.x86_64 1:0.9-0.59.20110919git.nm09.fc15 @updates kde-plasma-networkmanagement-vpnc.x86_64 1:0.9-0.59.20110919git.nm09.fc15 @updates kdenetwork.x86_64 7:4.6.5-1.fc15 @updates kdenetwork-libs.x86_64 7:4.6.5-1.fc15 @updates How reproducible: allways Steps to Reproduce: 1. boot 2. plug the thing 3. :-( Actual results: special boot prerequisite (plug the modem before power-on) is requiered to use the device. Expected results: plug, detect, use.
Created attachment 527120 [details] dmesg, when cold booting with the modem already attached
Created attachment 527121 [details] messages, when cold booting with the modem already attached
Tried with newest updates: usb_modeswitch.x86_64 1.2.0-1.fc15 @updates usb_modeswitch-data.noarch 20111023-1.fc15 @updates kernel: 2.6.40.6-0.fc15.x86_64 After updating those, i powered off the laptop and disconnected the battery (just for sure). Then i powered on the laptop again, and let it boot. Messages when pluging the modem: Nov 5 16:36:31 localhost kernel: [ 902.947833] usb 2-1.1: new high speed USB device number 7 using ehci_hcd Nov 5 16:36:32 localhost kernel: [ 903.377962] usb 2-1.1: New USB device found, idVendor=12d1, idProduct=1c0b Nov 5 16:36:32 localhost kernel: [ 903.377969] usb 2-1.1: New USB device strings: Mfr=2, Product=1, SerialNumber=0 Nov 5 16:36:32 localhost kernel: [ 903.377974] usb 2-1.1: Product: HUAWEI Mobile Nov 5 16:36:32 localhost kernel: [ 903.377977] usb 2-1.1: Manufacturer: HUAWEI Nov 5 16:36:32 localhost kernel: [ 903.380654] scsi10 : usb-storage 2-1.1:1.0 Nov 5 16:36:32 localhost kernel: [ 903.381129] scsi11 : usb-storage 2-1.1:1.1 Nov 5 16:36:32 localhost mtp-probe: checking bus 2, device 7: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1" Nov 5 16:36:32 localhost mtp-probe: bus: 2, device: 7 was not an MTP device Nov 5 16:36:32 localhost logger: usb_modeswitch: using overriding config file /etc/usb_modeswitch.d/12d1:1c0b; make sure this is intended Nov 5 16:36:32 localhost logger: usb_modeswitch: please report any new or corrected settings; otherwise, check for outdated files Nov 5 16:36:34 localhost usb_modeswitch: switching 12d1:1c0b (: HUAWEI Mobile) Nov 5 16:36:34 localhost kernel: [ 905.981157] scsi 10:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2 Nov 5 16:36:34 localhost kernel: [ 905.981248] scsi 11:0:0:0: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2 Nov 5 16:36:34 localhost kernel: [ 906.038236] sr1: scsi-1 drive Nov 5 16:36:34 localhost kernel: [ 906.040242] sr 10:0:0:0: Attached scsi generic sg2 type 5 Nov 5 16:36:34 localhost kernel: [ 906.040856] sd 11:0:0:0: Attached scsi generic sg2 type 0 Nov 5 16:36:34 localhost kernel: [ 906.042964] sd 11:0:0:0: [sdb] Attached SCSI removable disk Now it seems that "localhost usb_modeswitch: switching 12d1:1c0b", so lsusb shows: Bus 002 Device 007: ID 12d1:1c0b Huawei Technologies Co., Ltd. No need to launch it manually... exept for... There are no serial port devices created, so no modem... # ls -l /dev/ttyU* ls: cannot access /dev/ttyU*: No such file or directory
That is how the modem is left after the auto-usb_modeswich # lsusb -s 2:6 -vvv Bus 002 Device 006: ID 12d1:1c05 Huawei Technologies Co., Ltd. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x12d1 Huawei Technologies Co., Ltd. idProduct 0x1c05 bcdDevice 1.02 iManufacturer 2 HUAWEI iProduct 1 HUAWEI Mobile iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 131 bNumInterfaces 5 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 500mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x8f EP 15 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 5 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x8e EP 14 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x0f EP 15 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x8d EP 13 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x0e EP 14 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 2 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x8c EP 12 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x0d EP 13 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 3 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk (Zip) iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x0c EP 12 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x8b EP 11 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 4 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk (Zip) iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x0b EP 11 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x8a EP 10 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 bNumConfigurations 1 Device Status: 0x0000 (Bus Powered)
I installed F16 on that laptop, and tried with F16, no luck. Then i managed to find another device (same EXACT model) and to my surprise it generates a kernel panic when inserted. It happened all the times i inserted it. Then i inserted mine again and it did not crash but it does not work. Modem HUAWEI E173s #1 (MINE+MY SIM) -> the issue reported here Modem HUAWEI E173s #2 (OTHER+OTHER SIM) -> kernel panic
Support for the Huawei E173s-6 is solid at the moment: kernel 3.2.6-3.fc16.x86_64 usb_modeswitch.x86_64 1.2.2-2.fc16 @updates usb_modeswitch-data.noarch 20111023-1.fc16 @updates With these software versions in F16, it seems to work correctly. Previous kernels and/or usb_modeswitch* packages resulted in random panics and other unreliabilities.
Closing per comment #6