Re: /proc/acpi/battery

"John S. Andersen" <[email protected]> Mon, 25 Aug 2003 14:08:05 -0800
Newsgroups gmane.linux.hardware.sony
Message-ID <3F4A1845.30851.A7E194@localhost>
Well do you have any /proc/acpi directories?
These get created when acpi starts up, and if they are
ALL missing it would imply acpi is not running.

However, not having battery just means it could
not sense your battery for some reason.

You should review your /var/log/boot.log to see
if acpi was started or if apm was started instead.


On 25 Aug 2003 at 16:51, Kimbrell, Roy wrote:

> 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
> > 
> _______________________________________________
> 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
> 


-- 
______________________________________
John Andersen
NORCOM / Juneau, Alaska
http://www.screenio.com/
(907) 790-3386

._______________________________________
John S. Andersen
NORCOM  mailto:[email protected]
Juneau, Alaska
http://www.screenio.com/