-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Arjan!
i have two issue with powertop:
1. powertop check if usbcore autosuspen is enabled by checking /sys/bus/usb
interface. but will make wrong suggestion if one of devices is
blacklisted

for example this i get on my system:
- --------------------------------------------------------
cat /sys/bus/usb/devices/*/power/autosuspend
- -1   <== blacklisted scanner
2
2
2
2
2
- ----------------------------------------------------------------


2. _really_important_ . latest powertop use old usb kernel API, this not
 working with new API:

Documentation/usb/power-management.txt
- ---------------------------------->8---------------------------------
        power/autosuspend

                This file contains an integer value, which is the
                number of seconds the device should remain idle before
                the kernel will autosuspend it (the idle-delay time).
                The default is 2.  _0_ means _to_autosuspend_ as soon as
                the device becomes idle, and _-1_ means _never_to
                autosuspend_.  You can write a number to the file to
                change the autosuspend idle-delay time.

Writing "-1" to power/autosuspend and writing "on" to power/level do
essentially the same thing -- they both prevent the device from being
autosuspended.  Yes, this is a redundancy in the API.

(In 2.6.21 writing "0" to power/autosuspend would prevent the device
from being autosuspended; the behavior was changed in 2.6.22.  The
power/autosuspend attribute did not exist prior to 2.6.21, and the
power/level attribute did not exist prior to 2.6.22.)
- -------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHW76EVVCoNUmKuAcRAqfGAKC4COauYeNVWCIcmcq0o+NZy/A9AACfRUqZ
+aR24NkxI1h4+bQy9naCdtQ=
=si3K
-----END PGP SIGNATURE-----

_______________________________________________
Power mailing list
Power@bughost.org
http://www.bughost.org/mailman/listinfo/power

Reply via email to