From 8e32817aea90284e3facb7c520464c01a62a9f25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Kobsch=C3=A4tzki?= Date: Wed, 25 May 2016 18:33:55 +0200 Subject: [PATCH 1/4] Some stuff about the Thinkpad X201 --- troubleshooting/thinkpad_x201 | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 troubleshooting/thinkpad_x201 diff --git a/troubleshooting/thinkpad_x201 b/troubleshooting/thinkpad_x201 new file mode 100644 index 00000000..26a795d3 --- /dev/null +++ b/troubleshooting/thinkpad_x201 @@ -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. From db3236b64a8cf891c61a4eb4ee77b907bfb3cd14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Kobsch=C3=A4tzki?= Date: Thu, 26 May 2016 05:22:39 +0200 Subject: [PATCH 2/4] Update thinkpad_x201 --- troubleshooting/thinkpad_x201 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/troubleshooting/thinkpad_x201 b/troubleshooting/thinkpad_x201 index 26a795d3..ab445510 100644 --- a/troubleshooting/thinkpad_x201 +++ b/troubleshooting/thinkpad_x201 @@ -1,7 +1,7 @@ --- layout: doc title: Getting Lenovo Thinkpad X201 to work -permalink: /doc/lenovo450-tinkering/ +permalink: /doc/thinkpad_x201/ redirect_from: - /en/doc/thinkpad_x201/ - /doc/Thinkpad_X201/ From b4475dcd493ca9ac26d5f20e12628136bdaa5448 Mon Sep 17 00:00:00 2001 From: Andrew David Wong Date: Wed, 25 May 2016 21:46:55 -0700 Subject: [PATCH 3/4] Add Markdown file extension --- troubleshooting/{thinkpad_x201 => thinkpad_x201.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename troubleshooting/{thinkpad_x201 => thinkpad_x201.md} (100%) diff --git a/troubleshooting/thinkpad_x201 b/troubleshooting/thinkpad_x201.md similarity index 100% rename from troubleshooting/thinkpad_x201 rename to troubleshooting/thinkpad_x201.md From 2f75d74d7fbb1bda002aad26d4e2d6936b58da6e Mon Sep 17 00:00:00 2001 From: Andrew David Wong Date: Wed, 25 May 2016 21:50:58 -0700 Subject: [PATCH 4/4] Fix formatting and clean up text --- troubleshooting/thinkpad_x201.md | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/troubleshooting/thinkpad_x201.md b/troubleshooting/thinkpad_x201.md index ab445510..5ee5fd6d 100644 --- a/troubleshooting/thinkpad_x201.md +++ b/troubleshooting/thinkpad_x201.md @@ -12,25 +12,28 @@ Instructions for getting your Lenovo Thinkpad X201 laptop working with Qubes/Lin ========================================================================= 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. +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 +After the installation, you have to set a startup-parameter for Xen, to be able to activate VT-d again: -Then reboot, enter bios and re-enable VT-D +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. 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 -``` + + ~~~ + #!/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.