As I proposed a survey to see which webcams are used on the eeepcs, it turned
out that many different models are used.
I think it would be sensible to try to enable autosuspend for every uvcvideo
device and if there are problems blacklist the rogue ones.
Since the uvcvideo module isn't bound to the device at the time of the udev
event, the rule matches against bInterfaceClass - AFAIUI the effect should be
the same.
---
Enable autosuspend for devices with interface class 0e (video class) - i.e. usb
webcams.
diff -ruN eeepc-acpi-scripts-1.1.2/lib/udev/rules.d/eeepc-acpi-scripts.rules
eeepc-acpi-scripts-1.1.2.new/lib/udev/rules.d/eeepc-acpi-scripts.rules
--- eeepc-acpi-scripts-1.1.2/lib/udev/rules.d/eeepc-acpi-scripts.rules
2009-04-09 08:01:45.000000000 +0200
+++ eeepc-acpi-scripts-1.1.2.new/lib/udev/rules.d/eeepc-acpi-scripts.rules
2009-11-02 19:27:45.444479217 +0100
@@ -1 +1,2 @@
KERNEL=="controlC[0-7]", ACTION=="add", RUN+="/lib/udev/eeepc-acpi-scripts"
+SUBSYSTEM=="usb", ATTR{bInterfaceClass}=="0e", ATTR{../power/level}="auto"
_______________________________________________
Debian-eeepc-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-eeepc-devel