[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo _at_ vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
References: