From: "pHilipp Zabel" <[EMAIL PROTECTED]> > On Mon, 23 Sep 2002 08:36:01 -0300 > "Derek Broughton" <[EMAIL PROTECTED]> wrote: > > > Absolutely true. The devices are named in the ACPI DSDT table, and _many_ > > power supplies are not named AC. Batteries are a little more standard, but > > you're right - my one and only battery is BAT0. > > Could the applet read this table (or query the acpi modules or > something like that) to get the correct /proc path names? > I haven't tried it, and I know it's still only test-quality, but ospmd is supposed to define an API that should allow an applet to query ACPI for this. I don't know if it's ready to do that yet, though. Otherwise, you're stuck with browsing the /proc/acpi tree, as Erich suggests.
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

