I am having problems connecting my Huawei E1750 reliably. I was previously using the standard usb_modeswitch included in raspbian (I think 1.2.3 or so) but it would sometimes switch correctly and other times not. I really couldn't discern a pattern to it. For that reason I upgraded to the latest source release of usb-modeswitch 2.2.3. (I did this upgrade from a clean install of everything via my ansible scripts without ever installing the raspbian dpkg versions.) I am using the latest raspbian on a raspberry pi 2 with a device that identifies as:
Code: Select all
Bus 001 Device 007: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552/E1800/E173 (HSPA modem)With the latest usb-modeswitch installed the device is switched into:
Code: Select all
Bus 001 Device 007: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA ModemI tried turning logging on and tried disabling mode switch through the /etc/usb_modeswitch.conf but for some reason these settings are not "sticking" and it is not logging anything to /var/log/... and mode switch has not disabled automatic switching. See (http://www.draisberghof.de/usb_modeswit ... 750#p15259)
In any case continuing on the thread from the previous topic on the E1750 here is the detailed output of lsusb (once switching has occurred):
Code: Select all
[pi@pi008:/usr/share/usb_modeswitch] $ lsusb -v -d 12d1:1001
Bus 001 Device 007: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem
Couldn't open device, some information will be missing
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 0x1001 E169/E620/E800 HSDPA Modem
bcdDevice 0.00
iManufacturer 3
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 131
bNumInterfaces 5
bConfigurationValue 1
iConfiguration 1
bmAttributes 0xe0
Self Powered
Remote Wakeup
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 0x81 EP 1 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 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 32
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 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 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 32
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 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 0x84 EP 4 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 32
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 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-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 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-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0The USB modem is powered through a powered hub to ensure it has sufficient juice...
Code: Select all
[pi@pi008:/usr/share/usb_modeswitch] $ dmesg | grep usb
[ 0.764055] usbcore: registered new interface driver usbfs
[ 0.764163] usbcore: registered new interface driver hub
[ 0.764315] usbcore: registered new device driver usb
[ 0.918536] usbcore: registered new interface driver smsc95xx
[ 1.320089] dwc_otg bcm2708_usb: DWC OTG Controller
[ 1.320142] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[ 1.320192] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[ 1.320569] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.320590] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.320608] usb usb1: Product: DWC OTG Controller
[ 1.320625] usb usb1: Manufacturer: Linux 3.18.16-v7+ dwc_otg_hcd
[ 1.320641] usb usb1: SerialNumber: bcm2708_usb
[ 1.322570] usbcore: registered new interface driver usb-storage
[ 1.363206] usbcore: registered new interface driver usbhid
[ 1.363219] usbhid: USB HID core driver
[ 1.696385] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 1.896758] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 1.896790] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.176508] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 2.276886] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 2.276918] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.340655] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:72:5b:8f
[ 2.416535] usb 1-1.2: new full-speed USB device number 4 using dwc_otg
[ 2.525745] usb 1-1.2: New USB device found, idVendor=046d, idProduct=c52b
[ 2.525774] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.525791] usb 1-1.2: Product: USB Receiver
[ 2.525808] usb 1-1.2: Manufacturer: Logitech
[ 2.534691] input: Logitech USB Receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:046D:C52B.0001/input/input0
[ 2.535222] hid-generic 0003:046D:C52B.0001: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-bcm2708_usb-1.2/input0
[ 2.549165] input: Logitech USB Receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C52B.0002/input/input1
[ 2.550332] hid-generic 0003:046D:C52B.0002: input,hiddev0,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-bcm2708_usb-1.2/input1
[ 2.563755] hid-generic 0003:046D:C52B.0003: hiddev0,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on usb-bcm2708_usb-1.2/input2
[ 2.656584] usb 1-1.4: new full-speed USB device number 5 using dwc_otg
[ 2.769657] usb 1-1.4: New USB device found, idVendor=05e3, idProduct=0604
[ 2.769689] usb 1-1.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.769708] usb 1-1.4: Product: USB Hub
[ 3.016708] usb 1-1.5: new high-speed USB device number 6 using dwc_otg
[ 3.126225] usb 1-1.5: New USB device found, idVendor=05ac, idProduct=1006
[ 3.126380] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.126400] usb 1-1.5: Product: Keyboard Hub
[ 3.126425] usb 1-1.5: Manufacturer: Apple, Inc.
[ 3.126444] usb 1-1.5: SerialNumber: 000000000000
[ 3.198022] usb 1-1.4.2: new full-speed USB device number 7 using dwc_otg
[ 3.301162] usb 1-1.4.2: not running at top speed; connect to a high speed hub
[ 3.314270] usb 1-1.4.2: New USB device found, idVendor=12d1, idProduct=1001
[ 3.314306] usb 1-1.4.2: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[ 3.314324] usb 1-1.4.2: Product: HUAWEI Mobile
[ 3.314341] usb 1-1.4.2: Manufacturer: HUAWEI Technology
[ 3.320425] usb-storage 1-1.4.2:1.0: USB Mass Storage device detected
[ 3.327239] usb-storage 1-1.4.2:1.1: USB Mass Storage device detected
[ 3.333965] usb-storage 1-1.4.2:1.2: USB Mass Storage device detected
[ 3.337749] usb-storage 1-1.4.2:1.3: USB Mass Storage device detected
[ 3.349833] scsi host3: usb-storage 1-1.4.2:1.3
[ 3.351215] usb-storage 1-1.4.2:1.4: USB Mass Storage device detected
[ 3.360875] scsi host4: usb-storage 1-1.4.2:1.4
[ 3.406620] usb 1-1.5.2: new low-speed USB device number 8 using dwc_otg
[ 3.518337] usbcore: registered new interface driver usbserial
[ 3.519634] usbcore: registered new interface driver usbserial_generic
[ 3.519804] usbserial: USB Serial support registered for generic
[ 3.522244] usb 1-1.5.2: New USB device found, idVendor=05ac, idProduct=0220
[ 3.522274] usb 1-1.5.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.522291] usb 1-1.5.2: Product: Apple Keyboard
[ 3.522308] usb 1-1.5.2: Manufacturer: Apple, Inc
[ 3.543079] usbcore: registered new interface driver option
[ 3.543345] usbserial: USB Serial support registered for GSM modem (1-port)
[ 3.555571] usb 1-1.4.2: GSM modem (1-port) converter now attached to ttyUSB0
[ 3.560303] usb 1-1.4.2: GSM modem (1-port) converter now attached to ttyUSB1
[ 3.561652] usb 1-1.4.2: GSM modem (1-port) converter now attached to ttyUSB2
[ 3.653077] input: Apple, Inc Apple Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.5/1-1.5.2/1-1.5.2:1.0/0003:05AC:0220.0004/input/input2
[ 3.656997] apple 0003:05AC:0220.0004: input,hidraw3: USB HID v1.11 Keyboard [Apple, Inc Apple Keyboard] on usb-bcm2708_usb-1.5.2/input0
[ 3.663298] input: Apple, Inc Apple Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.5/1-1.5.2/1-1.5.2:1.1/0003:05AC:0220.0005/input/input3
[ 3.663957] apple 0003:05AC:0220.0005: input,hidraw4: USB HID v1.11 Device [Apple, Inc Apple Keyboard] on usb-bcm2708_usb-1.5.2/input1Thanks for any help!!
Cheers,
Jason