skraus-dev / cherryrgb-rs

Cherry RGB Keyboard - Multi platform tool to set RGB LEDs for Cherry keyboards
MIT License
35 stars 3 forks source link

Control Write failure - Win11 #61

Open danistl opened 8 months ago

danistl commented 8 months ago

When i run try to set anything, for example: ./cherryrgb_cli --product-id 121 --brightness medium animation wave fast 00ff00

I get this error: Error: Fetching device state failed

Caused by: USB Error, detail=Control Write failure

i tried to comment out the device fetching in Main.rs, but this gives me an error with setting the color with the same cause of Control Write failure.

felfert commented 8 months ago

Try enabling debug logging. Maybe it shows some more helpful info.

Other than that, I'm afraid, that I never tested this on WIndows. (I use cherry's utility on Windows) Do you have cherry's software running? If yes, there might be a conflict with libusb - which is used as generic USB driver. (can't have two drivers for the same device).

Good luck -Fritz