APM/ACPI
Greetings,
On my nice new shiny cheap Compaq Laptop, I am unable to get APM working. It is a Via VT82C686 motherboard. The APM support seems to be running (RH 7.2, rawhide 2.4.12 kernels, at the moment), but I'm always told that I'm on AC, and there is no system battery. I do have a battery, and I'm often not on AC power. /proc/apm spits out the following:
1.14ac 1.2 0x03 0x01 0x44 0x80 -1% -1 ?
This is with the AC plug pulled out. I have no clue what the real battery status would be.
I read there is now also ACPI, and in /proc/pci I see something about:
VT82C686 [Apollo Super ACPI]
But I don't know how to configure it. APM seems to be compiled into the RH kernels (there is no apm module loaded, like I would on Debian), and I don't see anything regarding ACPI. I also read that ACPI should automatically take over APM if support is available. How can I tell if I'm not using ACPI because it's not supported, or because it's not compiled in?
Thanks everyone!
Sean Etc.
Quoted 4 lines
I don't see anything regarding ACPI. I also read that ACPI should automatically take over APM if support is available. How can I tell if I'm not using ACPI because it's not supported, or because it's not compiled in?
Red Hat shipped kernels dont include acpi. The -1% for the battery percentage does look like the laptop may not support much APM if any
Hmm, not to point fingers or anything, but...
"The WindowsXP that came preinstalled supported it!"
I dunno, perhaps there is some proprietary protocol? Is ACPI backwards compat with APM? I mean, if the laptop doesn't support APM, would that mean it can't support ACPI?
Thanks again,
Sean Etc.
Quoted 12 lines · Alan Cox
Quoted 4 lines
I don't see anything regarding ACPI. I also read that ACPI should automatically take over APM if support is available. How can I tell if I'm not using ACPI because it's not supported, or because it's not compiled in?
Red Hat shipped kernels dont include acpi. The -1% for the battery percentage does look like the laptop may not support much APM if any -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 3 lines
I dunno, perhaps there is some proprietary protocol? Is ACPI backwards compat with APM? I mean, if the laptop doesn't support APM, would that mean it can't support ACPI?
ACPI and APM are exclusive but a BIOS can contain both. Its up to the OS not to try and run both together.
OK, so there's a good chance then that if I compile in ACPI I can have things work OK. Do I need something besides apmd to handle all that? Will stuff like the GNOME battery applet still work?
Sean Etc.
Quoted 11 lines · Alan Cox
Quoted 3 lines
I dunno, perhaps there is some proprietary protocol? Is ACPI backwards compat with APM? I mean, if the laptop doesn't support APM, would that mean it can't support ACPI?
ACPI and APM are exclusive but a BIOS can contain both. Its up to the OS not to try and run both together.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 3 lines · Sean Middleditch
Hmm, not to point fingers or anything, but...
"The WindowsXP that came preinstalled supported it!"
Windows XP requires systems to be fully ACPI (1.0b?) compliant. So, you probably have an ACPII BIOS, though many BIOSes have some remnants of APM left in them...
Quoted 3 lines
I dunno, perhaps there is some proprietary protocol? Is ACPI backwards compat with APM? I mean, if the laptop doesn't support APM, would that mean it can't support ACPI?
Probably not, no, and no. ACPI support in Linux is still maturing, and many things still do not work. I would recommend the ACPI mailing list and archives for more assistance:
http://phobos.fs.tum.de/acpi/index.html
-pat
Quoted 3 lines
OK, so there's a good chance then that if I compile in ACPI I can have things work OK. Do I need something besides apmd to handle all that? Will stuff like the GNOME battery applet still work?
If you compile in ACPI your box might work. You will need different (development) tools and suspend wont work yet. ACPI is getting to the useful point but not quite there - expect an adventure
Alrighty! Thank you! I'll play around and see if I can't get it to work. I don't really care about suspend and whatnot at the moment, I just want a warning when my battery is getting low. ~,^
Sean Etc.
Quoted 25 lines · Patrick Mochel
Quoted 3 lines · Sean Middleditch
Hmm, not to point fingers or anything, but...
"The WindowsXP that came preinstalled supported it!"
Windows XP requires systems to be fully ACPI (1.0b?) compliant. So, you probably have an ACPII BIOS, though many BIOSes have some remnants of APM left in them...
Quoted 3 lines
I dunno, perhaps there is some proprietary protocol? Is ACPI backwards compat with APM? I mean, if the laptop doesn't support APM, would that mean it can't support ACPI?
Probably not, no, and no. ACPI support in Linux is still maturing, and many things still do not work. I would recommend the ACPI mailing list and archives for more assistance:
http://phobos.fs.tum.de/acpi/index.html
-pat
Erg, hrm. In 2.4.13 (Debian version, Linux tree I think) I enabled ACPI, disabled APM. The latop locks up when the base ACPI support is loaded.
How should I go about debugging this? I want this working.
Thanks,
Sean Etc.
Quoted 12 lines · Alan Cox
Quoted 3 lines
OK, so there's a good chance then that if I compile in ACPI I can have things work OK. Do I need something besides apmd to handle all that? Will stuff like the GNOME battery applet still work?
If you compile in ACPI your box might work. You will need different (development) tools and suspend wont work yet. ACPI is getting to the useful point but not quite there - expect an adventure
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 5 lines
Erg, hrm. In 2.4.13 (Debian version, Linux tree I think) I enabled ACPI, disabled APM. The latop locks up when the base ACPI support is loaded.
How should I go about debugging this? I want this working.
Send the apm maintainer list a report (see MAINTAINERS)
Quoted 3 lines · Alan Cox
If you compile in ACPI your box might work. You will need different (development) tools and suspend wont work yet. ACPI is getting to the useful point but not quite there - expect an adventure
Does poweroff work? I cannot get it to work in 2.4.13... Is this to be expected? ACPI poweroff worked for me in 2.4.4 and 2.4.7, but alot of new options have been added since then, maybe I just misconfigured it?
Oh and acpid does not work anymore in 2.4.13, should that be upgraded too?
Thanks,
Mike