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 {^_^}.