Re: Power-drain during suspend?

"M. Warner Losh" <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
In message: <[email protected]>
            Randy Bush <[email protected]> writes:
: >>> 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

It only affects 'future' devices that don't have a driver attached to
them.  This means you have to load at least one pci driver before this
sysctl takes effect.

Warner
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.