Spyke
ergomechkeyboards·ErgoMechKeyboardsbyrobotdna

Fix: USB QMK Keyboard Not Recognized Linux

Posting this here for sake of search engines and if others are losing their mind trying to troubleshoot.

Problem: I have a USB-C Piantor, connected through a USB/thunderbolt port on a Dell XPS 13. My OS is Arch Linux, and it when plugging the keyboard in, the Piantor would show up on lsusb but not do anything. dmesg shows the following error:

device descriptor read/64, error -71.

Solution: Disable USB suspend in a root terminal:

# echo -1 >/sys/module/usbcore/parameters/autosuspend

View original on toast.ooo
robotdnareply
toast.ooo

Is this is Linux machine? And is it waking the machine from sleep or booting that you notice the issue?

3
Crandelreply
programming.dev

Yes, I have Arch Linux in all my laptops and all of them has the same issue after boot. I'm not using sleep at all

3
robotdnareply
toast.ooo

I guess I'd try what I posted above, but also, I'd verify if lsusb is showing the devices at all. If not, then maybe there's a way to trigger a rescan by the USB controllers on reboot

3

You reached the end

Fix: USB QMK Keyboard Not Recognized Linux | Spyke