Re: [linux-usb-devel] [PATCH] USB: Only enable autosuspend by default on certain device classes

From: Matthew Garrett
Date: Fri Aug 03 2007 - 07:29:48 EST


On Thu, Aug 02, 2007 at 11:01:08PM -0700, David Brownell wrote:

> Seems to me it ought to be practical to organize a database that can
> be consulted by an outcall from udev, disabling autosuspend on devices
> which are known to be broken. The "modules.usbmap" syntax is an obvious
> place to start (painful though it is), and I'm sure there are folk who
> would prefer web-accessible/updatable databases.

It's certainly possible to do that, but it's also possible to have a
userspace solution that whitelists devices. The question is whether the
default kernel behaviour should be "Save power, but potentially break
some of my devices" or "Don't break my devices, but use some more
powre".

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/