Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jan 1998 19:17:57 -0700
From:      Nate Williams <nate@mt.sri.com>
To:        "Glenn Lee Dicus" <gdicus@nomadix.com>
Cc:        "Mobile FreeBSD" <mobile@FreeBSD.ORG>
Subject:   Re: APM tutorial
Message-ID:  <199801070217.TAA28813@mt.sri.com>
In-Reply-To: <199801070020.QAA11651@mail.nomadix.com>
References:  <199801070020.QAA11651@mail.nomadix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > > Does anybody know of a good source for writing APM aware applications
> in
> > > FreeBSD?
> > 
> > Define 'APM aware'?  
> 
> APM aware applications register with the APM Driver using an operating
> system dependent mechanism.

Ahh, this is currently not supported in FreeBSD.

> I want to write a process that will dynamically evoke power management
> events.

So you want to write a program like 'apm', which lives in
/usr/src/usr.sbin/apm.  Also check out /usr/src/usr.sbin/apmconf, which
is the 'controlling' program for the apm driver which lives in
/sys/i386/apm/apm.c

> All power management features not supported by the APM Driver
> (there will be some because the platform I am working is a superset of APM
> 1.2) will have to be controlled by this process as well.  If this means I
> must enhance the current APM Driver for BSD then that is what I will do. 

Sounds like fun.  Does this mean you've got the PCCARD driver working
under FreeBSD now?

> Any information source on how to program for the APM Driver and APM BIOS
> interface will be appreciated.

Check out the above sources, and also look for the APM specs somewhere
on Intel and/or Microsoft's site.


Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801070217.TAA28813>