USB_ModeSwitch log from Thu Apr 12 10:54:09 2012 Using global config file: /etc/usb_modeswitch.conf Raw args from udev: /6-2:1.0 Bus ID for device not given by udev. Trying to determine it from kernel name (6-2:1.0) ... Using top device dir /sys/bus/usb/devices/6-2 USB dir exists: /sys/bus/usb/devices/6-2 SCSI dir exists: /sys/bus/usb/devices/6-2 Warning: SCSI attribute "vendor" not readable. Warning: SCSI attribute "model" not readable. Warning: SCSI attribute "rev" not readable. ---------------- USB values from sysfs: idVendor 19d2 idProduct 0166 manufacturer ZTE,Incorporated product ZTE LTE Technologies MSM serial MF820DFFFS111111 bNumConfigurations 1 ---------------- bNumConfigurations is 1 - don't check for active configuration Found packed config collection /usr/share/usb_modeswitch/configPack.tar.gz Searching entries named: /usr/share/usb_modeswitch/19d2:0166* Searching overriding entries named: /etc/usb_modeswitch.d/19d2:0166* SCSI attributes not needed, moving on. Extracting config 19d2:0166 from collection /usr/share/usb_modeswitch/configPack.tar.gz config: TargetVendor set to 19d2 config: TargetProduct set to 0167 Driver module is "option", ID path is /sys/bus/usb-serial/drivers/option1 ! matched, now switching Command to be run: /usr/sbin/usb_modeswitch -I -W -D -s 20 -c /run/usb_modeswitch/current_cfg -u -1 -v 19d2 -p 0166 2>&1 Verbose debug output of usb_modeswitch and libusb follows (Note that some USB errors are expected in the process) -------------------------------- Reading config file: /run/usb_modeswitch/current_cfg * usb_modeswitch: handle USB devices with multiple modes * Version 1.2.3 (C) Josua Dietze 2012 * Based on libusb0 (0.1.12 and above) ! PLEASE REPORT NEW CONFIGURATIONS ! DefaultVendor= 0x19d2 DefaultProduct= 0x0166 TargetVendor= 0x19d2 TargetProduct= 0x0167 TargetClass= not set TargetProductList="" DetachStorageOnly=0 HuaweiMode=0 SierraMode=0 SonyMode=0 QisdaMode=0 GCTMode=0 KobilMode=0 SequansMode=0 MobileActionMode=0 CiscoMode=0 MessageEndpoint= not set MessageContent="55534243123456782400000080000685000000240000000000000000000000" NeedResponse=0 ResponseEndpoint= not set InquireDevice disabled Success check enabled, max. wait time 20 seconds System integration mode enabled Looking for target devices ... searching devices, found USB ID 1d6b:0003 searching devices, found USB ID 19d2:0166 found matching vendor ID searching devices, found USB ID 1d6b:0002 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 2087:0a01 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 5986:0190 searching devices, found USB ID 1d6b:0002 No devices in target mode or class found Looking for default devices ... searching devices, found USB ID 1d6b:0003 searching devices, found USB ID 19d2:0166 found matching vendor ID found matching product ID adding device searching devices, found USB ID 1d6b:0002 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 2087:0a01 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 5986:0190 searching devices, found USB ID 1d6b:0002 Found device in default mode, class or configuration (1) Accessing device 003 on bus 006 ... Skipping the check for the current configuration Using first interface: 0x00 Using endpoints 0x01 (out) and 0x81 (in) USB description data (for identification) ------------------------- Manufacturer: ZTE,Incorporated Product: ZTE LTE Technologies MSM Serial No.: MF820DFFFS111111 ------------------------- Looking for active driver ... OK, driver found ("usb-storage") OK, driver "usb-storage" detached Setting up communication with interface 0 Using endpoint 0x01 for message sending ... Trying to send message 1 to endpoint 0x01 ... OK, message successfully sent Resetting response endpoint 0x81 Resetting message endpoint 0x01 Checking for mode switch (max. 20 times, once per second) ... Searching for target devices ... searching devices, found USB ID 1d6b:0003 searching devices, found USB ID 19d2:0166 found matching vendor ID searching devices, found USB ID 1d6b:0002 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 2087:0a01 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 5986:0190 searching devices, found USB ID 1d6b:0002 Searching for target devices ... searching devices, found USB ID 1d6b:0003 searching devices, found USB ID 19d2:0166 found matching vendor ID searching devices, found USB ID 1d6b:0002 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 2087:0a01 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 5986:0190 searching devices, found USB ID 1d6b:0002 Searching for target devices ... searching devices, found USB ID 1d6b:0003 searching devices, found USB ID 19d2:0166 found matching vendor ID searching devices, found USB ID 1d6b:0002 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 2087:0a01 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 5986:0190 searching devices, found USB ID 1d6b:0002 Searching for target devices ... searching devices, found USB ID 1d6b:0003 searching devices, found USB ID 19d2:0166 found matching vendor ID searching devices, found USB ID 1d6b:0002 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 2087:0a01 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 5986:0190 searching devices, found USB ID 1d6b:0002 Searching for target devices ... searching devices, found USB ID 1d6b:0003 searching devices, found USB ID 19d2:0166 found matching vendor ID searching devices, found USB ID 1d6b:0002 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 2087:0a01 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 5986:0190 searching devices, found USB ID 1d6b:0002 Searching for target devices ... searching devices, found USB ID 1d6b:0003 searching devices, found USB ID 19d2:0166 found matching vendor ID searching devices, found USB ID 1d6b:0002 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 2087:0a01 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 5986:0190 searching devices, found USB ID 1d6b:0002 Searching for target devices ... searching devices, found USB ID 1d6b:0003 searching devices, found USB ID 19d2:0166 found matching vendor ID searching devices, found USB ID 1d6b:0002 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 2087:0a01 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 5986:0190 searching devices, found USB ID 1d6b:0002 Searching for target devices ... searching devices, found USB ID 1d6b:0003 searching devices, found USB ID 19d2:0166 found matching vendor ID searching devices, found USB ID 1d6b:0002 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 2087:0a01 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 5986:0190 searching devices, found USB ID 1d6b:0002 Searching for target devices ... searching devices, found USB ID 1d6b:0003 searching devices, found USB ID 19d2:0166 found matching vendor ID searching devices, found USB ID 1d6b:0002 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 2087:0a01 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 5986:0190 searching devices, found USB ID 1d6b:0002 Searching for target devices ... searching devices, found USB ID 1d6b:0003 searching devices, found USB ID 19d2:0166 found matching vendor ID searching devices, found USB ID 1d6b:0002 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 2087:0a01 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 5986:0190 searching devices, found USB ID 1d6b:0002 Searching for target devices ... searching devices, found USB ID 1d6b:0003 searching devices, found USB ID 19d2:0166 found matching vendor ID searching devices, found USB ID 1d6b:0002 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 2087:0a01 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 5986:0190 searching devices, found USB ID 1d6b:0002 Searching for target devices ... searching devices, found USB ID 1d6b:0003 searching devices, found USB ID 19d2:0166 found matching vendor ID searching devices, found USB ID 1d6b:0002 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 2087:0a01 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 5986:0190 searching devices, found USB ID 1d6b:0002 Searching for target devices ... searching devices, found USB ID 1d6b:0003 searching devices, found USB ID 19d2:0166 found matching vendor ID searching devices, found USB ID 1d6b:0002 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 2087:0a01 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 5986:0190 searching devices, found USB ID 1d6b:0002 Searching for target devices ... searching devices, found USB ID 1d6b:0003 searching devices, found USB ID 19d2:0166 found matching vendor ID searching devices, found USB ID 1d6b:0002 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 2087:0a01 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 5986:0190 searching devices, found USB ID 1d6b:0002 Searching for target devices ... searching devices, found USB ID 1d6b:0003 searching devices, found USB ID 19d2:0166 found matching vendor ID searching devices, found USB ID 1d6b:0002 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 2087:0a01 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 5986:0190 searching devices, found USB ID 1d6b:0002 Searching for target devices ... searching devices, found USB ID 1d6b:0003 searching devices, found USB ID 19d2:0166 found matching vendor ID searching devices, found USB ID 1d6b:0002 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 2087:0a01 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 5986:0190 searching devices, found USB ID 1d6b:0002 Searching for target devices ... searching devices, found USB ID 1d6b:0003 searching devices, found USB ID 19d2:0166 found matching vendor ID searching devices, found USB ID 1d6b:0002 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 2087:0a01 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 5986:0190 searching devices, found USB ID 1d6b:0002 Searching for target devices ... searching devices, found USB ID 1d6b:0003 searching devices, found USB ID 19d2:0166 found matching vendor ID searching devices, found USB ID 1d6b:0002 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 2087:0a01 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 5986:0190 searching devices, found USB ID 1d6b:0002 Searching for target devices ... searching devices, found USB ID 1d6b:0003 searching devices, found USB ID 19d2:0166 found matching vendor ID searching devices, found USB ID 1d6b:0002 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 2087:0a01 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 5986:0190 searching devices, found USB ID 1d6b:0002 Searching for target devices ... searching devices, found USB ID 1d6b:0003 searching devices, found USB ID 19d2:0166 found matching vendor ID searching devices, found USB ID 1d6b:0002 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 2087:0a01 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 5986:0190 searching devices, found USB ID 1d6b:0002 No new devices in target mode or class found Mode switch has failed. Bye. fail: -------------------------------- (end of usb_modeswitch output) USB dir exists: /sys/bus/usb/devices/6-2 All done, exiting