Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Torsmo and ACPI path, Path to battery state?< Next Oldest | Next Newest >
mksql Offline





Group: Members
Posts: 13
Joined: July 2006
Posted: July 23 2006,05:04 QUOTE

(Linux noob warning, but learning!)

On my Compaq Armada, the battery state appears to be stored in /proc/acpi/battery/C0D5.

However in .torsmorc, when I put the dir name or full path in the $battery parameter, Torsmo instead reports that it cannot open the path /proc/acpu/battery/BAT1074929595/state

What am I missing?
Back to top
Profile PM 
teitoku Offline





Group: Members
Posts: 39
Joined: Sep. 2005
Posted: Aug. 09 2006,03:11 QUOTE

I'm also interested in this.   Earlier today, I edited .torsmorc and added the bit "BAT1" to the $battery section.  Can't remember specifics.   Torsmo complains that there's no battery at "/proc/acpi/battery/BAT12458345268" or some crap.   Why does it do this?
Back to top
Profile PM 
andrewb Offline





Group: Members
Posts: 316
Joined: July 2005
Posted: May 10 2007,01:19 QUOTE

You need the newer version of torsmo 0.18. It allows for different battery path names. You can get this from sourceforge, or I have a copy that I can send (I'll try & remember to submit it to the repositry).
Back to top
Profile PM 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: May 10 2007,11:56 QUOTE

Create a symlink between torsmo's battery path and your battery path. Works for me.

--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
mksql Offline





Group: Members
Posts: 13
Joined: July 2006
Posted: June 03 2007,04:46 QUOTE

Quote (lucky13 @ May 10 2007,07:56)
Create a symlink between torsmo's battery path and your battery path. Works for me.

I am unable to create a symlink to /proc/acpi/battery/C0D5 as /proc/acpi/battery/BAT0 ("No such file or directory")

How did you do this?
Back to top
Profile PM 
6 replies since July 23 2006,05:04 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Torsmo and ACPI path

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code