* usb_modeswitch: handle USB devices with multiple modes * Version 1.2.4 (C) Josua Dietze 2012 * Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x12d1 DefaultProduct= 0x155b TargetVendor= 0x12d1 TargetProduct= 0x1506 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="55534243000000000000000000000011060000000100000000000000000000" NeedResponse=0 ResponseEndpoint= not set
InquireDevice disabled Success check disabled System integration mode disabled
usb_set_debug: Setting debugging level to 15 (on) usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_busses: Skipping non bus directory devices usb_os_find_devices: Found 001 on 002 usb_os_find_devices: Found 002 on 001 usb_os_find_devices: Found 001 on 001 error obtaining child information: Inappropriate ioctl for device Looking for target devices ... searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 12d1:155b found matching vendor ID 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:0001 searching devices, found USB ID 12d1:155b found matching vendor ID found matching product ID adding device searching devices, found USB ID 1d6b:0002 Found device in default mode, class or configuration (1) Accessing device 002 on bus 001 ... Getting the current device configuration ... OK, got current device configuration (1) Using interface number 0 Using endpoints 0x01 (out) and 0x81 (in)
USB description data (for identification) ------------------------- Manufacturer: Product: Mobile Connect Serial No.: not provided ------------------------- 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 ... USB error: error reaping URB: No such device Device seems to have vanished right after sending. Good. Device is gone, skipping any further commands -> Run lsusb to note any changes. Bye.
* usb_modeswitch: handle USB devices with multiple modes * Version 1.2.4 (C) Josua Dietze 2012 * Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x12d1 DefaultProduct= 0x155b TargetVendor= 0x12d1 TargetProduct= 0x1506 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="55534243000000000000000000000011060000000100000000000000000000" NeedResponse=0 ResponseEndpoint= not set
InquireDevice disabled Success check disabled System integration mode disabled
usb_set_debug: Setting debugging level to 15 (on) usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_busses: Skipping non bus directory devices usb_os_find_devices: Found 001 on 002 usb_os_find_devices: Found 006 on 001 usb_os_find_devices: Found 001 on 001 error obtaining child information: Inappropriate ioctl for device Looking for target devices ... searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 12d1:155b found matching vendor ID 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:0001 searching devices, found USB ID 12d1:155b found matching vendor ID found matching product ID adding device searching devices, found USB ID 1d6b:0002 Found device in default mode, class or configuration (1) Accessing device 006 on bus 001 ... Getting the current device configuration ... OK, got current device configuration (1) Using interface number 0 Using endpoints 0x01 (out) and 0x81 (in)
USB description data (for identification) ------------------------- Manufacturer: Product: Mobile Connect Serial No.: not provided ------------------------- 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 USB error: could not clear/halt ep 129: No such device Could not reset endpoint (probably harmless): -19 Resetting message endpoint 0x01 USB error: could not clear/halt ep 1: No such device Could not reset endpoint (probably harmless): -19 USB error: could not release intf 0: No such device Device is gone, skipping any further commands -> Run lsusb to note any changes. Bye.
* usb_modeswitch: handle USB devices with multiple modes * Version 1.2.4 (C) Josua Dietze 2012 * Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x12d1 DefaultProduct= 0x155b TargetVendor= 0x12d1 TargetProduct= 0x1506 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="55534243000000000000000000000011060000000100000000000000000000" NeedResponse=0 ResponseEndpoint= not set
InquireDevice disabled Success check disabled System integration mode disabled
usb_set_debug: Setting debugging level to 15 (on) usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_busses: Skipping non bus directory devices usb_os_find_devices: Found 001 on 002 usb_os_find_devices: Found 007 on 001 skipped 4 class/vendor specific interface descriptors skipped 4 class/vendor specific interface descriptors usb_os_find_devices: Found 001 on 001 error obtaining child information: Inappropriate ioctl for device Looking for target devices ... searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 12d1:1506 found matching vendor ID found matching product ID adding device searching devices, found USB ID 1d6b:0002 Found devices in target mode or class (1) Looking for default devices ... searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 12d1:1506 found matching vendor ID searching devices, found USB ID 1d6b:0002 No devices in default mode found. Nothing to do. Bye.
[root@stlinux]#cat /proc/tty/driver/usbserial usbserinfo:1.0 driver:2.0 [root@stlinux]#dmesg | tail -n40 <4>save exit: isCheckpointed 1 <6>usb 1-1: USB disconnect, address 3 <6>usb 1-1: new high speed USB device using stm-ehci and address 4 <6>usb 1-1: configuration #1 chosen from 1 choice <4>[usb_probe_interface]drive name=usb-storage <6>scsi1 : SCSI emulation for USB Mass Storage devices <7>usb-storage: device found at 4 <7>usb-storage: waiting for device to settle before scanning <5>scsi 1:0:0:0: CD-ROM Mass Storage 2.31 PQ: 0 ANSI: 2 <7>usb-storage: device scan complete <6>usb 1-1: USB disconnect, address 4 <6>usb 1-1: new high speed USB device using stm-ehci and address 5 <6>usb 1-1: configuration #1 chosen from 1 choice <4>[usb_probe_interface]drive name=usbserial_generic <4>[usb_probe_interface]drive name=usbserial_generic <4>save exit: isCheckpointed 1 <4>save exit: isCheckpointed 1 <4>save exit: isCheckpointed 1 <4>save exit: isCheckpointed 1 <6>usb 1-1: USB disconnect, address 5 <6>usb 1-1: new high speed USB device using stm-ehci and address 6 <6>usb 1-1: configuration #1 chosen from 1 choice <4>[usb_probe_interface]drive name=usb-storage <6>scsi2 : SCSI emulation for USB Mass Storage devices <7>usb-storage: device found at 6 <7>usb-storage: waiting for device to settle before scanning <5>scsi 2:0:0:0: CD-ROM Mass Storage 2.31 PQ: 0 ANSI: 2 <7>usb-storage: device scan complete <4>save exit: isCheckpointed 1 <4>save exit: isCheckpointed 1 <4>save exit: isCheckpointed 1 <4>save exit: isCheckpointed 1 <4>save exit: isCheckpointed 1 <4>save exit: isCheckpointed 1 <6>warning: `vsftpd' uses 32-bit capabilities (legacy support in use) <6>usb 1-1: USB disconnect, address 6 <6>usb 1-1: new high speed USB device using stm-ehci and address 7 <6>usb 1-1: configuration #1 chosen from 1 choice <4>[usb_probe_interface]drive name=usbserial_generic <4>[usb_probe_interface]drive name=usbserial_generic [root@stlinux]#