Final Touches: Fedora 12 on Thinkpad x200 Tablet

So, I wrote about how the Thinkpad x200 tablet works out of the box with Fedora 12, but I didn’t mention a few details which I failed to consider at the time. They definitely aren’t show stoppers, but having them solved just makes the machine that much more powerful. Most of these I hadn’t even considered "fixing" until I read about them on the really awesome ThinkWiki site.

Nearly all of the buttons worked out of the box, at least in KDE, which is really freaking nice🙂 There were just a few tiny things that irked me about the machine:

ICC Color Profiles

Fedora 13 is going to ship with gnome-color-manager, a tool to load and use ICC color profiles, which is some kind of nifty standard to tweak the color output of monitors so that they are closer to the true colors.. Or something. Anyways, when I first installed Fedora, I noticed that everything just seemed "off" colored compared to the eeepc; I wrote it off and am slightly used to the slightly greenish hue. Thankfully thinkwiki has documented how to figure out which color profile to install, and how to find that profile.

Short story:

  1. Download http://www-307.ibm.com/pc/support/site.wss/MIGR-62923.html
  2. extract it using cabextract (yum install cabextract if you don’t have it)
  3. Copy TPLCD.ICM out to somewhere close, feel free to rm the other files.
  4. Rebuild gnome-color-manager for F12 or use the RPM from this koji scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=1889692
  5. Open gnome-control-center and click on the Color profiles section
  6. Go to the second tab and hit "Import Profile"
  7. After you’ve imported the profile, select your monitor, and set the Color Profile to "Lenovo Thinkpad LCD Monitor"
  8. It may take a little tweaking; I increased the brightness a slight amount.

DISCLAIMER: gnome-color-manager is a Fedora-13 software, and I cannot put any warrantee on its effectiveness in F12. I cannot help you debug the software if it does not work. Filing bugs on it is probably not a good idea, since this is backported from Fedora 13.

I don’t know if there is any way to load ICC profiles in KDE, that doesn’t require backporting software. However, the gnome-color-manager way works perfectly fine.

[[Sourced from: http://www.thinkwiki.org/wiki/Colour_profile]]

Proper Rotation

Oh boy, did this one annoy me. When I first got the machine, it seemed to make perfect sense to simply run xrandr and watch as the Touchscreen interface magically worked with it. Unfortunately this wasn’t the case, and it took a small amount of hacking on one of ThinkWiki’s scripts to get a script that I could bind to the rotate button.

  1. yum install linuxwacom # This is the main driver interface and userspace applications for the wacom which the x200 Tablet uses.
  2. run xidump -l and verify that there is an entry reading "Wacom Serial Tablet PC Pen Tablet/Digitizer extension". If there isn’t but something that is clearly the Digitizer, keep in mind that you will have to note everything on that line but extension (read: Wacom Serial Tablet PC Pen Tablet/Digitizer) and replace it in the following script.
  3. Download http://rrix.fedorapeople.org/xrotate.sh and stick it somewhere in $PATH, and make sure it’s executable (chmod +x)
  4. In GNOME: Open gnome-control-center, go to Keyboard Shortcuts, and hit the Add button. Give the shortcut an obvious name (Rotate Display?) and the command xrotate.sh . Hit Apply. Now click the area on that shortcut that says disabled and hit the rotate hardware button. On my machine, the keycode 0xa1 showed up.
  5. In KDE: Open systemsettings, go to Input Actions, and create a new Command/URL shortcut. Unfortunately, it looks like KDE’s Input Actions dialog doesn’t see the same Rotate button (with the two rectangles for an icon) but it does see the circle with an arrow. We’ll use that one. Set it as the shortcut on the Trigger tab and set Action to be xrotate.sh

The script we are using, xrotate.sh is from http://www.thinkwiki.org/wiki/Wacom_Serial_Tablet_PC_Stylus with a few changes, mainly from the renaming of the X input device, most likely because we don’t have it specified by hand in the Xorg config file (which we don’t have; I looked at using HAL FDI policy files for this, but it simply wasn’t worth it)

I haven’t tried this little tip, but I don’t see why it wouldn’t work without minimal hacking: http://www.thinkwiki.org/wiki/Active_Rotate . The only thing that may need tweaking is the ACPI codes, which you can get from running acpi_listen from a console, and recording the output while you swivel your monitor.

Fingerprint support

Is currently being worked on from my understanding🙂 I hear it works with the binary only (boo!) UPEK driver and fprintd, but that’s a setup I’m not ready to try yet. Maybe another day though..😉 Best luck to our free software folks writing this driver.

——–

Everything else on my thinkpad works great, except I don’t think mine has a thinklight, possibly because it is a tablet. The fn-PgUp key has a thinklight icon, but unless it’s the light that turns on when the webcam is on, there isn’t a thinklight on this machine. My guess is that it doesn’t have one either because of the webcam taking that same location, or it doesn’t have one because it’s a tablet. Either way, the thinklight key doesn’t generate xev or even acpi_listen events, so I guess I’ll live without it🙂

All in all, the Thinkpad x200 Tablet is a really amazing machine. It has decent battery life with the 8cell battery (on the lines of 5-6 hours of use), the screen is gorgeous, and the tablet feature really is awesome.. I wrote bits and pieces of this post in cellwriter, which is a really amazing piece of software. Next thing, when I get good enough, a port of myKbd. The hexagonal keyboard input method of myKbd was really incredible when I still had my Palm T|X and Lifedrive. I would love to have something similar in Fedora, written in Qt😉

[Note: This post will go on FedoraSolved.org as a general howto for Thinkpad x200 Tablets, after Christmas dinner today🙂 Merry Christmas, and any other holidays our amazing communities celebrates around this time.]

=-=-=-=-=
Powered by Bilbo Blogger

~ by Ryan Rix on 24 December 2009.

4 Responses to “Final Touches: Fedora 12 on Thinkpad x200 Tablet”

  1. […] Go here to read the rest:  Final Touches: Fedora 12 on Thinkpad x200 Tablet « Hacker's … […]

  2. […] Final Touches: Fedora 12 on Thinkpad x200 Tablet […]

  3. Be sure to check out http://lists.kde.org/?l=kde-core-devel& … 77&w=2 for the fingerprint reader…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: