add g53s utility scripts

This commit is contained in:
josh committed 2012-09-07 22:41:03 -04:00
commit e0a9716a65
2 files changed
+19

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh -e
# Enable keyboard backlight
echo 0x00050021 > /sys/kernel/debug/asus-nb-wmi/dev_id
echo 0x82 > /sys/kernel/debug/asus-nb-wmi/ctrl_param
cat /sys/kernel/debug/asus-nb-wmi/devs > /dev/null
# disable wake from sleep on USB device 2-1.4 (mouse)
echo disabled > /sys/bus/usb/devices/2-1.4/power/wakeup
exit 0
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
case "$1" in
hibernate|suspend)
;;
thaw|resume)
/etc/g53s-laptop-settings
;;
esac