Page 3 of 3

Posted: Mon 04 Aug 2008, 20:42
by kilakev
I'm having the same problem as Lanin. I have a Compaq Presario 1200. The battery monitor shows up but only shows that it's connected the AC even if it isn't connected. I tihnk that it doesn't recognize my battery. I've done the modprobe battery and mod probe AC and both come up with these error messages:

FATAL: Error inserting ac (/lib/modules/2.6.21.7/kernel/drivers/acpi/ac.ko): No such device

and

FATAL: Error inserting battery (/lib/modules/2.6.21.7/kernel/drivers/acpi/battery.ko): No such device

Any help would be apreciated

-KiLaKeV

Posted: Tue 05 Aug 2008, 22:57
by kilakev
bump... i really need help with this since i don't know how long my battery lasts and it keeps just dying on me....

Posted: Wed 06 Aug 2008, 12:21
by kirk
It looks like the Compaq Presario 1200 may only have apm. I googled it and it looks like it was made 1999-2000, I think acpi came out in 1999, so might not have it.. That's probably why the battery and ac modules won't load. Though Lanin says Windos is showing an acpi battery. You could try booting with acpi=force , just in case you do have acpi in there. You could also try one of the 4.1alphas. Puppy 4.1 has better hardware recognition.

Warning: On a laptop, when you start playing with acpi and apm, your cooling fan(s) might not work. So make sure your laptop is making all the normal noises.

Edit : Changed acpi=forced to acpi=force.

Posted: Wed 06 Aug 2008, 12:54
by Lanin
I've done some looking on my own, and it appears that there is a general problem with the Compaq Presario 1200 and Linux. The machine was engineered to house Windows, and the BIOS doesn't play well with Linux in any form. Microsoft even had to issue a patch for XP before it would recognize the battery.

I'll try the booting with acpi=forced. Where do I enter that in?

Posted: Wed 06 Aug 2008, 21:04
by kirk
If you're booting from CD, when the CD starts to boot, you're given a chance to enter boot options. Type puppy acpi=force.

If you're using grub, add it to the line that points to the kernel. Example:

kernel /puppy400/vmlinuz acpi=force

Posted: Wed 06 Aug 2008, 23:08
by Lanin
IT WORKS! Now I've got two battery meters, and they both work. Thank you, oh, thank you!

Take note, kilakev.

Posted: Fri 08 Aug 2008, 15:11
by kilakev
Mine is still not working. I tried the acpi=force boot option into the grub kernal line and now the battery monitor doesn't even show up. When i try the #asapm command i get this:

# asapm
asapm: open_apm_device_file: The file does not exist.
asapm: Neither ACPI nor APM are available!

in lsmod i get a "ac" and a "battery" but no acpi or apm modules.

I tried adding -acpi to the jwmtray but stil no luck.

anyone have any tips?

Posted: Mon 11 Aug 2008, 01:18
by kilakev
does the battery monitor simply not work with apm?

Posted: Mon 11 Aug 2008, 15:49
by kirk
Open a terminal and type modprobe apm, then restart X. Again, make sure your fans work normally if you keep it this way.

Unfortunately your laptop was manufactured at about the same time that the acpi specification came out, so I'm not sure if it has acpi or apm or both. Looks like Lanin's has acpi.

Posted: Mon 11 Aug 2008, 15:59
by kilakev
I did the modprobe apm and the battery monitor shows up but it still only shows the ac icon lit up even when it's running on battery....

i'm gonna try to find out if i have an acpi battery...

Posted: Tue 19 Aug 2008, 01:15
by kilakev
bump...i couldn't find out if i have acpi or not...anyone have anymore ideas?

Posted: Sun 28 Jul 2013, 18:55
by goingnuts
Anyone knows where Dougals modified source went?.
I can find the pet (asapm-3.1.4-dougal-1.pet) and the unmodified source (asapm-3.1.1.tar.gz) but not the source actually used (for asapm in P412 & P431 afaik...).

Posted: Thu 29 Aug 2013, 20:44
by technosaurus
asapm-3.1.5-butchered.tar.gz?
@
bkhome.org/sources
?

Posted: Fri 30 Aug 2013, 04:25
by goingnuts
Thanks! Thats the one I was looking for :D