<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Duwamish</id>
	<title>ThinkWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Duwamish"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Duwamish"/>
	<updated>2026-05-11T03:07:56Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=34320</id>
		<title>Installing Gentoo on a ThinkPad X60 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=34320"/>
		<updated>2007-11-04T20:36:38Z</updated>

		<summary type="html">&lt;p&gt;Duwamish: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Gentoo General =&lt;br /&gt;
When installing gentoo make shure to use the suspend2-sources instead of the gentoo-sources,&lt;br /&gt;
and that the USE flags are set correctly.&lt;br /&gt;
In {{path|/etc/make.conf}}:&lt;br /&gt;
 VIDEO_CARDS=&amp;quot;i810 vesa&amp;quot;&lt;br /&gt;
 INPUT_DEVICES=&amp;quot;keyboard mouse wacom&amp;quot;&lt;br /&gt;
 # X60&lt;br /&gt;
 USE=&amp;quot;$USE acpi fbsplash hdaps&amp;quot;&lt;br /&gt;
Now you can emerge the suspend2-sources, which will enable the nice splash when booting the machine.&lt;br /&gt;
 emerge suspend2-sources&lt;br /&gt;
&lt;br /&gt;
'''Note:''' In my case =suspend2-sources-2.6.22-r2 broke the serial ports so that the pen becames unusable (setserial did not work, even could not get the information). So I am continuing with =suspend2-sources-2.6.21-r7 or gentoo-sources-2.6.22 (did not try 2.6.23).&lt;br /&gt;
&lt;br /&gt;
Some general apps are needed, these are installed:&lt;br /&gt;
 emerge thinkpad&lt;br /&gt;
 echo &amp;quot;thinkpad&amp;quot; &amp;gt;&amp;gt; /etc/modules.autoload.d/kernel-2.6&lt;br /&gt;
&lt;br /&gt;
TODO:&lt;br /&gt;
 echo &amp;quot;app-laptop/hdapsd&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
 emerge hdapsd app-laptop/tp_smapi&lt;br /&gt;
 rc-update add hdapsd default&lt;br /&gt;
 /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
= Sound =&lt;br /&gt;
NOTE: If you get an hda_intel probe error on boot, you have to enable modem support in bios (don't ask why!).&lt;br /&gt;
&lt;br /&gt;
In the kernel configuration:&lt;br /&gt;
 Device Drivers  ---&amp;gt;&lt;br /&gt;
  Sound  ---&amp;gt;&lt;br /&gt;
   Advanced Linux Sound Architecture  ---&amp;gt;&lt;br /&gt;
    PCI devices  ---&amp;gt;&lt;br /&gt;
     &amp;lt;*&amp;gt; Intel HD Audio&lt;br /&gt;
Now emerge alsa-utils and add alsasound to the default runlevel:&lt;br /&gt;
 emerge -av alsa-utils&lt;br /&gt;
 rc-update add alsasound default&lt;br /&gt;
 /etc/init.d/alsasound start&lt;br /&gt;
Unmute the sound using alsamixer by pressing the m key on the Master and PCM sliders (MM=Muted / 00=Not muted)&lt;br /&gt;
&lt;br /&gt;
= Display =&lt;br /&gt;
In the kernel configuration:&lt;br /&gt;
 Device Drivers  ---&amp;gt;&lt;br /&gt;
  Character devices  ---&amp;gt;&lt;br /&gt;
   &amp;lt;*&amp;gt; Direct Rendering Manager&lt;br /&gt;
    &amp;lt;*&amp;gt; Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver)  ---&amp;gt;&lt;br /&gt;
Now run xorgcfg which should start smoothly. Do your personal changes (none), and save the files to their default location.&lt;br /&gt;
Edit {{path|/etc/X11/xorg.conf}} and add the following lines:&lt;br /&gt;
 Section &amp;quot;dri&amp;quot;&lt;br /&gt;
    Mode 0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Now for the rotation to work, we need to emerge some stuff, and make some editing.&lt;br /&gt;
First, emerge some apps (note: wee need linuxwacom &amp;gt;= 0.7.8)&lt;br /&gt;
 echo &amp;quot;x11-drivers/linuxwacom&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
 emerge linuxwacom sudo xhost xrandr&lt;br /&gt;
&lt;br /&gt;
Get the rotate script from ref. A, and make some adjustments:&lt;br /&gt;
 cd /usr/local/bin&lt;br /&gt;
 wget http://luke.no-ip.org/x60tablet/examples/rotate&lt;br /&gt;
 chmod +x rotate&lt;br /&gt;
 sed &amp;quot;s/cursor/Cursor/&amp;quot; -i rotate&lt;br /&gt;
 sed &amp;quot;s/stylus/Stylus/&amp;quot; -i rotate&lt;br /&gt;
 sed &amp;quot;s/eraser/Eraser/&amp;quot; -i rotate&lt;br /&gt;
 sed 's/&amp;quot;%s set %s Rotate %s&amp;quot;/&amp;quot;sudo su -c \\&amp;quot;DISPLAY=:0.0 %s set %s Rotate %s\\&amp;quot;&amp;quot;/' -i rotate&lt;br /&gt;
 sed &amp;quot;s/'normal': 'NONE', 'left': 'CCW', 'right': 'CW', 'inverted': 'HALF'/'normal': '0', 'left': '2', 'right': '1', 'inverted': '3'/&amp;quot; -i rotate&lt;br /&gt;
