Linux support for the Advanced Configuration & Power Interface

Linux support for the Advanced Configuration & Power Interface

Post by Bastiaan Bakke » Thu, 22 Oct 1998 04:00:00



Hi folks,

Does anyone know whether there are Linux drivers for the Advanced
Configuration & Power Interface available on recent motherboards? I'm
particularly interested in the MB's measurements of the fan speed and
the temperature.

TIA,

Bastiaan Bakker

  vcard.vcf
< 1K Download
 
 
 

Linux support for the Advanced Configuration & Power Interface

Post by Andi Klee » Thu, 22 Oct 1998 04:00:00



> Does anyone know whether there are Linux drivers for the Advanced
> Configuration & Power Interface available on recent motherboards? I'm
> particularly interested in the MB's measurements of the fan speed and
> the temperature.

So far all tries to implement ACPI were stopped by the fact that few if any
at all of the modern mainboard BIOS include ACPI yet (ASUS and Gigabyte at least
don't). The mainboards have the hardware facilities needed so they advertise
ACPI, but the BIOS code seems not to be finished yet.

-A.

 
 
 

Linux support for the Advanced Configuration & Power Interface

Post by SkiBu » Tue, 27 Oct 1998 04:00:00




>> Does anyone know whether there are Linux drivers for the Advanced
>> Configuration & Power Interface available on recent motherboards? I'm
>> particularly interested in the MB's measurements of the fan speed and
>> the temperature.
> So far all tries to implement ACPI were stopped by the fact that few if any
> at all of the modern mainboard BIOS include ACPI yet (ASUS and Gigabyte at least
> don't). The mainboards have the hardware facilities needed so they advertise
> ACPI, but the BIOS code seems not to be finished yet.

        Well, ti looks like the most recent BIOS for the Abit BX6 and BH6
both support ACPI.  I'll have to install Win98 and see if it works or not.
As far as having a util to measure fan speed and temperatures, do a search
on freshmeat.net for lm75 or lm78 and you should fine plenty of utils to
do it.

Brad

--
Brad Borgald                                  ___        ___
University of New Brunswick                 ,' _/ /7  ()/ o.)     _
Fredericton, NB, Canada                    _\ `. //_7/7/ o \ /7/7/ \'\

 
 
 

Linux support for the Advanced Configuration & Power Interface

Post by Andi Klee » Tue, 27 Oct 1998 04:00:00






>>> Does anyone know whether there are Linux drivers for the Advanced
>>> Configuration & Power Interface available on recent motherboards? I'm
>>> particularly interested in the MB's measurements of the fan speed and
>>> the temperature.
>> So far all tries to implement ACPI were stopped by the fact that few if any
>> at all of the modern mainboard BIOS include ACPI yet (ASUS and Gigabyte at least
>> don't). The mainboards have the hardware facilities needed so they advertise
>> ACPI, but the BIOS code seems not to be finished yet.
>    Well, ti looks like the most recent BIOS for the Abit BX6 and BH6
> both support ACPI.  I'll have to install Win98 and see if it works or not.
> As far as having a util to measure fan speed and temperatures, do a search
> on freshmeat.net for lm75 or lm78 and you should fine plenty of utils to
> do it.

Do they claim to support ACPI or do you really know it? You can check
using this short program if the BIOS has a ACPI root table.

#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>

char key[8]={'R','S','D',' ','P','T','R',' '};

char zot[16];

int main(int argc, char *argv[])
{
        unsigned char buf[20];
        int fd=open("/dev/mem", O_RDONLY);
        unsigned int fp=0xE0000;
        if(fd==-1)
        {
                perror("/dev/mem");
                exit(1);
        }
        if(lseek(fd,fp,0)==-1)
        {
                perror("seek");
                exit(1);
        }

        while( fp < 0xFFFFF)
        {
                fp+=16;
                if(read(fd, buf, 16)!=16)
                        perror("read");
                if(memcmp(buf, zot, 16)==0)
                        printf("*");
                if(memcmp(buf, key, 3)==0)
                {
                        int a;
                        unsigned char sum=0;
                        printf("RSD PTR found at 0x%X\n", fp);
                        if(buf[15]!=0)
                        {
                                printf("Reserved check failed.\n");
                        }
                        printf("OEM ");
                        fwrite(buf+9, 6, 1, stdout);
                        printf("\n");
                        read(fd,buf+16,4);
                        lseek(fd, -4, 1);
                        for(a=0;a<20;a++)
                                sum+=buf[a];
                        if(sum!=0)
                                printf("Bad checksum.\n");
                }
        }
        close(fd);

Quote:}

-Andi
 
 
 

1. Compaq Armada 4120, linux and Advanced Power Management

I have a laptop compaq armada 4120, i used linux . All works fine except
the suspension mode :

There are problems that manifest themselves with the keyboard - when
resuming
after suspension, the Armada comes up seemingly not accepting any
keyboard input at all.

If someone has a solution or an idea to help me.... Thanks!

--
Alain Rouen,
Home Page        : http://www.citeweb.net/fusion/freesp

Irc              : On channels #gtr, #linuxfr, nickname FreeSp

2. Unique ID of machine

3. Linux compatible w/ APM(Advanced Power Management)?

4. Dell P90: help linux install on 540 Meg Drive

5. Advanced Power Managment for Linux

6. Duel for Solaris?

7. RH Advanced Server licensing & price, 7.3 support, SLES

8. PLP wont make HELP

9. [RFC] Advanced TCA Disk Hotswap support in Linux Kernel [core 1/2]

10. [RFC] Advanced TCA Disk Hotswap support in Linux Kernel [qla2300 2/2]

11. Power Broker & Power Passwd

12. [PATCHES] Advanced TCA Hotswap Support in Linux Kernel

13. [RFC] Advanced TCA Disk Hotswap support in Linux Kernel [core 1/2]