Subject: Re: APM regression in -current
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: current-users
Date: 09/22/2006 12:39:26
In article <20060922030257.GA28082@aries>,
Arnaud Lacombe  <lacombar@gmail.com> wrote:
>Hi,
>
>Following the change introduced by rev 1.206 of GENERIC_LAPTOP, I tested
>it with one of my laptop. With an old 3.99.21, APM was working fine (ie.
>when I pressed the power button, the laptop went to sleep mode). Now,
>it seems that the 'apm -z' command calls the ACPI sleep routine (to enter
>in S3 mode). The problem is that the laptop does not support ACPI S3.
>
>If I run the 'apm -S' command, the laptop goes in S1 sleep mode, but
>never come back (hard reset needed).
>
>Another bug with recent (less than 3 days old) system: if I use the 'apm'
>command to display information relative to APM, the "A/C adapter state"
>field never change if I unplug the A/C adapter.
>
>I guess I will need to remove any ACPI related line in my kernel config.
>
>Any comments ?

Yes, the acpi apm emulation does not yet work as well as the native apm
because the acpi code to suspend/resume is incomplete (and the device
support).

christos