<?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=Antonmx</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=Antonmx"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Antonmx"/>
	<updated>2026-04-14T23:32:59Z</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=34246</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=34246"/>
		<updated>2007-11-02T04:52:30Z</updated>

		<summary type="html">&lt;p&gt;Antonmx: /* Display */&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;
{{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>Antonmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=34245</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=34245"/>
		<updated>2007-11-02T04:34:52Z</updated>

		<summary type="html">&lt;p&gt;Antonmx: /* Pen */&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;
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;
{{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>Antonmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=34244</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=34244"/>
		<updated>2007-11-02T04:32:59Z</updated>

		<summary type="html">&lt;p&gt;Antonmx: /* Touch Screen */&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;
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;
{{WARN|Xorg 7.3 works with current version (0.7.8_p3), 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 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>Antonmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=34243</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=34243"/>
		<updated>2007-11-02T04:27:45Z</updated>

		<summary type="html">&lt;p&gt;Antonmx: /* Pen */&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;
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;
{{WARN|Xorg 7.3 works with current version (0.7.8_p3), 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 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;
== 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>Antonmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=34242</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=34242"/>
		<updated>2007-11-02T04:05:51Z</updated>

		<summary type="html">&lt;p&gt;Antonmx: /* Gentoo General */&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;
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;*&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;
&lt;br /&gt;
'''Be warned:''' Xorg 7.3 works with current version (0.7.8_p3), 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;
&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;
== 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>Antonmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=33647</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=33647"/>
		<updated>2007-10-03T08:09:59Z</updated>

		<summary type="html">&lt;p&gt;Antonmx: /* Touch Screen */&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;
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;
&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;
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;*&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;
&lt;br /&gt;
'''Be warned:''' Xorg 7.3 works with current version (0.7.8_p3), 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;
&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;
== 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>Antonmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=33646</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=33646"/>
		<updated>2007-10-03T08:06:35Z</updated>

		<summary type="html">&lt;p&gt;Antonmx: /* Pen */&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;
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;
&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;
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;*&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;
&lt;br /&gt;
'''Be warned:''' Xorg 7.3 works with current version (0.7.8_p3), 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;
&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 with Xorg 7.3 (xserver 1.4) from the box. I just unexpectedly discovered that it works. One of the reasons may be that I deleted all &amp;quot;InputDevice&amp;quot; section from the xorg.conf except the ones for the wacom pen. My ServerLayout looks like this:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Layout&amp;quot;&lt;br /&gt;
        Screen          0       &amp;quot;SCRint&amp;quot; 0 0&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;
        Option          &amp;quot;AIGLX&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
 EndSection&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>Antonmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=33456</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=33456"/>
		<updated>2007-09-27T10:46:07Z</updated>

		<summary type="html">&lt;p&gt;Antonmx: /* Input */&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;
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;
&lt;br /&gt;
&lt;br /&gt;
= Sound =&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/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;
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;*&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;
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 with Xorg 7.3 (xserver 1.4) from the box. I just unexpectedly discovered that it works. One of the reasons may be that I deleted all &amp;quot;InputDevice&amp;quot; section from the xorg.conf except the ones for the wacom pen. My ServerLayout looks like this:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Layout&amp;quot;&lt;br /&gt;
        Screen          0       &amp;quot;SCRint&amp;quot; 0 0&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;
        Option          &amp;quot;AIGLX&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
 EndSection&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;*&amp;gt; IEEE 802.11i CCMP support&lt;br /&gt;
   &amp;lt;*&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;
= 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>Antonmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=33455</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=33455"/>
		<updated>2007-09-27T10:45:42Z</updated>

		<summary type="html">&lt;p&gt;Antonmx: /* Thinkpad buttons */&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;
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;
&lt;br /&gt;
&lt;br /&gt;
= Sound =&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/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;
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;*&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;
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 with Xorg 7.3 (xserver 1.4) from the box. I just unexpectedly discovered that it works. One of the reasons may be that I deleted all &amp;quot;InputDevice&amp;quot; section from the xorg.conf except the ones for the wacom pen. My ServerLayout looks like this:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Layout&amp;quot;&lt;br /&gt;
        Screen          0       &amp;quot;SCRint&amp;quot; 0 0&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;
        Option          &amp;quot;AIGLX&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
 EndSection&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;
&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;*&amp;gt; IEEE 802.11i CCMP support&lt;br /&gt;
   &amp;lt;*&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;
= 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>Antonmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=33454</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=33454"/>
		<updated>2007-09-27T10:44:24Z</updated>

		<summary type="html">&lt;p&gt;Antonmx: /* Input */&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;
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;
&lt;br /&gt;
&lt;br /&gt;
= Sound =&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/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;
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;*&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;
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 with Xorg 7.3 (xserver 1.4) from the box. I just unexpectedly discovered that it works. One of the reasons may be that I deleted all &amp;quot;InputDevice&amp;quot; section from the xorg.conf except the ones for the wacom pen. My ServerLayout looks like this:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Layout&amp;quot;&lt;br /&gt;
        Screen          0       &amp;quot;SCRint&amp;quot; 0 0&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;
        Option          &amp;quot;AIGLX&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
 EndSection&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;*&amp;gt; IEEE 802.11i CCMP support&lt;br /&gt;
   &amp;lt;*&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;
= 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>Antonmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=33453</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=33453"/>
		<updated>2007-09-27T10:44:03Z</updated>

		<summary type="html">&lt;p&gt;Antonmx: /* Thinkpad buttons */&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;
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;
&lt;br /&gt;
&lt;br /&gt;
= Sound =&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/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;
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;*&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;
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 with Xorg 7.3 (xserver 1.4) from the box. I just unexpectedly discovered that it works. One of the reasons may be that I deleted all &amp;quot;InputDevice&amp;quot; section from the xorg.conf except the ones for the wacom pen. My ServerLayout looks like this:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Layout&amp;quot;&lt;br /&gt;
        Screen          0       &amp;quot;SCRint&amp;quot; 0 0&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;
        Option          &amp;quot;AIGLX&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
 EndSection&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;
= 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;*&amp;gt; IEEE 802.11i CCMP support&lt;br /&gt;
   &amp;lt;*&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;
= 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>Antonmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=33452</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=33452"/>
		<updated>2007-09-27T10:43:19Z</updated>

		<summary type="html">&lt;p&gt;Antonmx: /* Gentoo General */&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;
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;
=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;
= Sound =&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/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;
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;*&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;
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 with Xorg 7.3 (xserver 1.4) from the box. I just unexpectedly discovered that it works. One of the reasons may be that I deleted all &amp;quot;InputDevice&amp;quot; section from the xorg.conf except the ones for the wacom pen. My ServerLayout looks like this:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Layout&amp;quot;&lt;br /&gt;
        Screen          0       &amp;quot;SCRint&amp;quot; 0 0&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;
        Option          &amp;quot;AIGLX&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
 EndSection&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;
= 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;*&amp;gt; IEEE 802.11i CCMP support&lt;br /&gt;
   &amp;lt;*&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;
= 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>Antonmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=33430</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=33430"/>
		<updated>2007-09-26T15:15:10Z</updated>

		<summary type="html">&lt;p&gt;Antonmx: /* Touch Screen */&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;
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;
CONFIG_NVRAM&lt;br /&gt;
tpb&lt;br /&gt;
&lt;br /&gt;
= Sound =&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/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;
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;*&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;
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 with Xorg 7.3 (xserver 1.4) from the box. I just unexpectedly discovered that it works. One of the reasons may be that I deleted all &amp;quot;InputDevice&amp;quot; section from the xorg.conf except the ones for the wacom pen. My ServerLayout looks like this:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Layout&amp;quot;&lt;br /&gt;
        Screen          0       &amp;quot;SCRint&amp;quot; 0 0&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;
        Option          &amp;quot;AIGLX&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
 EndSection&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;
= 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;*&amp;gt; IEEE 802.11i CCMP support&lt;br /&gt;
   &amp;lt;*&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;
= 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>Antonmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=33429</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=33429"/>
		<updated>2007-09-26T15:12:15Z</updated>

		<summary type="html">&lt;p&gt;Antonmx: /* Pen */&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;
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;
CONFIG_NVRAM&lt;br /&gt;
tpb&lt;br /&gt;
&lt;br /&gt;
= Sound =&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/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;
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;*&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;
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 with Xorg 7.3 (xserver 1.4) from the box. I just occasioanlly discovered that it works. One of the reasons may be that I deleted all &amp;quot;InputDevice&amp;quot; section from the xorg.conf except the ones for the wacom pen. My ServerLayout looks like this:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Layout&amp;quot;&lt;br /&gt;
        Screen          0       &amp;quot;SCRint&amp;quot; 0 0&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;
        Option          &amp;quot;AIGLX&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
 EndSection&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;
= 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;*&amp;gt; IEEE 802.11i CCMP support&lt;br /&gt;
   &amp;lt;*&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;
= 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>Antonmx</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_X60_Tablet&amp;diff=33428</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=33428"/>
		<updated>2007-09-26T15:10:13Z</updated>

		<summary type="html">&lt;p&gt;Antonmx: /* Touch Screen */&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;
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;
CONFIG_NVRAM&lt;br /&gt;
tpb&lt;br /&gt;
&lt;br /&gt;
= Sound =&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/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;
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;*&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;
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;
It works for me with Xorg 7.3 (xserver 1.4) from the box. I just occasioanlly discovered that it works. One of the reasons may be that I deleted all &amp;quot;InputDevice&amp;quot; section from the xorg.conf except the ones for the wacom pen. My ServerLayout looks like this:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;Default Layout&amp;quot;&lt;br /&gt;
        Screen          0       &amp;quot;SCRint&amp;quot; 0 0&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;
        Option          &amp;quot;AIGLX&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
 EndSection&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;
= 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;*&amp;gt; IEEE 802.11i CCMP support&lt;br /&gt;
   &amp;lt;*&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;
= 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>Antonmx</name></author>
		
	</entry>
</feed>