Linux may have been causing USB disconnects

Pretty much for my entire career in Linux USB (eight years now?), we’ve been complaining about how USB device power management just sucks. We enable auto-suspend for a USB device driver, and find dozens of different USB devices that simply disconnect from the bus when auto-suspend is enabled.

For years, we’ve blamed those devices for being cheap, crappy, and broken. We talked about blacklists in the kernel, and ripped those out when they got too big. We’ve talked about whitelists in userspace, but not many distros have time to cultivate such lists.

It turns out it’s not always the device’s fault.

Fascinating bug.

31 Comments

  1. 2013-08-23 8:55 am
    • 2013-08-23 9:08 am
      • 2013-08-23 10:16 am
        • 2013-08-23 11:03 am
          • 2013-08-23 12:04 pm
        • 2013-08-24 8:38 am
          • 2013-08-24 6:32 pm
          • 2013-08-26 12:38 pm
  2. 2013-08-23 11:21 am
    • 2013-08-23 11:51 am
      • 2013-08-23 1:09 pm
        • 2013-08-23 6:07 pm
    • 2013-08-23 11:55 am
      • 2013-08-23 1:23 pm
        • 2013-08-23 1:47 pm
        • 2013-08-23 2:36 pm
        • 2013-08-23 3:15 pm
        • 2013-08-23 7:11 pm
        • 2013-08-23 9:32 pm
      • 2013-08-23 4:42 pm
    • 2013-08-23 2:32 pm
      • 2013-08-27 7:58 pm
        • 2013-08-28 2:36 am
          • 2013-08-29 6:22 pm
        • 2013-08-28 6:09 am
    • 2013-08-23 4:41 pm
  3. 2013-08-23 4:54 pm
    • 2013-08-28 10:28 am
  4. 2013-08-27 4:09 am
    • 2013-08-27 6:43 am
      • 2013-08-27 4:38 pm