Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error when using sudo modswitch #221

Open
LumenYoung opened this issue Jul 22, 2023 · 1 comment
Open

Getting error when using sudo modswitch #221

LumenYoung opened this issue Jul 22, 2023 · 1 comment

Comments

@LumenYoung
Copy link

Hi, I'm trying to install this driver on a ubuntu 20.04 guest machine in QEMU. I successfully compiled the driver and installed. But I got the following error when I'm running sudo usb_modeswitch -KW -v 0bda -p b812:

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x0bda
DefaultProduct= 0xb812

StandardEject=1

Look for default devices ...
  found USB ID 1d6b:0003
  found USB ID 0bda:b812
   vendor ID matched
   product ID matched
  found USB ID 0627:0001
  found USB ID 1d6b:0002
 Found devices in default mode (1)
Access device 003 on bus 001
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
 with class 255
Error: can't use storage command in MessageContent with interface 0; interface class is 255, expected 8. Abort

This vendor id and product id matches what I get from the lsusb:

yang@ubuntuvm:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0bda:b812 Realtek Semiconductor Corp. 802.11ac NIC
Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd QEMU USB Tablet
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Any help on this would be appreciated!

@ChienKaiMa
Copy link

I had the same problem. I saw some comments mentioning the following repo and it worked for me.
8821cu-20210916

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants