You are not logged in.

#1 2010-11-19 21:28:18

B-Con
Member
From: USA
Registered: 2007-12-17
Posts: 554
Website

ACPI AC vs ACAD status

I was trying to get custom scripts to run when ACPI detect my power plug come out of the laptop. I was in /etc/acpi/handlers.sh and noticed that one of the cases under "ac_adapter" is "AC" (line 30) . However, when I look in /proc/acpi/ac_adapter I only see "ACAD". I changed AC to ACAD in the script it worked fine. I checked the arguments to the script on multiple plug/unplugs, and never saw just "AC" as the argument, just "ACAD".

My understanding of ACPI is somewhat limited. Is this file provided by Arch? Is this worthy of an Arch bug report?

Last edited by B-Con (2010-11-19 21:38:33)

Offline

Board footer

Powered by FluxBB