[PATCH] apm(4) ioctls for amd64
Rui Paulo
rpaulo at freebsd.org
Sat Sep 26 12:41:03 UTC 2009
On 26 Sep 2009, at 00:20, Jung-uk Kim wrote:
> It seems there are enough demands for apm(4) ioctls on amd64.
> Basically this patch is copy-and-paste from i386, which emulates apm
> with acpi(4).
>
> # uname -m
> amd64
> # apm
> APM version: 1.2
> APM Management: Disabled
> AC Line status: off-line
> Battery Status: high
> Remaining battery life: 99%
> Remaining battery time: 1:25:00
> Number of batteries: 1
> Battery 0:
> Battery Status: high
> Remaining battery life: 99%
> Remaining battery time: 1:25:00
> Resume timer: unknown
> Resume on ring indicator: disabled
Looks good to me. Thanks.
--
Rui Paulo
More information about the freebsd-acpi
mailing list