Lenovo ThinkPad

ThinkVantage button
http://www.thinkwiki.org/wiki/ThinkPad_Button
http://www.thinkwiki.org/wiki/How_to_get_special_keys_to_work
http://www.thinkwiki.org/wiki/Installing_Ubuntu_11.04_%28Natty_Narwhal%29_on_a_ThinkPad_X220

xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode /s/^.*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p'
156 XF86Launch1
# start calc
gsettings set  org.gnome.settings-daemon.plugins.media-keys calculator 'Launch1'

Install thinkfan

#!/bin/bash

# install
sudo apt-get install -y thinkfan

# configure kernel module
echo "options thinkpad_acpi fan_control=1" | sudo tee /etc/modprobe.d/thinkpad_acpi.conf

# reload kernel module
sudo modprobe -r thinkpad_acpi && sudo modprobe thinkpad_acpi

sudo sed -i 's|START=no|START=yes|' /etc/default/thinkfan
sudo sed -i 's|DAEMON_ARGS="-q"|DAEMON_ARGS="-q -b 1 -s 15"|' /etc/default/thinkfan

cat <

OPTIONAL: install lm-sensors to monitor temperatures

apt-get install -y lm-sensors
 
# manually set fan speed
echo level 0 | sudo tee -a /proc/acpi/ibm/fan
 
# read current fan settings
cat /proc/acpi/ibm/fan
 
# GNOME Sensors Applet 
sudo apt-get install sensors-applet

Docking station
https://thinkwiki.de/ThinkPad_Mini_Dock_Series_3
Unter Linux ist, mit der Intel Version (getestet mit einem L530 / T530), es möglich 2 x extern + 1 x intern zu nutzen wenn die externen Monitore die gleichen Auflösungen haben

optimus
https://www.dell.com/support/kbdoc/de-ch/000132622/handbuch-zu-nvidia-optimus-auf-dell-pcs-mit-dem-betriebssystem-ubuntu

sudo apt install nvidia-prime
sudo prime-select query
sudo prime-select intel

Links
http://thinkwiki.de/Thinkfan
https://thinkwiki.de/L520
https://thinkwiki.de/L530
https://thinkwiki.de/W540 (https://thinkwiki.de/ThinkPad_Ultra_Dock)
http://zmalltalker.com/zlog/thinkfan.html
http://www.thinkwiki.org/wiki/Thermal_Sensors
http://www.thinkwiki.org/wiki/How_to_control_fan_speed
https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X1_Carbon#WWAN_.28Mobile_broadband.29