Battery monitor for Dingo Alpha5

Stuff that has yet to be sorted into a category.
Message
Author
kilakev
Posts: 7
Joined: Fri 01 Aug 2008, 06:56

#41 Post 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

kilakev
Posts: 7
Joined: Fri 01 Aug 2008, 06:56

#42 Post 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....

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#43 Post 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.
Last edited by kirk on Wed 06 Aug 2008, 21:05, edited 1 time in total.

Lanin
Posts: 11
Joined: Sat 10 May 2008, 02:19

#44 Post 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?

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#45 Post 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

Lanin
Posts: 11
Joined: Sat 10 May 2008, 02:19

#46 Post by Lanin »

IT WORKS! Now I've got two battery meters, and they both work. Thank you, oh, thank you!

Take note, kilakev.

kilakev
Posts: 7
Joined: Fri 01 Aug 2008, 06:56

#47 Post 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?

kilakev
Posts: 7
Joined: Fri 01 Aug 2008, 06:56

#48 Post by kilakev »

does the battery monitor simply not work with apm?

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#49 Post 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.

kilakev
Posts: 7
Joined: Fri 01 Aug 2008, 06:56

#50 Post 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...

kilakev
Posts: 7
Joined: Fri 01 Aug 2008, 06:56

#51 Post by kilakev »

bump...i couldn't find out if i have acpi or not...anyone have anymore ideas?

goingnuts
Posts: 932
Joined: Sun 07 Dec 2008, 13:33
Contact:

#52 Post 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...).

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#53 Post by technosaurus »

asapm-3.1.5-butchered.tar.gz?
@
bkhome.org/sources
?
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

goingnuts
Posts: 932
Joined: Sun 07 Dec 2008, 13:33
Contact:

#54 Post by goingnuts »

Thanks! Thats the one I was looking for :D

Post Reply