Merge pull request #1 from nielsk/nielsk-thinkpad_x201

Some stuff about the Thinkpad X201
This commit is contained in:
Niels Kobschätzki 2016-05-26 05:19:17 +02:00
commit 86eb73ae64

View File

@ -0,0 +1,36 @@
---
layout: doc
title: Getting Lenovo Thinkpad X201 to work
permalink: /doc/lenovo450-tinkering/
redirect_from:
- /en/doc/thinkpad_x201/
- /doc/Thinkpad_X201/
- /wiki/Thinkpad_X201/
---
Instructions for getting your Lenovo Thinkpad X201 laptop working with Qubes/Linux
=========================================================================
For being able to boot the installer from USB, you have to disable VT-D in the BIOS.
Enter the BIOS by hitting F1, go to Config - CPU and then disable there VT-D.
After the installation, you have to set a startup-parameter for Xen, to be able to activate VT-D again:
1. Open a Terminal for Dom0
2. Edit /etc/default/grub
3. Add to the line GRUB_CMDLINE_XEN_DEFAULT the setting iommu=no-igfx, save and quit
4. sudo grub2-mkconfig --output /boot/grub2/grub.cfg
Then reboot, enter bios and re-enable VT-D
Getting scrolling with the Trackpoint and the Middle Button to work
-------------------------------------------------
1. Create a script with the following content:
```
#!/bin/sh
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 1
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 2
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 200
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 6 7 4 5
```
2. Add the script to the startup-items of your desktop environment.