Author Topic: /proc/apm  (Read 2557 times)

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
/proc/apm
« on: December 21, 2005, 04:12:54 pm »
anyone know the meaning of all those numbers, I figured out the 255 business and it shows a percentage, but whats the rest? anyone?
« Last Edit: December 21, 2005, 04:13:18 pm by bam »
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
/proc/apm
« Reply #1 on: December 22, 2005, 07:54:42 am »
It's a standard device, try a google for the source of apmd which decodes the numbers and returns a human-readable form.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
/proc/apm
« Reply #2 on: December 22, 2005, 03:30:10 pm »
ahhh very cool, thanks
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
/proc/apm
« Reply #3 on: December 23, 2005, 06:59:04 am »
http://worldvisions.ca/~apenwarr/apmd/

You probably want to look at the part of the source for the apm userspace program.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva