fixed in -current
On Fri, May 22, 2009 at 01:59:47PM -0600, Matthew Emmett wrote:
> Hi,
>
> First, thanks to all developers of OpenBSD for such a fine operating
> system!
>
> I noticed some strange behaviour when issuing 'halt -p' on my ThinkPad
> X61. Namely, that the laptop hung most of the time, and powered down
> only some of time, after 'halt -p' was issued under both 4.4 and 4.5.
> After reading archives of misc@, I believe others have experienced
> this.
>
> I did some further reading on the 'net, and (naively) tried commenting
> out the _PTS ACPI command that is issued in
>
> acpi_prepare_sleep_state()
>
> which is in sys/dev/acpi/acpi.c. My laptop now powerdowns every time
> I issue 'halt -p'.
>
> This doesn't quite seem right: surely _PTS should be called?
>
> If I discover anything more, I will write more.
>
> Thanks,
> Matthew