Difference between revisions of "Installing Gentoo on a ThinkPad X60 Tablet"
(→Kernel Configuration) |
(→Pen) |
||
Line 21: | Line 21: | ||
== Pen == | == Pen == | ||
Add the following (magic) line to {{path|/etc/conf.d/local.start}}: | Add the following (magic) line to {{path|/etc/conf.d/local.start}}: | ||
− | setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig | + | setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig |
Now add the following lines to your xorgcfg generated xorg.conf: | Now add the following lines to your xorgcfg generated xorg.conf: |
Revision as of 18:46, 24 July 2007
This is WIP! The guide will be somewhat complete in the late summer.
Contents
Sound
In the kernel configuration:
Device Drivers ---> Sound ---> Advanced Linux Sound Architecture ---> PCI devices ---> <*> Intel HD Audio
Now emerge alsasound and add it to the default runlevel
emerge -av alsasound rc-update add alsasound default /etc/init.d/alsasound start
Display
Input
Pen
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"
Touch Screen
According to ref. A, this doesn't work.
Trackpoint
Works.
Special keys
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.
setkeycodes 6c 153 # KEY_DIRECTION, panel rotate setkeycodes 68 139 # KEY_MENU, panelmenu setkeycodes 6b 1 # KEY_ESC, panel esc
setkeycodes 69 28 # KEY_ENTER, panel enter
setkeycodes 6e 175 # MOVE panelleft, no appropriate name setkeycodes 6d 176 # EXIT panelright, no appropriate name setkeycodes 71 177 # SCROLL_UP panelup setkeycodes 6f 178 # SCROLL_DOWN paneldown
from http://ofb.net/~wnoise/lenovo-x60-tablet/
Fingerpring Reader
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.
Network
Ethernet
Works using the driver in the kernel configuration.
Wireless
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:)
Bluetooth
Don't know yet...
External Connections
ACPI
Extra Features
History
5. July - Initial release.