Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
#run as root #to get commands for each device 'cat' the device #example: cat beep status: supported commands:
(
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
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)