Date: Sun, 21 Dec 2008 16:56:36 +0100 From: Hans Petter Selasky <hselasky@c2i.net> To: freebsd-current@freebsd.org Cc: freebsd-usb@freebsd.org Subject: Re: USB power save, battery life and laptops - testers wanted Message-ID: <200812211656.38478.hselasky@c2i.net> In-Reply-To: <6eb82e0812200557o2700eb8ble49b5bb062693f85@mail.gmail.com> References: <200812201343.59663.hselasky@c2i.net> <6eb82e0812200557o2700eb8ble49b5bb062693f85@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812211656.38478.hselasky>