wagiminator / CH552-USB-Knob

Rotary Encoder with NeoPixels and USB Interface
https://oshwlab.com/wagiminator/ch552e-usb-knob
Other
148 stars 12 forks source link

Custom Knob code making the USB knob unrecognizable by Windows #6

Open Itz-kavish opened 1 year ago

Itz-kavish commented 1 year ago

Hello! I was trying out your custom knob code that you uploaded recently on Arduino IDE. I uploaded the code to the ch552 without any changes as the comments said it was a volume control knob. The code uploaded fine at first but the USB Knob became unrecognizable by windows. I kept getting pop-ups/notification on the side that Windows could not recognize the USB. I reuploaded the original volume control code and everything was fine back again. Are there any steps that I am missing that I need to do before uploading the code. Please help me fix this issue! Thank you!

wagiminator commented 1 year ago

Hi, I don't have a Windows PC myself, but I was able to test it on one with Windows 10 Pro. It worked fine there. When compiling and uploading, you don't have to do anything differently than usual. Note that the files in the src subdirectory are also different, so you must not mix them up. Which version of Windows do you have?

Itz-kavish commented 1 year ago

I am using windows 11 and the latest version of arduino

wagiminator commented 1 year ago

I suspect that Windows 11 is causing problems with the Composite HID implementation. Since I can't get access to a Windows 11 PC that quickly, I can't get to the bottom of the problem at the moment.