You are not logged in.
/etc/acpi/ati-powermode.sh uses deprecated /proc/acpi for detecting AC Adapter state, but default archlinux kernel compliled without /proc/acpi/.* support:
neko@gdetotut ~ $ uname -a
Linux gdetotut 3.2.6-2-ARCH #1 SMP PREEMPT Thu Feb 16 10:23:00 UTC 2012 i686 AMD Athlon(tm) II Dual-Core M320 AuthenticAMD GNU/Linux
neko@gdetotut ~ $ zcat /proc/config.gz |grep ACPI_PROCFS
# CONFIG_ACPI_PROCFS is not set
# CONFIG_ACPI_PROCFS_POWER is not setplease, change default detecting method in ati-powermode.sh - replace
grep -q off-line /proc/acpi/ac_adapter/*/stateto
acpi -a | grep -q off-lineon line 30.
thanks.
Offline
You'd need the ACPI package for that.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Yes, but you anywhere need acpi package for auto handling open/close lid and connect/disconnect AC adapter
And "old" method did'nt work without kernel recompilation:
gdetotut acpi # grep -q off-line /proc/acpi/ac_adapter/*/state
grep: /proc/acpi/ac_adapter/*/state: No such file or directoryOffline