Skip to contentSkip to conversation

ACPI on Compaq Evo N800c

DISCUSSION Christian Neubauer 3 participants 3 messages Jan 23, 2003 – Jan 24, 2003 1 message not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Dear ACPI developers,

I have a Compaq N800c Laptop and need a way get the machine to standby, when closing the lid. I already tried:

APM:
cat /proc/apm tells me -1% for the battery status with the kernels 2.4.19, 2.4.20, 2.5.59. ACPI was not compiled in. apm -s returns immediatelly without putting the machine to sleep.

ACPI:
The following holds for kernel versions 2.4.19, 2.4.20 (patched with latest acpi patch) and 2.5.59
- /proc/acpi exists
- however there is not /proc/acpi/battery entry
- echo 1 > /proc/acpi/sleep does nothing
- cat /proc/acpi/sleep tells S0 S3 S4 S5
- drivers battery, button, processor etc are loaded when I lsmod
- dmesg tells me that acpi is turned on

I use the latest BIOS patch for this machine. I dont knwo what to do next. I have seen similar posts for this machine on the net. Is anybody out there that help me or has a patch for that problem?

Regards
Christian

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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

I have a Compaq N800c Laptop and need a way get the machine to standby, >when closing the lid. I already tried:

...

Quoted 4 lines

ACPI:
The following holds for kernel versions 2.4.19, 2.4.20 (patched with >latest acpi patch) and 2.5.59
- /proc/acpi exists
- however there is not /proc/acpi/battery entry

You need to use a patched DSDT to get the battery and button /proc/acpi entries to work. Take a look at:

	http://www.scrye.com/~kevin/presario-2800.html

for a useful starting point (a Presario 2800 is the consumer version of the N800c.) That said, I haven't been able to get standby to work on my 2800.

Does anyone know what mechanism causes the lid button to turn off the display on these machines? I'd like to control this by monitoring /proc/acpi/events, but something else seems to be picking up the button action and turning off the display (and doing so in a way that it doesn't turn on correctly).

/gary

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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

Hello,

Quoted 2 lines

I have a Compaq N800c Laptop and need a way get the machine to standby, when closing the lid.

I own the same machine and made some of the ACPI features work quite nicely. But this does not apply to any of the suspend modes. Not sure if this is even supposed to work, yet. At least for the stable kernel series. I'd like to see this feature, too, especially suspend to RAM.

You could try the swsusp patch, but this is completely unrelated to ACPI. I tried that patch once and it seemed to work for me.

Quoted 4 lines

APM:
cat /proc/apm tells me -1% for the battery status with the kernels 2.4.19, 2.4.20, 2.5.59. ACPI was not compiled in. apm -s returns immediatelly without putting the machine to sleep.

Tried APM only for a short time and experienced the same problems.

Quoted 9 lines

ACPI:
The following holds for kernel versions 2.4.19, 2.4.20 (patched with latest acpi patch) and 2.5.59
- /proc/acpi exists
- however there is not /proc/acpi/battery entry
- echo 1 > /proc/acpi/sleep does nothing
- cat /proc/acpi/sleep tells S0 S3 S4 S5
- drivers battery, button, processor etc are loaded when I lsmod
- dmesg tells me that acpi is turned on

By using a tweaked DSDT you can make almost all of these features work except the suspend mode.

This includes the values for batteries and thermal zones, as well as all the buttons (power, sleep, lid). Unfortunatly none of them work out of the box.

Tell me which BIOS version you're using and I might email you my modified DSDT including some instructions on how to make the kernel recognize the new DSDT.

Regards,

Stephan

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com