Hi, I added the suspend section. This is my first time editing a wiki, so let me know if I did anything wrong. You can reach me at ksnieck at gmail dot com. Hopefully I'll get hibernation to work, and I'll add that as well.
Display brightness on 4,1
For one reason or another, pommed doesn't control my screen brightness correctly (nor does it respond to the brightness buttons). It looks like this may be because the brightness buttons are now being intercepted by ACPId; judging from the following lines in /var/log/messages.log
Mar 2 18:38:21 archlinux greyson: ACPI group/action undefined: video/brightnessdown / BRTDN Mar 2 18:49:49 archlinux greyson: ACPI group/action undefined: video/brightnessup / BRTUP
The quick/dirty solution to get the buttons working is to first add a script /etc/acpi/video_handler.sh to handle these events:
#!/bin/sh BACKLIGHT_BASE="/sys/class/backlight/nvidia_backlight" BACKLIGHT="$BACKLIGHT_BASE/brightness" BACKLIGHT_CURRENT=$( cat "$BACKLIGHT" ) BACKLIGHT_MAX=$( cat "$BACKLIGHT_BASE/max_brightness" ) BACKLIGHT_STEP=$(expr \( $BACKLIGHT_MAX + 1 \) / 16 ) set $* case "$1" in video/brightnessup) case "$2" in BRTUP) logger "Screen brightness raised: $2" echo $(expr $BACKLIGHT_CURRENT + $BACKLIGHT_STEP ) > "$BACKLIGHT" ;; *) logger "ACPI video action undefined: $2" ;; esac ;; video/brightnessdown) case "$2" in BRTDN) logger "Screen brightness lowered: $2" echo $(expr $BACKLIGHT_CURRENT - $BACKLIGHT_STEP ) > "$BACKLIGHT" ;; *) logger "ACPI video action undefined: $2" ;; esac ;; *) logger "ACPI video action undefined: $1 / $2" ;;
Then add an ACPId hook /etc/acpi/events/video
event=.* action=/etc/acpi/video_handler.sh %e