Linked by Thom Holwerda on Fri 23rd Aug 2013 08:37 UTC

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.

Permalink for comment 570397
To read all comments associated with this story, please click here.
RE[2]: The fix
by osvil on Fri 23rd Aug 2013 10:16 UTC in reply to "RE: The fix"
Member since:

What is kind of fun is that, devices that somehow worked on other systems where dismissed as faulty. Usually if something work for others but not for your system the first suspicion should go to your system. It could be that the device is faulty and that the problems arise in your context, but over my career I've found that in many cases is the other way around.

It is like bugs in compilers. I've come across some, for sure. But most times I thought it was a compiler error, it was actually bad code on my side.

Reply Parent Score: 6