Re: USB harddisk drive fails on 2.6.23-rc3 (regression)
Oliver Neukum <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
Am Montag 20 August 2007 schrieb Alan Stern: > > Doesn't that defeat the stated purpose of autosuspend to be transparent > > to the user? > > I have come to the conclusion that there are too many buggy USB devices > for the kernel to try and cope. Now maybe this just giving up too The kernel meaning usbcore or drivers? > easily, but thing about it... The idle-time autosuspend delay has > to be controlled from userspace anyway; why shouldn't enabling > autosuspend in the first place also be decided by the user? Because we have drivers that explicitely support autosuspend. The kernel thus has to have some knowledge about autosuspend. > In other words, I think the initial autosuspend_delay value should be > set to -1 for all devices other than hubs. Rules can be added to udev That is already an exception in a common rule. I suggest that autosuspend be disabled by default unless the driver bound the the interface supports it. > if that's how people want to enable autosuspend for devices where it > works, but a better approach would be to have HAL take care of it. > Centralized databases, user-specific databases, pop-up windows whenever > a new device is plugged in, whatever... There are lots of ways to > handle it. > > To be honest, I'm afraid that the increasing number of bug reports > we've been seeing as 2.6.23 comes closer to final release will just > explode once a really large group of people start using the new code. > And look at the table of quirks entries; these things don't belong in > the kernel -- they belong in a user-configurable table. The HID quirk table is far larger. Regards Oliver ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel