Skip to contentSkip to conversation

Shuttle SB61G2 fan speed

DISCUSSION Eric Northup 3 participants 3 messages Oct 8, 2003 – Oct 9, 2003 1 message not in the archive ACPI

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines
Quoted 2 lines

problem is: as soon as Linux gets control from GRUB, the fan goes to full speed and stays there.

[snip]

Quoted 3 lines

please send me your dsdt (or better make it available in a web site, or ftp..) via something like that:

[snip]

I've posted it at http://www.digitaleric.net/dsdt.gz
I also re-compiled the kernel with ACPI debugging enabled. Here is the
relevant (I think) part of dmesg (I can put the whole thing but its long so I'm not sending it unless it would be helpful)

[eric@localhost tmp]$ dmesg | grep [Aa][Cc][pP][iI]
ACPI: Subsystem revision 20030813
tbxface-0117 [03] acpi_load_tables : ACPI Tables successfully acquired
ACPI Namespace successfully loaded at root c05fa11c
evxfevnt-0093 [04] acpi_enable : Transition to ACPI mode
successful
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 9 10 11 *12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 9 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs *3 4 5 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 9 10 11 12 14 15, disabled)
ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 5 7 9 10 11 12 14 15, disabled)
ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 5 7 *9 10 11 12 14 15)
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off '
ACPI: Power Button (FF) [PWRF]
ACPI: Fan [FAN] (on)
ACPI: Processor [CPU0] (supports C1)
ACPI: Processor [CPU1] (supports C1)
ACPI: Thermal Zone [THRM] (35 C)
cpufreq: No CPUs supporting ACPI performance management found.
ACPI: (supports S0 S1 S4 S5)

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php

#2 lore raw
In reply to a message not in the archive

Hello,

Quoted 1 line · Eric Northup

I've posted it at http://www.digitaleric.net/dsdt.gz

Thanks.

I think that for fan control via ACPI to work, the fan device should specify an associated power resource that provides _ON/_OFF methods for starting and stopping the fan. Your DSDT doesn't appear to do that.

You could try calling FON/FOFF manually to see if those methods work, at least. I don't know how to best do this, though. When I did that kind of testing, I modified the asus_acpi module. But maybe there's an easier way to do this?

If these work, and the missing power resource thing is correct, maybe you could add one to your DSDT? You should be able to find working code in some of the DSDTs posted on acpi.sf.net. FYI, the relevant code for the ASUS M2N is

Name (FAN1, 0x00)

Device (FN00)

{
    Name (_HID, EisaId ("PNP0C0B"))

    Name (_PR0, Package (0x01)
    {
        GFAN
    })
}

PowerResource (GFAN, 0x00, 0x0000)

{
    Method (_STA, 0, NotSerialized)
    {
        Return (FAN1)
    }

    Method (_ON, 0, NotSerialized)
    {
        Store (0x01, FAN1)
    }

    Method (_OFF, 0, NotSerialized)
    {
        Store (0x00, FAN1)
    }
} 

If you modified _ON to call FON and _OFF to call FOFF, and adapted your fan device to reference the power resource, this might work. Of course, it's quite possible that it won't, especially since fan control in that notebook doesn't really work as suggested by the ACPI spec. Also, please note that a lot of this is speculation.

Quoted 3 lines

I also re-compiled the kernel with ACPI debugging enabled. Here is the
relevant (I think) part of dmesg (I can put the whole thing but its long so I'm not sending it unless it would be helpful)

As far as I can tell, this is OK. Temperature reporting also appears to work.

Cheers
Robert

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php

#3 lore raw
In reply to a message not in the archive
Quoted 9 lines · Eric Northup
Quoted 2 lines
Quoted 2 lines

problem is: as soon as Linux gets control from GRUB, the fan goes to full speed and stays there.

[snip]

Quoted 3 lines

please send me your dsdt (or better make it available in a web site, or ftp..) via something like that:

[snip]

I've posted it at http://www.digitaleric.net/dsdt.gz

Thanks. Could you please give me a lspci -xxx -v? Cheers,

Signature · 11 lines
Ducrot Bruno

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php