Installing Gentoo on a ThinkPad X60 Tablet
This is WIP! The guide will be somewhat complete in the late summer.
Add the following (magic) line to /etc/conf.d/local.start: setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig
Now add the following lines to your xorgcfg generated xorg.conf:
Section "InputDevice" Identifier "Cursor" Driver "wacom" Option "Device" "/dev/ttyS0" Option "Type" "cursor" Option "ForceDevice" "ISDV4" Option "Mode" "Absolute" EndSection
Section "InputDevice" Identifier "Stylus" Driver "wacom" Option "Device" "/dev/ttyS0" Option "Type" "stylus" Option "ForceDevice" "ISDV4" EndSection
Section "InputDevice" Identifier "Eraser" Driver "wacom" Option "Device" "/dev/ttyS0" Option "Type" "eraser" Option "ForceDevice" "ISDV4" EndSection
And the following three lines in the end of the ServerLayout section:
InputDevice "Cursor" "SendCoreEvents" InputDevice "Stylus" "SendCoreEvents" InputDevice "Eraser" "SendCoreEvents"
According to ref. A, this doesn't work.
Keys On The Monitor
I have currently managed to map the following buttons: Esc, up, down, left, right, center (center). They are mapped using setkeycodes. They commands can be inserted into /etc/conf.d/local.start like the following:
# Esc button setkeycodes 6b 1 # Up setkeycodes 71 72 # Down setkeycodes 6f 80 # Left setkeycodes 6e 75 # Right setkeycodes 6d 77 # Center setkeycodes 69 28
Note: This is for Danish keyboard layout. To find the values for your language, the scancode (left) should be the same, but the keycode (right) might differ. I found the keycodes by counting keys from the upper left corner. This gives an almost correct keycode.
This actually is surprisingly easy to make work:) Just emerge thinkfinger >= 0.3 and add the following line in /etc/pam.d/system-auth:
auth sufficient pam_thinkfinger.so
The first section in the file should now look like the following:
auth required pam_env.so auth sufficient pam_thinkfinger.so auth sufficient pam_unix.so likeauth nullok
All left is to read your fingerprint for your user. Run tf-tool --add-user <login>, then reboot and see if it works.
Works using the driver in the kernel configuration.
Note: Make sure that the hardware disable-switch isn't disabled - it is placed at the front/bottom of the laptop (don't make the same mistake as i did!) Now, emerge ipw3945 >= 1.2.0, and add ipw3945d to the default runlevel by issuing:
rc-update add ipw3945d default.
If someone know how to add the ipw3945 module to a blacklist so it isn't probed when booting, please note it here:)
Don't know yet...
5. July - Initial release.