public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* ACPI on Compaq Evo N800c
@ 2003-01-23 17:03 Christian Neubauer
       [not found] ` <3E30206B.8080201-XoJDOot2J3yELgA04lAiVw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Neubauer @ 2003-01-23 17:03 UTC (permalink / raw)
  To: acpi-devel-pyega4qmqnRoyOMFzWx49A, Christian Neubauer

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ACPI on Compaq Evo N800c
       [not found] ` <3E30206B.8080201-XoJDOot2J3yELgA04lAiVw@public.gmane.org>
@ 2003-01-24  6:14   ` Gary L. Grebus
  2003-01-24 23:13   ` Stephan Krings
  1 sibling, 0 replies; 3+ messages in thread
From: Gary L. Grebus @ 2003-01-24  6:14 UTC (permalink / raw)
  To: Christian Neubauer; +Cc: acpi-devel-pyega4qmqnRoyOMFzWx49A

 >I have a Compaq N800c Laptop and need a way get the machine to 
standby, >when closing the lid. I already tried:
...
 >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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ACPI on Compaq Evo N800c
       [not found] ` <3E30206B.8080201-XoJDOot2J3yELgA04lAiVw@public.gmane.org>
  2003-01-24  6:14   ` Gary L. Grebus
@ 2003-01-24 23:13   ` Stephan Krings
  1 sibling, 0 replies; 3+ messages in thread
From: Stephan Krings @ 2003-01-24 23:13 UTC (permalink / raw)
  To: Christian Neubauer; +Cc: acpi-devel-pyega4qmqnRoyOMFzWx49A

Hello,

> 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.

> 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.

> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-01-24 23:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-23 17:03 ACPI on Compaq Evo N800c Christian Neubauer
     [not found] ` <3E30206B.8080201-XoJDOot2J3yELgA04lAiVw@public.gmane.org>
2003-01-24  6:14   ` Gary L. Grebus
2003-01-24 23:13   ` Stephan Krings

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox