Sample Header Ad - 728x90

Virtually reconnecting keyboard

1 vote
0 answers
58 views
My problem is as follows: I use a Steelseries Apex M800 keyboard, which means it has proprietary RGB software for the keyboard backlight (I chose my keyboard before I switched to Linux, so I am aware of the quality of this choice :( ). Now about 50% of the time the backlight doesn't work on boot and the only way to fix it is to manually pull out the USB plug and reconnect it again. I am looking for a way to virtually accomplish the same thing so I wouldn't have to crawl under my desk every morning just so I could see my keys. I'm trying to find a sort of "hard reseating the USB cable" script. I tried several scripts I found across the web, including [this](https://github.com/netinvent/usb_resetter/blob/main/usb_reset.py) , [this](https://github.com/mcarans/resetusb/blob/master/reset_usb.py) and [this](https://askubuntu.com/questions/645/how-do-you-reset-a-usb-device-from-the-command-line) . I'm pretty sure they are all trying to do very similar things and it doesn't seem to work. Anybody got an idea what command and/or script I could still try out to completely disconnect and reconnect my keyboard, similar to pulling the plug out and putting it back in again? I use Manjaro with a 5.15 kernel in case that is relevant.
Asked by Jamarley (11 rep)
Dec 28, 2022, 08:51 AM