Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ sudo usb_modeswitch -v 0bda -p a192 -KW
- Take all parameters from the command line
- * usb_modeswitch: handle USB devices with multiple modes
- * Version 2.6.2 (C) Josua Dietze 2017
- * Based on libusb1/libusbx
- ! PLEASE REPORT NEW CONFIGURATIONS !
- DefaultVendor= 0x0bda
- DefaultProduct= 0xa192
- StandardEject=1
- Look for default devices ...
- found USB ID 2717:4106
- found USB ID 0bda:a192
- vendor ID matched
- product ID matched
- found USB ID 1d6b:0002
- found USB ID 05af:1023
- found USB ID 046d:c077
- found USB ID 1d6b:0001
- found USB ID 1d6b:0002
- found USB ID 0bda:5852
- vendor ID matched
- found USB ID 1d6b:0001
- found USB ID 1d6b:0003
- found USB ID 1d6b:0002
- found USB ID 1d6b:0003
- found USB ID 1d6b:0002
- Found devices in default mode (1)
- Access device 033 on bus 003
- Get the current device configuration ...
- Current configuration number is 1
- Use interface number 0
- with class 8
- Use endpoints 0x0b (out) and 0x8a (in)
- USB description data (for identification)
- -------------------------
- Manufacturer: Realtek
- Product: DISK
- Serial No.: not provided
- -------------------------
- Sending standard EJECT sequence
- Looking for active drivers ...
- OK, driver detached
- Set up interface 0
- Use endpoint 0x0b for message sending ...
- Trying to send message 1 to endpoint 0x0b ...
- OK, message successfully sent
- Read the response to message 1 (CSW) ...
- Response reading failed (error -8)
- Device is gone, skip any further commands
- -> Run lsusb to note any changes. Bye!
- $ lsusb
- Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- Bus 001 Device 002: ID 0bda:5852 Realtek Semiconductor Corp. Bluetooth Radio
- Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bus 003 Device 002: ID 2717:4106 Xiaomi Inc. MediaTek MT7601U [MI WiFi]
- Bus 003 Device 033: ID 0bda:a192 Realtek Semiconductor Corp. DISK
- Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- Bus 004 Device 002: ID 046d:c077 Logitech, Inc. Mouse
- Bus 004 Device 003: ID 05af:1023 Jing-Mold Enterprise Co., Ltd Ghost Key Elimiantion Keyboard
- Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
- Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Advertisement
Add Comment
Please, Sign In to add comment