All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bart Samwel <bart@samwel.tk>
To: Dax Kelson <dax@gurulabs.com>
Cc: Jan De Luyck <lkml@kcore.org>,
	linux-kernel@vger.kernel.org, Kiko Piris <kernel@pirispons.net>,
	Bartek Kania <mrbk@gnarf.org>,
	Simon Mackinlay <smackinlay@mail.com>
Subject: Re: [PATCH] Laptop-mode v7 for linux 2.6.1
Date: Mon, 12 Jan 2004 13:59:48 +0100	[thread overview]
Message-ID: <40029A44.4030406@samwel.tk> (raw)
In-Reply-To: <1073911834.2892.0.camel@mentor.gurulabs.com>

Dax Kelson 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, but 
>>>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.

Hmmmm. Does anybody have any idea why these names differ? Googling for 
acpi/ac_adapter gives me hits on a number of different programs that 
check for ac_adapter/*/state. I've seen AC, ACAD, 0 and 1 for names, so 
they're really pretty variable. So, a wildcard seems appropriate. Dax, 
if you agree, would you test + send in a patch to correct this? I can't 
do it myself because I can't test it. TIA!

-- Bart

  reply	other threads:[~2004-01-12 12:59 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-10 10:38 [PATCH] Laptop-mode v7 for linux 2.6.1 Bart Samwel
2004-01-10 11:15 ` Dax Kelson
2004-01-12  9:45 ` Jan De Luyck
2004-01-12  9:59   ` Bart Samwel
2004-01-12 12:50     ` Dax Kelson
2004-01-12 12:59       ` Bart Samwel [this message]
2004-01-12 15:04       ` Valdis.Kletnieks
2004-01-12 11:12 ` Jan De Luyck
2004-01-12 11:22   ` Bart Samwel
2004-01-12 12:43     ` Jan De Luyck
2004-01-12 13:41       ` Bart Samwel
2004-01-12 13:32         ` Hugang
2004-01-12 17:30         ` Dumitru Ciobarcianu
2004-01-12 12:19   ` Kiko Piris
2004-01-12 12:45     ` Jan De Luyck
2004-01-12 13:09     ` Jan De Luyck
2004-01-12 14:02       ` Jens Axboe
2004-01-13 11:00         ` Jan De Luyck
2004-01-13 11:01           ` Jens Axboe
2004-01-13 12:46             ` Bart Samwel
2004-01-13 14:21               ` Hugang
2004-01-13 17:17                 ` Jan De Luyck
2004-02-11  6:24             ` Jan De Luyck
2004-02-11 13:00               ` Micha Feigin
  -- strict thread matches above, loose matches on Subject: below --
2004-01-12 17:07 Kai Krueger
2004-01-12 19:31 ` Bart Samwel
2004-01-12 20:51   ` Dumitru Ciobarcianu
2004-01-12 21:50     ` Bart Samwel
2004-01-12 22:51     ` Andrew Morton
2004-01-13  1:10 Kai Krueger
2004-01-13 11:58 ` Bart Samwel

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=40029A44.4030406@samwel.tk \
    --to=bart@samwel.tk \
    --cc=dax@gurulabs.com \
    --cc=kernel@pirispons.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@kcore.org \
    --cc=mrbk@gnarf.org \
    --cc=smackinlay@mail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.