Re: [gentoo-user] no battery state/info in minimal-x86-install-20090526.iso?

2009-06-02 Thread Neil Bothwick
On Mon, 1 Jun 2009 20:43:18 -0600, Maxim Wexler wrote:

 The charge light is starting to flash so something must be checking it.

That's handled in hardware.


-- 
Neil Bothwick

He who laughs last probably made a back-up.


signature.asc
Description: PGP signature


Re: [gentoo-user] no battery state/info in minimal-x86-install-20090526.iso?

2009-06-02 Thread Maxim Wexler
 No such file. Looked all over /proc/acpi/. Nothing in /var/log/messages.

 Search beneath /sys.
 On my thinkpad battery interface went to
 /sys/bus/platform/devices/


Ok, I see it /sys/bus/acpi/drivers/battery and bind, uevent and
something in pink beneath that but I can't read them permission
denied. But I'm logged in as root
wah!

Maxim



Re: [gentoo-user] no battery state/info in minimal-x86-install-20090526.iso?

2009-06-02 Thread Sebastian Günther
* Maxim Wexler (maxim.wex...@gmail.com) [02.06.09 21:37]:
 Ok, I see it /sys/bus/acpi/drivers/battery and bind, uevent and
 something in pink beneath that but I can't read them permission
 denied. But I'm logged in as root
 wah!

Well this is the kernle module, drivers are always the wrong choice if 
you want something out of the sysfs. 
and the something in pink ist the link to the device, iirc.

But may you should use a find over the /sys directory searching for BAT 
or acer

 
 Maxim
 

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpUWSIGkTrse.pgp
Description: PGP signature


[gentoo-user] no battery state/info in minimal-x86-install-20090526.iso?

2009-06-01 Thread Maxim Wexler
Hi group,

Just booted into the latest iso on my netbook and first I wanted to
check the battery state:

#cat /proc/acpi/battery/BAT0/state.

No such file. Looked all over /proc/acpi/. Nothing in /var/log/messages.

So I do #modprobe battery but that doesn't do it.

This is an Asus product, so I do #modprobe asus_acpi and get:
FATAL: Error inserting asus_acpi
(/lib/modules/2.6.28-gentoo-r5/kernel/drivers/acpi/asus_acpi.ko): No
such device.

Is there a new way to find out how much charge is left on the battery,
the rate of charge etc?
The charge light is starting to flash so something must be checking it.


Maxim



Re: [gentoo-user] no battery state/info in minimal-x86-install-20090526.iso?

2009-06-01 Thread Sebastian Günther
* Maxim Wexler (maxim.wex...@gmail.com) [02.06.09 04:43]:
 Hi group,
 
 Just booted into the latest iso on my netbook and first I wanted to
 check the battery state:
 
 #cat /proc/acpi/battery/BAT0/state.
 
 No such file. Looked all over /proc/acpi/. Nothing in /var/log/messages.
 
Search beneath /sys.
On my thinkpad battery interface went to 
/sys/bus/platform/devices/

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgp41VaVd6MBH.pgp
Description: PGP signature