qubes-doc/troubleshooting/thinkpad_x201.md

40 lines
1.4 KiB
Markdown
Raw Normal View History

2016-05-25 12:33:55 -04:00
---
layout: doc
title: Getting Lenovo Thinkpad X201 to work
2016-05-25 23:22:39 -04:00
permalink: /doc/thinkpad_x201/
2016-05-25 12:33:55 -04:00
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.
2016-05-26 00:50:58 -04:00
Enter the BIOS by hitting F1, go to Config - CPU and then disable there VT-d.
2016-05-25 12:33:55 -04:00
2016-05-26 00:50:58 -04:00
After the installation, you have to set a startup-parameter for Xen, to be able to activate VT-d again:
2016-05-25 12:33:55 -04:00
2016-05-26 00:50:58 -04:00
1. Open a terminal in 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.
2016-05-25 12:33:55 -04:00
Getting scrolling with the Trackpoint and the Middle Button to work
-------------------------------------------------
1. Create a script with the following content:
2016-05-26 00:50:58 -04:00
~~~
#!/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
~~~
2016-05-25 12:33:55 -04:00
2. Add the script to the startup-items of your desktop environment.