public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] no battery state/info in minimal-x86-install-20090526.iso?
@ 2009-06-02  2:43 Maxim Wexler
  2009-06-02  5:29 ` Sebastian Günther
  2009-06-02 10:26 ` Neil Bothwick
  0 siblings, 2 replies; 5+ messages in thread
From: Maxim Wexler @ 2009-06-02  2:43 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] no battery state/info in minimal-x86-install-20090526.iso?
  2009-06-02  2:43 [gentoo-user] no battery state/info in minimal-x86-install-20090526.iso? Maxim Wexler
@ 2009-06-02  5:29 ` Sebastian Günther
  2009-06-02 19:36   ` Maxim Wexler
  2009-06-02 10:26 ` Neil Bothwick
  1 sibling, 1 reply; 5+ messages in thread
From: Sebastian Günther @ 2009-06-02  5:29 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 712 bytes --]

* Maxim Wexler (maxim.wexler@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  
 SEB@STI@N GÜNTHER                       |   X   against M$ attachments
      mailto:samson@guenther-roetgen.de  |  / \   www.asciiribbon.org  

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] no battery state/info in minimal-x86-install-20090526.iso?
  2009-06-02  2:43 [gentoo-user] no battery state/info in minimal-x86-install-20090526.iso? Maxim Wexler
  2009-06-02  5:29 ` Sebastian Günther
@ 2009-06-02 10:26 ` Neil Bothwick
  1 sibling, 0 replies; 5+ messages in thread
From: Neil Bothwick @ 2009-06-02 10:26 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 235 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] no battery state/info in minimal-x86-install-20090526.iso?
  2009-06-02  5:29 ` Sebastian Günther
@ 2009-06-02 19:36   ` Maxim Wexler
  2009-06-02 20:23     ` Sebastian Günther
  0 siblings, 1 reply; 5+ messages in thread
From: Maxim Wexler @ 2009-06-02 19:36 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] no battery state/info in minimal-x86-install-20090526.iso?
  2009-06-02 19:36   ` Maxim Wexler
@ 2009-06-02 20:23     ` Sebastian Günther
  0 siblings, 0 replies; 5+ messages in thread
From: Sebastian Günther @ 2009-06-02 20:23 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 832 bytes --]

* Maxim Wexler (maxim.wexler@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  
 SEB@STI@N GÜNTHER                       |   X   against M$ attachments
      mailto:samson@guenther-roetgen.de  |  / \   www.asciiribbon.org  

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-06-02 20:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-02  2:43 [gentoo-user] no battery state/info in minimal-x86-install-20090526.iso? Maxim Wexler
2009-06-02  5:29 ` Sebastian Günther
2009-06-02 19:36   ` Maxim Wexler
2009-06-02 20:23     ` Sebastian Günther
2009-06-02 10:26 ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox