acpid and battery not playing nice on dell laptop
I've been messing with this ever since I put linux on my dell inspiron 1100, and though I get closser everytime, I've reached a point where I could use some help.
For the longest time I've been trying to get linux interface with my battery so I can tell how much power I've got left in it, a good thing on a laptop. I've patched the redhat kernel 2.4.20-22, and got acpid support for some functions, but no battery. Hearing that 2.4.22 has the best acpi suppord yet I decide to compile it and install. Many failed compiles later I finally got wise and used 'make oldconfig' and got the kernel working. Now most of acpid seems to be working right, but the battery still doesn't. I have battery support compiled as a module, and 'insmod battery' yields the following output.
Using /lib/modules/2.4.22/kernel/drivers/acpi/battery.o
/lib/modules/2.4.22/kernel/drivers/acpi/battery.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
'dmseg |fgrep battery' yields nothing. When I first loaded the module after the compile it loaded fine, but a modprobe yielded something about the battery being unsupported. I unloaded the module, and now can't load it again. Any suggestions would be more than welcome, at this point I'm really willing to try anything, 'cause I'm fresh out of ideas.
Last edited by sboy; 11-14-2003 at 09:32 PM.
|