[PATCH] apm(4) ioctls for amd64

paradox ddkprog at yahoo.com
Mon Sep 28 02:04:04 UTC 2009


if the entry point to the APM BIOS in x86bios area
it would not be bad do porting APM for amd64 from i386

> 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
> 
> Cheers,
> 
> Jung-uk Kim
> 


      


More information about the freebsd-acpi mailing list