Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- USB_ModeSwitch log from Mon Oct 12 10:03:12 2020
- Use global config file: /etc/usb_modeswitch.conf
- Started via upstart
- Adjust delay for USB storage devices ...
- Current value is higher or equal to 0. Leave it alone
- Raw args from udev: /1-4.2
- Bus ID for device not given by udev.
- Trying to determine it from kernel name (1-4.2) ...
- Use top device dir /sys/bus/usb/devices/1-4.2
- USB dir exists: /sys/bus/usb/devices/1-4.2
- Warning: USB attribute "serial" not readable.
- SCSI dir exists: /sys/bus/usb/devices/1-4.2
- Warning: SCSI attribute "vendor" not readable.
- Warning: SCSI attribute "model" not readable.
- Warning: SCSI attribute "rev" not readable.
- Check class of first interface ...
- Device is in install mode.
- Use interface (null)
- ----------------
- USB values from sysfs:
- idVendor 12d1
- idProduct 1f01
- manufacturer HUAWEI
- product HUAWEI HiLink
- serial (null)
- 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/12d1:1f01*
- Searching overriding entries named: /etc/usb_modeswitch.d/12d1:1f01*
- SCSI attributes not needed, move on.
- Extract config 12d1:1f01 from collection /usr/share/usb_modeswitch/configPack.tar.gz
- config: TargetVendor set to 12d1
- config: TargetProduct set to 14db,14dc
- config: NoDriverLoading is set to active
- Driver will not be handled by usb_modeswitch
- ! matched, now switching
- Command to be run:
- /usr/sbin/usb_modeswitch -W -D -s 20 -c /run/usb_modeswitch/current_cfg -u -1 -v 12d1 -p 1f01 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.1.1 (C) Josua Dietze 2014
- * Based on libusb1/libusbx
- ! PLEASE REPORT NEW CONFIGURATIONS !
- DefaultVendor= 0x12d1
- DefaultProduct= 0x1f01
- TargetVendor= 0x12d1
- TargetProductList="14db,14dc"
- MessageContent="55534243123456780000000000000011062000000101000100000000000000"
- NeedResponse=0
- Success check enabled, max. wait time 20 seconds
- System integration mode enabled
- Look for target devices ...
- found USB ID 1d6b:0003
- found USB ID 12d1:1f01
- vendor ID matched
- found USB ID 1a40:0101
- found USB ID 0a46:1269
- found USB ID 04d9:1702
- found USB ID 05e3:0610
- found USB ID 1d6b:0002
- No devices in target mode or class found
- Look for default devices ...
- found USB ID 1d6b:0003
- found USB ID 12d1:1f01
- vendor ID matched
- product ID matched
- found USB ID 1a40:0101
- found USB ID 0a46:1269
- found USB ID 04d9:1702
- found USB ID 05e3:0610
- found USB ID 1d6b:0002
- Found devices in default mode (1)
- Access device 007 on bus 001
- Use interface number 0
- Use endpoints 0x01 (out) and 0x81 (in)
- USB description data (for identification)
- -------------------------
- Manufacturer: HUAWEI
- Product: HUAWEI HiLink
- Serial No.: not provided
- -------------------------
- 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
- Reset response endpoint 0x81
- Could not reset endpoint (probably harmless): -99
- Reset message endpoint 0x01
- Could not reset endpoint (probably harmless): -99
- Check for mode switch (max. 20 times, once per second) ...
- Search for target devices ...
- found USB ID 1d6b:0003
- found USB ID 1a40:0101
- found USB ID 0a46:1269
- found USB ID 04d9:1702
- found USB ID 05e3:0610
- found USB ID 1d6b:0002
- Search for target devices ...
- found USB ID 1d6b:0003
- found USB ID 1a40:0101
- found USB ID 0a46:1269
- found USB ID 04d9:1702
- found USB ID 05e3:0610
- found USB ID 1d6b:0002
- Search for target devices ...
- found USB ID 1d6b:0003
- found USB ID 1a40:0101
- found USB ID 0a46:1269
- found USB ID 04d9:1702
- found USB ID 05e3:0610
- found USB ID 1d6b:0002
- Search for target devices ...
- found USB ID 1d6b:0003
- found USB ID 1a40:0101
- found USB ID 0a46:1269
- found USB ID 04d9:1702
- found USB ID 05e3:0610
- found USB ID 1d6b:0002
- Search for target devices ...
- found USB ID 12d1:14db
- vendor ID matched
- product ID matched
- found USB ID 1d6b:0003
- found USB ID 1a40:0101
- found USB ID 0a46:1269
- found USB ID 04d9:1702
- found USB ID 05e3:0610
- found USB ID 1d6b:0002
- Found target device, open it
- Found target device 008 on bus 001
- Target device description data
- -------------------------
- Manufacturer: HUAWEI
- Product: HUAWEI HiLink
- Serial No.: not provided
- -------------------------
- Found correct target device
- Mode switch succeeded. Bye!
- ok:
- --------------------------------
- (end of usb_modeswitch output)
- USB dir exists: /sys/bus/usb/devices/1-4.2
- Warning: USB attribute "serial" not readable.
- Doing no driver check or bind for this device
- All done, exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement