- Cant find the "device(s)" in /dev/usb*
- From logfile:
- USB_ModeSwitch log from Tue May 09 22:29:02 UTC 2017
- Use global config file: /etc/usb_modeswitch.conf
- Started via systemd
- Raw args from udev: _1-1.5
- Use top device dir /sys/bus/usb/devices/1-1.5
- Check class of first interface ...
- Interface 0 class is 08.
- ----------------
- USB values from sysfs:
- manufacturer D-Link,Inc
- product D-Link DWM-157
- serial 536512508581240
- ----------------
- ConfigList: /usr/share/usb_modeswitch/2001:a407
- SCSI attributes not needed, move on
- Check config: /usr/share/usb_modeswitch/2001:a407
- ! matched. Read config data
- Driver module is "option", ID path is /sys/bus/usb-serial/drivers/option1
- Device may have an MBIM configuration, check driver ...
- driver for MBIM devices is available
- Find MBIM configuration number ...
- No MBIM configuration found, switch to legacy modem mode
- Unbinding driver
- Command to be run:
- usb_modeswitch -W -D -b 1 -g 12 -v 2001 -p a407 -f $flags(config)
- Verbose debug output of usb_modeswitch and libusb follows
- (Note that some USB errors are to be expected in the process)
- --------------------------------
- Read long config from command line
- * usb_modeswitch: handle USB devices with multiple modes
- * Version 2.4.0 (C) Josua Dietze 2016
- * Based on libusb1/libusbx
- ! PLEASE REPORT NEW CONFIGURATIONS !
- DefaultVendor= 0x2001
- DefaultProduct= 0xa407
- TargetVendor= 0x2001
- TargetProduct= 0x7d0e
- StandardEject=1
- System integration mode enabled
- Use given bus/device number: 001/012 ...
- Look for default devices ...
- bus/device number matched
- found USB ID 2001:a407
- vendor ID matched
- product ID matched
- Found devices in default mode (1)
- Get the current device configuration ...
- Current configuration number is 1
- Use interface number 0
- Use endpoints 0x01 (out) and 0x81 (in)
- USB description data (for identification)
- -------------------------
- Manufacturer: D-Link,Inc
- Product: D-Link DWM-157
- Serial No.: 536512508581240
- -------------------------
- Sending standard EJECT sequence
- Looking for active driver ...
- No active driver found. Detached before or never attached
- 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), status 1
- Trying to send message 2 to endpoint 0x01 ...
- OK, message successfully sent
- Read the response to message 2 (CSW) ...
- Response successfully read (13 bytes), status 1
- Trying to send message 3 to endpoint 0x01 ...
- OK, message successfully sent
- Read the response to message 3 (CSW) ...
- Response reading failed (error -1)
- 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 ...
- All attributes matched
- Mode switching was successful, found 2001:7d0e (D-Link,Inc: D-Link DWM-157)
- Logger is /usr/bin/logger
- Now check for bound driver ...
- driver has bound, device is known
- Check for AVOID_RESET_QUIRK kernel attribute
- AVOID_RESET_QUIRK activated
- All done, exit