On Wed, 2003-03-12 at 01:51, Chmouel Boudjnah wrote:
> James Sparenberg <[EMAIL PROTECTED]> writes:
>
> > I can't use the ACPI package as this laptop doesn't support it. I have
> > to use APM and that does work..with the 9.0 version.
>
> as ACPI it should does the switch automatically :
>
> icewm/src/aapm.c 350:
> n = scandir("/proc/acpi/battery", &de, 0, alphasort);
> if (n > 0) {
> //use acpi info
> acpiMode = 1;
>
> [...]
>
> else {
> //use apm info
> acpiMode = 0;
> batteryNum = 1;
> }
>
You are correct... however If I use the packages from 9.0 ... I get the
battery working. with the ones from cooker I get 0:00 on the taskbar.
All other files packages remain the same... I just rpm -Uvh icewm and
icewm-light of the correct version. and it doesn't happen. I've been
trying to do some code digging but not being a competent programmer it's
slow for me.
James
>