Re: /proc/acpi/battery

"Kimbrell, Roy" <[email protected]> Mon, 25 Aug 2003 16:51:00 -0500
Newsgroups gmane.linux.hardware.sony
Message-ID <[email protected]>
Never mind.  I didn't have acpid on my machine.  I've got it now,
installed it, and started it up.  It looks to be a useful program, but
still, shouldn't there be a /proc/acpi/battery directory?

Kimbrell, Roy wrote:
> Interesting.  I did a pa -Al and do not see acpid.  Must have died.  Can 
> it be restarted?
> 
> 
> John S. Andersen wrote:
> 
>> And acpid is running???  It didn't die did it?
>>
>>
>> On 25 Aug 2003 at 15:29, Kimbrell, Roy wrote:
>>
>>
>>> 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?
>>>>
>>>
>>> _______________________________________________
>>> Linux-sony mailing list: [email protected]
>>> Subscribe/Unsubscribe: http://insue.com/mailman/listinfo/linux-sony
>>> Linux-Sony Documentation: http://returntonature.com/linux/phpwiki 
>>
>>
>> IRC:
>>
>>> freenode.net, #linux-sony
>>>
>>
>>
>>
> _______________________________________________
> Linux-sony mailing list: [email protected]
> Subscribe/Unsubscribe: http://insue.com/mailman/listinfo/linux-sony
> Linux-Sony Documentation: http://returntonature.com/linux/phpwiki
> IRC: freenode.net, #linux-sony
>