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

  • robotdna@toast.oooOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

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

    • Crandel@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      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

      • robotdna@toast.oooOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        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