Subject: Re: apm on Jornada 720/728?
To: None <port-hpcarm@NetBSD.org>
From: Alex Poylisher <sher@komkon.org>
List: port-hpcarm
Date: 12/23/2005 11:13:30
Further to this, if apm is configured, shouldn't /dev/power be configured as
well?

-- 
Alex Poylisher
sher{at}komkon{dot}org

On Sat, Dec 17, 2005 at 06:53:07PM +0100, Peter Postma wrote:
> On Sat, Dec 17, 2005 at 12:23:29PM -0500, Alex Poylisher wrote:
> > How does one configure APM in the hpcarm kernel?  If it doesn't work yet, is
> > there another way to check battery status?
> > 
> > I am running -current built from yesterday's sources on a Jornada 728.
> > 
> 
> Add "apm0 at j720ssp?" to your kernel config.
> 
> But note that the battery status is not very accurate, it will show high
> values even when the battery is almost running out.
> 
> I think that the formula is incorrect to calculate the battery status,
> so I'm using the following patch and it shows much more precise values:
> http://nedbsd.nl/~ppostma/hpcarm-apm.diff
> 
> -- 
> Peter Postma