Re: apm on Jornada 720/728?

Alex Poylisher <[email protected]>
Newsgroups gmane.os.netbsd.ports.hpcarm
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.