From: benh@kernel.crashing.org
To: "Joseph P. Garcia" <jpgarcia@execpc.com>,
Matthias Grimm <joker@cymes.de>
Cc: <linuxppc-dev@lists.linuxppc.org>
Subject: Re: pbbuttons, need some help
Date: Fri, 8 Mar 2002 13:33:01 +0100 [thread overview]
Message-ID: <20020308123301.27605@mailhost.mipsys.com> (raw)
In-Reply-To: <20020307134140.56d70400.jpgarcia@execpc.com>
>The best way to get battery info now is to use to use /proc/pmu/ in newer
>(2.4) kernels. My gkrellm-pmu plugin used to use adb directly, then PMUD,
>now /proc/pmu/. I had to poke and prod at Paul Mackerras' Batmon to figure
>out O'Hare. But /proc/pmu is transparent to what kind of system its on.
>Divide and conquer. Nice that another conduit thats system independant
>exists.
Note that OHare in /proc/pmu is still known to be flawky as it seems
not all OHare based pbooks need the same formula. But at least it will
be fixed one day and I prefer indeed keeping that tricky code in a
single location. I do have some code to merge one of these days fixing
calculation for the 2400 for example.
>Along those same lines, I have a sugesstion for the gtk client for
>pbbuttons. The program should use the X keycodes rather than associate
>with the daemon that controls the hardware. This serves two purposes: X
>handles any client/server mess, and the GUI will be the system independant
>figurehead it should be (IMO). Bastien wrote a similar program that uses
>the keycodes, so it could be used on any system with the keys, even an x86.
>(hadess.net)
Well, the daemon will still be needed to get the "special" keys on OHare
based powerbooks as I think those don't come via ADB.
>Thanks for working to improve the Linux user expirience. (and anyone else
>listening for keeping in touch with such ventures :)
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2002-03-08 12:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3C852E12.3030300@cymes.de>
[not found] ` <20020306090814.15511@mailhost.mipsys.com>
2002-03-07 18:51 ` pbbuttons, need some help Matthias Grimm
2002-03-07 19:41 ` Joseph P. Garcia
2002-03-08 12:33 ` benh [this message]
2002-03-08 22:40 ` Matthias Grimm
2002-03-08 22:31 ` Matthias Grimm
2002-03-09 14:43 ` Tuomas Kuosmanen
2002-03-09 18:25 ` Joseph P. Garcia
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020308123301.27605@mailhost.mipsys.com \
--to=benh@kernel.crashing.org \
--cc=joker@cymes.de \
--cc=jpgarcia@execpc.com \
--cc=linuxppc-dev@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).