UPDATE:
I've been trying out a bunch of distros and I'm currently using Kubuntu 12.10. I had the same issue where the F5 and F6 buttons were not mapped properly. Here's the hack-job I did to get it to work by using /etc/acpi/asus-keyboard-backlight.sh as a template.
Open up the ol' terminal and change the permissions of the "brightness" file so you don't have to be root
Code: Select all
sudo chmod 777 /sys/class/leds/smc::kbd_backlight/brightness
Code: Select all
#!/bin/sh
KEYS_DIR=/sys/class/leds/smc::kbd_backlight
test -d $KEYS_DIR || exit 0
MIN=0
MAX=$(cat $KEYS_DIR/max_brightness)
VAL=$(cat $KEYS_DIR/brightness)
VAL=$((VAL-25))
if [ "$VAL" -lt $MIN ]; then
VAL=$MIN
elif [ "$VAL" -gt $MAX ]; then
VAL=$MAX
fi
echo $VAL > $KEYS_DIR/brightness
Code: Select all
VAL=$((VAL-25))
Code: Select all
VAL=$((VAL+25))