USB power save, battery life and laptops - testers wanted
Hans Petter Selasky
hselasky at c2i.net
Sun Dec 21 15:54:24 UTC 2008
Hi,
I need some help testing out my USB powersave implementation. There are now
multiple levels of USB power save:
1) Turn off USB controller schedules when there are no transactions (1-4
seconds, not tuneable)
2) Suspend actual USB device (30 seconds, tuneable)
Powersave is enabled by default.
Tuneables:
==========
How to set power save delay in seconds:
sysctl hw.usb2.power_timeout=10
How to disable power save for the given USB device:
usbconfig -u xxx -a yyy power_on
How to enable power save for the given USB device:
usbconfig -u xxx -a yyy power_save
Known to work:
==============
EHCI+UHCI
OHCI - not tested yet
How to install on FreeBSD -current (8.x)
========================================
svn --username anonsvn --password anonsvn \
checkout svn://svn.turbocat.net/i4b
cd i4b/trunk/i4b/src/sys/dev
cp -r usb2 /sys/dev/
make -C /sys/modules/usb2 clean all install
--HPS
More information about the freebsd-current
mailing list