RE: fan control based on temp

Dan
2004-06-18T06:48:33Z

On Thu, 2004-06-17 at 01:20, Wang, Zhenyu Z wrote:
> PowerResource (PFNL, 0x00, 0x0000)
> {
> Method (_STA, 0, NotSerialized)
> {
> If (\_SB.PCI0.PIB.EC0.ECOK)
> {
> And (\_SB.PCI0.PM.GO00, 0x01, Local0)
> Return (Local0)
> }
> Else
> {
> Return (0x00)
> }
> }
>
> Method (_ON, 0, NotSerialized)
> {
> }
>
> Method (_OFF, 0, NotSerialized)
> {
> }
> }
> PowerResource (PFNH, 0x00, 0x0000)
> {
> Method (_STA, 0, NotSerialized)
> {
> If (\_SB.PCI0.PIB.EC0.ECOK)
> {
> And (\_SB.PCI0.PM.GO00, 0x01, Local0)
> Return (Local0)
> }
> Else
> {
> Return (0x00)
> }
> }
>
> Method (_ON, 0, NotSerialized)
> {
> }
>
> Method (_OFF, 0, NotSerialized)
> {
> }
> }
>
> Method _ON and _OFF are empty. ACPI can't control it.
> Try this to test:
> Method (_ON, 0, NotSerialized)
> {
> Or (\_SB.PCI0.PM.GO00, 0x01, \_SB.PCI0.PM.GO00)
> }
> Method (_OFF, 0, NotSerialized)
> {
> And(\_SB.PCI0.PM.GO00, 0xFE, \_SB.PCI0.PM.GO00)
> }
>

Well, 24 hours later compiling on and off, and the fan seems to be going
on and off properly - hopefully that did the trick! :)

============================
-Dan "OverrideX"-
ICQ: 7171522
AIM: OverrideX
Jabber: OverrideX-/eSpBmjxGS4dnm+yROfE0A@public.gmane.org

I have often regretted my speech, never my silence. -- Publilius Syrus

-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND