Razer Lycosa on Linux: sometimes starts spamming ^@ (ie. Ctrl+2 in `read`) chars continously
Hi I have Razer Lycosa and using it only on Linux (I don't know [yet](/drivers-razersupport-com-is-http-and-causing-the-page-isn’t-redirecting-properly-w-https-everywhere.49224/) if you have any drivers or firmware updates(if there is such a thing) for it for Linux) but sometimes it starts doing some weird things:
1. Both during using it after a while and sometimes after computer starts up for the first time(cold boot?), Lycosa starts spamming ^@ (an output which I can accomplish in xfce4-terminal, only by running the command read and pressing Ctrl+2 aka C-2, doing that when the keyboard works normally, ofc). I'm unsure and don't remember at this time if this also happens in xfce4-terminal or only on TERM=linux aka console. Sometimes it doesn't spam it but each key press generates one ^@ with it.
2. Sometimes some characters(such as s or t, sometimes more keys) stop working as if they are physically disconnected. All other keys seem to work but I noticed that when a key is held, it's only repeated for a short time, a second or two, then it stops. (normally, it gets repeated until released). Also the repeats seem to be at a slower, possibly not constant, rate.
3. At computer startup, any of the 3 random led states can be selected: wasd only, all, none. (happens on two different systems(actually all 3 now that I remember), as mentioned below)
In all cases, replugging the USB resolves the issue. The second USB cable from the keyboard is never plugged in. I do have headphones connected to the keyboard and the two audio (in&out) from the keyboard are connected to the desktop PC (an ASUS motherboard). I have seen this behavior happen on both a desktop with Intel CPU and on an older 2012 laptop with AMD CPU!
This is kinda hard to reproduce, as it takes some time for this to occur, but it doesn't seem to be because of leaving it or the computer idle. Though I'm getting the feeling that maybe Lycosa isn't receiving enough USB power and that's what's causing it. Or maybe even the USB connection gets briefly interrupted - although I've no reason to believe this would be the case because the keyboard is stable on a table and I don't move it at all; same for all the other computer cables: they aren't being moved/touched/jiggled.
Furthermode, after having stored the keyboard for a few years, when first plugging it in(a laptop), no keys worked though the leds were lit up(iirc)! I actually opened it up, looked inside, there didn't seem to be anything to clean there, put everything back and to my surprise the keyboard started working again as usual and never stopped like that ever again for the past 2-3 years. I've no idea why.
However, way before opening it, when I used it on Windows, on a different AMD desktop(this time) computer, I remember it would sometimes not type the letter r at the BIOS password prompt and thus making me wonder why the password was wrong. This would also happen during Windows usage! And I don't remember if that was the only key that stopped working out of the blue or there were others, but as usual I would replug the keyboard to workaround it.
So, this is why I know that this issue wasn't caused by me opening up the keyboard (which happened a few years later after using it on Windows like this)
I was(and am) using Linux kernel 5.1.3-g7cb9c5d341b9 now, when this latest on-startup spamming of ^@ sequence occurred (once, today), though I doubt it has anything to do with it, I'm willing to try patches, or echo-ing things in /sys/something even. :)
Any ideas?
Thanks!
PS: `sudo powertop` reports `Autosuspend for USB device Razer Lycosa [Razer]` as `Bad` (this is the default, ie. cat /sys/bus/usb/devices/1-6/power/control returns on) which is probably good as it doesn't power it down ever, so I've no reason to believe that Linux or anything else is making it enter some kind of half-sleep state(unless there are other ways, of course). If I manually(and temporarily) set it to Good aka echo 'auto' then the keyboard leds turn off after a second or two of not using the keyboard and turn on again if I press anything. I haven't tried this mode ever until just now for this paragraph!
This topic has been closed for replies.
Sign up
Already have an account? Login
Log in with Razer ID to create new threads and earn badges.
LOG INEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.