I have a device named ZTE Corporation HSDPA USB STICK Model: MF180, when I do lsusb after plugging in I get,
Code: Select all
Bus 001 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 04f3:0230 Elan Microelectronics Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 003: ID 03f0:231d Hewlett-Packard
Bus 002 Device 004: ID 03f0:251d Hewlett-Packard
Bus 002 Device 005: ID 138a:0007 DigitalPersona, Inc
Bus 002 Device 006: ID 5986:03b1 Acer, Inc
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 006: ID 19d2:2003 ONDA Communication S.p.A.
I just plugged it out and back in again and got the following extract from /var/log/messages
Code: Select all
Dec 28 12:02:43 fskidd kernel: usb 3-1.2: USB disconnect, address 6
Dec 28 12:02:43 fskidd kernel: option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Dec 28 12:02:43 fskidd kernel: option 3-1.2:1.0: device disconnected
Dec 28 12:02:43 fskidd kernel: option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Dec 28 12:02:43 fskidd kernel: option 3-1.2:1.1: device disconnected
Dec 28 12:02:43 fskidd kernel: option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
Dec 28 12:02:43 fskidd kernel: option 3-1.2:1.2: device disconnected
Dec 28 12:02:43 fskidd kernel: option1 ttyUSB4: GSM modem (1-port) converter now disconnected from ttyUSB4
Dec 28 12:02:43 fskidd kernel: option 3-1.2:1.3: device disconnected
Dec 28 12:02:52 fskidd kernel: usb 3-1.2: new high speed USB device using ehci_hcd and address 7
Dec 28 12:02:52 fskidd kernel: scsi8 : usb-storage 3-1.2:1.0
Dec 28 12:02:52 fskidd usb_modeswitch: switching 19d2:2000 (ZTE,Incorporated: ZTE WCDMA Technologies MSM)
Dec 28 12:02:58 fskidd kernel: usb 3-1.2: USB disconnect, address 7
Dec 28 12:03:03 fskidd kernel: usb 3-1.2: new high speed USB device using ehci_hcd and address 8
Dec 28 12:03:03 fskidd kernel: option 3-1.2:1.0: GSM modem (1-port) converter detected
Dec 28 12:03:03 fskidd kernel: usb 3-1.2: GSM modem (1-port) converter now attached to ttyUSB1
Dec 28 12:03:03 fskidd kernel: option 3-1.2:1.1: GSM modem (1-port) converter detected
Dec 28 12:03:03 fskidd kernel: usb 3-1.2: GSM modem (1-port) converter now attached to ttyUSB2
Dec 28 12:03:03 fskidd kernel: option 3-1.2:1.2: GSM modem (1-port) converter detected
Dec 28 12:03:03 fskidd kernel: usb 3-1.2: GSM modem (1-port) converter now attached to ttyUSB3
Dec 28 12:03:03 fskidd kernel: option 3-1.2:1.3: GSM modem (1-port) converter detected
Dec 28 12:03:03 fskidd kernel: usb 3-1.2: GSM modem (1-port) converter now attached to ttyUSB4
I have the latest usb_modeswitch
Code: Select all
root@fskidd:/home/fskidd> usb_modeswitch --version
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.1.6 (C) Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
Code: Select all
root@fskidd:/home/fskidd> uname -r
2.6.35-pf11
Code: Select all
root@fskidd:/home/fskidd> ls /usr/lib64/libusb*
/usr/lib64/libusb-0.1.so.4 /usr/lib64/libusb-1.0.la /usr/lib64/libusb-1.0.so.0 /usr/lib64/libusb.la
/usr/lib64/libusb-0.1.so.4.4.4 /usr/lib64/libusb-1.0.so /usr/lib64/libusb-1.0.so.0.0.0 /usr/lib64/libusb.so
Code: Select all
root@fskidd:/home/fskidd> usb_modeswitch -W -v 19d2 -p 2003
Taking all parameters from the command line
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.1.6 (C) Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x19d2
DefaultProduct= 0x2003
TargetVendor= not set
TargetProduct= not set
TargetClass= not set
TargetProductList=""
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
KobilMode=0
MessageEndpoint= not set
MessageContent=""
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00
InquireDevice enabled (default)
Success check disabled
System integration mode disabled
Looking for default devices ...
searching devices, found USB ID 1d6b:0003
searching devices, found USB ID 04f3:0230
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 8087:0020
searching devices, found USB ID 03f0:231d
searching devices, found USB ID 03f0:251d
searching devices, found USB ID 138a:0007
searching devices, found USB ID 5986:03b1
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 8087:0020
searching devices, found USB ID 19d2:2003
found matching vendor ID
found matching product ID
adding device
Found devices in default mode, class or configuration (1)
Accessing device 008 on bus 003 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using endpoints 0x01 (out) and 0x81 (in)
Using endpoints 0x01 (out) and 0x81 (in)
Not a storage device, skipping SCSI inquiry
USB description data (for identification)
-------------------------
Manufacturer: ZTE,Incorporated
Product: ZTE WCDMA Technologies MSM
Serial No.: not provided
-------------------------
Warning: no switching method given.
-> Run lsusb to note any changes. Bye.