USB_ModeSwitch log from Tue Nov 10 00:35:24 2015 Use global config file: /etc/usb_modeswitch.conf Started via systemd Adjust delay for USB storage devices ... Delay set to 24370336 seconds Raw args from udev: 1-4 Bus ID for device not given by udev. Trying to determine it from kernel name (1-4) ... Use top device dir /sys/bus/usb/devices/1-4 USB dir exists: /sys/bus/usb/devices/1-4 SCSI dir exists: /sys/bus/usb/devices/1-4 Warning: SCSI attribute "vendor" not readable. Warning: SCSI attribute "model" not readable. Warning: SCSI attribute "rev" not readable. Use interface /sys/bus/usb/devices/1-4/1-4:1.0 ---------------- USB values from sysfs: idVendor 19d2 idProduct 2000 manufacturer ZTE,Incorporated product ZTE WCDMA Technologies MSM serial P671A2ZTED010000 bNumConfigurations 1 bConfigurationValue 1 devnum 5 busnum 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:2000* Searching overriding entries named: /etc/usb_modeswitch.d/19d2:2000* SCSI attributes not needed, move on. Extract config 19d2:2000 from collection /usr/share/usb_modeswitch/configPack.tar.gz config: TargetVendor set to 19d2 config: TargetProduct set to 0001,0002,0015,0016,0017,0019,0031,0033,0037,0042,0052,0055,0061,0063,0064,0066,0091,0108,0117,0128,0151,0157,0177,1402,2002,2003 Driver module is "option", ID path is /sys/bus/usb-serial/drivers/option1 ! matched, now switching Unbinding driver Command to be run: /usr/sbin/usb_modeswitch -W -D -s 20 -c /run/usb_modeswitch/current_cfg -u -1 -b 1 -g 5 -v 19d2 -p 2000 2>&1 Verbose debug output of usb_modeswitch and libusb follows (Note that some USB errors are expected in the process) -------------------------------- Read config file: /run/usb_modeswitch/current_cfg * usb_modeswitch: handle USB devices with multiple modes * Version 2.2.5 (C) Josua Dietze 2015 * Based on libusb1/libusbx ! PLEASE REPORT NEW CONFIGURATIONS ! DefaultVendor= 0x19d2 DefaultProduct= 0x2000 TargetVendor= 0x19d2 TargetProductList="0001,0002,0015,0016,0017,0019,0031,0033,0037,0042,0052,0055,0061,0063,0064,0066,0091,0108,0117,0128,0151,0157,0177,1402,2002,2003" StandardEject=1 MessageContent="55534243123456702000000080000c85010101180101010101000000000000" NeedResponse=0 Success check enabled, max. wait time 20 seconds System integration mode enabled Use given bus/device number: 001/005 ... Look for default devices ... bus/device number matched found USB ID 19d2:2000 vendor ID matched product ID matched Found devices in default mode (1) Use interface number 0 Use endpoints 0x01 (out) and 0x81 (in) USB description data (for identification) ------------------------- Manufacturer: ZTE,Incorporated Product: ZTE WCDMA Technologies MSM Serial No.: P671A2ZTED010000 ------------------------- Sending standard EJECT sequence Looking for active driver ... OK, driver detached Set up interface 0 Use endpoint 0x01 for message sending ... Trying to send message 1 to endpoint 0x01 ... OK, message successfully sent Read the response to message 1 (CSW) ... Response successfully read (13 bytes). Trying to send message 2 to endpoint 0x01 ... OK, message successfully sent Read the response to message 2 (CSW) ... Response successfully read (13 bytes). Trying to send message 3 to endpoint 0x01 ... OK, message successfully sent Read the response to message 3 (CSW) ... Response reading failed (error -9) Device is gone, skip any further commands ok:busdev -------------------------------- (end of usb_modeswitch output) Check success of mode switch for max. 20 seconds ... Read attributes ... Read attributes ... Read attributes ... Read attributes ... Read attributes ... Read attributes ... Read attributes ... USB dir exists: /sys/bus/usb/devices/1-4 All attributes matched Mode switching was successful, found 19d2:0016 (ZTE,Incorporated: ZTE WCDMA Technologies MSM)Now check for bound driver ... no driver has bound to interface 0 yet Device not in "bind_list" yet, bind it now Module loader is /sbin/modprobe Module is active already Try to add ID to driver "option" ID added to driver; check for new devices in /dev driver binding failed Check for AVOID_RESET_QUIRK kernel attribute AVOID_RESET_QUIRK activated All done, exit