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.

Thread beginning with comment 570432
To view parent comment, click here.
To read all comments associated with this story, please click here.
Bill Shooter of Bul
Member since:

No, IMHO, the problem was in the spec. It defined a timeout value that was interpreted as a minimum by hardware developers and a maximum by software developers. Reading the spec and the code side by side, you probably wouldn't ever notice the problem.

This is something that only could have been caught with testing for this issue on a wide variety of hardware ( which is how it was caught). This is one of the weaknesses of linux, especially desktop linux, IMHO. It still happens with Windows, but more rarely. My brother's desktop runs ubuntu because windows isn't stable on the hardware ;)

Reply Parent Score: 4

zima Member since:

If there's something so wrong with hardware that current Windows releases are unstable, using Linux might be still risky... (for data integrity for example)

Reply Parent Score: 2

Alfman Member since:


"If there's something so wrong with hardware that current Windows releases are unstable, using Linux might be still risky... (for data integrity for example)"

Maybe, but I wouldn't say that's a foregone conclusion. Microsoft sometimes breaks a lot of perfectly good hardware and drivers with each new operating system. XP->Vista for example was notorious for this. I skipped Vista personally, but with win7 my webcam stopped working, a usb disk enclosure, as did my parent's document scanner. Sometimes it really is a windows problem with nothing wrong with the hardware.

For this particular case it's a clear advantage for open source drivers. With FOSS we are not dependent upon manufactures to to update hardware drivers. Arguably they even have a *disincentive* to do so in order to EOL perfectly good hardware to push new hardware sales.

Edited 2013-08-28 02:37 UTC

Reply Parent Score: 2

Neolander Member since:

Replying to your comment in the BB10 topic, which has been tombstoned by the OSnews CMS...

"software to backup SMSs, calendar events and contacts without going through Google's servers (because you can't do that natively)"

What would be its name?

I don't know of a networked SMS backup solution, but to backup them on an SD card, you can use SMS Backup&Restore :

For calendar and contacts, I use ownCloud on my home server, combined with the CalDAV-Sync and CardDAV-Sync apps from Marten Gajda. They are available on Google Play, and also on the AndroidPIT app store if you prefer to pay through PayPal like me.

Edited 2013-08-28 06:18 UTC

Reply Parent Score: 1