Subject: Re: Workpad Z50 install doc / hpcbatterytable.h
To: Khoa Tran <piper_the@hotmail.com>
From: David Brownlee <abs@NetBSD.org>
List: port-hpcmips
Date: 12/10/2007 09:51:37
On Sun, 9 Dec 2007, Khoa Tran wrote:

> [...]
>
> Now, with a bit of digging, I found hpcbatterytable.h, which seems to 
> contain values for battery status levels at 100%, 80%, 50%, 20%, and 
> critical, amongst other things. The problem is, these don't seem to be 
> voltages. For instance, 100% has a value of 945, 80% is 915, 20% is 855, 
> etc. Unfortunately, I don't have much experience with APM/power 
> management, etc., so the best I'll be able to do at this point is to 
> lower the values in the table, and hopefully by trial-and-error, find 
> values that'll work. This of course means lots of kernel recompiling, 
> which I can get down to ~2h with distcc, but it's still a good amount of 
> time. Does anyone have any ideas?

 	Just on the kernel compile side - If you have any faster
 	machine running NetBSD or another posix operating system
 	you can cross compile a kernel quite quickly with:
 	    ./build.sh -m hpcmips tools			(once)
 	then
 	    ./build.sh -m hpcmips kernel=GENERIC	(for each rebuild)

-- 
 		David/absolute       -- www.NetBSD.org: No hype required --