[opensuse-kernel] USB autosupend woes
Hi: I would like to enable usb autosuspend globally, however I cannot do so because my mouse autosuspends and requires a button to be pressed every few seconds to wake-up, is there any way to "blacklist" only the mouse device, or better adding a quirk in the kernel source code to tell it not to suspend at all ? -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
Am Mittwoch, 13. Juli 2011, 20:54:43 schrieb Cristian Rodríguez:
I would like to enable usb autosuspend globally, however I cannot do so because my mouse autosuspends and requires a button to be pressed every few seconds to wake-up, is there any way to "blacklist" only the mouse device, or better adding a quirk in the kernel source code to tell it not to suspend at all ?
Your best option is writing a udev rule. Regards Oliver -- - - - SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany - - - -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
El 13/07/11 16:13, Oliver Neukum escribió:
Am Mittwoch, 13. Juli 2011, 20:54:43 schrieb Cristian Rodríguez:
I would like to enable usb autosuspend globally, however I cannot do so because my mouse autosuspends and requires a button to be pressed every few seconds to wake-up, is there any way to "blacklist" only the mouse device, or better adding a quirk in the kernel source code to tell it not to suspend at all ?
Your best option is writing a udev rule.
Regards Oliver
Ok, thanks for the hint, I just did :-) -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
* Cristian Rodríguez (crrodriguez@opensuse.org) [20110714 07:09]:
Ok, thanks for the hint, I just did :-)
Which looks like? Interested parties without much udev experience would like to know :) Philipp -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
El 14/07/11 06:38, Philipp Thomas escribió:
* Cristian Rodríguez (crrodriguez@opensuse.org) [20110714 07:09]:
Ok, thanks for the hint, I just did :-)
Which looks like? Interested parties without much udev experience would like to know :)
Philipp
I had no idea also how to do such thing, the documentation is either outdated or non-existant. aka. as usual :| # cat /etc/udev/rules.d/99-local.rules SUBSYSTEM=="usb", \ ATTR{idVendor}=="046d", \ ATTR{idProduct}=="c063", \ ATTR{power/control}="on" -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Thu, Jul 14, 2011 at 06:36:59PM -0400, Cristian Rodríguez wrote:
El 14/07/11 06:38, Philipp Thomas escribió:
* Cristian Rodríguez (crrodriguez@opensuse.org) [20110714 07:09]:
Ok, thanks for the hint, I just did :-)
Which looks like? Interested parties without much udev experience would like to know :)
Philipp
I had no idea also how to do such thing, the documentation is either outdated or non-existant. aka. as usual :|
I take it you didn't do a simple 'man udev' and look at the 300+ line document explaining all of this? Or if you did, what was missing that would have helped you out here? thanks, greg k-h -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
participants (5)
-
Cristian Rodríguez
-
Cristian Rodríguez
-
Greg KH
-
Oliver Neukum
-
Philipp Thomas