usb_modeswitch 返回错误 -7

usb_modeswitch 返回错误 -7

我有一个 GreenTouchPC BT+AC600 Wi-Fi 适配器(信息链接) 应该是 RTL8821CU ( 0bda:c820) 但实际上不是:

# lsusb
Bus 002 Device 005: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader
Bus 002 Device 009: ID 0bda:1a2b Realtek Semiconductor Corp. RTL8188GU 802.11n WLAN Adapter (Driver CDROM Mode) <-- this one
Bus 002 Device 003: ID 5986:0148 Acer, Inc Lenovo EasyCamera
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

我曾尝试使用usb_modeswitch它但神秘地失败了:

# usb_modeswitch -W -v 0bda -p 1a2b -V 0bda -P c820 -K
Take all parameters from the command line


 * usb_modeswitch: handle USB devices with multiple modes
 * Version 2.6.1 (C) Josua Dietze 2017
 * Based on libusb1/libusbx

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x0bda
DefaultProduct= 0x1a2b
TargetVendor=   0x0bda
TargetProduct=  0xc820

StandardEject=1

Look for target devices ...
  found USB ID 0bda:0158
   vendor ID matched
  found USB ID 0bda:1a2b
   vendor ID matched
  found USB ID 5986:0148
  found USB ID 8087:0020
  found USB ID 1d6b:0002
  found USB ID 8087:0020
  found USB ID 1d6b:0002
 No devices in target mode or class found
Look for default devices ...
  found USB ID 0bda:0158
   vendor ID matched
  found USB ID 0bda:1a2b
   vendor ID matched
   product ID matched
  found USB ID 5986:0148
  found USB ID 8087:0020
  found USB ID 1d6b:0002
  found USB ID 8087:0020
  found USB ID 1d6b:0002
 Found devices in default mode (1)
Access device 009 on bus 002
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 ...
Set up interface 0
Use endpoint 0x0b for message sending ...
Trying to send message 1 to endpoint 0x0b ...
 Sending the message returned error -7. Try to continue
Read the response to message 1 (CSW) ...
 Response reading failed (error -7)
 Device is gone, skip any further commands
-> Run lsusb to note any changes. Bye!

这里有谁知道原因吗?有什么解决办法吗?谢谢!

相关内容