Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #run as root
- #to get commands for each device 'cat' the device
- #example:
- cat beep
- status: supported
- commands: <cmd> (<cmd> is 0-17)
- #system beeps
- cd /proc/acpi/ibm
- for i in {0..17};
- do
- echo "$i"|tee beep
- sleep 1
- done
- #turn light on and off
- echo on > light
- echo off > light
- #or
- echo 12 > cmos
- echo 13 > cmos
- #leds - most slots not used on the T400
- for i in {0..15};do echo $i off|tee led;done
- for i in {0..15};do echo $i on|tee led;done
- for i in {0..15};do echo $i blink|tee led;done
- #dim screen - 5
- for i in {0..20};do echo 5 > cmos;sleep .1;done
- #brighten screen - 4
- for i in {0..20};do echo 4 > cmos;sleep .1;done
- #more notes:
- http://www.cs.fsu.edu/~baker/devices/lxr/http/source/linux/Documentation/ibm-acpi.txt?v=2.6.11.8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement