Installing OpenSUSE 11.4 on a ThinkPad X220 Tablet

From ThinkWiki
Revision as of 21:39, 3 August 2011 by Markov (Talk | contribs) (Fixing the touchscreen)
Jump to: navigation, search

Model

Lenovo Thinkpad X220 Tablet 4299-2PG (NYN2PMH) with

The Windows bit

Windows 7 Professional comes pre-installed. It works swift on this machine

Installation

There is no internal optical disk, so I used an external drive (Samsung, feeds from two USB ports). Worked flawlessly without the need to change BIOS settings.

Screen, network etc all detected correctly out of the box, except touchscreen. The package installation (GNOME and KDE together) only took about 15 minutes (!) WWAN not tested yet, but that did work well on my X301.

Disk partitioning

The system was shipped with an 160GB SSD disk (SSDSA2M160), with three partitions

  • 1 GB NTFS "System_DRV"
  • 132 GB NTFS "Windows7_OS", drive C: with 30GB used
  • 16 GB NTFS "Lenovo_Recovery"

No D: partition to sacrifice. The default partitioning change offered by SuSE installation seems ok, but I like to take it in my own hands. So, I

  • resized partition Windows7 back to 50GB, mounted on "/windows/c"
  • add extended partition for the rest
  • add 20GB partition for SuSE "/" with ext4 and noatime
  • add 20GB partition, later to be used for Debian/Qimo with ext4 and noatime
  • add 2GB partition for swap (hopefully not used)
  • add remaining 40GB for partition "/home" with ext4 and noatime

Configuration

Add "tabletpc" to the software selection. I also use both KDE and GNOME window managers via the software selection menu.

Fixing the touchscreen

You need a recent xf86-input-wacom driver to connect to the wacom interface. I first tried the script which is included in [1], however that did not suffice: the wacom was not detected.

upgrade the kernel

Then, I decided to upgrade the whole kernel. First, uncomment (=remove the '#') in /etc/zypp/zypp.conf before

 # multiversion = provides:multiversion(kernel)

Add repository

 http://download.opensuse.org/repositories/Kernel:/stable/standard

Finally, run "zypper update" and reboot the system. I got a kernel 3.0.0 installed which does recognize the touchscreen out of the box. After a reboot, you will see the wacom interfaces with

  xinput --list

upgrade the X11 driver

You need a recent xf86-input-wacom driver to connect to the wacom interface as well. Run the script which is included in [2] This will, however, installs the 64bit driver in X11's 32bit plugin directory. So:

  mv /usr/lib64/xorg/modules/input/wacom_drv.so /usr/lib64/xorg/modules/input/wacom_drv.so.orig
  cp /usr/lib/xorg/modules/input/wacom_drv.so /usr/lib64/xorg/modules/input/wacom_drv.so 

Then, login again.

Install more

Additionally, you want to install more. Configure "automatic update" via YaST and then deselect the external DVD unit from the repository list. You may like my choices from below.

Skype

The default installation is 64bits. Skype does not offer a 64bit version for OpenSuSE (yet), so you have to install some additional libraries for it to work:

 # required for Skype 2.2beta
 zypper in xorg-x11-libXv-32bit libqt4-32bit libqt4-x11-32bit libpng12-0-32bit

Webcam, sound and microphone worked without further configuration.

Multimedia

Go to Community Restricted Formats for a one-click install of proprietary drivers. I selected both the KDE and GNOME extensions.

Modifications

Display Brightness

I really hate the automatic dimming the screen. With the excellent battery-life and working brightness-control buttons, there is no need for the frequent dimming.

Under GNOME, click on the battery image on the lower bar, select "Preferences". In "On Battery Power", untick the "Reduce backlight brightness" and "Dim display when idle".