Subject: Re: Hello + Questions!
To: katsumi liquer <port-hpcmips@netbsd.org>
From: TAKEMURA Shin <takemura@netbsd.org>
List: port-hpcmips
Date: 05/27/2001 10:07:39
----- Original Message ----- 
From: "katsumi liquer" <katsumi@decepticonz.net>
To: <port-hpcmips@netbsd.org>
Sent: Saturday, May 26, 2001 3:21 AM
Subject: Hello + Questions!


> A) how does one get the status of the battery? Is it possible right now?

Generally speaking, it will be platform dependent way. On Mobile Pro,
however, it seems that you can read a value from Vr builtin A/D converter,
which relate to voltage of main battely. The kernel really read the value,
but the kernel don't make use of the value. The value is just thrown away.
You can specify -v (verbose) option when you boot the kernel to see
the value. It will go like below.

  vrpiu:AD: 0, 790, 721
  vrpiu:AD: 0, 790, 721
     :

Takemura