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
I have slighty different problem. Every time I turn my laptop on my Corne keyboard is not recognized, until I plug-out and plug-in again. I have no idea, how to fix it. My setup is here
https://github.com/Crandel/vial-qmk/blob/crandel/keyboards/crkbd/keymaps/crandel/config.h
Is this is Linux machine? And is it waking the machine from sleep or booting that you notice the issue?
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
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
That’s a good idea