brektrou / rtl8821CU

Realtek RTL8811CU/RTL8821CU USB Wi-Fi adapter driver for Linux
GNU General Public License v2.0
1.58k stars 458 forks source link

Error on `usb_modeswitch`: `interface class is 224, expected 8` #181

Open parsanoori opened 1 year ago

parsanoori commented 1 year ago

When I run the following I get:

sudo usb_modeswitch -KW -v 0bda -p c820 -R 

I get:

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= 0xc820

StandardEject=1

Look for default devices ...
  found USB ID 8087:0024
  found USB ID 1d6b:0002
  found USB ID 03f0:2a4a
  found USB ID 1c4f:0034
  found USB ID 0bda:c820
   vendor ID matched
   product ID matched
  found USB ID 8087:0024
  found USB ID 1d6b:0002
  found USB ID 1d6b:0003
  found USB ID 1d6b:0002
 Found devices in default mode (1)
Access device 011 on bus 001
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
 with class 224
Error: can't use storage command in MessageContent with interface 0; interface class is 224, expected 8. Abort

I've got an ezc-5201 wifi dongle. Trying to connect to it via this driver.

jsburckhardt commented 1 year ago

had the same issue. I simply built it directly and now it works: after cloning ->

cd rtl8821CU/
chmod +x dkms-install.sh 
sudo ./dkms-install.sh
sudo modprobe 8821cu