Difference between revisions of "Lenovo ThinkPad X230"
(simplification and beautification of wikilinks (interactive))
(Added fan control)
|Line 119:||Line 119:|
== USB BIOS update ==
== USB BIOS update ==
Latest revision as of 10:27, 17 October 2017
After saving the above files, make sure to regenerate your init ram image by the command
mkinitcpio -p linux, and follow the steps in kernel parameters.
X230 has IPS or TN screen with 125.37 DPI. Refer to HiDPI page for more information. It can be set with command
xrandr --dpi 125.37 using .xinitrc or other autostarts.
See Intel for driver choice.
The original configuration renders the touchpad quite useless, as it behaves very jumpily. Ubuntu Bugtracker offers a solution for this issue. Add the following
Section "InputClass" Identifier "touchpad" MatchProduct "SynPS/2 Synaptics TouchPad" # MatchTag "lenovo_x230_all" Driver "synaptics" # fix touchpad resolution Option "VertResolution" "100" Option "HorizResolution" "65" # disable synaptics driver pointer acceleration Option "MinSpeed" "1" Option "MaxSpeed" "1" # tweak the X-server pointer acceleration Option "AccelerationProfile" "2" Option "AdaptiveDeceleration" "16" Option "ConstantDeceleration" "16" Option "VelocityScale" "20" Option "AccelerationNumerator" "30" Option "AccelerationDenominator" "10" Option "AccelerationThreshold" "10" # Disable two fingers right mouse click Option "TapButton2" "0" Option "HorizHysteresis" "100" Option "VertHysteresis" "100" EndSection
Setting e.g. the motion-acceleration value in dconf to 2.8 works nicely.
Backlight control keys
Due to an issue with the firmware of several ThinkPads the backlight control keys (fn + F8/F9 on the X230) don't work correctly. Setting the brightness via e.g. the GNOME power control panel or altering the brightness value in sysfs is possible.
Suspend to ram
There is an issue with system shutdown with power saving tools that cannot distinguish sys devices. You will need to add to the systemd shutdown trigger on this machine or else you'll get a system reboot when you shutdown the machine. Put this in /etc/rc.local.shutdown and update and enable its service, if not already.
#!/bin/bash # /etc/rc.local.shutdown: Local shutdown script. # A script to act as a workaround for the bug in the runtime power management module, which causes thinkpad laptops to restart after shutting down. # Bus list for the runtime power management module. buslist="pci i2c" for bus in $buslist; do for i in /sys/bus/$bus/devices/*/power/control; do echo on > $i done done
[Unit] Description=/etc/rc.local.shutdown Compatibility ConditionFileIsExecutable=/etc/rc.local.shutdown DefaultDependencies=no After=rc-local.service basic.target Before=shutdown.target [Service] Type=oneshot ExecStart=/etc/rc.local.shutdown StandardInput=tty RemainAfterExit=yes
Some models come with an integrated USB UMTS modem.
$ lsusb -d 0bdb:1926
Bus 003 Device 004: ID 0bdb:1926 Ericsson Business Mobile Networks BV H5321 gw Mobile Broadband Driver
For it to be recognized by ModemManager, you also need to set the kernel module option to:
options cdc_ncm prefer_mbim=N
To optimize fan control, install and setup thinkfan. Then use the following configuration:
tp_fan /proc/acpi/ibm/fan hwmon /sys/class/thermal/thermal_zone0/temp (0, 0, 60) (1, 53, 65) (2, 55, 66) (3, 57, 68) (4, 61, 70) (5, 64, 71) (7, 68, 32767)
USB BIOS update
You can useAUR to create bootable USB images from the BIOS update ISO. It is as easy as:
$ geteltorito.pl g2uj24us.iso > update.img $ sudo dd bs=512K if=update.img of=/dev/sdX
Follow the main article: Power saving
Power saving kernel parameters in addition to graphics card power saving, are shown below.
acpi_backlight=vendor loads the vendor specific Backlight#ACPI driver (i.e. thinkpad_acpi) so the brightness keys (Fn + F8 and Fn + F9) work correctly.
Note that the
acpi_backlight=vendor kernel option also works with the standard Arch kernel (currently 3.7.10-1) and has the additional bonus that (Fn + spacebar) controls the keyboard lighting.
Users of TLP need to pay attention to a hardware bug according to which it is recommended to only use either the upper or lower charging threshold. The following configuration is recommended by the developer of TLP.
x230T (tablet version)
Multitouch screen for the x230t (tablet version)
Works out of the box with.
Wacom tablet input
Works out of the box with Wacom tablet. See
- Microphone on-off key does not work out of the box