Re: /proc/acpi/battery
"John S. Andersen" <[email protected]> Mon, 25 Aug 2003 13:49:33 -0800
| Newsgroups | gmane.linux.hardware.sony |
|---|---|
| Message-ID | <3F4A13ED.14962.96EA79@localhost> |
Yes, you start it like any other service, (sort of distro specific) but usually something like /etc/init.d/acpid start will work. The directory varys by distro, but that's where SuSE has it. On 25 Aug 2003 at 16:38, 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 > -- ______________________________________ 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/