Re: /proc/acpi/battery

"Kimbrell, Roy" <[email protected]> Tue, 26 Aug 2003 10:09:52 -0500
Newsgroups gmane.linux.hardware.sony
Message-ID <[email protected]>
Thanks.  Regarding 2.4.22, my thoughts exactly.  I'll do that (with ACPI 
and without APM as you say).  I'm going to try the battery code, and 
other ACPI pieces, as modules at first.  If that doesn't work, I'll try 
the battery code as part of the kernel..

Thanks,
Roy



Francisco J. Guidi Moggia wrote:
> On Mon, Aug 25, 2003 at 09:25:50PM -0400, Francisco J. Guidi Moggia wrote:
> 
>>On Mon, Aug 25, 2003 at 05:58:53PM -0500, Kimbrell, Roy wrote:
>>
>>>Yes, I have other /proc/acpi directories:
>>>
>>>embedded_controller
>>>power_resource
>>>
>>>I'm pretty sure acpi is running.  I went through that when I was 
>>>building kernels.  I found out that if apm was configured, acpi wouldn't 
>>>run.  I get acpi messages in /var/log/messages that indicate that acpi 
>>>is mapping the interrupts and so on.
>>
>>Absolutely remove APM from kernel; don't leave it there, not even as
>>modules.
>>
>>
>>>>>>>>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: 
>>
>>Have you tried patching the kernel 2.4.21 tree with kernel.org's
>>2.4.22rc2 patch and then applying acpi's (http://sf.net/projects/acpi)
>>2.4.22rc2_to_20030813 patch? if that doesn't work try the kernel.org's
>>2.4.22rc3 patch which I'm almost sure includes the latest acpi stuff.
>>
>>The error you are getting has nothing to do with acpid, for it is a
>>low level error (kernel unable to find the battery "device").
>>
>>You might also try to recompile the kernel including the battery part (not
>>as a module).
> 
> Didn't realize, 2.4.22 its out (today), compile that and enable ACPI,
> try as kernel part and as modules (do not enable APM).
> 
> Greetings,