Re: /proc/acpi/battery

"Kimbrell, Roy" <[email protected]> Mon, 25 Aug 2003 15:29:56 -0500
Newsgroups gmane.linux.hardware.sony
Message-ID <[email protected]>
I get "No such device."  No messages in dmesg or /var/log/messages. 
More specifically, I get

/lib/modules/2.4.21/kernel/drivers/acpi/battery.o: init_module: No such 
device

Then theres the "Hint" about how insmod errors can be caused and so on.

looking at battery.c, I can see where it makes a /proc/acpi/battery 
directory and then removes it if it can't find the device (I think 
that's what's going on)..  I've only glanced at the code, but I'm 
guessing that ACPI hasn't detected the battery.

Roy


Nick Golder wrote:
> On 03-08-25 11:57 -0500, Kimbrell, Roy wrote:
> 
>>If this question has already been answered, my apologies.
>>
>>I've built a 2.4.21 kernel with the latest acpi patch.  However,
>>/proc/acpi/battery isn't there in /proc/acpi.  battery.o appears in
>>/lib/modules/2.4.21, but modprobe battery results in "No such device."
>>
>>Any clues?
>>
>>Thanks
>>Roy
> 
> 
> What happens when you 'insmod battery' as root?
>