Re: [PATCH] Laptop-mode v7 for linux 2.6.1

From: Valdis . Kletnieks
Date: Mon Jan 12 2004 - 10:06:39 EST


On Mon, 12 Jan 2004 05:50:34 MST, Dax Kelson said:
> On Mon, 2004-01-12 at 02:59, Bart Samwel wrote:
> > Jan De Luyck wrote:
> > > There seems to be a typo in the battery.sh script. It
> > > reads /proc/acpi/ac_adapter/AC/state to determine the AC Adaptor state, b
ut
> > > this is in the ACAD directory instead of the AC directory.
> >
> > Hmmm, Dax says it works for him, and I don't have an ac_adapter on my
> > machine because I don't own a laptop. Dax, is this a typo or is it
> > actually called AC on your machine?
>
> On my Dell Inspiron 4150 it is called AC not ACAD.

Dell Latitude C840 calls it /proc/acpi/ac_adapter/AC/state as well.

Attachment: pgp00000.pgp
Description: PGP signature