Asus Zenbook Prime

Keyboard and LCD backlight
Kernel >=3.7rc6 required for backlight controls to work

Power savings
/etc/local.d/power.start:

#!/bin/bash # set mean brightness echo -n 5 > /sys/class/backlight/acpi_video0/brightness # turn off keyboard backlight echo -n 0 > /sys/class/leds/asus::kbd_backlight/brightness #disable any software (GDM, for example) to reenable keyboard backlight chmod -w /sys/class/leds/asus::kbd_backlight/brightness iwconfig wlan0 power on

/etc/udev/rules.d/10-runtime-pm.rules

SUBSYSTEM!="pci", GOTO="power_runtime_rules_end" ACTION!="add", GOTO="power_runtime_rules_end" KERNEL=="????:??:??.?" PROGRAM="/bin/sleep 0.1" ATTR{power/control}=="*", ATTR{power/control}="auto" LABEL="power_runtime_rules_end"

Automatic suspend/power management for USB devices may be bad idea. You probably don't want to have mouse turning off after some seconds of inactivity. But here is a rule:

/etc/udev/rules.d/11-runtime-pm.rules

SUBSYSTEM!="usb", GOTO="usb_power_runtime_rules_end" ACTION!="add", GOTO="usb_power_runtime_rules_end" KERNEL=="*" PROGRAM="/bin/sleep 0.1" ATTR{power/autosuspend}=="*", ATTR{power/autosuspend}="1" ATTR{power/level}=="*", ATTR{power/level}="auto" LABEL="usb_power_runtime_rules_end"

Add this just after #!/bin/sh in /etc/gdm/Init/Default:

# set mean brightness echo -n 5 > /sys/class/backlight/acpi_video0/brightness # turn off keyboard backlight chmod -w /sys/class/leds/asus::kbd_backlight/brightness echo -n 0 > /sys/class/leds/asus::kbd_backlight/brightness chmod +w /sys/class/leds/asus::kbd_backlight/brightness

GDM may reset sysctl options at start, so you may also add sysctl -p into /etc/gdm/Init/Default

Add this just after #!/bin/sh in /etc/gdm/PreSession/Default:

# set actual dpi for 1980x1080 13.3" xrandr --dpi 165

You also should tell gnome to disable keyboard backlight per-user:

gconftool-2 -t int -s /apps/gnome-power-manager/keyboard/brightness_ac 0 gconftool-2 -t int -s /apps/gnome-power-manager/keyboard/brightness_battery 0