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 570480
To read all comments associated with this story, please click here.
Member since:

I do have to defend Windows as a closed platform because I keep hearing "x is open source so everyone can look at the code and fix things but they cannot fix this because it is closed" which irritates me a lot

But that's true. Look, no one is saying "All bugs in any Open Source software will always be found and fixed." The quote is "Given enough eyes, all bugs are shallow." Notice that it requires "enough eyes" I.e. in order to find bugs, people have to be looking at the code. Evidently, not enough people were looking at this particular code, so the bug wasn't found. But it probably still has more eyes looking at it than a closed source application.

Reply Parent Score: 7