-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 27 February 2003 03:42 pm, Alexander Volovics wrote:
> On Thu, Feb 27, 2003 at 08:56:26PM +0000, Adam Williamson wrote:
> > On Thu, 2003-02-27 at 20:46, Alexander Volovics wrote:
> > > Allmost nothing (interesting) of acpi works in mandrake because the
> > > relevant items were not checked during the Mandrake kernel compilation.
> > > Look at /boot/config-2.4.21pre4-10mdk. Under the heading 'ACPI Support'
> > > you see that CONFIG_ACPI_AC, CONFIG_ACPI_BATTERY, CONFIG_ACPI_BUTTON,
> > > CONFIG_ACPI_FAN, CONFIG_ACPI_PROCESSOR, CONFIG_ACPI_THERMAL are all
> > > flagged with 'm' and not with 'y'.
> >
> > How dumb are you? I mean, really?
> >
> > Y = YES
> > N = NO
> > M = MODULE
>
> Not dumb, just tired and too hasty. I had already done a 'lsmod',
> but as I could get no relevant information from the /proc/acpi
> items I looked in the 'config' and then read the 'm' for an 'n'.
> And then blurted a hasty reply. Completely unthinkingly.
>
> For example: 'cat /proc/acpi/battery/BAT1/state' shows:
>
> present:              yes
> capacity state:               ok
> charging state:         unknown
> present rate:         0 mA
> remaining capacity:     0 mAh
> present voltage:        0 mV
>
> whether I am running on batteries or not.
>
> Unless I am too dumb to extract the correct information {^_^}.


I get the same thing except that it can tell the difference between when the battery 
and the power are plugged in













- -- 
http://tblx.net/encrypt/[EMAIL PROTECTED] for pgp key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+XoXZsKWd3vub6wURAueCAJ9GPq2+Dcwz/VrYTW45nxMpclqSdgCdFN0D
6RN5zZMd2wiU3xeq7hbCw8Q=
=0X0g
-----END PGP SIGNATURE-----


Reply via email to