Here is what I did to tune up my lovely Lenovo x200.
UPDATE for Ubuntu 13.04. The fan seems pretty quiet anyway and I have already done some compiling.
The modification of the linux command line is still needed.
Install some thinkpad stuff
sudo apt-get install tp-smapi-dkms thinkfan
tp-smapi-dkms enables enhanced battery stats and charging control.
thinkfan allows software fan control. Mine would spend hours pumping out cold air.
To make sure relevant modules will be loaded add the following lines to /etc/modules
tp_smapi
thinkpad_acpi
Hard drive shock protection
I just installed hdapsd and it works.
Get it to actually turn off when you shutdown
Edit /etc/default/grub changing the line that reads
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
to read
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=Linux"
That also fixes the mute button.
Better battery charge control
To make the battery last longer avoid recharging it if it is only a little bit discharged, etc. as described here. Another tip: Never let the battery fully discharge, that hurts lithium ion batteries each time.
# echo 50 > /sys/devices/platform/smapi/BAT0/start_charge_thresh
# echo 90 > /sys/devices/platform/smapi/BAT0/stop_charge_thresh
You probably have to add those lines to /etc/rc.local to make them stick.
Fan control
Firstly you have to enable fan control, by creating /etc/modprobe.d/thinkpad_acpi.conf with the following contents.
options thinkpad_acpi fan_control=1
Then enable thinkfan by changing START=no to START=yes in /etc/defaults/thinkfan
You can edit /etc/thinkfan.conf to tune the fan behaviour if you like.
Ablakkezelő gombok jobbra:
>apps>metacity>general>button_layout menu:minimize,maximize,close
Alsó/felső menüsáv elrejtés:
>apps>panel>toplevels
Trackpoint scroll:
Create the file /usr/lib/X11/xorg.conf.d/20-thinkpad.conf as root with the following content:
Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint"
MatchDevicePath "/dev/input/event*"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "Emulate3Buttons" "false"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"
EndSection
Mute OSD menü:
Edit the file /etc/grub.d/10_linux
"${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_EXTRA} ${GRUB_CMDLINE_LINUX_DEFAULT} acpi_osi=Linux" \
HDD pretection:
sudo apt-get install tp-smapi-dkms
sudo modprobe tp-smapi hdaps
sudo apt-get install hdapsd
the parameter "SENSITIVITY", 15, is too low. We can make it higher, for example, to 50, by modifying /etc/default/hdapsd.
http://www.squarefree.com/smoother-orientation-demo.html
Vinyó kattogás:
gksu gedit /etc/rc.local --> hdparm -B 254 /dev/sda
/etc/rc.local-ba:
#BT on startup off
chmod 666 /proc/acpi/ibm/bluetooth
echo "disable" > /proc/acpi/ibm/bluetooth
hdparm -B 254 /dev/sda
#Default, ondemand
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
#Audio powersave
echo 1 > /sys/module/snd_hda_intel/parameters/power_save
#wlan powersave
iwconfig wlan0 power timeout 500ms
#writeback to 15 s
echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
#SATA powersave
echo min_power > /sys/class/scsi_host/host0/link_power_management_policy
Sok hasznos:
http://webcache.googleusercontent.com/search?q=cache:4G4eI1TSkX0J:code-saturne.blogspot.com/2009/08/linuxubuntu-on-lenovo-thinkpad.html+hdapsd+sensitivity&cd=8&hl=hu&ct=clnk&client=ubuntu