&lt;br /&gt;
Put yourself into the wheel group, and setup sudo to make you run xsetwacom without password.&lt;br /&gt;
&lt;br /&gt;
{{HINT|For the compiz-fusion to work you will need to start it like this:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;LIBGL_ALWAYS_INDIRECT=true compiz-fusion --replace --indirect-rendering ccp&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
TODO: xhost +&lt;br /&gt;
&lt;br /&gt;
= Input =&lt;br /&gt;
== Pen ==&lt;br /&gt;
In the kernel configuration:&lt;br /&gt;
 Device Drivers  ---&amp;gt;&lt;br /&gt;
  Input device support  ---&amp;gt;&lt;br /&gt;
   &amp;lt;*&amp;gt; Event interface&lt;br /&gt;
   [*] Miscellaneous devices  ---&amp;gt;&lt;br /&gt;
    &amp;lt;*&amp;gt; User level driver support&lt;br /&gt;
  USB support  ---&amp;gt;&lt;br /&gt;
   &amp;lt;M&amp;gt; Wacom Intuos/Graphire tablet support&lt;br /&gt;
&lt;br /&gt;
Emerge setserial;&lt;br /&gt;
 emerge setserial&lt;br /&gt;
and add the following (magic) line to {{path|/etc/conf.d/local.start}}:&lt;br /&gt;
 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
If you get 'Cannot set serial info: Invalid argument' your kernel may have slightly broken serial support (suspend2-sources-2.6.22-r2, gentoo-sources-2.6.22-r5), this is fixed in gentoo-sources-2.6.22-r9.&lt;br /&gt;
&lt;br /&gt;
{{WARN|Xorg 7.3 works with current linuxwacom (0.7.8-3, 0.7.9-1), but in a strange way. Keep Xorg 7.2 unless you are going to use your pen only as mouse and only in the normal rotation.}}&lt;br /&gt;
'''Re to ATTENTION!''' I reply to myself. In the linuxwacom 0.7.8 branch they added the support for the multitouch feature. However this &amp;quot;feature&amp;quot; makes the usage of pen almost impossible (see [http://sourceforge.net/forum/forum.php?thread_id=1777969&amp;amp;forum_id=236872 this forum]). I prepared a patch which removes this feature and wrote an ebuild which can apply this patch: [https://bugs.gentoo.org/show_bug.cgi?id=147537 Bugzilla Bug 147537]. However still I have small problems in Xorg 7.3: [http://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=1823908&amp;amp;group_id=69596&amp;amp;atid=525124 bug 1823908]&lt;br /&gt;
&lt;br /&gt;
Now add the following lines to your xorgcfg generated {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
    Identifier  &amp;quot;Cursor&amp;quot;&lt;br /&gt;
    Driver      &amp;quot;wacom&amp;quot;&lt;br /&gt;
    Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/ttyS0&amp;quot;&lt;br /&gt;
    Option      &amp;quot;Type&amp;quot; &amp;quot;cursor&amp;quot;&lt;br /&gt;
    Option      &amp;quot;ForceDevice&amp;quot; &amp;quot;ISDV4&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
    Identifier  &amp;quot;Stylus&amp;quot;&lt;br /&gt;
    Driver      &amp;quot;wacom&amp;quot;&lt;br /&gt;
    Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/ttyS0&amp;quot;&lt;br /&gt;
    Option      &amp;quot;Type&amp;quot; &amp;quot;stylus&amp;quot;&lt;br /&gt;
    Option      &amp;quot;ForceDevice&amp;quot; &amp;quot;ISDV4&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
    Identifier  &amp;quot;Eraser&amp;quot;&lt;br /&gt;
    Driver      &amp;quot;wacom&amp;quot;&lt;br /&gt;
    Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/ttyS0&amp;quot;&lt;br /&gt;
    Option      &amp;quot;Type&amp;quot; &amp;quot;eraser&amp;quot;&lt;br /&gt;
    Option      &amp;quot;ForceDevice&amp;quot; &amp;quot;ISDV4&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
And the following three lines in the end of the ServerLayout section:&lt;br /&gt;
 InputDevice    &amp;quot;Cursor&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 InputDevice    &amp;quot;Stylus&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 InputDevice    &amp;quot;Eraser&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Xournal ===&lt;br /&gt;
The ebuild in [http://bugs.gentoo.org/show_bug.cgi?id=143177 Bug 143177] works fine for verion 0.4.1&lt;br /&gt;
&lt;br /&gt;
== Touch Screen ==&lt;br /&gt;
&lt;br /&gt;
It works for me from the box. I just unexpectedly discovered that it works. However in the &amp;quot;left&amp;quot; and &amp;quot;right&amp;quot; rotations of the screen the pointer appears approximately 3cm from the touch point. I do not know how to solve this.&lt;br /&gt;
&lt;br /&gt;
However it causes a lot of problem so I prepared a sollution (see the reply to attention above: [http://www.thinkwiki.org/wiki/installing_Gentoo_on_a_ThinkPad_X60_Tablet#Pen]).&lt;br /&gt;
&lt;br /&gt;
== Trackpoint ==&lt;br /&gt;
Works.&lt;br /&gt;
&lt;br /&gt;
== Fingerprint Reader ==&lt;br /&gt;
This actually is surprisingly easy to make work:) Just emerge thinkfinger &amp;gt;= 0.3;&lt;br /&gt;
 echo &amp;quot;sys-auth/thinkfinger&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
 emerge thinkfinger&lt;br /&gt;
and add the following line in {{path|/etc/pam.d/system-auth}}:&lt;br /&gt;
 auth       sufficient   pam_thinkfinger.so&lt;br /&gt;
&lt;br /&gt;
The first section in the file should now look like the following:&lt;br /&gt;
 auth       required     pam_env.so&lt;br /&gt;
 auth       sufficient   pam_thinkfinger.so&lt;br /&gt;
 auth       sufficient   pam_unix.so try_first_pass likeauth nullok&lt;br /&gt;
&lt;br /&gt;
All left is to read your fingerprint for your user. Run tf-tool --add-user &amp;lt;login&amp;gt;, then reboot and see if it works.&lt;br /&gt;
If using gdm, it should work smoothly.&lt;br /&gt;
&lt;br /&gt;
==Thinkpad buttons==&lt;br /&gt;
You can enable them in the kernel either built-in or as a module:&lt;br /&gt;
&lt;br /&gt;
 Location:                                                             │&lt;br /&gt;
   -&amp;gt; Device Drivers                                                   │&lt;br /&gt;
     -&amp;gt; Character devices&lt;br /&gt;
      &amp;lt;M&amp;gt; /dev/nvram support&lt;br /&gt;
&lt;br /&gt;
In case you chose the module you will need to autoload it since it is not loaded by the udev:&lt;br /&gt;
  echo nvram &amp;gt;&amp;gt; /etc/modules.autoload.d/kernel-2.6&lt;br /&gt;
&lt;br /&gt;
By default the /dev/nvram device is configured for root only access. In order to change it permanentely add the corresponding rule to udev. For example I did:&lt;br /&gt;
  echo &amp;quot;KERNEL==\&amp;quot;nvram\&amp;quot;, GROUP=\&amp;quot;users\&amp;quot;&amp;quot; &amp;gt;&amp;gt; /etc/udev/rules.d/50-local.rules&lt;br /&gt;
&lt;br /&gt;
After that you can either configure them using app-laptop/tpb or KDE user can relay on the KMilo application configurable in the &lt;br /&gt;
 &amp;quot;Control Center -&amp;gt; System Administration -&amp;gt; IBM Thinkpad Laptop&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
= Network =&lt;br /&gt;
== Ethernet ==&lt;br /&gt;
In the kernel configuration:&lt;br /&gt;
 Device Drivers  ---&amp;gt;&lt;br /&gt;
  Network device support  ---&amp;gt;&lt;br /&gt;
   Ethernet (1000 Mbit)  ---&amp;gt;&lt;br /&gt;
    &amp;lt;*&amp;gt; Intel(R) PRO/1000 Gigabit Ethernet support&lt;br /&gt;
&lt;br /&gt;
Configure the ethernet card in {{path|/etc/conf.d/net}}:&lt;br /&gt;
 config_eth0=&amp;quot;dhcp&amp;quot;&lt;br /&gt;
 eth0_dhcpcd=&amp;quot;-t 4&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Wireless ==&lt;br /&gt;
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!)&lt;br /&gt;
&lt;br /&gt;
In the kernel configuration:&lt;br /&gt;
 Device Drivers  ---&amp;gt;&lt;br /&gt;
  Network device support  ---&amp;gt;&lt;br /&gt;
   Wireless LAN (non-hamradio)  ---&amp;gt;&lt;br /&gt;
    [*] Wireless LAN drivers (non-hamradio) &amp;amp; Wireless Extensions&lt;br /&gt;
 Networking  ---&amp;gt;&lt;br /&gt;
  &amp;lt;*&amp;gt; Generic IEEE 802.11 Networking Stack&lt;br /&gt;
   &amp;lt;M&amp;gt; IEEE 802.11i CCMP support&lt;br /&gt;
   &amp;lt;M&amp;gt; IEEE 802.11i TKIP encryption&lt;br /&gt;
&lt;br /&gt;
Now, emerge ipw3945, wireless-tools &amp;gt; 22 and wpa_supplicant, and add ipw3945d to the default runlevel by issuing:&lt;br /&gt;
 echo &amp;quot;net-wireless/wireless-tools&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
 emerge ipw3945 wireless-tools wpa_supplicant&lt;br /&gt;
 rc-update add ipw3945d default&lt;br /&gt;
 /etc/init.d/ipw3945d start&lt;br /&gt;
&lt;br /&gt;
Configure the wireless card in {{path|/etc/conf.d/net}}:&lt;br /&gt;
 config_eth1=&amp;quot;dhcp&amp;quot;&lt;br /&gt;
 eth1_dhcpcd=&amp;quot;-t 4&amp;quot;&lt;br /&gt;
 eth1_modules=&amp;quot;wpa_supplicant&amp;quot;&lt;br /&gt;
 wpa_supplicant_eth1=&amp;quot;-Dwext&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you are a kismet user it should be configured as follows in {{path|/etc/kismet.conf}}:&lt;br /&gt;
 suiduser=&amp;lt;login&amp;gt;&lt;br /&gt;
 source=ipw3945,eth1,ipw3945&lt;br /&gt;
&lt;br /&gt;
== VPN ==&lt;br /&gt;
To come...&lt;br /&gt;
&lt;br /&gt;
== Bluetooth ==&lt;br /&gt;
In the kernel configuration:&lt;br /&gt;
 Networking  ---&amp;gt;&lt;br /&gt;
  &amp;lt;*&amp;gt; Bluetooth subsystem support  ---&amp;gt;&lt;br /&gt;
   &amp;lt;*&amp;gt; L2CAP protocol support&lt;br /&gt;
   &amp;lt;*&amp;gt; RFCOMM protocol support&lt;br /&gt;
    [*] RFCOMM TTY support&lt;br /&gt;
       Bluetooth device drivers  ---&amp;gt;&lt;br /&gt;
        &amp;lt;*&amp;gt; HCI USB driver&lt;br /&gt;
&lt;br /&gt;
Now emerge bluez-utils;&lt;br /&gt;
 emerge bluez-utils&lt;br /&gt;
and configure your display name in the device section in {{path|/etc/bluetooth/hcid.conf}}:&lt;br /&gt;
 name &amp;quot;Your Displayname&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now we are ready to start&lt;br /&gt;
 rc-update add bluetooth default&lt;br /&gt;
 /etc/init.d/bluetooth start&lt;br /&gt;
&lt;br /&gt;
= External Connections =&lt;br /&gt;
&lt;br /&gt;
= ACPI =&lt;br /&gt;
Just emerge the acpi daemon:&lt;br /&gt;
 emerge acpid&lt;br /&gt;
 rc-update add acpid default&lt;br /&gt;
 /etc/init.d/acpid start&lt;br /&gt;
&lt;br /&gt;
= Extra Features =&lt;br /&gt;
&lt;br /&gt;
= History =&lt;br /&gt;
5. July - Initial release.&lt;br /&gt;
&lt;br /&gt;
24. July - Added Gentoo General, Sound, Some kernel configuration for the 2.6.21 kernel and new keycodes.&lt;br /&gt;
&lt;br /&gt;
2. September - All sections are has been polished, and should work properly. Only the last ones are missing.&lt;br /&gt;
&lt;br /&gt;
= External Sources =&lt;br /&gt;
A) [http://luke.no-ip.org/x60tablet/ Linux on the X60 Tablet]&lt;br /&gt;
&lt;br /&gt;
B) [http://www.comptechdoc.org/os/linux/howlinuxworks/linux_hlkeycodes.html] Keycode Table&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Gentoo]]&lt;/div&gt;</summary>
		<author><name>Duwamish</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=34318</id>
		<title>Installing Gentoo on a ThinkPad X60 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=34318"/>
		<updated>2007-11-04T19:12:41Z</updated>

		<summary type="html">&lt;p&gt;Duwamish: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Gentoo General =&lt;br /&gt;
When installing gentoo make shure to use the suspend2-sources instead of the gentoo-sources,&lt;br /&gt;
and that the USE flags are set correctly.&lt;br /&gt;
In {{path|/etc/make.conf}}:&lt;br /&gt;
 VIDEO_CARDS=&amp;quot;i810 vesa&amp;quot;&lt;br /&gt;
 INPUT_DEVICES=&amp;quot;keyboard mouse wacom&amp;quot;&lt;br /&gt;
 # X60&lt;br /&gt;
 USE=&amp;quot;$USE acpi fbsplash hdaps&amp;quot;&lt;br /&gt;
Now you can emerge the suspend2-sources, which will enable the nice splash when booting the machine.&lt;br /&gt;
 emerge suspend2-sources&lt;br /&gt;
&lt;br /&gt;
'''Note:''' In my case =suspend2-sources-2.6.22-r2 broke the serial ports so that the pen becames unusable (setserial did not work, even could not get the information). So I am continuing with =suspend2-sources-2.6.21-r7 or gentoo-sources-2.6.22 (did not try 2.6.23).&lt;br /&gt;
&lt;br /&gt;
Some general apps are needed, these are installed:&lt;br /&gt;
 emerge thinkpad&lt;br /&gt;
 echo &amp;quot;thinkpad&amp;quot; &amp;gt;&amp;gt; /etc/modules.autoload.d/kernel-2.6&lt;br /&gt;
&lt;br /&gt;
TODO:&lt;br /&gt;
 echo &amp;quot;app-laptop/hdapsd&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
 emerge hdapsd app-laptop/tp_smapi&lt;br /&gt;
 rc-update add hdapsd default&lt;br /&gt;
 /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
= Sound =&lt;br /&gt;
NOTE: If you get an hda_intel probe error on boot, you have to enable modem support in bios (don't ask why!).&lt;br /&gt;
&lt;br /&gt;
In the kernel configuration:&lt;br /&gt;
 Device Drivers  ---&amp;gt;&lt;br /&gt;
  Sound  ---&amp;gt;&lt;br /&gt;
   Advanced Linux Sound Architecture  ---&amp;gt;&lt;br /&gt;
    PCI devices  ---&amp;gt;&lt;br /&gt;
     &amp;lt;*&amp;gt; Intel HD Audio&lt;br /&gt;
Now emerge alsa-utils and add alsasound to the default runlevel:&lt;br /&gt;
 emerge -av alsa-utils&lt;br /&gt;
 rc-update add alsasound default&lt;br /&gt;
 /etc/init.d/alsasound start&lt;br /&gt;
Unmute the sound using alsamixer by pressing the m key on the Master and PCM sliders (MM=Muted / 00=Not muted)&lt;br /&gt;
&lt;br /&gt;
= Display =&lt;br /&gt;
In the kernel configuration:&lt;br /&gt;
 Device Drivers  ---&amp;gt;&lt;br /&gt;
  Character devices  ---&amp;gt;&lt;br /&gt;
   &amp;lt;*&amp;gt; Direct Rendering Manager&lt;br /&gt;
    &amp;lt;*&amp;gt; Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver)  ---&amp;gt;&lt;br /&gt;
Now run xorgcfg which should start smoothly. Do your personal changes (none), and save the files to their default location.&lt;br /&gt;
Edit {{path|/etc/X11/xorg.conf}} and add the following lines:&lt;br /&gt;
 Section &amp;quot;dri&amp;quot;&lt;br /&gt;
    Mode 0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Now for the rotation to work, we need to emerge some stuff, and make some editing.&lt;br /&gt;
First, emerge some apps (note: wee need linuxwacom &amp;gt;= 0.7.8)&lt;br /&gt;
 echo &amp;quot;x11-drivers/linuxwacom&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
 emerge linuxwacom sudo xhost xrandr&lt;br /&gt;
&lt;br /&gt;
Get the rotate script from ref. A, and make some adjustments:&lt;br /&gt;
 cd /usr/local/bin&lt;br /&gt;
 wget http://luke.no-ip.org/x60tablet/examples/rotate&lt;br /&gt;
 chmod +x rotate&lt;br /&gt;
 sed &amp;quot;s/cursor/Cursor/&amp;quot; -i rotate&lt;br /&gt;
 sed &amp;quot;s/stylus/Stylus/&amp;quot; -i rotate&lt;br /&gt;
 sed &amp;quot;s/eraser/Eraser/&amp;quot; -i rotate&lt;br /&gt;
 sed 's/&amp;quot;%s set %s Rotate %s&amp;quot;/&amp;quot;sudo su -c \\&amp;quot;DISPLAY=:0.0 %s set %s Rotate %s\\&amp;quot;&amp;quot;/' -i rotate&lt;br /&gt;
 sed &amp;quot;s/'normal': 'NONE', 'left': 'CCW', 'right': 'CW', 'inverted': 'HALF'/'normal': '0', 'left': '2', 'right': '1', 'inverted': '3'/&amp;quot; -i rotate&lt;br /&gt;
&lt;br /&gt;
Put yourself into the wheel group, and setup sudo to make you run xsetwacom without password.&lt;br /&gt;
&lt;br /&gt;
{{HINT|For the compiz-fusion to work you will need to start it like this:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;LIBGL_ALWAYS_INDIRECT=true compiz-fusion --replace --indirect-rendering ccp&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
TODO: xhost +&lt;br /&gt;
&lt;br /&gt;
= Input =&lt;br /&gt;
== Pen ==&lt;br /&gt;
In the kernel configuration:&lt;br /&gt;
 Device Drivers  ---&amp;gt;&lt;br /&gt;
  Input device support  ---&amp;gt;&lt;br /&gt;
   &amp;lt;*&amp;gt; Event interface&lt;br /&gt;
   [*] Miscellaneous devices  ---&amp;gt;&lt;br /&gt;
    &amp;lt;*&amp;gt; User level driver support&lt;br /&gt;
  USB support  ---&amp;gt;&lt;br /&gt;
   &amp;lt;M&amp;gt; Wacom Intuos/Graphire tablet support&lt;br /&gt;
&lt;br /&gt;
Emerge setserial;&lt;br /&gt;
 emerge setserial&lt;br /&gt;
and add the following (magic) line to {{path|/etc/conf.d/local.start}}:&lt;br /&gt;
 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
If you get 'Cannot set serial info: Invalid argument' your kernel may have slightly broken serial support (suspend2-sources-2.6.22-r2, gentoo-sources-2.6.22-r5), this is fixed in gentoo-sources-2.6.22-r9.&lt;br /&gt;
&lt;br /&gt;
{{WARN|Xorg 7.3 works with current linuxwacom (0.7.8-3, 0.7.9-1), but in a strange way. Keep Xorg 7.2 unless you are going to use your pen only as mouse and only in the normal rotation.}}&lt;br /&gt;
'''Re to ATTENTION!''' I reply to myself. In the linuxwacom 0.7.8 branch they added the support for the multitouch feature. However this &amp;quot;feature&amp;quot; makes the usage of pen almost impossible (see [http://sourceforge.net/forum/forum.php?thread_id=1777969&amp;amp;forum_id=236872 this forum]). I prepared a patch which removes this feature and wrote an ebuild which can apply this patch: [https://bugs.gentoo.org/show_bug.cgi?id=147537 Bugzilla Bug 147537]. However still I have small problems in Xorg 7.3: [http://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=1823908&amp;amp;group_id=69596&amp;amp;atid=525124 bug 1823908]&lt;br /&gt;
&lt;br /&gt;
Now add the following lines to your xorgcfg generated {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
    Identifier  &amp;quot;Cursor&amp;quot;&lt;br /&gt;
    Driver      &amp;quot;wacom&amp;quot;&lt;br /&gt;
    Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/ttyS0&amp;quot;&lt;br /&gt;
    Option      &amp;quot;Type&amp;quot; &amp;quot;cursor&amp;quot;&lt;br /&gt;
    Option      &amp;quot;ForceDevice&amp;quot; &amp;quot;ISDV4&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
    Identifier  &amp;quot;Stylus&amp;quot;&lt;br /&gt;
    Driver      &amp;quot;wacom&amp;quot;&lt;br /&gt;
    Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/ttyS0&amp;quot;&lt;br /&gt;
    Option      &amp;quot;Type&amp;quot; &amp;quot;stylus&amp;quot;&lt;br /&gt;
    Option      &amp;quot;ForceDevice&amp;quot; &amp;quot;ISDV4&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
    Identifier  &amp;quot;Eraser&amp;quot;&lt;br /&gt;
    Driver      &amp;quot;wacom&amp;quot;&lt;br /&gt;
    Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/ttyS0&amp;quot;&lt;br /&gt;
    Option      &amp;quot;Type&amp;quot; &amp;quot;eraser&amp;quot;&lt;br /&gt;
    Option      &amp;quot;ForceDevice&amp;quot; &amp;quot;ISDV4&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
And the following three lines in the end of the ServerLayout section:&lt;br /&gt;
 InputDevice    &amp;quot;Cursor&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 InputDevice    &amp;quot;Stylus&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 InputDevice    &amp;quot;Eraser&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Xournal ===&lt;br /&gt;
The ebuild in [http://bugs.gentoo.org/show_bug.cgi?id=143177 Bug 143177] works fine for verion 0.4.1&lt;br /&gt;
&lt;br /&gt;
== Touch Screen ==&lt;br /&gt;
&lt;br /&gt;
It works for me from the box. I just unexpectedly discovered that it works. However in the &amp;quot;left&amp;quot; and &amp;quot;right&amp;quot; rotations of the screen the pointer appears approximately 3cm from the touch point. I do not know how to solve this.&lt;br /&gt;
&lt;br /&gt;
However it causes a lot of problem so I prepared a sollution (see the reply to attention above: [http://www.thinkwiki.org/wiki/installing_Gentoo_on_a_ThinkPad_X60_Tablet#Pen]).&lt;br /&gt;
&lt;br /&gt;
== Trackpoint ==&lt;br /&gt;
Works.&lt;br /&gt;
&lt;br /&gt;
== Fingerprint Reader ==&lt;br /&gt;
This actually is surprisingly easy to make work:) Just emerge thinkfinger &amp;gt;= 0.3;&lt;br /&gt;
 echo &amp;quot;sys-auth/thinkfinger&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
 emerge thinkfinger&lt;br /&gt;
and add the following line in {{path|/etc/pam.d/system-auth}}:&lt;br /&gt;
 auth       sufficient   pam_thinkfinger.so&lt;br /&gt;
&lt;br /&gt;
The first section in the file should now look like the following:&lt;br /&gt;
 auth       required     pam_env.so&lt;br /&gt;
 auth       sufficient   pam_thinkfinger.so&lt;br /&gt;
 auth       sufficient   pam_unix.so try_first_pass likeauth nullok&lt;br /&gt;
&lt;br /&gt;
All left is to read your fingerprint for your user. Run tf-tool --add-user &amp;lt;login&amp;gt;, then reboot and see if it works.&lt;br /&gt;
If using gdm, it should work smoothly.&lt;br /&gt;
&lt;br /&gt;
==Thinkpad buttons==&lt;br /&gt;
You can enable them in the kernel either built-in or as a module:&lt;br /&gt;
&lt;br /&gt;
 Location:                                                             │&lt;br /&gt;
   -&amp;gt; Device Drivers                                                   │&lt;br /&gt;
     -&amp;gt; Character devices&lt;br /&gt;
      &amp;lt;M&amp;gt; /dev/nvram support&lt;br /&gt;
&lt;br /&gt;
In case you chose the module you will need to autoload it since it is not loaded by the udev:&lt;br /&gt;
  echo nvram &amp;gt;&amp;gt; /etc/modules.autoload.d/kernel-2.6&lt;br /&gt;
&lt;br /&gt;
By default the /dev/nvram device is configured for root only access. In order to change it permanentely add the corresponding rule to udev. For example I did:&lt;br /&gt;
  echo &amp;quot;KERNEL==\&amp;quot;nvram\&amp;quot;, GROUP=\&amp;quot;users\&amp;quot;&amp;quot; &amp;gt;&amp;gt; /etc/udev/rules.d/50-local.rules&lt;br /&gt;
&lt;br /&gt;
After that you can either configure them using app-laptop/tpb or KDE user can relay on the KMilo application configurable in the &lt;br /&gt;
 &amp;quot;Control Center -&amp;gt; System Administration -&amp;gt; IBM Thinkpad Laptop&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
= Network =&lt;br /&gt;
== Ethernet ==&lt;br /&gt;
In the kernel configuration:&lt;br /&gt;
 Device Drivers  ---&amp;gt;&lt;br /&gt;
  Network device support  ---&amp;gt;&lt;br /&gt;
   Ethernet (1000 Mbit)  ---&amp;gt;&lt;br /&gt;
    &amp;lt;*&amp;gt; Intel(R) PRO/1000 Gigabit Ethernet support&lt;br /&gt;
&lt;br /&gt;
Configure the ethernet card in {{path|/etc/conf.d/net}}:&lt;br /&gt;
 config_eth0=&amp;quot;dhcp&amp;quot;&lt;br /&gt;
 eth0_dhcpcd=&amp;quot;-t 4&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Wireless ==&lt;br /&gt;
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!)&lt;br /&gt;
&lt;br /&gt;
In the kernel configuration:&lt;br /&gt;
 Device Drivers  ---&amp;gt;&lt;br /&gt;
  Network device support  ---&amp;gt;&lt;br /&gt;
   Wireless LAN (non-hamradio)  ---&amp;gt;&lt;br /&gt;
    [*] Wireless LAN drivers (non-hamradio) &amp;amp; Wireless Extensions&lt;br /&gt;
 Networking  ---&amp;gt;&lt;br /&gt;
  &amp;lt;*&amp;gt; Generic IEEE 802.11 Networking Stack&lt;br /&gt;
   &amp;lt;M&amp;gt; IEEE 802.11i CCMP support&lt;br /&gt;
   &amp;lt;M&amp;gt; IEEE 802.11i TKIP encryption&lt;br /&gt;
&lt;br /&gt;
Now, emerge ipw3945, wireless-tools &amp;gt; 22 and wpa_supplicant, and add ipw3945d to the default runlevel by issuing:&lt;br /&gt;
 echo &amp;quot;net-wireless/wireless-tools&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
 emerge ipw3945 wireless-tools wpa_supplicant&lt;br /&gt;
 rc-update add ipw3945d default&lt;br /&gt;
 /etc/init.d/ipw3945d start&lt;br /&gt;
&lt;br /&gt;
Configure the wireless card in {{path|/etc/conf.d/net}}:&lt;br /&gt;
 config_eth1=&amp;quot;dhcp&amp;quot;&lt;br /&gt;
 eth1_dhcpcd=&amp;quot;-t 4&amp;quot;&lt;br /&gt;
 eth1_modules=&amp;quot;wpa_supplicant&amp;quot;&lt;br /&gt;
 wpa_supplicant_eth1=&amp;quot;-Dwext&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you are a kismet user it should be configured as follows in {{path|/etc/kismet.conf}}:&lt;br /&gt;
 suiduser=&amp;lt;login&amp;gt;&lt;br /&gt;
 source=ipw3945,eth1,ipw3945&lt;br /&gt;
&lt;br /&gt;
== VPN ==&lt;br /&gt;
To come...&lt;br /&gt;
&lt;br /&gt;
== Bluetooth ==&lt;br /&gt;
In the kernel configuration:&lt;br /&gt;
 Networking  ---&amp;gt;&lt;br /&gt;
  &amp;lt;*&amp;gt; Bluetooth subsystem support  ---&amp;gt;&lt;br /&gt;
   &amp;lt;*&amp;gt; L2CAP protocol support&lt;br /&gt;
   &amp;lt;*&amp;gt; RFCOMM protocol support&lt;br /&gt;
    [*] RFCOMM TTY support&lt;br /&gt;
       Bluetooth device drivers  ---&amp;gt;&lt;br /&gt;
        &amp;lt;*&amp;gt; HCI USB driver&lt;br /&gt;
&lt;br /&gt;
Now emerge bluez-utils;&lt;br /&gt;
 emerge bluez-utils&lt;br /&gt;
and configure your display name in the device section in {{path|/etc/bluetooth/hcid.conf}}:&lt;br /&gt;
 name &amp;quot;Your Displayname&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now we are ready to start&lt;br /&gt;
 rc-update add bluetooth default&lt;br /&gt;
 /etc/init.d/bluetooth start&lt;br /&gt;
&lt;br /&gt;
= External Connections =&lt;br /&gt;
&lt;br /&gt;
= ACPI =&lt;br /&gt;
Just emerge the acpi daemon:&lt;br /&gt;
 emerge acpid&lt;br /&gt;
 rc-update add acpid default&lt;br /&gt;
 /etc/init.d/acpid start&lt;br /&gt;
&lt;br /&gt;
= Extra Features =&lt;br /&gt;
&lt;br /&gt;
= History =&lt;br /&gt;
5. July - Initial release.&lt;br /&gt;
&lt;br /&gt;
24. July - Added Gentoo General, Sound, Some kernel configuration for the 2.6.21 kernel and new keycodes.&lt;br /&gt;
&lt;br /&gt;
2. September - All sections are has been polished, and should work properly. Only the last ones are missing.&lt;br /&gt;
&lt;br /&gt;
= External Sources =&lt;br /&gt;
A) [http://luke.no-ip.org/x60tablet/ Linux on the X60 Tablet]&lt;br /&gt;
&lt;br /&gt;
B) [http://www.comptechdoc.org/os/linux/howlinuxworks/linux_hlkeycodes.html] Keycode Table&lt;/div&gt;</summary>
		<author><name>Duwamish</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=34313</id>
		<title>Installing Gentoo on a ThinkPad X60 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=34313"/>
		<updated>2007-11-04T18:05:19Z</updated>

		<summary type="html">&lt;p&gt;Duwamish: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Gentoo General =&lt;br /&gt;
When installing gentoo make shure to use the suspend2-sources instead of the gentoo-sources,&lt;br /&gt;
and that the USE flags are set correctly.&lt;br /&gt;
In {{path|/etc/make.conf}}:&lt;br /&gt;
 VIDEO_CARDS=&amp;quot;i810 vesa&amp;quot;&lt;br /&gt;
 INPUT_DEVICES=&amp;quot;keyboard mouse wacom&amp;quot;&lt;br /&gt;
 # X60&lt;br /&gt;
 USE=&amp;quot;$USE acpi fbsplash hdaps&amp;quot;&lt;br /&gt;
Now you can emerge the suspend2-sources, which will enable the nice splash when booting the machine.&lt;br /&gt;
 emerge suspend2-sources&lt;br /&gt;
&lt;br /&gt;
'''Note:''' In my case =suspend2-sources-2.6.22-r2 broke the serial ports so that the pen becames unusable (setserial did not work, even could not get the information). So I am continuing with =suspend2-sources-2.6.21-r7 or gentoo-sources-2.6.22 (did not try 2.6.23).&lt;br /&gt;
&lt;br /&gt;
Some general apps are needed, these are installed:&lt;br /&gt;
 emerge thinkpad&lt;br /&gt;
 echo &amp;quot;thinkpad&amp;quot; &amp;gt;&amp;gt; /etc/modules.autoload.d/kernel-2.6&lt;br /&gt;
&lt;br /&gt;
TODO:&lt;br /&gt;
 echo &amp;quot;app-laptop/hdapsd&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
 emerge hdapsd app-laptop/tp_smapi&lt;br /&gt;
 rc-update add hdapsd default&lt;br /&gt;
 /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
= Sound =&lt;br /&gt;
NOTE: If you get an hda_intel probe error on boot, you have to enable modem support in bios (don't ask why!).&lt;br /&gt;
&lt;br /&gt;
In the kernel configuration:&lt;br /&gt;
 Device Drivers  ---&amp;gt;&lt;br /&gt;
  Sound  ---&amp;gt;&lt;br /&gt;
   Advanced Linux Sound Architecture  ---&amp;gt;&lt;br /&gt;
    PCI devices  ---&amp;gt;&lt;br /&gt;
     &amp;lt;*&amp;gt; Intel HD Audio&lt;br /&gt;
Now emerge alsa-utils and add alsasound to the default runlevel:&lt;br /&gt;
 emerge -av alsa-utils&lt;br /&gt;
 rc-update add alsasound default&lt;br /&gt;
 /etc/init.d/alsasound start&lt;br /&gt;
Unmute the sound using alsamixer by pressing the m key on the Master and PCM sliders (MM=Muted / 00=Not muted)&lt;br /&gt;
&lt;br /&gt;
= Display =&lt;br /&gt;
In the kernel configuration:&lt;br /&gt;
 Device Drivers  ---&amp;gt;&lt;br /&gt;
  Character devices  ---&amp;gt;&lt;br /&gt;
   &amp;lt;*&amp;gt; Direct Rendering Manager&lt;br /&gt;
    &amp;lt;*&amp;gt; Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver)  ---&amp;gt;&lt;br /&gt;
Now run xorgcfg which should start smoothly. Do your personal changes (none), and save the files to their default location.&lt;br /&gt;
Edit {{path|/etc/X11/xorg.conf}} and add the following lines:&lt;br /&gt;
 Section &amp;quot;dri&amp;quot;&lt;br /&gt;
    Mode 0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Now for the rotation to work, we need to emerge some stuff, and make some editing.&lt;br /&gt;
First, emerge some apps (note: wee need linuxwacom &amp;gt;= 0.7.8)&lt;br /&gt;
 echo &amp;quot;x11-drivers/linuxwacom&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
 emerge linuxwacom sudo xhost xrandr&lt;br /&gt;
&lt;br /&gt;
Get the rotate script from ref. A, and make some adjustments:&lt;br /&gt;
 cd /usr/local/bin&lt;br /&gt;
 wget http://luke.no-ip.org/x60tablet/examples/rotate&lt;br /&gt;
 chmod +x rotate&lt;br /&gt;
 sed &amp;quot;s/cursor/Cursor/&amp;quot; -i rotate&lt;br /&gt;
 sed &amp;quot;s/stylus/Stylus/&amp;quot; -i rotate&lt;br /&gt;
 sed &amp;quot;s/eraser/Eraser/&amp;quot; -i rotate&lt;br /&gt;
 sed 's/&amp;quot;%s set %s Rotate %s&amp;quot;/&amp;quot;sudo su -c \\&amp;quot;DISPLAY=:0.0 %s set %s Rotate %s\\&amp;quot;&amp;quot;/' -i rotate&lt;br /&gt;
 sed &amp;quot;s/'normal': 'NONE', 'left': 'CCW', 'right': 'CW', 'inverted': 'HALF'/'normal': '0', 'left': '2', 'right': '1', 'inverted': '3'/&amp;quot; -i rotate&lt;br /&gt;
&lt;br /&gt;
Put yourself into the wheel group, and setup sudo to make you run xsetwacom without password.&lt;br /&gt;
&lt;br /&gt;
{{HINT|For the compiz-fusion to work you will need to start it like this:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;LIBGL_ALWAYS_INDIRECT=true compiz-fusion --replace --indirect-rendering ccp&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
TODO: xhost +&lt;br /&gt;
&lt;br /&gt;
= Input =&lt;br /&gt;
== Pen ==&lt;br /&gt;
In the kernel configuration:&lt;br /&gt;
 Device Drivers  ---&amp;gt;&lt;br /&gt;
  Input device support  ---&amp;gt;&lt;br /&gt;
   &amp;lt;*&amp;gt; Event interface&lt;br /&gt;
   [*] Miscellaneous devices  ---&amp;gt;&lt;br /&gt;
    &amp;lt;*&amp;gt; User level driver support&lt;br /&gt;
  USB support  ---&amp;gt;&lt;br /&gt;
   &amp;lt;M&amp;gt; Wacom Intuos/Graphire tablet support&lt;br /&gt;
&lt;br /&gt;
Emerge setserial;&lt;br /&gt;
 emerge setserial&lt;br /&gt;
and add the following (magic) line to {{path|/etc/conf.d/local.start}}:&lt;br /&gt;
 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
If you get 'Cannot set serial info: Invalid argument' your kernel may have slightly broken serial support (suspend2-sources-2.6.22-r2, gentoo-sources-2.6.22-r5), this is fixed in gentoo-sources-2.6.22-r9.&lt;br /&gt;
&lt;br /&gt;
{{WARN|Xorg 7.3 works with current linuxwacom (0.7.8-3, 0.7.9-1), but in a strange way. Keep Xorg 7.2 unless you are going to use your pen only as mouse and only in the normal rotation.}}&lt;br /&gt;
'''Re to ATTENTION!''' I reply to myself. In the linuxwacom 0.7.8 branch they added the support for the multitouch feature. However this &amp;quot;feature&amp;quot; makes the usage of pen almost impossible (see [http://sourceforge.net/forum/forum.php?thread_id=1777969&amp;amp;forum_id=236872 this forum]). I prepared a patch which removes this feature and wrote an ebuild which can apply this patch: [https://bugs.gentoo.org/show_bug.cgi?id=147537 Bugzilla Bug 147537]. However still I have small problems in Xorg 7.3: [http://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=1823908&amp;amp;group_id=69596&amp;amp;atid=525124 bug 1823908]&lt;br /&gt;
&lt;br /&gt;
Now add the following lines to your xorgcfg generated {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
    Identifier  &amp;quot;Cursor&amp;quot;&lt;br /&gt;
    Driver      &amp;quot;wacom&amp;quot;&lt;br /&gt;
    Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/ttyS0&amp;quot;&lt;br /&gt;
    Option      &amp;quot;Type&amp;quot; &amp;quot;cursor&amp;quot;&lt;br /&gt;
    Option      &amp;quot;ForceDevice&amp;quot; &amp;quot;ISDV4&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
    Identifier  &amp;quot;Stylus&amp;quot;&lt;br /&gt;
    Driver      &amp;quot;wacom&amp;quot;&lt;br /&gt;
    Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/ttyS0&amp;quot;&lt;br /&gt;
    Option      &amp;quot;Type&amp;quot; &amp;quot;stylus&amp;quot;&lt;br /&gt;
    Option      &amp;quot;ForceDevice&amp;quot; &amp;quot;ISDV4&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
    Identifier  &amp;quot;Eraser&amp;quot;&lt;br /&gt;
    Driver      &amp;quot;wacom&amp;quot;&lt;br /&gt;
    Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/ttyS0&amp;quot;&lt;br /&gt;
    Option      &amp;quot;Type&amp;quot; &amp;quot;eraser&amp;quot;&lt;br /&gt;
    Option      &amp;quot;ForceDevice&amp;quot; &amp;quot;ISDV4&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
And the following three lines in the end of the ServerLayout section:&lt;br /&gt;
 InputDevice    &amp;quot;Cursor&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 InputDevice    &amp;quot;Stylus&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 InputDevice    &amp;quot;Eraser&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
&lt;br /&gt;
TODO: xournal&lt;br /&gt;
&lt;br /&gt;
== Touch Screen ==&lt;br /&gt;
&lt;br /&gt;
It works for me from the box. I just unexpectedly discovered that it works. However in the &amp;quot;left&amp;quot; and &amp;quot;right&amp;quot; rotations of the screen the pointer appears approximately 3cm from the touch point. I do not know how to solve this.&lt;br /&gt;
&lt;br /&gt;
However it causes a lot of problem so I prepared a sollution (see the reply to attention above: [http://www.thinkwiki.org/wiki/installing_Gentoo_on_a_ThinkPad_X60_Tablet#Pen]).&lt;br /&gt;
&lt;br /&gt;
== Trackpoint ==&lt;br /&gt;
Works.&lt;br /&gt;
&lt;br /&gt;
== Fingerprint Reader ==&lt;br /&gt;
This actually is surprisingly easy to make work:) Just emerge thinkfinger &amp;gt;= 0.3;&lt;br /&gt;
 echo &amp;quot;sys-auth/thinkfinger&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
 emerge thinkfinger&lt;br /&gt;
and add the following line in {{path|/etc/pam.d/system-auth}}:&lt;br /&gt;
 auth       sufficient   pam_thinkfinger.so&lt;br /&gt;
&lt;br /&gt;
The first section in the file should now look like the following:&lt;br /&gt;
 auth       required     pam_env.so&lt;br /&gt;
 auth       sufficient   pam_thinkfinger.so&lt;br /&gt;
 auth       sufficient   pam_unix.so try_first_pass likeauth nullok&lt;br /&gt;
&lt;br /&gt;
All left is to read your fingerprint for your user. Run tf-tool --add-user &amp;lt;login&amp;gt;, then reboot and see if it works.&lt;br /&gt;
If using gdm, it should work smoothly.&lt;br /&gt;
&lt;br /&gt;
==Thinkpad buttons==&lt;br /&gt;
You can enable them in the kernel either built-in or as a module:&lt;br /&gt;
&lt;br /&gt;
 Location:                                                             │&lt;br /&gt;
   -&amp;gt; Device Drivers                                                   │&lt;br /&gt;
     -&amp;gt; Character devices&lt;br /&gt;
      &amp;lt;M&amp;gt; /dev/nvram support&lt;br /&gt;
&lt;br /&gt;
In case you chose the module you will need to autoload it since it is not loaded by the udev:&lt;br /&gt;
  echo nvram &amp;gt;&amp;gt; /etc/modules.autoload.d/kernel-2.6&lt;br /&gt;
&lt;br /&gt;
By default the /dev/nvram device is configured for root only access. In order to change it permanentely add the corresponding rule to udev. For example I did:&lt;br /&gt;
  echo &amp;quot;KERNEL==\&amp;quot;nvram\&amp;quot;, GROUP=\&amp;quot;users\&amp;quot;&amp;quot; &amp;gt;&amp;gt; /etc/udev/rules.d/50-local.rules&lt;br /&gt;
&lt;br /&gt;
After that you can either configure them using app-laptop/tpb or KDE user can relay on the KMilo application configurable in the &lt;br /&gt;
 &amp;quot;Control Center -&amp;gt; System Administration -&amp;gt; IBM Thinkpad Laptop&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
= Network =&lt;br /&gt;
== Ethernet ==&lt;br /&gt;
In the kernel configuration:&lt;br /&gt;
 Device Drivers  ---&amp;gt;&lt;br /&gt;
  Network device support  ---&amp;gt;&lt;br /&gt;
   Ethernet (1000 Mbit)  ---&amp;gt;&lt;br /&gt;
    &amp;lt;*&amp;gt; Intel(R) PRO/1000 Gigabit Ethernet support&lt;br /&gt;
&lt;br /&gt;
Configure the ethernet card in {{path|/etc/conf.d/net}}:&lt;br /&gt;
 config_eth0=&amp;quot;dhcp&amp;quot;&lt;br /&gt;
 eth0_dhcpcd=&amp;quot;-t 4&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Wireless ==&lt;br /&gt;
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!)&lt;br /&gt;
&lt;br /&gt;
In the kernel configuration:&lt;br /&gt;
 Device Drivers  ---&amp;gt;&lt;br /&gt;
  Network device support  ---&amp;gt;&lt;br /&gt;
   Wireless LAN (non-hamradio)  ---&amp;gt;&lt;br /&gt;
    [*] Wireless LAN drivers (non-hamradio) &amp;amp; Wireless Extensions&lt;br /&gt;
 Networking  ---&amp;gt;&lt;br /&gt;
  &amp;lt;*&amp;gt; Generic IEEE 802.11 Networking Stack&lt;br /&gt;
   &amp;lt;M&amp;gt; IEEE 802.11i CCMP support&lt;br /&gt;
   &amp;lt;M&amp;gt; IEEE 802.11i TKIP encryption&lt;br /&gt;
&lt;br /&gt;
Now, emerge ipw3945, wireless-tools &amp;gt; 22 and wpa_supplicant, and add ipw3945d to the default runlevel by issuing:&lt;br /&gt;
 echo &amp;quot;net-wireless/wireless-tools&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
 emerge ipw3945 wireless-tools wpa_supplicant&lt;br /&gt;
 rc-update add ipw3945d default&lt;br /&gt;
 /etc/init.d/ipw3945d start&lt;br /&gt;
&lt;br /&gt;
Configure the wireless card in {{path|/etc/conf.d/net}}:&lt;br /&gt;
 config_eth1=&amp;quot;dhcp&amp;quot;&lt;br /&gt;
 eth1_dhcpcd=&amp;quot;-t 4&amp;quot;&lt;br /&gt;
 eth1_modules=&amp;quot;wpa_supplicant&amp;quot;&lt;br /&gt;
 wpa_supplicant_eth1=&amp;quot;-Dwext&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you are a kismet user it should be configured as follows in {{path|/etc/kismet.conf}}:&lt;br /&gt;
 suiduser=&amp;lt;login&amp;gt;&lt;br /&gt;
 source=ipw3945,eth1,ipw3945&lt;br /&gt;
&lt;br /&gt;
== VPN ==&lt;br /&gt;
To come...&lt;br /&gt;
&lt;br /&gt;
== Bluetooth ==&lt;br /&gt;
In the kernel configuration:&lt;br /&gt;
 Networking  ---&amp;gt;&lt;br /&gt;
  &amp;lt;*&amp;gt; Bluetooth subsystem support  ---&amp;gt;&lt;br /&gt;
   &amp;lt;*&amp;gt; L2CAP protocol support&lt;br /&gt;
   &amp;lt;*&amp;gt; RFCOMM protocol support&lt;br /&gt;
    [*] RFCOMM TTY support&lt;br /&gt;
       Bluetooth device drivers  ---&amp;gt;&lt;br /&gt;
        &amp;lt;*&amp;gt; HCI USB driver&lt;br /&gt;
&lt;br /&gt;
Now emerge bluez-utils;&lt;br /&gt;
 emerge bluez-utils&lt;br /&gt;
and configure your display name in the device section in {{path|/etc/bluetooth/hcid.conf}}:&lt;br /&gt;
 name &amp;quot;Your Displayname&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now we are ready to start&lt;br /&gt;
 rc-update add bluetooth default&lt;br /&gt;
 /etc/init.d/bluetooth start&lt;br /&gt;
&lt;br /&gt;
= External Connections =&lt;br /&gt;
&lt;br /&gt;
= ACPI =&lt;br /&gt;
Just emerge the acpi daemon:&lt;br /&gt;
 emerge acpid&lt;br /&gt;
 rc-update add acpid default&lt;br /&gt;
 /etc/init.d/acpid start&lt;br /&gt;
&lt;br /&gt;
= Extra Features =&lt;br /&gt;
&lt;br /&gt;
= History =&lt;br /&gt;
5. July - Initial release.&lt;br /&gt;
&lt;br /&gt;
24. July - Added Gentoo General, Sound, Some kernel configuration for the 2.6.21 kernel and new keycodes.&lt;br /&gt;
&lt;br /&gt;
2. September - All sections are has been polished, and should work properly. Only the last ones are missing.&lt;br /&gt;
&lt;br /&gt;
= External Sources =&lt;br /&gt;
A) [http://luke.no-ip.org/x60tablet/ Linux on the X60 Tablet]&lt;br /&gt;
&lt;br /&gt;
B) [http://www.comptechdoc.org/os/linux/howlinuxworks/linux_hlkeycodes.html] Keycode Table&lt;/div&gt;</summary>
		<author><name>Duwamish</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=34308</id>
		<title>Talk:Installing Gentoo on a ThinkPad X60 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=34308"/>
		<updated>2007-11-04T12:04:58Z</updated>

		<summary type="html">&lt;p&gt;Duwamish: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Good to see others with Gentoo on the X60T.&lt;br /&gt;
&lt;br /&gt;
Re: Pen not working with particular kernels (known to be affected suspend2-sources-2.6.22-r2, gentoo-sources-2.6.22-r5)&lt;br /&gt;
&lt;br /&gt;
For me I got the error: &lt;br /&gt;
 Cannot set serial info: Invalid argument&lt;br /&gt;
this is a bug with the way the kernel handles serial ports, I believe it may be fixed in later 2.6.22 releases but haven't had the opportunity to test yet.&lt;br /&gt;
&lt;br /&gt;
I also have aiglx working lovely also, worked pretty much out the box with a few tweaks on top of the [http://wiki.gentoo-xeffects.org/ Gentoo xeffects wiki] (which I think is slightly out of date in some places)&lt;br /&gt;
&lt;br /&gt;
Does anybody know of any particular power management tips? I have frequency scaling working, but battery life is much reduced than when running windows (plus my thinkpad gets rather warm on the right palm rest, which it doesn't do in windows)&lt;br /&gt;
&lt;br /&gt;
--[[User:Duwamish|Duwamish]] 11:58, 4 November 2007 (UTC)&lt;/div&gt;</summary>
		<author><name>Duwamish</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=34307</id>
		<title>Talk:Installing Gentoo on a ThinkPad X60 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=34307"/>
		<updated>2007-11-04T12:04:21Z</updated>

		<summary type="html">&lt;p&gt;Duwamish: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Good to see others with Gentoo on the X60T.&lt;br /&gt;
&lt;br /&gt;
Re: Pen not working with particular kernels (known to be affected suspend2-sources-2.6.22-r2, gentoo-sources-2.6.22-r5)&lt;br /&gt;
&lt;br /&gt;
For me I got the error: &lt;br /&gt;
 Cannot set serial info: Invalid argument&lt;br /&gt;
this is a bug with the way the kernel handles serial ports, I believe it may be fixed in later 2.6.22 releases but haven't had the opportunity to test yet.&lt;br /&gt;
&lt;br /&gt;
I also have aiglx working lovely also, worked pretty much out the box with a few tweaks on top of the [http://wiki.gentoo-xeffects.org/ Gentoo xeffects wiki] (which I think is slightly out of date in some places)&lt;br /&gt;
&lt;br /&gt;
Does anybody know of any particular power management tips? I have frequency scaling working, but battery life is much reduced than when running windows (plus my thinkpad gets rather warm on the left palm rest, which it doesn't do in windows)&lt;br /&gt;
&lt;br /&gt;
--[[User:Duwamish|Duwamish]] 11:58, 4 November 2007 (UTC)&lt;/div&gt;</summary>
		<author><name>Duwamish</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=34306</id>
		<title>Talk:Installing Gentoo on a ThinkPad X60 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=34306"/>
		<updated>2007-11-04T11:58:18Z</updated>

		<summary type="html">&lt;p&gt;Duwamish: â†Created page with 'Re: Pen not working with particular kernels (known to be affected suspend2-sources-2.6.22-r2, gentoo-sources-2.6.22-r5)  For me I got the error:   Cannot set serial info: ...'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Re: Pen not working with particular kernels (known to be affected suspend2-sources-2.6.22-r2, gentoo-sources-2.6.22-r5)&lt;br /&gt;
&lt;br /&gt;
For me I got the error: &lt;br /&gt;
 Cannot set serial info: Invalid argument&lt;br /&gt;
this is a bug with the way the kernel handles serial ports, I believe it may be fixed in later 2.6.22 releases but haven't had the opportunity to test yet.&lt;br /&gt;
&lt;br /&gt;
--[[User:Duwamish|Duwamish]] 11:58, 4 November 2007 (UTC)&lt;/div&gt;</summary>
		<author><name>Duwamish</name></author>
		
	</entry>
</feed>