Power-drain during suspend?

John Baldwin jhb at freebsd.org
Fri Feb 10 10:03:15 PST 2006


On Friday 10 February 2006 12:53, Randy Bush wrote:
> >>> hw.pci.do_power_nodriver=[1|2|3]
> >>> The larger the number, the more aggressive the power limitations.
> >>> I use
> >>> '3' on my T30 and it works fine.
> >>
> >> in rc.suspend, or where?
> >
> > Use sysctl(8) to set it for testing.  If it works, you can then make
> > it permanent by setting it either in /boot/loader.conf or /etc/
> > sysctl.conf.
>
> so, it's a running state.
>
> how do i know "if it works?"
>
> # sysctl hw.pci.do_power_nodriver
> hw.pci.do_power_nodriver: 0
> # sysctl hw.pci.do_power_nodriver=1
> hw.pci.do_power_nodriver: 0 -> 1
> # sysctl hw.pci.do_power_nodriver=2
> hw.pci.do_power_nodriver: 1 -> 2
> # sysctl hw.pci.do_power_nodriver=3
> hw.pci.do_power_nodriver: 2 -> 3

Well, this one really only affects device probe (and maybe suspend/resume?), 
so you'd need to boot with it set via the loader to see if it works.  Also, 
you can try suspending with it enabled and seeing if it cuts down on the 
amount of power drain while suspended.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-mobile mailing list