Torsmo and ACPI pathForum: Apps Topic: Torsmo and ACPI path started by: mksql  Posted by mksql on July 23 2006,05:04  
        (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?  Posted by teitoku on Aug. 09 2006,03:11  
        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?
   Posted by andrewb on May 10 2007,01:19  
        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).
   Posted by lucky13 on May 10 2007,11:56  
        Create a symlink between torsmo's battery path and your battery path. Works for me.
   Posted by mksql on June 03 2007,04:46  
        
 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?  Posted by Juanito on June 03 2007,06:48  
        Does this work:
  Posted by mksql on June 03 2007,16:44  
        
 No, that is where I get the "No such file or directory" error. I did a little research, and it seems that maybe symlinks in /proc are not supported. I solved the issue with Torsmo by installing v0.18 from source, as it has a change for other battery names. Thanks to andrewb who suggested it.  |