<?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=Fader</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=Fader"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Fader"/>
	<updated>2026-05-21T21:44:28Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=32127</id>
		<title>Installing Fedora 7 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=32127"/>
		<updated>2007-08-15T23:36:42Z</updated>

		<summary type="html">&lt;p&gt;Fader: /* Enabling Screen Rotation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Page Not Accurate! =&lt;br /&gt;
This page is not accurate; I've just copied it over from [[Installing Fedora Core 5 on a ThinkPad X41 Tablet]] in order to start editing/updating it for Fedora 7. Please feel free to help out with that if you stumble across this page while it is still a work in progress.&lt;br /&gt;
&lt;br /&gt;
== Success Chart ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| '''Item''' || '''Working''' || '''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Installation &lt;br /&gt;
| Network Installation ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| USB Installation     ||class=&amp;quot;diff-addedline&amp;quot;| Yes (DVD) ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| CRT / Projector ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Screen Rotation ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Resizes display, but not workspace properly.&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Requires configuration changes.&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Power Management&lt;br /&gt;
| Software Suspend (hibernate) ||class=&amp;quot;diff-addedline&amp;quot;| Yes || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes (mostly) || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=3| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth ||class=&amp;quot;diff-context&amp;quot;| Not Tested (should work) || See [[Installing_Fedora_Core_4_on_a_ThinkPad_X41_Tablet#Bluetooth|Bluetooth on Fedora Core 4]]&lt;br /&gt;
|-&lt;br /&gt;
| Infrared ||class=&amp;quot;diff-addedline&amp;quot;| Yes || irda, /etc/modprobe.conf&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Extra Buttons || Keyboard Section ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ibm-acpi driver&lt;br /&gt;
|-&lt;br /&gt;
| Tablet buttons ||class=&amp;quot;diff-addedline&amp;quot;| Yes || setkeycodes&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Fingerprint Scanner ||class=&amp;quot;diff-addedline&amp;quot;| Yes || bioapi&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Harddisk Active Protection ||class=&amp;quot;diff-addedline&amp;quot;| Yes || kernel 2.6.16, hdapsd&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Tested and Verified on Fedora 7 =&lt;br /&gt;
&lt;br /&gt;
Information in this section has been tested and verified using Fedora 7.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward; you can use the generic install instructions [http://fedoraproject.org/wiki/Distribution/Download#head-79f58abcee810df2be8fff176fe58ba3972d6358 here].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&lt;br /&gt;
Basic X server functionality should work out of the box.&lt;br /&gt;
&lt;br /&gt;
==== Desktop Effects ====&lt;br /&gt;
'Desktop Effects' work but are not enabled by default; to enable them run 'desktop-effects' and click 'enable desktop effects'. Note that these conflict with working rotation- you get either desktop effects or tablet rotation; not both.&lt;br /&gt;
&lt;br /&gt;
==== Tablet Buttons ====&lt;br /&gt;
&lt;br /&gt;
Activate mappings for the tablet buttons by adding the following lines to {{path|/etc/rc.d/rc.local}}:&lt;br /&gt;
&lt;br /&gt;
 # Map tablet hardware buttons&lt;br /&gt;
 setkeycodes 6e 109 6d 104 69 28 6b 1 6c 120&lt;br /&gt;
&lt;br /&gt;
==== Enabling the Stylus ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/rc.d/rc.local}}:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;i&amp;gt;(Note: You will need to be root to perform these two edits)&amp;lt;/i&amp;gt;&lt;br /&gt;
 # Map stylus to a serial port&lt;br /&gt;
 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add the lines in bold font to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
  Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;default&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0&amp;quot; 0 0&lt;br /&gt;
         InputDevice    &amp;quot;Mouse0&amp;quot; &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;Keyboard0&amp;quot; &amp;quot;CoreKeyboard&amp;quot;&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;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 '''Section &amp;quot;InputDevice&amp;quot;'''&lt;br /&gt;
       '''Driver        &amp;quot;wacom&amp;quot;'''&lt;br /&gt;
       '''Identifier    &amp;quot;cursor&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;
       '''Option        &amp;quot;Mode&amp;quot;          &amp;quot;Absolute&amp;quot;'''&lt;br /&gt;
       '''Option        &amp;quot;TPCButton&amp;quot;     &amp;quot;on&amp;quot;'''&lt;br /&gt;
 '''EndSection'''&lt;br /&gt;
 &lt;br /&gt;
 '''Section &amp;quot;InputDevice&amp;quot;'''&lt;br /&gt;
       '''Driver        &amp;quot;wacom&amp;quot;'''&lt;br /&gt;
       '''Identifier    &amp;quot;stylus&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;
&lt;br /&gt;
If the style stops working after a suspend/resume cycle, (as root) create the following file {{path|/usr/lib/pm-utils/sleep.d/40wacom}}&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 . /usr/lib/pm-utils/functions&lt;br /&gt;
 &lt;br /&gt;
 suspend_wacom() {&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 resume_wacom() {&lt;br /&gt;
     # Reset serial port for stylus&lt;br /&gt;
     setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 case &amp;quot;$1&amp;quot; in&lt;br /&gt;
         hibernate|suspend)&lt;br /&gt;
                 suspend_wacom&lt;br /&gt;
                 ;;&lt;br /&gt;
         thaw|resume)&lt;br /&gt;
                 resume_wacom&lt;br /&gt;
                 ;;&lt;br /&gt;
         *)&lt;br /&gt;
                 ;;&lt;br /&gt;
 esac &lt;br /&gt;
 &lt;br /&gt;
 exit $?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
The wireless card works out of the box- no additional drivers necessary.&lt;br /&gt;
&lt;br /&gt;
Network Manager is installed by default, but may not be enabled by default depending on your mode of installation. To turn it on, do as root:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
=== Infrared ===&lt;br /&gt;
&lt;br /&gt;
The infrared subsystem supports NSC Fast IR (FIR), which transmits at speeds of up to 4 Mbps.&lt;br /&gt;
&lt;br /&gt;
First things first: Go to your BIOS and enable the infrared and manually set up IO to be '''0x2f8''' and IRQ to be '''3'''. Typically, the default manual config is this so you probably don't need to edit it. Then go ahead an grab any irda-related packages from YUM.&lt;br /&gt;
&lt;br /&gt;
Then I copied the section on Infrared for the T60:&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/modprobe.conf}}, add the following two lines:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
alias irda0 nsc-ircc&lt;br /&gt;
options nsc-ircc dongle_id=0x09&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/sysconfig/irda}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IRDA=yes&lt;br /&gt;
DEVICE=irda0&lt;br /&gt;
DISCOVERY=yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Start IRDA&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|service irda start}}&lt;br /&gt;
&lt;br /&gt;
If You want IRDA to be enabled during system boot, turn it on like this:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|chkconfig irda on}}&lt;br /&gt;
&lt;br /&gt;
That should set you up. You can then set up things like remote controls that operate through the LIRC daemon, which Fedora has a package and a kernel module for. This can useful for xmms, which has a plugin to allow you to change songs with the remote and other nifty features. You can define the controls as well. The choice is yours.&lt;br /&gt;
&lt;br /&gt;
For more information, see [http://lirc.sourceforge.net Linux Infrared Remote Control Project]&lt;br /&gt;
&lt;br /&gt;
=== tpb/on-screen display ===&lt;br /&gt;
&lt;br /&gt;
tpb, which controls the onscreen display of thinkpad buttons, is not installed by default.&lt;br /&gt;
&lt;br /&gt;
To install tpb execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb}}&lt;br /&gt;
&lt;br /&gt;
Once installed, no configuration is necessary.&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported by the thinkfinger package.&lt;br /&gt;
&lt;br /&gt;
To install thinkfinger execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
== Tablet Software == &lt;br /&gt;
&lt;br /&gt;
=== Xournal ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;Xournal&amp;lt;/tt&amp;gt; is a gnome-based journaling tool for tablets; you can get packages for Fedora 7 from [http://koji.fedoraproject.org/koji/packageinfo?packageID=4460 here].&lt;br /&gt;
&lt;br /&gt;
= Untested on Fedora 7 =&lt;br /&gt;
Information below this line is merely copied from the Fedora Core 5 guide and has not been tested on Fedora 7.&lt;br /&gt;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
Download (and verify) the following script into your path:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|wget http://www.cs.cornell.edu/~saikat/rotate}}&lt;br /&gt;
 {{cmduser|chmod a+x rotate}}&lt;br /&gt;
&lt;br /&gt;
Rotate the screen using the script:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|rotate -h}}&lt;br /&gt;
 Useage:&lt;br /&gt;
    rotate [left|right|inverted|normal]&lt;br /&gt;
  &lt;br /&gt;
 If no option is given, rotates the screen 90 degrees to the right.&lt;br /&gt;
&lt;br /&gt;
To bind the tablet's {{key|Rotate}} button to rotate the screen on-the-fly, add the following line to {{path|/etc/X11/Xmodmap}}&lt;br /&gt;
 keycode 139 = XF86RotateWindows&lt;br /&gt;
&lt;br /&gt;
{{HINT|'''Update:''' Check to make sure you are using the new &amp;lt;tt&amp;gt;setkeycodes&amp;lt;/tt&amp;gt; line in the Tablet Buttons section (one with &amp;lt;tt&amp;gt;6c 120&amp;lt;/tt&amp;gt; in the command).}}&lt;br /&gt;
&lt;br /&gt;
{{HINT|'''Update:''' This script still works, but it appears xrandr's rotation function is broken. The screen does rotate, but it appears the display is not telling the workspaces right or left. So effectively, a 1024 x 768 resolution becomes 768 x 1024, but the workspace becomes 1024 x 1024, which is annoying because you have to manually resize your windows that's hiding in the hidden space. A solution for this would be great. It may be updated, when xorg is updated. This was tested in xfce and fluxbox.}}&lt;br /&gt;
&lt;br /&gt;
=== Hibernation ===&lt;br /&gt;
&lt;br /&gt;
Software suspend works using [[Software Suspend 2]]. To install:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://mhensler.de/swsusp/download/suspend2.repo}}&lt;br /&gt;
 {{cmdroot|yum install userui-suspend2-fbsplash userui-suspend2-theme-fedorabubbles kernel-suspend2}}&lt;br /&gt;
&lt;br /&gt;
Edit the appropriate kernel line in {{path|/etc/grub.conf}} and add the parameters {{bootparm|vga|0x317}} and {{bootparm|acpi_sleep|s3_bios}}. For example:&lt;br /&gt;
&lt;br /&gt;
 title Fedora Core (''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2)&lt;br /&gt;
        root (hd0,1)&lt;br /&gt;
        kernel /vmlinuz-''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2 ro root=/dev/VolGroup00/LogVol00 rhgb quiet '''vga=0x317 acpi_sleep=s3_bios'''&lt;br /&gt;
        initrd /initrd-''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2.img&lt;br /&gt;
&lt;br /&gt;
Comment out the following line in {{path|/etc/hibernate/hibernate.conf}}:&lt;br /&gt;
&lt;br /&gt;
 '''#''' ProcSetting userui_program /sbin/suspend2ui_text&lt;br /&gt;
&lt;br /&gt;
Add the following lines in {{path|/etc/hibernate/hibernate.conf}}:&lt;br /&gt;
&lt;br /&gt;
 ProcSetting userui_program /sbin/suspend2ui_fbsplash&lt;br /&gt;
 OnResume 96 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
Add the following lines in {{path|/etc/hibernate/ram.conf}}:&lt;br /&gt;
&lt;br /&gt;
 Distribution fedora&lt;br /&gt;
&lt;br /&gt;
Comment out the following lines in {{path|/etc/hibernate/ram.conf}}:&lt;br /&gt;
&lt;br /&gt;
 '''#''' EnableVbetool yes&lt;br /&gt;
 '''#''' VbetoolPost yes&lt;br /&gt;
 &lt;br /&gt;
Make the following changes (i.e. comment out the two vbetool lines, and add the return 0 line in the resume_video function) in {{path|/etc/pm/functions-intel}}:&lt;br /&gt;
&lt;br /&gt;
 resume_video()&lt;br /&gt;
 {&lt;br /&gt;
 (&lt;br /&gt;
         '''#''' /usr/sbin/vbetool post&lt;br /&gt;
         '''#''' /usr/sbin/vbetool vbestate restore &amp;lt; /var/run/vbestate&lt;br /&gt;
         '''return 0'''&lt;br /&gt;
 ) &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate lines in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&lt;br /&gt;
 HIBERNATE_RESUME_POST_VIDEO=&amp;quot;'''no'''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Problems with a black screen after resuming can sometimes be fixed by adding the following line to the device section in {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 Option &amp;quot;VBERestore&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the following file {{path|/etc/pm/hooks/40wacom}}:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 wget http://www.cs.cornell.edu/~saikat/libbiometrics-1.2.2-1.sg.i386.rpm&lt;br /&gt;
 wget http://www.cs.cornell.edu/~saikat/libbiometrics-tfmess-1.0-1.sg.i386.rpm&lt;br /&gt;
 yum localinstall libbiometrics-1.2.2-1.sg.i386.rpm libbiometrics-tfmess-1.0-1.sg.i386.rpm&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This is still work-in-progress. Currently you can enroll fingerprints, and verify them through a test application. Integrating&lt;br /&gt;
this support into pam (and therefore logins, gdm, screensaver etc.) is in the works. Those interested in developing biometrics applications&lt;br /&gt;
can install [http://www.cs.cornell.edu/~saikat/libbiometrics-devel-1.2.2-1.sg.i386.rpm libbiometrics-devel-1.2.2-1.sg.i386.rpm]. SRPMS for the above are available [http://www.cs.cornell.edu/w8/~saikat/packages/SRPMS/ here].}}&lt;br /&gt;
&lt;br /&gt;
To try out enrollment and verification, run: {{cmdroot|useraddbio}}&lt;br /&gt;
&lt;br /&gt;
=== Harddrive Active Protection System (HDAPS) ===&lt;br /&gt;
&lt;br /&gt;
Harddrive active protection system requires the &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; kernel module (included in stock Fedora kernels), and&lt;br /&gt;
a kernel capable of parking disks (patch included in &amp;lt;tt&amp;gt;kernel-suspend2&amp;lt;/tt&amp;gt; RPMs from the Hibernation section above).&lt;br /&gt;
It also requires a userspace daemon to monitor the accleration sensor and park the disk head when excessive motion is detected. To install the userspace daemon, do the following:&lt;br /&gt;
&lt;br /&gt;
{{HINT|This requires kernel support for &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; and head parking. Install &amp;lt;tt&amp;gt;[http://mhensler.de/swsusp/download/yum/development/fc5/kernel-suspend2-2.6.16-1.2084_2.rhfc5.cubbi_suspend2.i686.rpm kernel-suspend2-2.6.16-1.2084_2]&amp;lt;/tt&amp;gt; or [http://mhensler.de/swsusp/download/yum/development/fc5/ higher]}}&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/hdapsd-20060326cvs-1.sg.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall hdapsd-20060326cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
If software suspend is enabled, add the following line to {{path|/etc/hibernate/hibernate.conf}}&lt;br /&gt;
&lt;br /&gt;
 UnloadModules hdaps&lt;br /&gt;
&lt;br /&gt;
To install the Gnome panel applet that monitors the state of the harddisk, install:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
{{NOTE|SRPMS for the above are available [http://www.cs.cornell.edu/w8/~saikat/packages/SRPMS/ here].}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tablet Software == &lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Fader</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=32126</id>
		<title>Installing Fedora 7 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=32126"/>
		<updated>2007-08-15T23:36:02Z</updated>

		<summary type="html">&lt;p&gt;Fader: /* Success Chart */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Page Not Accurate! =&lt;br /&gt;
This page is not accurate; I've just copied it over from [[Installing Fedora Core 5 on a ThinkPad X41 Tablet]] in order to start editing/updating it for Fedora 7. Please feel free to help out with that if you stumble across this page while it is still a work in progress.&lt;br /&gt;
&lt;br /&gt;
== Success Chart ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| '''Item''' || '''Working''' || '''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Installation &lt;br /&gt;
| Network Installation ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| USB Installation     ||class=&amp;quot;diff-addedline&amp;quot;| Yes (DVD) ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| CRT / Projector ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Screen Rotation ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Resizes display, but not workspace properly.&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Requires configuration changes.&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Power Management&lt;br /&gt;
| Software Suspend (hibernate) ||class=&amp;quot;diff-addedline&amp;quot;| Yes || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes (mostly) || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=3| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth ||class=&amp;quot;diff-context&amp;quot;| Not Tested (should work) || See [[Installing_Fedora_Core_4_on_a_ThinkPad_X41_Tablet#Bluetooth|Bluetooth on Fedora Core 4]]&lt;br /&gt;
|-&lt;br /&gt;
| Infrared ||class=&amp;quot;diff-addedline&amp;quot;| Yes || irda, /etc/modprobe.conf&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Extra Buttons || Keyboard Section ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ibm-acpi driver&lt;br /&gt;
|-&lt;br /&gt;
| Tablet buttons ||class=&amp;quot;diff-addedline&amp;quot;| Yes || setkeycodes&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Fingerprint Scanner ||class=&amp;quot;diff-addedline&amp;quot;| Yes || bioapi&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Harddisk Active Protection ||class=&amp;quot;diff-addedline&amp;quot;| Yes || kernel 2.6.16, hdapsd&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Tested and Verified on Fedora 7 =&lt;br /&gt;
&lt;br /&gt;
Information in this section has been tested and verified using Fedora 7.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward; you can use the generic install instructions [http://fedoraproject.org/wiki/Distribution/Download#head-79f58abcee810df2be8fff176fe58ba3972d6358 here].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&lt;br /&gt;
Basic X server functionality should work out of the box.&lt;br /&gt;
&lt;br /&gt;
==== Desktop Effects ====&lt;br /&gt;
'Desktop Effects' work but are not enabled by default; to enable them run 'desktop-effects' and click 'enable desktop effects'. Note that these conflict with working rotation- you get either desktop effects or tablet rotation; not both.&lt;br /&gt;
&lt;br /&gt;
==== Tablet Buttons ====&lt;br /&gt;
&lt;br /&gt;
Activate mappings for the tablet buttons by adding the following lines to {{path|/etc/rc.d/rc.local}}:&lt;br /&gt;
&lt;br /&gt;
 # Map tablet hardware buttons&lt;br /&gt;
 setkeycodes 6e 109 6d 104 69 28 6b 1 6c 120&lt;br /&gt;
&lt;br /&gt;
==== Enabling the Stylus ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/rc.d/rc.local}}:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;i&amp;gt;(Note: You will need to be root to perform these two edits)&amp;lt;/i&amp;gt;&lt;br /&gt;
 # Map stylus to a serial port&lt;br /&gt;
 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add the lines in bold font to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
  Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;default&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0&amp;quot; 0 0&lt;br /&gt;
         InputDevice    &amp;quot;Mouse0&amp;quot; &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;Keyboard0&amp;quot; &amp;quot;CoreKeyboard&amp;quot;&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;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 '''Section &amp;quot;InputDevice&amp;quot;'''&lt;br /&gt;
       '''Driver        &amp;quot;wacom&amp;quot;'''&lt;br /&gt;
       '''Identifier    &amp;quot;cursor&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;
       '''Option        &amp;quot;Mode&amp;quot;          &amp;quot;Absolute&amp;quot;'''&lt;br /&gt;
       '''Option        &amp;quot;TPCButton&amp;quot;     &amp;quot;on&amp;quot;'''&lt;br /&gt;
 '''EndSection'''&lt;br /&gt;
 &lt;br /&gt;
 '''Section &amp;quot;InputDevice&amp;quot;'''&lt;br /&gt;
       '''Driver        &amp;quot;wacom&amp;quot;'''&lt;br /&gt;
       '''Identifier    &amp;quot;stylus&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;
&lt;br /&gt;
If the style stops working after a suspend/resume cycle, (as root) create the following file {{path|/usr/lib/pm-utils/sleep.d/40wacom}}&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 . /usr/lib/pm-utils/functions&lt;br /&gt;
 &lt;br /&gt;
 suspend_wacom() {&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 resume_wacom() {&lt;br /&gt;
     # Reset serial port for stylus&lt;br /&gt;
     setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 case &amp;quot;$1&amp;quot; in&lt;br /&gt;
         hibernate|suspend)&lt;br /&gt;
                 suspend_wacom&lt;br /&gt;
                 ;;&lt;br /&gt;
         thaw|resume)&lt;br /&gt;
                 resume_wacom&lt;br /&gt;
                 ;;&lt;br /&gt;
         *)&lt;br /&gt;
                 ;;&lt;br /&gt;
 esac &lt;br /&gt;
 &lt;br /&gt;
 exit $?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
The wireless card works out of the box- no additional drivers necessary.&lt;br /&gt;
&lt;br /&gt;
Network Manager is installed by default, but may not be enabled by default depending on your mode of installation. To turn it on, do as root:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
=== Infrared ===&lt;br /&gt;
&lt;br /&gt;
The infrared subsystem supports NSC Fast IR (FIR), which transmits at speeds of up to 4 Mbps.&lt;br /&gt;
&lt;br /&gt;
First things first: Go to your BIOS and enable the infrared and manually set up IO to be '''0x2f8''' and IRQ to be '''3'''. Typically, the default manual config is this so you probably don't need to edit it. Then go ahead an grab any irda-related packages from YUM.&lt;br /&gt;
&lt;br /&gt;
Then I copied the section on Infrared for the T60:&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/modprobe.conf}}, add the following two lines:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
alias irda0 nsc-ircc&lt;br /&gt;
options nsc-ircc dongle_id=0x09&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/sysconfig/irda}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IRDA=yes&lt;br /&gt;
DEVICE=irda0&lt;br /&gt;
DISCOVERY=yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Start IRDA&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|service irda start}}&lt;br /&gt;
&lt;br /&gt;
If You want IRDA to be enabled during system boot, turn it on like this:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|chkconfig irda on}}&lt;br /&gt;
&lt;br /&gt;
That should set you up. You can then set up things like remote controls that operate through the LIRC daemon, which Fedora has a package and a kernel module for. This can useful for xmms, which has a plugin to allow you to change songs with the remote and other nifty features. You can define the controls as well. The choice is yours.&lt;br /&gt;
&lt;br /&gt;
For more information, see [http://lirc.sourceforge.net Linux Infrared Remote Control Project]&lt;br /&gt;
&lt;br /&gt;
=== tpb/on-screen display ===&lt;br /&gt;
&lt;br /&gt;
tpb, which controls the onscreen display of thinkpad buttons, is not installed by default.&lt;br /&gt;
&lt;br /&gt;
To install tpb execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb}}&lt;br /&gt;
&lt;br /&gt;
Once installed, no configuration is necessary.&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported by the thinkfinger package.&lt;br /&gt;
&lt;br /&gt;
To install thinkfinger execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
== Tablet Software == &lt;br /&gt;
&lt;br /&gt;
=== Xournal ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;Xournal&amp;lt;/tt&amp;gt; is a gnome-based journaling tool for tablets; you can get packages for Fedora 7 from [http://koji.fedoraproject.org/koji/packageinfo?packageID=4460 here].&lt;br /&gt;
&lt;br /&gt;
= Untested on Fedora 7 =&lt;br /&gt;
Information below this line is merely copied from the Fedora Core 5 guide and has not been tested on Fedora 7.&lt;br /&gt;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
Download (and verify) the following script into your path:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|wget http://www.cs.cornell.edu/~saikat/rotate}}&lt;br /&gt;
 {{cmduser|chmod a+x rotate}}&lt;br /&gt;
&lt;br /&gt;
Rotate the screen using the script:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|rotate -h}}&lt;br /&gt;
 Useage:&lt;br /&gt;
    rotate [left|right|inverted|normal]&lt;br /&gt;
  &lt;br /&gt;
 If no option is given, rotates the screen 90 degrees to the right.&lt;br /&gt;
&lt;br /&gt;
To bind the tablet's {{key|Rotate}} button to rotate the screen on-the-fly, add the following line to {{path|/etc/X11/Xmodmap}}&lt;br /&gt;
 keycode 139 = XF86RotateWindows&lt;br /&gt;
&lt;br /&gt;
{{HINT|'''Update:''' Check to make sure you are using the new &amp;lt;tt&amp;gt;setkeycodes&amp;lt;/tt&amp;gt; line in the Tablet Buttons section (one with &amp;lt;tt&amp;gt;6c 120&amp;lt;/tt&amp;gt; in the command).}}&lt;br /&gt;
&lt;br /&gt;
{{HINT|'''Update:''' This script still works, but it appears xrandr's rotation function is broken. The screen does rotate, but it appears the display is not telling the workspaces right or left. So effectively, a 1024 x 768 resolution becomes 768 x 1024, but the workspace becomes 1024 x 1024, which is annoying because you have to manually resize your windows that's hiding in the hidden space. A solution for this would be great. It may be updated, when xorg is updated.}}&lt;br /&gt;
&lt;br /&gt;
=== Hibernation ===&lt;br /&gt;
&lt;br /&gt;
Software suspend works using [[Software Suspend 2]]. To install:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://mhensler.de/swsusp/download/suspend2.repo}}&lt;br /&gt;
 {{cmdroot|yum install userui-suspend2-fbsplash userui-suspend2-theme-fedorabubbles kernel-suspend2}}&lt;br /&gt;
&lt;br /&gt;
Edit the appropriate kernel line in {{path|/etc/grub.conf}} and add the parameters {{bootparm|vga|0x317}} and {{bootparm|acpi_sleep|s3_bios}}. For example:&lt;br /&gt;
&lt;br /&gt;
 title Fedora Core (''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2)&lt;br /&gt;
        root (hd0,1)&lt;br /&gt;
        kernel /vmlinuz-''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2 ro root=/dev/VolGroup00/LogVol00 rhgb quiet '''vga=0x317 acpi_sleep=s3_bios'''&lt;br /&gt;
        initrd /initrd-''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2.img&lt;br /&gt;
&lt;br /&gt;
Comment out the following line in {{path|/etc/hibernate/hibernate.conf}}:&lt;br /&gt;
&lt;br /&gt;
 '''#''' ProcSetting userui_program /sbin/suspend2ui_text&lt;br /&gt;
&lt;br /&gt;
Add the following lines in {{path|/etc/hibernate/hibernate.conf}}:&lt;br /&gt;
&lt;br /&gt;
 ProcSetting userui_program /sbin/suspend2ui_fbsplash&lt;br /&gt;
 OnResume 96 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
Add the following lines in {{path|/etc/hibernate/ram.conf}}:&lt;br /&gt;
&lt;br /&gt;
 Distribution fedora&lt;br /&gt;
&lt;br /&gt;
Comment out the following lines in {{path|/etc/hibernate/ram.conf}}:&lt;br /&gt;
&lt;br /&gt;
 '''#''' EnableVbetool yes&lt;br /&gt;
 '''#''' VbetoolPost yes&lt;br /&gt;
 &lt;br /&gt;
Make the following changes (i.e. comment out the two vbetool lines, and add the return 0 line in the resume_video function) in {{path|/etc/pm/functions-intel}}:&lt;br /&gt;
&lt;br /&gt;
 resume_video()&lt;br /&gt;
 {&lt;br /&gt;
 (&lt;br /&gt;
         '''#''' /usr/sbin/vbetool post&lt;br /&gt;
         '''#''' /usr/sbin/vbetool vbestate restore &amp;lt; /var/run/vbestate&lt;br /&gt;
         '''return 0'''&lt;br /&gt;
 ) &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate lines in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&lt;br /&gt;
 HIBERNATE_RESUME_POST_VIDEO=&amp;quot;'''no'''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Problems with a black screen after resuming can sometimes be fixed by adding the following line to the device section in {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 Option &amp;quot;VBERestore&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the following file {{path|/etc/pm/hooks/40wacom}}:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 wget http://www.cs.cornell.edu/~saikat/libbiometrics-1.2.2-1.sg.i386.rpm&lt;br /&gt;
 wget http://www.cs.cornell.edu/~saikat/libbiometrics-tfmess-1.0-1.sg.i386.rpm&lt;br /&gt;
 yum localinstall libbiometrics-1.2.2-1.sg.i386.rpm libbiometrics-tfmess-1.0-1.sg.i386.rpm&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This is still work-in-progress. Currently you can enroll fingerprints, and verify them through a test application. Integrating&lt;br /&gt;
this support into pam (and therefore logins, gdm, screensaver etc.) is in the works. Those interested in developing biometrics applications&lt;br /&gt;
can install [http://www.cs.cornell.edu/~saikat/libbiometrics-devel-1.2.2-1.sg.i386.rpm libbiometrics-devel-1.2.2-1.sg.i386.rpm]. SRPMS for the above are available [http://www.cs.cornell.edu/w8/~saikat/packages/SRPMS/ here].}}&lt;br /&gt;
&lt;br /&gt;
To try out enrollment and verification, run: {{cmdroot|useraddbio}}&lt;br /&gt;
&lt;br /&gt;
=== Harddrive Active Protection System (HDAPS) ===&lt;br /&gt;
&lt;br /&gt;
Harddrive active protection system requires the &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; kernel module (included in stock Fedora kernels), and&lt;br /&gt;
a kernel capable of parking disks (patch included in &amp;lt;tt&amp;gt;kernel-suspend2&amp;lt;/tt&amp;gt; RPMs from the Hibernation section above).&lt;br /&gt;
It also requires a userspace daemon to monitor the accleration sensor and park the disk head when excessive motion is detected. To install the userspace daemon, do the following:&lt;br /&gt;
&lt;br /&gt;
{{HINT|This requires kernel support for &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; and head parking. Install &amp;lt;tt&amp;gt;[http://mhensler.de/swsusp/download/yum/development/fc5/kernel-suspend2-2.6.16-1.2084_2.rhfc5.cubbi_suspend2.i686.rpm kernel-suspend2-2.6.16-1.2084_2]&amp;lt;/tt&amp;gt; or [http://mhensler.de/swsusp/download/yum/development/fc5/ higher]}}&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/hdapsd-20060326cvs-1.sg.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall hdapsd-20060326cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
If software suspend is enabled, add the following line to {{path|/etc/hibernate/hibernate.conf}}&lt;br /&gt;
&lt;br /&gt;
 UnloadModules hdaps&lt;br /&gt;
&lt;br /&gt;
To install the Gnome panel applet that monitors the state of the harddisk, install:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
{{NOTE|SRPMS for the above are available [http://www.cs.cornell.edu/w8/~saikat/packages/SRPMS/ here].}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tablet Software == &lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Fader</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=32125</id>
		<title>Installing Fedora 7 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=32125"/>
		<updated>2007-08-15T23:34:55Z</updated>

		<summary type="html">&lt;p&gt;Fader: /* Enabling Screen Rotation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Page Not Accurate! =&lt;br /&gt;
This page is not accurate; I've just copied it over from [[Installing Fedora Core 5 on a ThinkPad X41 Tablet]] in order to start editing/updating it for Fedora 7. Please feel free to help out with that if you stumble across this page while it is still a work in progress.&lt;br /&gt;
&lt;br /&gt;
== Success Chart ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| '''Item''' || '''Working''' || '''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Installation &lt;br /&gt;
| Network Installation ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| USB Installation     ||class=&amp;quot;diff-addedline&amp;quot;| Yes (DVD) ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| CRT / Projector ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Screen Rotation ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Requires configuration changes.&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Power Management&lt;br /&gt;
| Software Suspend (hibernate) ||class=&amp;quot;diff-addedline&amp;quot;| Yes || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes (mostly) || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=3| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth ||class=&amp;quot;diff-context&amp;quot;| Not Tested (should work) || See [[Installing_Fedora_Core_4_on_a_ThinkPad_X41_Tablet#Bluetooth|Bluetooth on Fedora Core 4]]&lt;br /&gt;
|-&lt;br /&gt;
| Infrared ||class=&amp;quot;diff-addedline&amp;quot;| Yes || irda, /etc/modprobe.conf&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Extra Buttons || Keyboard Section ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ibm-acpi driver&lt;br /&gt;
|-&lt;br /&gt;
| Tablet buttons ||class=&amp;quot;diff-addedline&amp;quot;| Yes || setkeycodes&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Fingerprint Scanner ||class=&amp;quot;diff-addedline&amp;quot;| Yes || bioapi&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Harddisk Active Protection ||class=&amp;quot;diff-addedline&amp;quot;| Yes || kernel 2.6.16, hdapsd&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Tested and Verified on Fedora 7 =&lt;br /&gt;
&lt;br /&gt;
Information in this section has been tested and verified using Fedora 7.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward; you can use the generic install instructions [http://fedoraproject.org/wiki/Distribution/Download#head-79f58abcee810df2be8fff176fe58ba3972d6358 here].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&lt;br /&gt;
Basic X server functionality should work out of the box.&lt;br /&gt;
&lt;br /&gt;
==== Desktop Effects ====&lt;br /&gt;
'Desktop Effects' work but are not enabled by default; to enable them run 'desktop-effects' and click 'enable desktop effects'. Note that these conflict with working rotation- you get either desktop effects or tablet rotation; not both.&lt;br /&gt;
&lt;br /&gt;
==== Tablet Buttons ====&lt;br /&gt;
&lt;br /&gt;
Activate mappings for the tablet buttons by adding the following lines to {{path|/etc/rc.d/rc.local}}:&lt;br /&gt;
&lt;br /&gt;
 # Map tablet hardware buttons&lt;br /&gt;
 setkeycodes 6e 109 6d 104 69 28 6b 1 6c 120&lt;br /&gt;
&lt;br /&gt;
==== Enabling the Stylus ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/rc.d/rc.local}}:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;i&amp;gt;(Note: You will need to be root to perform these two edits)&amp;lt;/i&amp;gt;&lt;br /&gt;
 # Map stylus to a serial port&lt;br /&gt;
 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add the lines in bold font to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
  Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;default&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0&amp;quot; 0 0&lt;br /&gt;
         InputDevice    &amp;quot;Mouse0&amp;quot; &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;Keyboard0&amp;quot; &amp;quot;CoreKeyboard&amp;quot;&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;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 '''Section &amp;quot;InputDevice&amp;quot;'''&lt;br /&gt;
       '''Driver        &amp;quot;wacom&amp;quot;'''&lt;br /&gt;
       '''Identifier    &amp;quot;cursor&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;
       '''Option        &amp;quot;Mode&amp;quot;          &amp;quot;Absolute&amp;quot;'''&lt;br /&gt;
       '''Option        &amp;quot;TPCButton&amp;quot;     &amp;quot;on&amp;quot;'''&lt;br /&gt;
 '''EndSection'''&lt;br /&gt;
 &lt;br /&gt;
 '''Section &amp;quot;InputDevice&amp;quot;'''&lt;br /&gt;
       '''Driver        &amp;quot;wacom&amp;quot;'''&lt;br /&gt;
       '''Identifier    &amp;quot;stylus&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;
&lt;br /&gt;
If the style stops working after a suspend/resume cycle, (as root) create the following file {{path|/usr/lib/pm-utils/sleep.d/40wacom}}&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 . /usr/lib/pm-utils/functions&lt;br /&gt;
 &lt;br /&gt;
 suspend_wacom() {&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 resume_wacom() {&lt;br /&gt;
     # Reset serial port for stylus&lt;br /&gt;
     setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 case &amp;quot;$1&amp;quot; in&lt;br /&gt;
         hibernate|suspend)&lt;br /&gt;
                 suspend_wacom&lt;br /&gt;
                 ;;&lt;br /&gt;
         thaw|resume)&lt;br /&gt;
                 resume_wacom&lt;br /&gt;
                 ;;&lt;br /&gt;
         *)&lt;br /&gt;
                 ;;&lt;br /&gt;
 esac &lt;br /&gt;
 &lt;br /&gt;
 exit $?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
The wireless card works out of the box- no additional drivers necessary.&lt;br /&gt;
&lt;br /&gt;
Network Manager is installed by default, but may not be enabled by default depending on your mode of installation. To turn it on, do as root:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
=== Infrared ===&lt;br /&gt;
&lt;br /&gt;
The infrared subsystem supports NSC Fast IR (FIR), which transmits at speeds of up to 4 Mbps.&lt;br /&gt;
&lt;br /&gt;
First things first: Go to your BIOS and enable the infrared and manually set up IO to be '''0x2f8''' and IRQ to be '''3'''. Typically, the default manual config is this so you probably don't need to edit it. Then go ahead an grab any irda-related packages from YUM.&lt;br /&gt;
&lt;br /&gt;
Then I copied the section on Infrared for the T60:&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/modprobe.conf}}, add the following two lines:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
alias irda0 nsc-ircc&lt;br /&gt;
options nsc-ircc dongle_id=0x09&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/sysconfig/irda}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IRDA=yes&lt;br /&gt;
DEVICE=irda0&lt;br /&gt;
DISCOVERY=yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Start IRDA&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|service irda start}}&lt;br /&gt;
&lt;br /&gt;
If You want IRDA to be enabled during system boot, turn it on like this:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|chkconfig irda on}}&lt;br /&gt;
&lt;br /&gt;
That should set you up. You can then set up things like remote controls that operate through the LIRC daemon, which Fedora has a package and a kernel module for. This can useful for xmms, which has a plugin to allow you to change songs with the remote and other nifty features. You can define the controls as well. The choice is yours.&lt;br /&gt;
&lt;br /&gt;
For more information, see [http://lirc.sourceforge.net Linux Infrared Remote Control Project]&lt;br /&gt;
&lt;br /&gt;
=== tpb/on-screen display ===&lt;br /&gt;
&lt;br /&gt;
tpb, which controls the onscreen display of thinkpad buttons, is not installed by default.&lt;br /&gt;
&lt;br /&gt;
To install tpb execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb}}&lt;br /&gt;
&lt;br /&gt;
Once installed, no configuration is necessary.&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported by the thinkfinger package.&lt;br /&gt;
&lt;br /&gt;
To install thinkfinger execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
== Tablet Software == &lt;br /&gt;
&lt;br /&gt;
=== Xournal ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;Xournal&amp;lt;/tt&amp;gt; is a gnome-based journaling tool for tablets; you can get packages for Fedora 7 from [http://koji.fedoraproject.org/koji/packageinfo?packageID=4460 here].&lt;br /&gt;
&lt;br /&gt;
= Untested on Fedora 7 =&lt;br /&gt;
Information below this line is merely copied from the Fedora Core 5 guide and has not been tested on Fedora 7.&lt;br /&gt;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
Download (and verify) the following script into your path:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|wget http://www.cs.cornell.edu/~saikat/rotate}}&lt;br /&gt;
 {{cmduser|chmod a+x rotate}}&lt;br /&gt;
&lt;br /&gt;
Rotate the screen using the script:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|rotate -h}}&lt;br /&gt;
 Useage:&lt;br /&gt;
    rotate [left|right|inverted|normal]&lt;br /&gt;
  &lt;br /&gt;
 If no option is given, rotates the screen 90 degrees to the right.&lt;br /&gt;
&lt;br /&gt;
To bind the tablet's {{key|Rotate}} button to rotate the screen on-the-fly, add the following line to {{path|/etc/X11/Xmodmap}}&lt;br /&gt;
 keycode 139 = XF86RotateWindows&lt;br /&gt;
&lt;br /&gt;
{{HINT|'''Update:''' Check to make sure you are using the new &amp;lt;tt&amp;gt;setkeycodes&amp;lt;/tt&amp;gt; line in the Tablet Buttons section (one with &amp;lt;tt&amp;gt;6c 120&amp;lt;/tt&amp;gt; in the command).}}&lt;br /&gt;
&lt;br /&gt;
{{HINT|'''Update:''' This script still works, but it appears xrandr's rotation function is broken. The screen does rotate, but it appears the display is not telling the workspaces right or left. So effectively, a 1024 x 768 resolution becomes 768 x 1024, but the workspace becomes 1024 x 1024, which is annoying because you have to manually resize your windows that's hiding in the hidden space. A solution for this would be great. It may be updated, when xorg is updated.}}&lt;br /&gt;
&lt;br /&gt;
=== Hibernation ===&lt;br /&gt;
&lt;br /&gt;
Software suspend works using [[Software Suspend 2]]. To install:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://mhensler.de/swsusp/download/suspend2.repo}}&lt;br /&gt;
 {{cmdroot|yum install userui-suspend2-fbsplash userui-suspend2-theme-fedorabubbles kernel-suspend2}}&lt;br /&gt;
&lt;br /&gt;
Edit the appropriate kernel line in {{path|/etc/grub.conf}} and add the parameters {{bootparm|vga|0x317}} and {{bootparm|acpi_sleep|s3_bios}}. For example:&lt;br /&gt;
&lt;br /&gt;
 title Fedora Core (''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2)&lt;br /&gt;
        root (hd0,1)&lt;br /&gt;
        kernel /vmlinuz-''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2 ro root=/dev/VolGroup00/LogVol00 rhgb quiet '''vga=0x317 acpi_sleep=s3_bios'''&lt;br /&gt;
        initrd /initrd-''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2.img&lt;br /&gt;
&lt;br /&gt;
Comment out the following line in {{path|/etc/hibernate/hibernate.conf}}:&lt;br /&gt;
&lt;br /&gt;
 '''#''' ProcSetting userui_program /sbin/suspend2ui_text&lt;br /&gt;
&lt;br /&gt;
Add the following lines in {{path|/etc/hibernate/hibernate.conf}}:&lt;br /&gt;
&lt;br /&gt;
 ProcSetting userui_program /sbin/suspend2ui_fbsplash&lt;br /&gt;
 OnResume 96 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
Add the following lines in {{path|/etc/hibernate/ram.conf}}:&lt;br /&gt;
&lt;br /&gt;
 Distribution fedora&lt;br /&gt;
&lt;br /&gt;
Comment out the following lines in {{path|/etc/hibernate/ram.conf}}:&lt;br /&gt;
&lt;br /&gt;
 '''#''' EnableVbetool yes&lt;br /&gt;
 '''#''' VbetoolPost yes&lt;br /&gt;
 &lt;br /&gt;
Make the following changes (i.e. comment out the two vbetool lines, and add the return 0 line in the resume_video function) in {{path|/etc/pm/functions-intel}}:&lt;br /&gt;
&lt;br /&gt;
 resume_video()&lt;br /&gt;
 {&lt;br /&gt;
 (&lt;br /&gt;
         '''#''' /usr/sbin/vbetool post&lt;br /&gt;
         '''#''' /usr/sbin/vbetool vbestate restore &amp;lt; /var/run/vbestate&lt;br /&gt;
         '''return 0'''&lt;br /&gt;
 ) &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate lines in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&lt;br /&gt;
 HIBERNATE_RESUME_POST_VIDEO=&amp;quot;'''no'''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Problems with a black screen after resuming can sometimes be fixed by adding the following line to the device section in {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 Option &amp;quot;VBERestore&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the following file {{path|/etc/pm/hooks/40wacom}}:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 wget http://www.cs.cornell.edu/~saikat/libbiometrics-1.2.2-1.sg.i386.rpm&lt;br /&gt;
 wget http://www.cs.cornell.edu/~saikat/libbiometrics-tfmess-1.0-1.sg.i386.rpm&lt;br /&gt;
 yum localinstall libbiometrics-1.2.2-1.sg.i386.rpm libbiometrics-tfmess-1.0-1.sg.i386.rpm&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This is still work-in-progress. Currently you can enroll fingerprints, and verify them through a test application. Integrating&lt;br /&gt;
this support into pam (and therefore logins, gdm, screensaver etc.) is in the works. Those interested in developing biometrics applications&lt;br /&gt;
can install [http://www.cs.cornell.edu/~saikat/libbiometrics-devel-1.2.2-1.sg.i386.rpm libbiometrics-devel-1.2.2-1.sg.i386.rpm]. SRPMS for the above are available [http://www.cs.cornell.edu/w8/~saikat/packages/SRPMS/ here].}}&lt;br /&gt;
&lt;br /&gt;
To try out enrollment and verification, run: {{cmdroot|useraddbio}}&lt;br /&gt;
&lt;br /&gt;
=== Harddrive Active Protection System (HDAPS) ===&lt;br /&gt;
&lt;br /&gt;
Harddrive active protection system requires the &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; kernel module (included in stock Fedora kernels), and&lt;br /&gt;
a kernel capable of parking disks (patch included in &amp;lt;tt&amp;gt;kernel-suspend2&amp;lt;/tt&amp;gt; RPMs from the Hibernation section above).&lt;br /&gt;
It also requires a userspace daemon to monitor the accleration sensor and park the disk head when excessive motion is detected. To install the userspace daemon, do the following:&lt;br /&gt;
&lt;br /&gt;
{{HINT|This requires kernel support for &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; and head parking. Install &amp;lt;tt&amp;gt;[http://mhensler.de/swsusp/download/yum/development/fc5/kernel-suspend2-2.6.16-1.2084_2.rhfc5.cubbi_suspend2.i686.rpm kernel-suspend2-2.6.16-1.2084_2]&amp;lt;/tt&amp;gt; or [http://mhensler.de/swsusp/download/yum/development/fc5/ higher]}}&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/hdapsd-20060326cvs-1.sg.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall hdapsd-20060326cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
If software suspend is enabled, add the following line to {{path|/etc/hibernate/hibernate.conf}}&lt;br /&gt;
&lt;br /&gt;
 UnloadModules hdaps&lt;br /&gt;
&lt;br /&gt;
To install the Gnome panel applet that monitors the state of the harddisk, install:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
{{NOTE|SRPMS for the above are available [http://www.cs.cornell.edu/w8/~saikat/packages/SRPMS/ here].}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tablet Software == &lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Fader</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=32124</id>
		<title>Installing Fedora 7 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=32124"/>
		<updated>2007-08-15T23:34:23Z</updated>

		<summary type="html">&lt;p&gt;Fader: /* Enabling Screen Rotation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Page Not Accurate! =&lt;br /&gt;
This page is not accurate; I've just copied it over from [[Installing Fedora Core 5 on a ThinkPad X41 Tablet]] in order to start editing/updating it for Fedora 7. Please feel free to help out with that if you stumble across this page while it is still a work in progress.&lt;br /&gt;
&lt;br /&gt;
== Success Chart ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| '''Item''' || '''Working''' || '''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Installation &lt;br /&gt;
| Network Installation ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| USB Installation     ||class=&amp;quot;diff-addedline&amp;quot;| Yes (DVD) ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| CRT / Projector ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Screen Rotation ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Requires configuration changes.&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Power Management&lt;br /&gt;
| Software Suspend (hibernate) ||class=&amp;quot;diff-addedline&amp;quot;| Yes || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes (mostly) || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=3| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth ||class=&amp;quot;diff-context&amp;quot;| Not Tested (should work) || See [[Installing_Fedora_Core_4_on_a_ThinkPad_X41_Tablet#Bluetooth|Bluetooth on Fedora Core 4]]&lt;br /&gt;
|-&lt;br /&gt;
| Infrared ||class=&amp;quot;diff-addedline&amp;quot;| Yes || irda, /etc/modprobe.conf&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Extra Buttons || Keyboard Section ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ibm-acpi driver&lt;br /&gt;
|-&lt;br /&gt;
| Tablet buttons ||class=&amp;quot;diff-addedline&amp;quot;| Yes || setkeycodes&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Fingerprint Scanner ||class=&amp;quot;diff-addedline&amp;quot;| Yes || bioapi&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Harddisk Active Protection ||class=&amp;quot;diff-addedline&amp;quot;| Yes || kernel 2.6.16, hdapsd&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Tested and Verified on Fedora 7 =&lt;br /&gt;
&lt;br /&gt;
Information in this section has been tested and verified using Fedora 7.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward; you can use the generic install instructions [http://fedoraproject.org/wiki/Distribution/Download#head-79f58abcee810df2be8fff176fe58ba3972d6358 here].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&lt;br /&gt;
Basic X server functionality should work out of the box.&lt;br /&gt;
&lt;br /&gt;
==== Desktop Effects ====&lt;br /&gt;
'Desktop Effects' work but are not enabled by default; to enable them run 'desktop-effects' and click 'enable desktop effects'. Note that these conflict with working rotation- you get either desktop effects or tablet rotation; not both.&lt;br /&gt;
&lt;br /&gt;
==== Tablet Buttons ====&lt;br /&gt;
&lt;br /&gt;
Activate mappings for the tablet buttons by adding the following lines to {{path|/etc/rc.d/rc.local}}:&lt;br /&gt;
&lt;br /&gt;
 # Map tablet hardware buttons&lt;br /&gt;
 setkeycodes 6e 109 6d 104 69 28 6b 1 6c 120&lt;br /&gt;
&lt;br /&gt;
==== Enabling the Stylus ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/rc.d/rc.local}}:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;i&amp;gt;(Note: You will need to be root to perform these two edits)&amp;lt;/i&amp;gt;&lt;br /&gt;
 # Map stylus to a serial port&lt;br /&gt;
 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add the lines in bold font to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
  Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;default&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0&amp;quot; 0 0&lt;br /&gt;
         InputDevice    &amp;quot;Mouse0&amp;quot; &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;Keyboard0&amp;quot; &amp;quot;CoreKeyboard&amp;quot;&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;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 '''Section &amp;quot;InputDevice&amp;quot;'''&lt;br /&gt;
       '''Driver        &amp;quot;wacom&amp;quot;'''&lt;br /&gt;
       '''Identifier    &amp;quot;cursor&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;
       '''Option        &amp;quot;Mode&amp;quot;          &amp;quot;Absolute&amp;quot;'''&lt;br /&gt;
       '''Option        &amp;quot;TPCButton&amp;quot;     &amp;quot;on&amp;quot;'''&lt;br /&gt;
 '''EndSection'''&lt;br /&gt;
 &lt;br /&gt;
 '''Section &amp;quot;InputDevice&amp;quot;'''&lt;br /&gt;
       '''Driver        &amp;quot;wacom&amp;quot;'''&lt;br /&gt;
       '''Identifier    &amp;quot;stylus&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;
&lt;br /&gt;
If the style stops working after a suspend/resume cycle, (as root) create the following file {{path|/usr/lib/pm-utils/sleep.d/40wacom}}&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 . /usr/lib/pm-utils/functions&lt;br /&gt;
 &lt;br /&gt;
 suspend_wacom() {&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 resume_wacom() {&lt;br /&gt;
     # Reset serial port for stylus&lt;br /&gt;
     setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 case &amp;quot;$1&amp;quot; in&lt;br /&gt;
         hibernate|suspend)&lt;br /&gt;
                 suspend_wacom&lt;br /&gt;
                 ;;&lt;br /&gt;
         thaw|resume)&lt;br /&gt;
                 resume_wacom&lt;br /&gt;
                 ;;&lt;br /&gt;
         *)&lt;br /&gt;
                 ;;&lt;br /&gt;
 esac &lt;br /&gt;
 &lt;br /&gt;
 exit $?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
The wireless card works out of the box- no additional drivers necessary.&lt;br /&gt;
&lt;br /&gt;
Network Manager is installed by default, but may not be enabled by default depending on your mode of installation. To turn it on, do as root:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
=== Infrared ===&lt;br /&gt;
&lt;br /&gt;
The infrared subsystem supports NSC Fast IR (FIR), which transmits at speeds of up to 4 Mbps.&lt;br /&gt;
&lt;br /&gt;
First things first: Go to your BIOS and enable the infrared and manually set up IO to be '''0x2f8''' and IRQ to be '''3'''. Typically, the default manual config is this so you probably don't need to edit it. Then go ahead an grab any irda-related packages from YUM.&lt;br /&gt;
&lt;br /&gt;
Then I copied the section on Infrared for the T60:&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/modprobe.conf}}, add the following two lines:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
alias irda0 nsc-ircc&lt;br /&gt;
options nsc-ircc dongle_id=0x09&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/sysconfig/irda}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IRDA=yes&lt;br /&gt;
DEVICE=irda0&lt;br /&gt;
DISCOVERY=yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Start IRDA&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|service irda start}}&lt;br /&gt;
&lt;br /&gt;
If You want IRDA to be enabled during system boot, turn it on like this:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|chkconfig irda on}}&lt;br /&gt;
&lt;br /&gt;
That should set you up. You can then set up things like remote controls that operate through the LIRC daemon, which Fedora has a package and a kernel module for. This can useful for xmms, which has a plugin to allow you to change songs with the remote and other nifty features. You can define the controls as well. The choice is yours.&lt;br /&gt;
&lt;br /&gt;
For more information, see [http://lirc.sourceforge.net Linux Infrared Remote Control Project]&lt;br /&gt;
&lt;br /&gt;
=== tpb/on-screen display ===&lt;br /&gt;
&lt;br /&gt;
tpb, which controls the onscreen display of thinkpad buttons, is not installed by default.&lt;br /&gt;
&lt;br /&gt;
To install tpb execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb}}&lt;br /&gt;
&lt;br /&gt;
Once installed, no configuration is necessary.&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported by the thinkfinger package.&lt;br /&gt;
&lt;br /&gt;
To install thinkfinger execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
== Tablet Software == &lt;br /&gt;
&lt;br /&gt;
=== Xournal ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;Xournal&amp;lt;/tt&amp;gt; is a gnome-based journaling tool for tablets; you can get packages for Fedora 7 from [http://koji.fedoraproject.org/koji/packageinfo?packageID=4460 here].&lt;br /&gt;
&lt;br /&gt;
= Untested on Fedora 7 =&lt;br /&gt;
Information below this line is merely copied from the Fedora Core 5 guide and has not been tested on Fedora 7.&lt;br /&gt;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
Download (and verify) the following script into your path:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|wget http://www.cs.cornell.edu/~saikat/rotate}}&lt;br /&gt;
 {{cmduser|chmod a+x rotate}}&lt;br /&gt;
&lt;br /&gt;
Rotate the screen using the script:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|rotate -h}}&lt;br /&gt;
 Useage:&lt;br /&gt;
    rotate [left|right|inverted|normal]&lt;br /&gt;
  &lt;br /&gt;
 If no option is given, rotates the screen 90 degrees to the right.&lt;br /&gt;
&lt;br /&gt;
To bind the tablet's {{key|Rotate}} button to rotate the screen on-the-fly, add the following line to {{path|/etc/X11/Xmodmap}}&lt;br /&gt;
 keycode 139 = XF86RotateWindows&lt;br /&gt;
&lt;br /&gt;
{{HINT|'''Update:''' Check to make sure you are using the new &amp;lt;tt&amp;gt;setkeycodes&amp;lt;/tt&amp;gt; line in the Tablet Buttons section (one with &amp;lt;tt&amp;gt;6c 120&amp;lt;/tt&amp;gt; in the command).}}&lt;br /&gt;
&lt;br /&gt;
{{'''Update:''' This script still works, but it appears xrandr's rotation function is broken. The screen does rotate, but it appears the display is not telling the workspaces right or left. So effectively, a 1024 x 768 resolution becomes 768 x 1024, but the workspace becomes 1024 x 1024, which is annoying because you have to manually resize your windows that's hiding in the hidden space. A solution for this would be great. It may be updated, when xorg is updated.}}&lt;br /&gt;
&lt;br /&gt;
=== Hibernation ===&lt;br /&gt;
&lt;br /&gt;
Software suspend works using [[Software Suspend 2]]. To install:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://mhensler.de/swsusp/download/suspend2.repo}}&lt;br /&gt;
 {{cmdroot|yum install userui-suspend2-fbsplash userui-suspend2-theme-fedorabubbles kernel-suspend2}}&lt;br /&gt;
&lt;br /&gt;
Edit the appropriate kernel line in {{path|/etc/grub.conf}} and add the parameters {{bootparm|vga|0x317}} and {{bootparm|acpi_sleep|s3_bios}}. For example:&lt;br /&gt;
&lt;br /&gt;
 title Fedora Core (''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2)&lt;br /&gt;
        root (hd0,1)&lt;br /&gt;
        kernel /vmlinuz-''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2 ro root=/dev/VolGroup00/LogVol00 rhgb quiet '''vga=0x317 acpi_sleep=s3_bios'''&lt;br /&gt;
        initrd /initrd-''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2.img&lt;br /&gt;
&lt;br /&gt;
Comment out the following line in {{path|/etc/hibernate/hibernate.conf}}:&lt;br /&gt;
&lt;br /&gt;
 '''#''' ProcSetting userui_program /sbin/suspend2ui_text&lt;br /&gt;
&lt;br /&gt;
Add the following lines in {{path|/etc/hibernate/hibernate.conf}}:&lt;br /&gt;
&lt;br /&gt;
 ProcSetting userui_program /sbin/suspend2ui_fbsplash&lt;br /&gt;
 OnResume 96 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
Add the following lines in {{path|/etc/hibernate/ram.conf}}:&lt;br /&gt;
&lt;br /&gt;
 Distribution fedora&lt;br /&gt;
&lt;br /&gt;
Comment out the following lines in {{path|/etc/hibernate/ram.conf}}:&lt;br /&gt;
&lt;br /&gt;
 '''#''' EnableVbetool yes&lt;br /&gt;
 '''#''' VbetoolPost yes&lt;br /&gt;
 &lt;br /&gt;
Make the following changes (i.e. comment out the two vbetool lines, and add the return 0 line in the resume_video function) in {{path|/etc/pm/functions-intel}}:&lt;br /&gt;
&lt;br /&gt;
 resume_video()&lt;br /&gt;
 {&lt;br /&gt;
 (&lt;br /&gt;
         '''#''' /usr/sbin/vbetool post&lt;br /&gt;
         '''#''' /usr/sbin/vbetool vbestate restore &amp;lt; /var/run/vbestate&lt;br /&gt;
         '''return 0'''&lt;br /&gt;
 ) &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate lines in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&lt;br /&gt;
 HIBERNATE_RESUME_POST_VIDEO=&amp;quot;'''no'''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Problems with a black screen after resuming can sometimes be fixed by adding the following line to the device section in {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 Option &amp;quot;VBERestore&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the following file {{path|/etc/pm/hooks/40wacom}}:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 wget http://www.cs.cornell.edu/~saikat/libbiometrics-1.2.2-1.sg.i386.rpm&lt;br /&gt;
 wget http://www.cs.cornell.edu/~saikat/libbiometrics-tfmess-1.0-1.sg.i386.rpm&lt;br /&gt;
 yum localinstall libbiometrics-1.2.2-1.sg.i386.rpm libbiometrics-tfmess-1.0-1.sg.i386.rpm&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This is still work-in-progress. Currently you can enroll fingerprints, and verify them through a test application. Integrating&lt;br /&gt;
this support into pam (and therefore logins, gdm, screensaver etc.) is in the works. Those interested in developing biometrics applications&lt;br /&gt;
can install [http://www.cs.cornell.edu/~saikat/libbiometrics-devel-1.2.2-1.sg.i386.rpm libbiometrics-devel-1.2.2-1.sg.i386.rpm]. SRPMS for the above are available [http://www.cs.cornell.edu/w8/~saikat/packages/SRPMS/ here].}}&lt;br /&gt;
&lt;br /&gt;
To try out enrollment and verification, run: {{cmdroot|useraddbio}}&lt;br /&gt;
&lt;br /&gt;
=== Harddrive Active Protection System (HDAPS) ===&lt;br /&gt;
&lt;br /&gt;
Harddrive active protection system requires the &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; kernel module (included in stock Fedora kernels), and&lt;br /&gt;
a kernel capable of parking disks (patch included in &amp;lt;tt&amp;gt;kernel-suspend2&amp;lt;/tt&amp;gt; RPMs from the Hibernation section above).&lt;br /&gt;
It also requires a userspace daemon to monitor the accleration sensor and park the disk head when excessive motion is detected. To install the userspace daemon, do the following:&lt;br /&gt;
&lt;br /&gt;
{{HINT|This requires kernel support for &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; and head parking. Install &amp;lt;tt&amp;gt;[http://mhensler.de/swsusp/download/yum/development/fc5/kernel-suspend2-2.6.16-1.2084_2.rhfc5.cubbi_suspend2.i686.rpm kernel-suspend2-2.6.16-1.2084_2]&amp;lt;/tt&amp;gt; or [http://mhensler.de/swsusp/download/yum/development/fc5/ higher]}}&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/hdapsd-20060326cvs-1.sg.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall hdapsd-20060326cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
If software suspend is enabled, add the following line to {{path|/etc/hibernate/hibernate.conf}}&lt;br /&gt;
&lt;br /&gt;
 UnloadModules hdaps&lt;br /&gt;
&lt;br /&gt;
To install the Gnome panel applet that monitors the state of the harddisk, install:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
{{NOTE|SRPMS for the above are available [http://www.cs.cornell.edu/w8/~saikat/packages/SRPMS/ here].}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tablet Software == &lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Fader</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=31206</id>
		<title>Installing Fedora 7 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=31206"/>
		<updated>2007-07-13T00:34:22Z</updated>

		<summary type="html">&lt;p&gt;Fader: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Page Not Accurate! =&lt;br /&gt;
This page is not accurate; I've just copied it over from [[Installing Fedora Core 5 on a ThinkPad X41 Tablet]] in order to start editing/updating it for Fedora 7. Please feel free to help out with that if you stumble across this page while it is still a work in progress.&lt;br /&gt;
&lt;br /&gt;
== Success Chart ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| '''Item''' || '''Working''' || '''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Installation &lt;br /&gt;
| Network Installation ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| USB Installation     ||class=&amp;quot;diff-addedline&amp;quot;| Yes (DVD) ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| CRT / Projector ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Screen Rotation ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Requires configuration changes.&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Power Management&lt;br /&gt;
| Software Suspend (hibernate) ||class=&amp;quot;diff-addedline&amp;quot;| Yes || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes (mostly) || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=3| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth ||class=&amp;quot;diff-context&amp;quot;| Not Tested (should work) || See [[Installing_Fedora_Core_4_on_a_ThinkPad_X41_Tablet#Bluetooth|Bluetooth on Fedora Core 4]]&lt;br /&gt;
|-&lt;br /&gt;
| Infrared ||class=&amp;quot;diff-addedline&amp;quot;| Yes || irda, /etc/modprobe.conf&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Extra Buttons || Keyboard Section ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ibm-acpi driver&lt;br /&gt;
|-&lt;br /&gt;
| Tablet buttons ||class=&amp;quot;diff-addedline&amp;quot;| Yes || setkeycodes&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Fingerprint Scanner ||class=&amp;quot;diff-addedline&amp;quot;| Yes || bioapi&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Harddisk Active Protection ||class=&amp;quot;diff-addedline&amp;quot;| Yes || kernel 2.6.16, hdapsd&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Tested and Verified on Fedora 7 =&lt;br /&gt;
&lt;br /&gt;
Information in this section has been tested and verified using Fedora 7.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward; you can use the generic install instructions [http://fedoraproject.org/wiki/Distribution/Download#head-79f58abcee810df2be8fff176fe58ba3972d6358 here].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&lt;br /&gt;
Basic X server functionality should work out of the box.&lt;br /&gt;
&lt;br /&gt;
==== Desktop Effects ====&lt;br /&gt;
'Desktop Effects' work but are not enabled by default; to enable them run 'desktop-effects' and click 'enable desktop effects'. Note that these conflict with working rotation- you get either desktop effects or tablet rotation; not both.&lt;br /&gt;
&lt;br /&gt;
==== Tablet Buttons ====&lt;br /&gt;
&lt;br /&gt;
Activate mappings for the tablet buttons by adding the following lines to {{path|/etc/rc.d/rc.local}}:&lt;br /&gt;
&lt;br /&gt;
 # Map tablet hardware buttons&lt;br /&gt;
 setkeycodes 6e 109 6d 104 69 28 6b 1 6c 120&lt;br /&gt;
&lt;br /&gt;
==== Enabling the Stylus ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/rc.d/rc.local}}:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;i&amp;gt;(Note: You will need to be root to perform these two edits)&amp;lt;/i&amp;gt;&lt;br /&gt;
 # Map stylus to a serial port&lt;br /&gt;
 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add the lines in bold font to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
  Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;default&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0&amp;quot; 0 0&lt;br /&gt;
         InputDevice    &amp;quot;Mouse0&amp;quot; &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;Keyboard0&amp;quot; &amp;quot;CoreKeyboard&amp;quot;&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;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 '''Section &amp;quot;InputDevice&amp;quot;'''&lt;br /&gt;
       '''Driver        &amp;quot;wacom&amp;quot;'''&lt;br /&gt;
       '''Identifier    &amp;quot;cursor&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;
       '''Option        &amp;quot;Mode&amp;quot;          &amp;quot;Absolute&amp;quot;'''&lt;br /&gt;
       '''Option        &amp;quot;TPCButton&amp;quot;     &amp;quot;on&amp;quot;'''&lt;br /&gt;
 '''EndSection'''&lt;br /&gt;
 &lt;br /&gt;
 '''Section &amp;quot;InputDevice&amp;quot;'''&lt;br /&gt;
       '''Driver        &amp;quot;wacom&amp;quot;'''&lt;br /&gt;
       '''Identifier    &amp;quot;stylus&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;
&lt;br /&gt;
If the style stops working after a suspend/resume cycle, (as root) create the following file {{path|/usr/lib/pm-utils/sleep.d/40wacom}}&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 . /usr/lib/pm-utils/functions&lt;br /&gt;
 &lt;br /&gt;
 suspend_wacom() {&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 resume_wacom() {&lt;br /&gt;
     # Reset serial port for stylus&lt;br /&gt;
     setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 case &amp;quot;$1&amp;quot; in&lt;br /&gt;
         hibernate|suspend)&lt;br /&gt;
                 suspend_wacom&lt;br /&gt;
                 ;;&lt;br /&gt;
         thaw|resume)&lt;br /&gt;
                 resume_wacom&lt;br /&gt;
                 ;;&lt;br /&gt;
         *)&lt;br /&gt;
                 ;;&lt;br /&gt;
 esac &lt;br /&gt;
 &lt;br /&gt;
 exit $?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
The wireless card works out of the box- no additional drivers necessary.&lt;br /&gt;
&lt;br /&gt;
Network Manager is installed by default, but may not be enabled by default depending on your mode of installation. To turn it on, do as root:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
=== Infrared ===&lt;br /&gt;
&lt;br /&gt;
The infrared subsystem supports NSC Fast IR (FIR), which transmits at speeds of up to 4 Mbps.&lt;br /&gt;
&lt;br /&gt;
First things first: Go to your BIOS and enable the infrared and manually set up IO to be '''0x2f8''' and IRQ to be '''3'''. Typically, the default manual config is this so you probably don't need to edit it. Then go ahead an grab any irda-related packages from YUM.&lt;br /&gt;
&lt;br /&gt;
Then I copied the section on Infrared for the T60:&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/modprobe.conf}}, add the following two lines:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
alias irda0 nsc-ircc&lt;br /&gt;
options nsc-ircc dongle_id=0x09&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/sysconfig/irda}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IRDA=yes&lt;br /&gt;
DEVICE=irda0&lt;br /&gt;
DISCOVERY=yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Start IRDA&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|service irda start}}&lt;br /&gt;
&lt;br /&gt;
If You want IRDA to be enabled during system boot, turn it on like this:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|chkconfig irda on}}&lt;br /&gt;
&lt;br /&gt;
That should set you up. You can then set up things like remote controls that operate through the LIRC daemon, which Fedora has a package and a kernel module for. This can useful for xmms, which has a plugin to allow you to change songs with the remote and other nifty features. You can define the controls as well. The choice is yours.&lt;br /&gt;
&lt;br /&gt;
For more information, see [http://lirc.sourceforge.net Linux Infrared Remote Control Project]&lt;br /&gt;
&lt;br /&gt;
=== tpb/on-screen display ===&lt;br /&gt;
&lt;br /&gt;
tpb, which controls the onscreen display of thinkpad buttons, is not installed by default.&lt;br /&gt;
&lt;br /&gt;
To install tpb execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb}}&lt;br /&gt;
&lt;br /&gt;
Once installed, no configuration is necessary.&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported by the thinkfinger package.&lt;br /&gt;
&lt;br /&gt;
To install thinkfinger execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
== Tablet Software == &lt;br /&gt;
&lt;br /&gt;
=== Xournal ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;Xournal&amp;lt;/tt&amp;gt; is a gnome-based journaling tool for tablets; you can get packages for Fedora 7 from [http://koji.fedoraproject.org/koji/packageinfo?packageID=4460 here].&lt;br /&gt;
&lt;br /&gt;
= Untested on Fedora 7 =&lt;br /&gt;
Information below this line is merely copied from the Fedora Core 5 guide and has not been tested on Fedora 7.&lt;br /&gt;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
Download (and verify) the following script into your path:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|wget http://www.cs.cornell.edu/~saikat/rotate}}&lt;br /&gt;
 {{cmduser|chmod a+x rotate}}&lt;br /&gt;
&lt;br /&gt;
Rotate the screen using the script:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|rotate -h}}&lt;br /&gt;
 Useage:&lt;br /&gt;
    rotate [left|right|inverted|normal]&lt;br /&gt;
  &lt;br /&gt;
 If no option is given, rotates the screen 90 degrees to the right.&lt;br /&gt;
&lt;br /&gt;
To bind the tablet's {{key|Rotate}} button to rotate the screen on-the-fly, add the following line to {{path|/etc/X11/Xmodmap}}&lt;br /&gt;
 keycode 139 = XF86RotateWindows&lt;br /&gt;
&lt;br /&gt;
{{HINT|'''Update:''' Check to make sure you are using the new &amp;lt;tt&amp;gt;setkeycodes&amp;lt;/tt&amp;gt; line in the Tablet Buttons section (one with &amp;lt;tt&amp;gt;6c 120&amp;lt;/tt&amp;gt; in the command).}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hibernation ===&lt;br /&gt;
&lt;br /&gt;
Software suspend works using [[Software Suspend 2]]. To install:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://mhensler.de/swsusp/download/suspend2.repo}}&lt;br /&gt;
 {{cmdroot|yum install userui-suspend2-fbsplash userui-suspend2-theme-fedorabubbles kernel-suspend2}}&lt;br /&gt;
&lt;br /&gt;
Edit the appropriate kernel line in {{path|/etc/grub.conf}} and add the parameters {{bootparm|vga|0x317}} and {{bootparm|acpi_sleep|s3_bios}}. For example:&lt;br /&gt;
&lt;br /&gt;
 title Fedora Core (''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2)&lt;br /&gt;
        root (hd0,1)&lt;br /&gt;
        kernel /vmlinuz-''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2 ro root=/dev/VolGroup00/LogVol00 rhgb quiet '''vga=0x317 acpi_sleep=s3_bios'''&lt;br /&gt;
        initrd /initrd-''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2.img&lt;br /&gt;
&lt;br /&gt;
Comment out the following line in {{path|/etc/hibernate/hibernate.conf}}:&lt;br /&gt;
&lt;br /&gt;
 '''#''' ProcSetting userui_program /sbin/suspend2ui_text&lt;br /&gt;
&lt;br /&gt;
Add the following lines in {{path|/etc/hibernate/hibernate.conf}}:&lt;br /&gt;
&lt;br /&gt;
 ProcSetting userui_program /sbin/suspend2ui_fbsplash&lt;br /&gt;
 OnResume 96 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
Add the following lines in {{path|/etc/hibernate/ram.conf}}:&lt;br /&gt;
&lt;br /&gt;
 Distribution fedora&lt;br /&gt;
&lt;br /&gt;
Comment out the following lines in {{path|/etc/hibernate/ram.conf}}:&lt;br /&gt;
&lt;br /&gt;
 '''#''' EnableVbetool yes&lt;br /&gt;
 '''#''' VbetoolPost yes&lt;br /&gt;
 &lt;br /&gt;
Make the following changes (i.e. comment out the two vbetool lines, and add the return 0 line in the resume_video function) in {{path|/etc/pm/functions-intel}}:&lt;br /&gt;
&lt;br /&gt;
 resume_video()&lt;br /&gt;
 {&lt;br /&gt;
 (&lt;br /&gt;
         '''#''' /usr/sbin/vbetool post&lt;br /&gt;
         '''#''' /usr/sbin/vbetool vbestate restore &amp;lt; /var/run/vbestate&lt;br /&gt;
         '''return 0'''&lt;br /&gt;
 ) &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate lines in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&lt;br /&gt;
 HIBERNATE_RESUME_POST_VIDEO=&amp;quot;'''no'''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Problems with a black screen after resuming can sometimes be fixed by adding the following line to the device section in {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 Option &amp;quot;VBERestore&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the following file {{path|/etc/pm/hooks/40wacom}}:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 wget http://www.cs.cornell.edu/~saikat/libbiometrics-1.2.2-1.sg.i386.rpm&lt;br /&gt;
 wget http://www.cs.cornell.edu/~saikat/libbiometrics-tfmess-1.0-1.sg.i386.rpm&lt;br /&gt;
 yum localinstall libbiometrics-1.2.2-1.sg.i386.rpm libbiometrics-tfmess-1.0-1.sg.i386.rpm&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This is still work-in-progress. Currently you can enroll fingerprints, and verify them through a test application. Integrating&lt;br /&gt;
this support into pam (and therefore logins, gdm, screensaver etc.) is in the works. Those interested in developing biometrics applications&lt;br /&gt;
can install [http://www.cs.cornell.edu/~saikat/libbiometrics-devel-1.2.2-1.sg.i386.rpm libbiometrics-devel-1.2.2-1.sg.i386.rpm]. SRPMS for the above are available [http://www.cs.cornell.edu/w8/~saikat/packages/SRPMS/ here].}}&lt;br /&gt;
&lt;br /&gt;
To try out enrollment and verification, run: {{cmdroot|useraddbio}}&lt;br /&gt;
&lt;br /&gt;
=== Harddrive Active Protection System (HDAPS) ===&lt;br /&gt;
&lt;br /&gt;
Harddrive active protection system requires the &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; kernel module (included in stock Fedora kernels), and&lt;br /&gt;
a kernel capable of parking disks (patch included in &amp;lt;tt&amp;gt;kernel-suspend2&amp;lt;/tt&amp;gt; RPMs from the Hibernation section above).&lt;br /&gt;
It also requires a userspace daemon to monitor the accleration sensor and park the disk head when excessive motion is detected. To install the userspace daemon, do the following:&lt;br /&gt;
&lt;br /&gt;
{{HINT|This requires kernel support for &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; and head parking. Install &amp;lt;tt&amp;gt;[http://mhensler.de/swsusp/download/yum/development/fc5/kernel-suspend2-2.6.16-1.2084_2.rhfc5.cubbi_suspend2.i686.rpm kernel-suspend2-2.6.16-1.2084_2]&amp;lt;/tt&amp;gt; or [http://mhensler.de/swsusp/download/yum/development/fc5/ higher]}}&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/hdapsd-20060326cvs-1.sg.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall hdapsd-20060326cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
If software suspend is enabled, add the following line to {{path|/etc/hibernate/hibernate.conf}}&lt;br /&gt;
&lt;br /&gt;
 UnloadModules hdaps&lt;br /&gt;
&lt;br /&gt;
To install the Gnome panel applet that monitors the state of the harddisk, install:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
{{NOTE|SRPMS for the above are available [http://www.cs.cornell.edu/w8/~saikat/packages/SRPMS/ here].}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tablet Software == &lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Fader</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=31205</id>
		<title>Installing Fedora 7 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=31205"/>
		<updated>2007-07-13T00:33:27Z</updated>

		<summary type="html">&lt;p&gt;Fader: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Page Not Accurate! =&lt;br /&gt;
This page is not accurate; I've just copied it over from [[Installing Fedora Core 5 on a ThinkPad X41 Tablet]] in order to start editing/updating it for Fedora 7. Please feel free to help out with that if you stumble across this page while it is still a work in progress.&lt;br /&gt;
&lt;br /&gt;
== Success Chart ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| '''Item''' || '''Working''' || '''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Installation &lt;br /&gt;
| Network Installation ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| USB Installation     ||class=&amp;quot;diff-addedline&amp;quot;| Yes (DVD) ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| CRT / Projector ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Screen Rotation ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Requires configuration changes.&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Power Management&lt;br /&gt;
| Software Suspend (hibernate) ||class=&amp;quot;diff-addedline&amp;quot;| Yes || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes (mostly) || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=3| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth ||class=&amp;quot;diff-context&amp;quot;| Not Tested (should work) || See [[Installing_Fedora_Core_4_on_a_ThinkPad_X41_Tablet#Bluetooth|Bluetooth on Fedora Core 4]]&lt;br /&gt;
|-&lt;br /&gt;
| Infrared ||class=&amp;quot;diff-addedline&amp;quot;| Yes || irda, /etc/modprobe.conf&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Extra Buttons || Keyboard Section ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ibm-acpi driver&lt;br /&gt;
|-&lt;br /&gt;
| Tablet buttons ||class=&amp;quot;diff-addedline&amp;quot;| Yes || setkeycodes&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Fingerprint Scanner ||class=&amp;quot;diff-addedline&amp;quot;| Yes || bioapi&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Harddisk Active Protection ||class=&amp;quot;diff-addedline&amp;quot;| Yes || kernel 2.6.16, hdapsd&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Tested and Verified on Fedora 7 =&lt;br /&gt;
&lt;br /&gt;
Information in this section has been tested and verified using Fedora 7.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward; you can use the generic install instructions [http://fedoraproject.org/wiki/Distribution/Download#head-79f58abcee810df2be8fff176fe58ba3972d6358 here].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&lt;br /&gt;
Basic X server functionality should work out of the box.&lt;br /&gt;
&lt;br /&gt;
==== Desktop Effects ====&lt;br /&gt;
'Desktop Effects' work but are not enabled by default; to enable them run 'desktop-effects' and click 'enable desktop effects'. Note that these conflict with working rotation- you get either desktop effects or tablet rotation; not both.&lt;br /&gt;
&lt;br /&gt;
==== Tablet Buttons ====&lt;br /&gt;
&lt;br /&gt;
Activate mappings for the tablet buttons by adding the following lines to {{path|/etc/rc.d/rc.local}}:&lt;br /&gt;
&lt;br /&gt;
 # Map tablet hardware buttons&lt;br /&gt;
 setkeycodes 6e 109 6d 104 69 28 6b 1 6c 120&lt;br /&gt;
&lt;br /&gt;
==== Enabling the Stylus ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/rc.d/rc.local}}:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;i&amp;gt;(Note: You will need to be root to perform these two edits)&amp;lt;/i&amp;gt;&lt;br /&gt;
 # Map stylus to a serial port&lt;br /&gt;
 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add the lines in bold font to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
  Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;default&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0&amp;quot; 0 0&lt;br /&gt;
         InputDevice    &amp;quot;Mouse0&amp;quot; &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;Keyboard0&amp;quot; &amp;quot;CoreKeyboard&amp;quot;&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;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 '''Section &amp;quot;InputDevice&amp;quot;'''&lt;br /&gt;
       '''Driver        &amp;quot;wacom&amp;quot;'''&lt;br /&gt;
       '''Identifier    &amp;quot;cursor&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;
       '''Option        &amp;quot;Mode&amp;quot;          &amp;quot;Absolute&amp;quot;'''&lt;br /&gt;
       '''Option        &amp;quot;TPCButton&amp;quot;     &amp;quot;on&amp;quot;'''&lt;br /&gt;
 '''EndSection'''&lt;br /&gt;
 &lt;br /&gt;
 '''Section &amp;quot;InputDevice&amp;quot;'''&lt;br /&gt;
       '''Driver        &amp;quot;wacom&amp;quot;'''&lt;br /&gt;
       '''Identifier    &amp;quot;stylus&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;
&lt;br /&gt;
If the style stops working after a suspend/resume cycle, (as root) create the following file {{path|/usr/lib/pm-utils/sleep.d/40wacom}}&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 . /usr/lib/pm-utils/functions&lt;br /&gt;
 &lt;br /&gt;
 suspend_wacom() {&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 resume_wacom() {&lt;br /&gt;
     # Reset serial port for stylus&lt;br /&gt;
     setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 case &amp;quot;$1&amp;quot; in&lt;br /&gt;
         hibernate|suspend)&lt;br /&gt;
                 suspend_wacom&lt;br /&gt;
                 ;;&lt;br /&gt;
         thaw|resume)&lt;br /&gt;
                 resume_wacom&lt;br /&gt;
                 ;;&lt;br /&gt;
         *)&lt;br /&gt;
                 ;;&lt;br /&gt;
 esac &lt;br /&gt;
 &lt;br /&gt;
 exit $?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
The wireless card works out of the box- no additional drivers necessary.&lt;br /&gt;
&lt;br /&gt;
Network Manager is installed by default, but may not be enabled by default depending on your mode of installation. To turn it on, do as root:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
=== Infrared ===&lt;br /&gt;
&lt;br /&gt;
The infrared subsystem supports NSC Fast IR (FIR), which transmits at a speed of 4 Mbps.&lt;br /&gt;
&lt;br /&gt;
First things first: Go to your BIOS and enable the infrared and manually set up IO to be '''0x2f8''' and IRQ to be '''3'''. Typically, the default manual config is this so you probably don't need to edit it. Then go ahead an grab any irda-related packages from YUM.&lt;br /&gt;
&lt;br /&gt;
Then I copied the section on Infrared for the T60:&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/modprobe.conf}}, add the following two lines:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
alias irda0 nsc-ircc&lt;br /&gt;
options nsc-ircc dongle_id=0x09&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/sysconfig/irda}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IRDA=yes&lt;br /&gt;
DEVICE=irda0&lt;br /&gt;
DISCOVERY=yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Start IRDA&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|service irda start}}&lt;br /&gt;
&lt;br /&gt;
If You want IRDA to be enabled during system boot, turn it on like this:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|chkconfig irda on}}&lt;br /&gt;
&lt;br /&gt;
That should set you up. You can then set up things like remote controls that operate through the LIRC daemon, which Fedora has a package and a kernel module for. This can useful for xmms, which has a plugin to allow you to change songs with the remote and other nifty features. You can define the controls as well. The choice is yours.&lt;br /&gt;
&lt;br /&gt;
For more information, see [http://lirc.sourceforge.net Linux Infrared Remote Control Project]&lt;br /&gt;
&lt;br /&gt;
=== tpb/on-screen display ===&lt;br /&gt;
&lt;br /&gt;
tpb, which controls the onscreen display of thinkpad buttons, is not installed by default.&lt;br /&gt;
&lt;br /&gt;
To install tpb execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb}}&lt;br /&gt;
&lt;br /&gt;
Once installed, no configuration is necessary.&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported by the thinkfinger package.&lt;br /&gt;
&lt;br /&gt;
To install thinkfinger execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
== Tablet Software == &lt;br /&gt;
&lt;br /&gt;
=== Xournal ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;Xournal&amp;lt;/tt&amp;gt; is a gnome-based journaling tool for tablets; you can get packages for Fedora 7 from [http://koji.fedoraproject.org/koji/packageinfo?packageID=4460 here].&lt;br /&gt;
&lt;br /&gt;
= Untested on Fedora 7 =&lt;br /&gt;
Information below this line is merely copied from the Fedora Core 5 guide and has not been tested on Fedora 7.&lt;br /&gt;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
Download (and verify) the following script into your path:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|wget http://www.cs.cornell.edu/~saikat/rotate}}&lt;br /&gt;
 {{cmduser|chmod a+x rotate}}&lt;br /&gt;
&lt;br /&gt;
Rotate the screen using the script:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|rotate -h}}&lt;br /&gt;
 Useage:&lt;br /&gt;
    rotate [left|right|inverted|normal]&lt;br /&gt;
  &lt;br /&gt;
 If no option is given, rotates the screen 90 degrees to the right.&lt;br /&gt;
&lt;br /&gt;
To bind the tablet's {{key|Rotate}} button to rotate the screen on-the-fly, add the following line to {{path|/etc/X11/Xmodmap}}&lt;br /&gt;
 keycode 139 = XF86RotateWindows&lt;br /&gt;
&lt;br /&gt;
{{HINT|'''Update:''' Check to make sure you are using the new &amp;lt;tt&amp;gt;setkeycodes&amp;lt;/tt&amp;gt; line in the Tablet Buttons section (one with &amp;lt;tt&amp;gt;6c 120&amp;lt;/tt&amp;gt; in the command).}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hibernation ===&lt;br /&gt;
&lt;br /&gt;
Software suspend works using [[Software Suspend 2]]. To install:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://mhensler.de/swsusp/download/suspend2.repo}}&lt;br /&gt;
 {{cmdroot|yum install userui-suspend2-fbsplash userui-suspend2-theme-fedorabubbles kernel-suspend2}}&lt;br /&gt;
&lt;br /&gt;
Edit the appropriate kernel line in {{path|/etc/grub.conf}} and add the parameters {{bootparm|vga|0x317}} and {{bootparm|acpi_sleep|s3_bios}}. For example:&lt;br /&gt;
&lt;br /&gt;
 title Fedora Core (''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2)&lt;br /&gt;
        root (hd0,1)&lt;br /&gt;
        kernel /vmlinuz-''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2 ro root=/dev/VolGroup00/LogVol00 rhgb quiet '''vga=0x317 acpi_sleep=s3_bios'''&lt;br /&gt;
        initrd /initrd-''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2.img&lt;br /&gt;
&lt;br /&gt;
Comment out the following line in {{path|/etc/hibernate/hibernate.conf}}:&lt;br /&gt;
&lt;br /&gt;
 '''#''' ProcSetting userui_program /sbin/suspend2ui_text&lt;br /&gt;
&lt;br /&gt;
Add the following lines in {{path|/etc/hibernate/hibernate.conf}}:&lt;br /&gt;
&lt;br /&gt;
 ProcSetting userui_program /sbin/suspend2ui_fbsplash&lt;br /&gt;
 OnResume 96 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
Add the following lines in {{path|/etc/hibernate/ram.conf}}:&lt;br /&gt;
&lt;br /&gt;
 Distribution fedora&lt;br /&gt;
&lt;br /&gt;
Comment out the following lines in {{path|/etc/hibernate/ram.conf}}:&lt;br /&gt;
&lt;br /&gt;
 '''#''' EnableVbetool yes&lt;br /&gt;
 '''#''' VbetoolPost yes&lt;br /&gt;
 &lt;br /&gt;
Make the following changes (i.e. comment out the two vbetool lines, and add the return 0 line in the resume_video function) in {{path|/etc/pm/functions-intel}}:&lt;br /&gt;
&lt;br /&gt;
 resume_video()&lt;br /&gt;
 {&lt;br /&gt;
 (&lt;br /&gt;
         '''#''' /usr/sbin/vbetool post&lt;br /&gt;
         '''#''' /usr/sbin/vbetool vbestate restore &amp;lt; /var/run/vbestate&lt;br /&gt;
         '''return 0'''&lt;br /&gt;
 ) &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate lines in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&lt;br /&gt;
 HIBERNATE_RESUME_POST_VIDEO=&amp;quot;'''no'''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Problems with a black screen after resuming can sometimes be fixed by adding the following line to the device section in {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 Option &amp;quot;VBERestore&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the following file {{path|/etc/pm/hooks/40wacom}}:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 wget http://www.cs.cornell.edu/~saikat/libbiometrics-1.2.2-1.sg.i386.rpm&lt;br /&gt;
 wget http://www.cs.cornell.edu/~saikat/libbiometrics-tfmess-1.0-1.sg.i386.rpm&lt;br /&gt;
 yum localinstall libbiometrics-1.2.2-1.sg.i386.rpm libbiometrics-tfmess-1.0-1.sg.i386.rpm&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This is still work-in-progress. Currently you can enroll fingerprints, and verify them through a test application. Integrating&lt;br /&gt;
this support into pam (and therefore logins, gdm, screensaver etc.) is in the works. Those interested in developing biometrics applications&lt;br /&gt;
can install [http://www.cs.cornell.edu/~saikat/libbiometrics-devel-1.2.2-1.sg.i386.rpm libbiometrics-devel-1.2.2-1.sg.i386.rpm]. SRPMS for the above are available [http://www.cs.cornell.edu/w8/~saikat/packages/SRPMS/ here].}}&lt;br /&gt;
&lt;br /&gt;
To try out enrollment and verification, run: {{cmdroot|useraddbio}}&lt;br /&gt;
&lt;br /&gt;
=== Harddrive Active Protection System (HDAPS) ===&lt;br /&gt;
&lt;br /&gt;
Harddrive active protection system requires the &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; kernel module (included in stock Fedora kernels), and&lt;br /&gt;
a kernel capable of parking disks (patch included in &amp;lt;tt&amp;gt;kernel-suspend2&amp;lt;/tt&amp;gt; RPMs from the Hibernation section above).&lt;br /&gt;
It also requires a userspace daemon to monitor the accleration sensor and park the disk head when excessive motion is detected. To install the userspace daemon, do the following:&lt;br /&gt;
&lt;br /&gt;
{{HINT|This requires kernel support for &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; and head parking. Install &amp;lt;tt&amp;gt;[http://mhensler.de/swsusp/download/yum/development/fc5/kernel-suspend2-2.6.16-1.2084_2.rhfc5.cubbi_suspend2.i686.rpm kernel-suspend2-2.6.16-1.2084_2]&amp;lt;/tt&amp;gt; or [http://mhensler.de/swsusp/download/yum/development/fc5/ higher]}}&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/hdapsd-20060326cvs-1.sg.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall hdapsd-20060326cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
If software suspend is enabled, add the following line to {{path|/etc/hibernate/hibernate.conf}}&lt;br /&gt;
&lt;br /&gt;
 UnloadModules hdaps&lt;br /&gt;
&lt;br /&gt;
To install the Gnome panel applet that monitors the state of the harddisk, install:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
{{NOTE|SRPMS for the above are available [http://www.cs.cornell.edu/w8/~saikat/packages/SRPMS/ here].}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tablet Software == &lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Fader</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=31204</id>
		<title>Installing Fedora 7 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=31204"/>
		<updated>2007-07-13T00:32:30Z</updated>

		<summary type="html">&lt;p&gt;Fader: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Page Not Accurate! =&lt;br /&gt;
This page is not accurate; I've just copied it over from [[Installing Fedora Core 5 on a ThinkPad X41 Tablet]] in order to start editing/updating it for Fedora 7. Please feel free to help out with that if you stumble across this page while it is still a work in progress.&lt;br /&gt;
&lt;br /&gt;
== Success Chart ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| '''Item''' || '''Working''' || '''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Installation &lt;br /&gt;
| Network Installation ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| USB Installation     ||class=&amp;quot;diff-addedline&amp;quot;| Yes (DVD) ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| CRT / Projector ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Screen Rotation ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Requires configuration changes.&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Power Management&lt;br /&gt;
| Software Suspend (hibernate) ||class=&amp;quot;diff-addedline&amp;quot;| Yes || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes (mostly) || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=3| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth ||class=&amp;quot;diff-context&amp;quot;| Not Tested (should work) || See [[Installing_Fedora_Core_4_on_a_ThinkPad_X41_Tablet#Bluetooth|Bluetooth on Fedora Core 4]]&lt;br /&gt;
|-&lt;br /&gt;
| Infrared ||class=&amp;quot;diff-addedline&amp;quot;| Yes || irda, /etc/modprobe.conf&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Extra Buttons || Keyboard Section ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ibm-acpi driver&lt;br /&gt;
|-&lt;br /&gt;
| Tablet buttons ||class=&amp;quot;diff-addedline&amp;quot;| Yes || setkeycodes&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Fingerprint Scanner ||class=&amp;quot;diff-addedline&amp;quot;| Yes || bioapi&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Harddisk Active Protection ||class=&amp;quot;diff-addedline&amp;quot;| Yes || kernel 2.6.16, hdapsd&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Tested and Verified on Fedora 7 =&lt;br /&gt;
&lt;br /&gt;
Information in this section has been tested and verified using Fedora 7.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward; you can use the generic install instructions [http://fedoraproject.org/wiki/Distribution/Download#head-79f58abcee810df2be8fff176fe58ba3972d6358 here].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&lt;br /&gt;
Basic X server functionality should work out of the box.&lt;br /&gt;
&lt;br /&gt;
==== Desktop Effects ====&lt;br /&gt;
'Desktop Effects' work but are not enabled by default; to enable them run 'desktop-effects' and click 'enable desktop effects'. Note that these conflict with working rotation- you get either desktop effects or tablet rotation; not both.&lt;br /&gt;
&lt;br /&gt;
==== Tablet Buttons ====&lt;br /&gt;
&lt;br /&gt;
Activate mappings for the tablet buttons by adding the following lines to {{path|/etc/rc.d/rc.local}}:&lt;br /&gt;
&lt;br /&gt;
 # Map tablet hardware buttons&lt;br /&gt;
 setkeycodes 6e 109 6d 104 69 28 6b 1 6c 120&lt;br /&gt;
&lt;br /&gt;
==== Enabling the Stylus ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/rc.d/rc.local}}:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;i&amp;gt;(Note: You will need to be root to perform these two edits)&amp;lt;/i&amp;gt;&lt;br /&gt;
 # Map stylus to a serial port&lt;br /&gt;
 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add the lines in bold font to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
  Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;default&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0&amp;quot; 0 0&lt;br /&gt;
         InputDevice    &amp;quot;Mouse0&amp;quot; &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;Keyboard0&amp;quot; &amp;quot;CoreKeyboard&amp;quot;&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;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 '''Section &amp;quot;InputDevice&amp;quot;'''&lt;br /&gt;
       '''Driver        &amp;quot;wacom&amp;quot;'''&lt;br /&gt;
       '''Identifier    &amp;quot;cursor&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;
       '''Option        &amp;quot;Mode&amp;quot;          &amp;quot;Absolute&amp;quot;'''&lt;br /&gt;
       '''Option        &amp;quot;TPCButton&amp;quot;     &amp;quot;on&amp;quot;'''&lt;br /&gt;
 '''EndSection'''&lt;br /&gt;
 &lt;br /&gt;
 '''Section &amp;quot;InputDevice&amp;quot;'''&lt;br /&gt;
       '''Driver        &amp;quot;wacom&amp;quot;'''&lt;br /&gt;
       '''Identifier    &amp;quot;stylus&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;
&lt;br /&gt;
If the style stops working after a suspend/resume cycle, (as root) create the following file {{path|/usr/lib/pm-utils/sleep.d/40wacom}}&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 . /usr/lib/pm-utils/functions&lt;br /&gt;
 &lt;br /&gt;
 suspend_wacom() {&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 resume_wacom() {&lt;br /&gt;
     # Reset serial port for stylus&lt;br /&gt;
     setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 case &amp;quot;$1&amp;quot; in&lt;br /&gt;
         hibernate|suspend)&lt;br /&gt;
                 suspend_wacom&lt;br /&gt;
                 ;;&lt;br /&gt;
         thaw|resume)&lt;br /&gt;
                 resume_wacom&lt;br /&gt;
                 ;;&lt;br /&gt;
         *)&lt;br /&gt;
                 ;;&lt;br /&gt;
 esac &lt;br /&gt;
 &lt;br /&gt;
 exit $?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
The wireless card works out of the box- no additional drivers necessary.&lt;br /&gt;
&lt;br /&gt;
Network Manager is installed by default, but may not be enabled by default depending on your mode of installation. To turn it on, do as root:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
=== Infrared ===&lt;br /&gt;
&lt;br /&gt;
The infrared subsystem supports NSC Fast IR (FIR), which transmits at a speed of 4 Mbps.&lt;br /&gt;
&lt;br /&gt;
First things first: Go to your BIOS and enable the infrared and manually set up IO to be '''0x2f8''' and IRQ to be '''3'''. Typically, the default manual config is this so you probably don't need to edit it. Then go ahead an grab any irda-related packages from YUM.&lt;br /&gt;
&lt;br /&gt;
Then I copied the section on Infrared for the T60:&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/modprobe.conf}}, add the following two lines:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
alias irda0 nsc-ircc&lt;br /&gt;
options nsc-ircc dongle_id=0x09&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/sysconfig/irda}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IRDA=yes&lt;br /&gt;
DEVICE=irda0&lt;br /&gt;
DISCOVERY=yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Start IRDA&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|service irda start}}&lt;br /&gt;
&lt;br /&gt;
If You want IRDA to be enabled during system boot, turn it on like this:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|chkconfig irda on}}&lt;br /&gt;
&lt;br /&gt;
That should set you up. You can then set up things like remote controls that operate through the LIRC daemon, which Fedora has a package and a kernel module for. This can useful for xmms, which has a plugin to allow you to change songs with the remote and other nifty features. You can define the controls as well. The choice is yours.&lt;br /&gt;
&lt;br /&gt;
For more information, see [http://lirc.sourceforge.net link Linux Infrared Remote Control Project]&lt;br /&gt;
&lt;br /&gt;
=== tpb/on-screen display ===&lt;br /&gt;
&lt;br /&gt;
tpb, which controls the onscreen display of thinkpad buttons, is not installed by default.&lt;br /&gt;
&lt;br /&gt;
To install tpb execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb}}&lt;br /&gt;
&lt;br /&gt;
Once installed, no configuration is necessary.&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported by the thinkfinger package.&lt;br /&gt;
&lt;br /&gt;
To install thinkfinger execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
== Tablet Software == &lt;br /&gt;
&lt;br /&gt;
=== Xournal ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;Xournal&amp;lt;/tt&amp;gt; is a gnome-based journaling tool for tablets; you can get packages for Fedora 7 from [http://koji.fedoraproject.org/koji/packageinfo?packageID=4460 here].&lt;br /&gt;
&lt;br /&gt;
= Untested on Fedora 7 =&lt;br /&gt;
Information below this line is merely copied from the Fedora Core 5 guide and has not been tested on Fedora 7.&lt;br /&gt;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
Download (and verify) the following script into your path:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|wget http://www.cs.cornell.edu/~saikat/rotate}}&lt;br /&gt;
 {{cmduser|chmod a+x rotate}}&lt;br /&gt;
&lt;br /&gt;
Rotate the screen using the script:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|rotate -h}}&lt;br /&gt;
 Useage:&lt;br /&gt;
    rotate [left|right|inverted|normal]&lt;br /&gt;
  &lt;br /&gt;
 If no option is given, rotates the screen 90 degrees to the right.&lt;br /&gt;
&lt;br /&gt;
To bind the tablet's {{key|Rotate}} button to rotate the screen on-the-fly, add the following line to {{path|/etc/X11/Xmodmap}}&lt;br /&gt;
 keycode 139 = XF86RotateWindows&lt;br /&gt;
&lt;br /&gt;
{{HINT|'''Update:''' Check to make sure you are using the new &amp;lt;tt&amp;gt;setkeycodes&amp;lt;/tt&amp;gt; line in the Tablet Buttons section (one with &amp;lt;tt&amp;gt;6c 120&amp;lt;/tt&amp;gt; in the command).}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hibernation ===&lt;br /&gt;
&lt;br /&gt;
Software suspend works using [[Software Suspend 2]]. To install:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://mhensler.de/swsusp/download/suspend2.repo}}&lt;br /&gt;
 {{cmdroot|yum install userui-suspend2-fbsplash userui-suspend2-theme-fedorabubbles kernel-suspend2}}&lt;br /&gt;
&lt;br /&gt;
Edit the appropriate kernel line in {{path|/etc/grub.conf}} and add the parameters {{bootparm|vga|0x317}} and {{bootparm|acpi_sleep|s3_bios}}. For example:&lt;br /&gt;
&lt;br /&gt;
 title Fedora Core (''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2)&lt;br /&gt;
        root (hd0,1)&lt;br /&gt;
        kernel /vmlinuz-''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2 ro root=/dev/VolGroup00/LogVol00 rhgb quiet '''vga=0x317 acpi_sleep=s3_bios'''&lt;br /&gt;
        initrd /initrd-''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2.img&lt;br /&gt;
&lt;br /&gt;
Comment out the following line in {{path|/etc/hibernate/hibernate.conf}}:&lt;br /&gt;
&lt;br /&gt;
 '''#''' ProcSetting userui_program /sbin/suspend2ui_text&lt;br /&gt;
&lt;br /&gt;
Add the following lines in {{path|/etc/hibernate/hibernate.conf}}:&lt;br /&gt;
&lt;br /&gt;
 ProcSetting userui_program /sbin/suspend2ui_fbsplash&lt;br /&gt;
 OnResume 96 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
Add the following lines in {{path|/etc/hibernate/ram.conf}}:&lt;br /&gt;
&lt;br /&gt;
 Distribution fedora&lt;br /&gt;
&lt;br /&gt;
Comment out the following lines in {{path|/etc/hibernate/ram.conf}}:&lt;br /&gt;
&lt;br /&gt;
 '''#''' EnableVbetool yes&lt;br /&gt;
 '''#''' VbetoolPost yes&lt;br /&gt;
 &lt;br /&gt;
Make the following changes (i.e. comment out the two vbetool lines, and add the return 0 line in the resume_video function) in {{path|/etc/pm/functions-intel}}:&lt;br /&gt;
&lt;br /&gt;
 resume_video()&lt;br /&gt;
 {&lt;br /&gt;
 (&lt;br /&gt;
         '''#''' /usr/sbin/vbetool post&lt;br /&gt;
         '''#''' /usr/sbin/vbetool vbestate restore &amp;lt; /var/run/vbestate&lt;br /&gt;
         '''return 0'''&lt;br /&gt;
 ) &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate lines in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&lt;br /&gt;
 HIBERNATE_RESUME_POST_VIDEO=&amp;quot;'''no'''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Problems with a black screen after resuming can sometimes be fixed by adding the following line to the device section in {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 Option &amp;quot;VBERestore&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the following file {{path|/etc/pm/hooks/40wacom}}:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 wget http://www.cs.cornell.edu/~saikat/libbiometrics-1.2.2-1.sg.i386.rpm&lt;br /&gt;
 wget http://www.cs.cornell.edu/~saikat/libbiometrics-tfmess-1.0-1.sg.i386.rpm&lt;br /&gt;
 yum localinstall libbiometrics-1.2.2-1.sg.i386.rpm libbiometrics-tfmess-1.0-1.sg.i386.rpm&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This is still work-in-progress. Currently you can enroll fingerprints, and verify them through a test application. Integrating&lt;br /&gt;
this support into pam (and therefore logins, gdm, screensaver etc.) is in the works. Those interested in developing biometrics applications&lt;br /&gt;
can install [http://www.cs.cornell.edu/~saikat/libbiometrics-devel-1.2.2-1.sg.i386.rpm libbiometrics-devel-1.2.2-1.sg.i386.rpm]. SRPMS for the above are available [http://www.cs.cornell.edu/w8/~saikat/packages/SRPMS/ here].}}&lt;br /&gt;
&lt;br /&gt;
To try out enrollment and verification, run: {{cmdroot|useraddbio}}&lt;br /&gt;
&lt;br /&gt;
=== Harddrive Active Protection System (HDAPS) ===&lt;br /&gt;
&lt;br /&gt;
Harddrive active protection system requires the &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; kernel module (included in stock Fedora kernels), and&lt;br /&gt;
a kernel capable of parking disks (patch included in &amp;lt;tt&amp;gt;kernel-suspend2&amp;lt;/tt&amp;gt; RPMs from the Hibernation section above).&lt;br /&gt;
It also requires a userspace daemon to monitor the accleration sensor and park the disk head when excessive motion is detected. To install the userspace daemon, do the following:&lt;br /&gt;
&lt;br /&gt;
{{HINT|This requires kernel support for &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; and head parking. Install &amp;lt;tt&amp;gt;[http://mhensler.de/swsusp/download/yum/development/fc5/kernel-suspend2-2.6.16-1.2084_2.rhfc5.cubbi_suspend2.i686.rpm kernel-suspend2-2.6.16-1.2084_2]&amp;lt;/tt&amp;gt; or [http://mhensler.de/swsusp/download/yum/development/fc5/ higher]}}&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/hdapsd-20060326cvs-1.sg.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall hdapsd-20060326cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
If software suspend is enabled, add the following line to {{path|/etc/hibernate/hibernate.conf}}&lt;br /&gt;
&lt;br /&gt;
 UnloadModules hdaps&lt;br /&gt;
&lt;br /&gt;
To install the Gnome panel applet that monitors the state of the harddisk, install:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
{{NOTE|SRPMS for the above are available [http://www.cs.cornell.edu/w8/~saikat/packages/SRPMS/ here].}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tablet Software == &lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Fader</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=31200</id>
		<title>Installing Fedora 7 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=31200"/>
		<updated>2007-07-13T00:19:14Z</updated>

		<summary type="html">&lt;p&gt;Fader: /* Success Chart */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Page Not Accurate! =&lt;br /&gt;
This page is not accurate; I've just copied it over from [[Installing Fedora Core 5 on a ThinkPad X41 Tablet]] in order to start editing/updating it for Fedora 7. Please feel free to help out with that if you stumble across this page while it is still a work in progress.&lt;br /&gt;
&lt;br /&gt;
== Success Chart ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| '''Item''' || '''Working''' || '''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Installation &lt;br /&gt;
| Network Installation ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| USB Installation     ||class=&amp;quot;diff-addedline&amp;quot;| Yes (DVD) ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| CRT / Projector ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Screen Rotation ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Requires configuration changes.&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Power Management&lt;br /&gt;
| Software Suspend (hibernate) ||class=&amp;quot;diff-addedline&amp;quot;| Yes || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes (mostly) || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=3| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth ||class=&amp;quot;diff-context&amp;quot;| Not Tested (should work) || See [[Installing_Fedora_Core_4_on_a_ThinkPad_X41_Tablet#Bluetooth|Bluetooth on Fedora Core 4]]&lt;br /&gt;
|-&lt;br /&gt;
| Infrared ||class=&amp;quot;diff-addedline&amp;quot;| Yes || irda, /etc/modprobe.conf&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Extra Buttons || Keyboard Section ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ibm-acpi driver&lt;br /&gt;
|-&lt;br /&gt;
| Tablet buttons ||class=&amp;quot;diff-addedline&amp;quot;| Yes || setkeycodes&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Fingerprint Scanner ||class=&amp;quot;diff-addedline&amp;quot;| Yes || bioapi&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Harddisk Active Protection ||class=&amp;quot;diff-addedline&amp;quot;| Yes || kernel 2.6.16, hdapsd&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Tested and Verified on Fedora 7 =&lt;br /&gt;
&lt;br /&gt;
Information in this section has been tested and verified using Fedora 7.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward; you can use the generic install instructions [http://fedoraproject.org/wiki/Distribution/Download#head-79f58abcee810df2be8fff176fe58ba3972d6358 here].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&lt;br /&gt;
Basic X server functionality should work out of the box.&lt;br /&gt;
&lt;br /&gt;
==== Desktop Effects ====&lt;br /&gt;
'Desktop Effects' work but are not enabled by default; to enable them run 'desktop-effects' and click 'enable desktop effects'. Note that these conflict with working rotation- you get either desktop effects or tablet rotation; not both.&lt;br /&gt;
&lt;br /&gt;
==== Tablet Buttons ====&lt;br /&gt;
&lt;br /&gt;
Activate mappings for the tablet buttons by adding the following lines to {{path|/etc/rc.d/rc.local}}:&lt;br /&gt;
&lt;br /&gt;
 # Map tablet hardware buttons&lt;br /&gt;
 setkeycodes 6e 109 6d 104 69 28 6b 1 6c 120&lt;br /&gt;
&lt;br /&gt;
==== Enabling the Stylus ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/rc.d/rc.local}}:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;i&amp;gt;(Note: You will need to be root to perform these two edits)&amp;lt;/i&amp;gt;&lt;br /&gt;
 # Map stylus to a serial port&lt;br /&gt;
 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add the lines in bold font to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
  Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;default&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0&amp;quot; 0 0&lt;br /&gt;
         InputDevice    &amp;quot;Mouse0&amp;quot; &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;Keyboard0&amp;quot; &amp;quot;CoreKeyboard&amp;quot;&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;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 '''Section &amp;quot;InputDevice&amp;quot;'''&lt;br /&gt;
       '''Driver        &amp;quot;wacom&amp;quot;'''&lt;br /&gt;
       '''Identifier    &amp;quot;cursor&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;
       '''Option        &amp;quot;Mode&amp;quot;          &amp;quot;Absolute&amp;quot;'''&lt;br /&gt;
       '''Option        &amp;quot;TPCButton&amp;quot;     &amp;quot;on&amp;quot;'''&lt;br /&gt;
 '''EndSection'''&lt;br /&gt;
 &lt;br /&gt;
 '''Section &amp;quot;InputDevice&amp;quot;'''&lt;br /&gt;
       '''Driver        &amp;quot;wacom&amp;quot;'''&lt;br /&gt;
       '''Identifier    &amp;quot;stylus&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;
&lt;br /&gt;
If the style stops working after a suspend/resume cycle, (as root) create the following file {{path|/usr/lib/pm-utils/sleep.d/40wacom}}&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 . /usr/lib/pm-utils/functions&lt;br /&gt;
 &lt;br /&gt;
 suspend_wacom() {&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 resume_wacom() {&lt;br /&gt;
     # Reset serial port for stylus&lt;br /&gt;
     setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 case &amp;quot;$1&amp;quot; in&lt;br /&gt;
         hibernate|suspend)&lt;br /&gt;
                 suspend_wacom&lt;br /&gt;
                 ;;&lt;br /&gt;
         thaw|resume)&lt;br /&gt;
                 resume_wacom&lt;br /&gt;
                 ;;&lt;br /&gt;
         *)&lt;br /&gt;
                 ;;&lt;br /&gt;
 esac &lt;br /&gt;
 &lt;br /&gt;
 exit $?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
The wireless card works out of the box- no additional drivers necessary.&lt;br /&gt;
&lt;br /&gt;
Network Manager is installed by default, but may not be enabled by default depending on your mode of installation. To turn it on, do as root:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
=== tpb/on-screen display ===&lt;br /&gt;
&lt;br /&gt;
tpb, which controls the onscreen display of thinkpad buttons, is not installed by default.&lt;br /&gt;
&lt;br /&gt;
To install tpb execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb}}&lt;br /&gt;
&lt;br /&gt;
Once installed, no configuration is necessary.&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported by the thinkfinger package.&lt;br /&gt;
&lt;br /&gt;
To install thinkfinger execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
== Tablet Software == &lt;br /&gt;
&lt;br /&gt;
=== Xournal ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;Xournal&amp;lt;/tt&amp;gt; is a gnome-based journaling tool for tablets; you can get packages for Fedora 7 from [http://koji.fedoraproject.org/koji/packageinfo?packageID=4460 here].&lt;br /&gt;
&lt;br /&gt;
= Untested on Fedora 7 =&lt;br /&gt;
Information below this line is merely copied from the Fedora Core 5 guide and has not been tested on Fedora 7.&lt;br /&gt;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
Download (and verify) the following script into your path:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|wget http://www.cs.cornell.edu/~saikat/rotate}}&lt;br /&gt;
 {{cmduser|chmod a+x rotate}}&lt;br /&gt;
&lt;br /&gt;
Rotate the screen using the script:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|rotate -h}}&lt;br /&gt;
 Useage:&lt;br /&gt;
    rotate [left|right|inverted|normal]&lt;br /&gt;
  &lt;br /&gt;
 If no option is given, rotates the screen 90 degrees to the right.&lt;br /&gt;
&lt;br /&gt;
To bind the tablet's {{key|Rotate}} button to rotate the screen on-the-fly, add the following line to {{path|/etc/X11/Xmodmap}}&lt;br /&gt;
 keycode 139 = XF86RotateWindows&lt;br /&gt;
&lt;br /&gt;
{{HINT|'''Update:''' Check to make sure you are using the new &amp;lt;tt&amp;gt;setkeycodes&amp;lt;/tt&amp;gt; line in the Tablet Buttons section (one with &amp;lt;tt&amp;gt;6c 120&amp;lt;/tt&amp;gt; in the command).}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hibernation ===&lt;br /&gt;
&lt;br /&gt;
Software suspend works using [[Software Suspend 2]]. To install:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://mhensler.de/swsusp/download/suspend2.repo}}&lt;br /&gt;
 {{cmdroot|yum install userui-suspend2-fbsplash userui-suspend2-theme-fedorabubbles kernel-suspend2}}&lt;br /&gt;
&lt;br /&gt;
Edit the appropriate kernel line in {{path|/etc/grub.conf}} and add the parameters {{bootparm|vga|0x317}} and {{bootparm|acpi_sleep|s3_bios}}. For example:&lt;br /&gt;
&lt;br /&gt;
 title Fedora Core (''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2)&lt;br /&gt;
        root (hd0,1)&lt;br /&gt;
        kernel /vmlinuz-''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2 ro root=/dev/VolGroup00/LogVol00 rhgb quiet '''vga=0x317 acpi_sleep=s3_bios'''&lt;br /&gt;
        initrd /initrd-''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2.img&lt;br /&gt;
&lt;br /&gt;
Comment out the following line in {{path|/etc/hibernate/hibernate.conf}}:&lt;br /&gt;
&lt;br /&gt;
 '''#''' ProcSetting userui_program /sbin/suspend2ui_text&lt;br /&gt;
&lt;br /&gt;
Add the following lines in {{path|/etc/hibernate/hibernate.conf}}:&lt;br /&gt;
&lt;br /&gt;
 ProcSetting userui_program /sbin/suspend2ui_fbsplash&lt;br /&gt;
 OnResume 96 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
Add the following lines in {{path|/etc/hibernate/ram.conf}}:&lt;br /&gt;
&lt;br /&gt;
 Distribution fedora&lt;br /&gt;
&lt;br /&gt;
Comment out the following lines in {{path|/etc/hibernate/ram.conf}}:&lt;br /&gt;
&lt;br /&gt;
 '''#''' EnableVbetool yes&lt;br /&gt;
 '''#''' VbetoolPost yes&lt;br /&gt;
 &lt;br /&gt;
Make the following changes (i.e. comment out the two vbetool lines, and add the return 0 line in the resume_video function) in {{path|/etc/pm/functions-intel}}:&lt;br /&gt;
&lt;br /&gt;
 resume_video()&lt;br /&gt;
 {&lt;br /&gt;
 (&lt;br /&gt;
         '''#''' /usr/sbin/vbetool post&lt;br /&gt;
         '''#''' /usr/sbin/vbetool vbestate restore &amp;lt; /var/run/vbestate&lt;br /&gt;
         '''return 0'''&lt;br /&gt;
 ) &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate lines in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&lt;br /&gt;
 HIBERNATE_RESUME_POST_VIDEO=&amp;quot;'''no'''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Problems with a black screen after resuming can sometimes be fixed by adding the following line to the device section in {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 Option &amp;quot;VBERestore&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the following file {{path|/etc/pm/hooks/40wacom}}:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 wget http://www.cs.cornell.edu/~saikat/libbiometrics-1.2.2-1.sg.i386.rpm&lt;br /&gt;
 wget http://www.cs.cornell.edu/~saikat/libbiometrics-tfmess-1.0-1.sg.i386.rpm&lt;br /&gt;
 yum localinstall libbiometrics-1.2.2-1.sg.i386.rpm libbiometrics-tfmess-1.0-1.sg.i386.rpm&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This is still work-in-progress. Currently you can enroll fingerprints, and verify them through a test application. Integrating&lt;br /&gt;
this support into pam (and therefore logins, gdm, screensaver etc.) is in the works. Those interested in developing biometrics applications&lt;br /&gt;
can install [http://www.cs.cornell.edu/~saikat/libbiometrics-devel-1.2.2-1.sg.i386.rpm libbiometrics-devel-1.2.2-1.sg.i386.rpm]. SRPMS for the above are available [http://www.cs.cornell.edu/w8/~saikat/packages/SRPMS/ here].}}&lt;br /&gt;
&lt;br /&gt;
To try out enrollment and verification, run: {{cmdroot|useraddbio}}&lt;br /&gt;
&lt;br /&gt;
=== Harddrive Active Protection System (HDAPS) ===&lt;br /&gt;
&lt;br /&gt;
Harddrive active protection system requires the &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; kernel module (included in stock Fedora kernels), and&lt;br /&gt;
a kernel capable of parking disks (patch included in &amp;lt;tt&amp;gt;kernel-suspend2&amp;lt;/tt&amp;gt; RPMs from the Hibernation section above).&lt;br /&gt;
It also requires a userspace daemon to monitor the accleration sensor and park the disk head when excessive motion is detected. To install the userspace daemon, do the following:&lt;br /&gt;
&lt;br /&gt;
{{HINT|This requires kernel support for &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; and head parking. Install &amp;lt;tt&amp;gt;[http://mhensler.de/swsusp/download/yum/development/fc5/kernel-suspend2-2.6.16-1.2084_2.rhfc5.cubbi_suspend2.i686.rpm kernel-suspend2-2.6.16-1.2084_2]&amp;lt;/tt&amp;gt; or [http://mhensler.de/swsusp/download/yum/development/fc5/ higher]}}&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/hdapsd-20060326cvs-1.sg.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall hdapsd-20060326cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
If software suspend is enabled, add the following line to {{path|/etc/hibernate/hibernate.conf}}&lt;br /&gt;
&lt;br /&gt;
 UnloadModules hdaps&lt;br /&gt;
&lt;br /&gt;
To install the Gnome panel applet that monitors the state of the harddisk, install:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
{{NOTE|SRPMS for the above are available [http://www.cs.cornell.edu/w8/~saikat/packages/SRPMS/ here].}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tablet Software == &lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Fader</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=31199</id>
		<title>Installing Fedora 7 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=31199"/>
		<updated>2007-07-13T00:18:14Z</updated>

		<summary type="html">&lt;p&gt;Fader: /* Success Chart */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Page Not Accurate! =&lt;br /&gt;
This page is not accurate; I've just copied it over from [[Installing Fedora Core 5 on a ThinkPad X41 Tablet]] in order to start editing/updating it for Fedora 7. Please feel free to help out with that if you stumble across this page while it is still a work in progress.&lt;br /&gt;
&lt;br /&gt;
== Success Chart ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| '''Item''' || '''Working''' || '''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Installation &lt;br /&gt;
| Network Installation ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| USB Installation     ||class=&amp;quot;diff-addedline&amp;quot;| Yes (DVD) ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| CRT / Projector ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Screen Rotation ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Requires configuration changes.&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Power Management&lt;br /&gt;
| Software Suspend (hibernate) ||class=&amp;quot;diff-addedline&amp;quot;| Yes || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes (mostly) || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=3| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth ||class=&amp;quot;diff-context&amp;quot;| Not Tested (should work) || See [[Installing_Fedora_Core_4_on_a_ThinkPad_X41_Tablet#Bluetooth|Bluetooth on Fedora Core 4]]&lt;br /&gt;
|-&lt;br /&gt;
| Infrared ||class=&amp;quot;diff-context&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Extra Buttons || Keyboard Section ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ibm-acpi driver&lt;br /&gt;
|-&lt;br /&gt;
| Tablet buttons ||class=&amp;quot;diff-addedline&amp;quot;| Yes || setkeycodes&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Fingerprint Scanner ||class=&amp;quot;diff-addedline&amp;quot;| Yes || bioapi&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Harddisk Active Protection ||class=&amp;quot;diff-addedline&amp;quot;| Yes || kernel 2.6.16, hdapsd&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Tested and Verified on Fedora 7 =&lt;br /&gt;
&lt;br /&gt;
Information in this section has been tested and verified using Fedora 7.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward; you can use the generic install instructions [http://fedoraproject.org/wiki/Distribution/Download#head-79f58abcee810df2be8fff176fe58ba3972d6358 here].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&lt;br /&gt;
Basic X server functionality should work out of the box.&lt;br /&gt;
&lt;br /&gt;
==== Desktop Effects ====&lt;br /&gt;
'Desktop Effects' work but are not enabled by default; to enable them run 'desktop-effects' and click 'enable desktop effects'. Note that these conflict with working rotation- you get either desktop effects or tablet rotation; not both.&lt;br /&gt;
&lt;br /&gt;
==== Tablet Buttons ====&lt;br /&gt;
&lt;br /&gt;
Activate mappings for the tablet buttons by adding the following lines to {{path|/etc/rc.d/rc.local}}:&lt;br /&gt;
&lt;br /&gt;
 # Map tablet hardware buttons&lt;br /&gt;
 setkeycodes 6e 109 6d 104 69 28 6b 1 6c 120&lt;br /&gt;
&lt;br /&gt;
==== Enabling the Stylus ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/rc.d/rc.local}}:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;i&amp;gt;(Note: You will need to be root to perform these two edits)&amp;lt;/i&amp;gt;&lt;br /&gt;
 # Map stylus to a serial port&lt;br /&gt;
 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add the lines in bold font to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
  Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;default&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0&amp;quot; 0 0&lt;br /&gt;
         InputDevice    &amp;quot;Mouse0&amp;quot; &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;Keyboard0&amp;quot; &amp;quot;CoreKeyboard&amp;quot;&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;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 '''Section &amp;quot;InputDevice&amp;quot;'''&lt;br /&gt;
       '''Driver        &amp;quot;wacom&amp;quot;'''&lt;br /&gt;
       '''Identifier    &amp;quot;cursor&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;
       '''Option        &amp;quot;Mode&amp;quot;          &amp;quot;Absolute&amp;quot;'''&lt;br /&gt;
       '''Option        &amp;quot;TPCButton&amp;quot;     &amp;quot;on&amp;quot;'''&lt;br /&gt;
 '''EndSection'''&lt;br /&gt;
 &lt;br /&gt;
 '''Section &amp;quot;InputDevice&amp;quot;'''&lt;br /&gt;
       '''Driver        &amp;quot;wacom&amp;quot;'''&lt;br /&gt;
       '''Identifier    &amp;quot;stylus&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;
&lt;br /&gt;
If the style stops working after a suspend/resume cycle, (as root) create the following file {{path|/usr/lib/pm-utils/sleep.d/40wacom}}&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 . /usr/lib/pm-utils/functions&lt;br /&gt;
 &lt;br /&gt;
 suspend_wacom() {&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 resume_wacom() {&lt;br /&gt;
     # Reset serial port for stylus&lt;br /&gt;
     setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 case &amp;quot;$1&amp;quot; in&lt;br /&gt;
         hibernate|suspend)&lt;br /&gt;
                 suspend_wacom&lt;br /&gt;
                 ;;&lt;br /&gt;
         thaw|resume)&lt;br /&gt;
                 resume_wacom&lt;br /&gt;
                 ;;&lt;br /&gt;
         *)&lt;br /&gt;
                 ;;&lt;br /&gt;
 esac &lt;br /&gt;
 &lt;br /&gt;
 exit $?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
The wireless card works out of the box- no additional drivers necessary.&lt;br /&gt;
&lt;br /&gt;
Network Manager is installed by default, but may not be enabled by default depending on your mode of installation. To turn it on, do as root:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
=== tpb/on-screen display ===&lt;br /&gt;
&lt;br /&gt;
tpb, which controls the onscreen display of thinkpad buttons, is not installed by default.&lt;br /&gt;
&lt;br /&gt;
To install tpb execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb}}&lt;br /&gt;
&lt;br /&gt;
Once installed, no configuration is necessary.&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported by the thinkfinger package.&lt;br /&gt;
&lt;br /&gt;
To install thinkfinger execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
== Tablet Software == &lt;br /&gt;
&lt;br /&gt;
=== Xournal ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;Xournal&amp;lt;/tt&amp;gt; is a gnome-based journaling tool for tablets; you can get packages for Fedora 7 from [http://koji.fedoraproject.org/koji/packageinfo?packageID=4460 here].&lt;br /&gt;
&lt;br /&gt;
= Untested on Fedora 7 =&lt;br /&gt;
Information below this line is merely copied from the Fedora Core 5 guide and has not been tested on Fedora 7.&lt;br /&gt;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
Download (and verify) the following script into your path:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|wget http://www.cs.cornell.edu/~saikat/rotate}}&lt;br /&gt;
 {{cmduser|chmod a+x rotate}}&lt;br /&gt;
&lt;br /&gt;
Rotate the screen using the script:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|rotate -h}}&lt;br /&gt;
 Useage:&lt;br /&gt;
    rotate [left|right|inverted|normal]&lt;br /&gt;
  &lt;br /&gt;
 If no option is given, rotates the screen 90 degrees to the right.&lt;br /&gt;
&lt;br /&gt;
To bind the tablet's {{key|Rotate}} button to rotate the screen on-the-fly, add the following line to {{path|/etc/X11/Xmodmap}}&lt;br /&gt;
 keycode 139 = XF86RotateWindows&lt;br /&gt;
&lt;br /&gt;
{{HINT|'''Update:''' Check to make sure you are using the new &amp;lt;tt&amp;gt;setkeycodes&amp;lt;/tt&amp;gt; line in the Tablet Buttons section (one with &amp;lt;tt&amp;gt;6c 120&amp;lt;/tt&amp;gt; in the command).}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hibernation ===&lt;br /&gt;
&lt;br /&gt;
Software suspend works using [[Software Suspend 2]]. To install:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://mhensler.de/swsusp/download/suspend2.repo}}&lt;br /&gt;
 {{cmdroot|yum install userui-suspend2-fbsplash userui-suspend2-theme-fedorabubbles kernel-suspend2}}&lt;br /&gt;
&lt;br /&gt;
Edit the appropriate kernel line in {{path|/etc/grub.conf}} and add the parameters {{bootparm|vga|0x317}} and {{bootparm|acpi_sleep|s3_bios}}. For example:&lt;br /&gt;
&lt;br /&gt;
 title Fedora Core (''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2)&lt;br /&gt;
        root (hd0,1)&lt;br /&gt;
        kernel /vmlinuz-''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2 ro root=/dev/VolGroup00/LogVol00 rhgb quiet '''vga=0x317 acpi_sleep=s3_bios'''&lt;br /&gt;
        initrd /initrd-''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2.img&lt;br /&gt;
&lt;br /&gt;
Comment out the following line in {{path|/etc/hibernate/hibernate.conf}}:&lt;br /&gt;
&lt;br /&gt;
 '''#''' ProcSetting userui_program /sbin/suspend2ui_text&lt;br /&gt;
&lt;br /&gt;
Add the following lines in {{path|/etc/hibernate/hibernate.conf}}:&lt;br /&gt;
&lt;br /&gt;
 ProcSetting userui_program /sbin/suspend2ui_fbsplash&lt;br /&gt;
 OnResume 96 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
Add the following lines in {{path|/etc/hibernate/ram.conf}}:&lt;br /&gt;
&lt;br /&gt;
 Distribution fedora&lt;br /&gt;
&lt;br /&gt;
Comment out the following lines in {{path|/etc/hibernate/ram.conf}}:&lt;br /&gt;
&lt;br /&gt;
 '''#''' EnableVbetool yes&lt;br /&gt;
 '''#''' VbetoolPost yes&lt;br /&gt;
 &lt;br /&gt;
Make the following changes (i.e. comment out the two vbetool lines, and add the return 0 line in the resume_video function) in {{path|/etc/pm/functions-intel}}:&lt;br /&gt;
&lt;br /&gt;
 resume_video()&lt;br /&gt;
 {&lt;br /&gt;
 (&lt;br /&gt;
         '''#''' /usr/sbin/vbetool post&lt;br /&gt;
         '''#''' /usr/sbin/vbetool vbestate restore &amp;lt; /var/run/vbestate&lt;br /&gt;
         '''return 0'''&lt;br /&gt;
 ) &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate lines in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&lt;br /&gt;
 HIBERNATE_RESUME_POST_VIDEO=&amp;quot;'''no'''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Problems with a black screen after resuming can sometimes be fixed by adding the following line to the device section in {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 Option &amp;quot;VBERestore&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the following file {{path|/etc/pm/hooks/40wacom}}:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 wget http://www.cs.cornell.edu/~saikat/libbiometrics-1.2.2-1.sg.i386.rpm&lt;br /&gt;
 wget http://www.cs.cornell.edu/~saikat/libbiometrics-tfmess-1.0-1.sg.i386.rpm&lt;br /&gt;
 yum localinstall libbiometrics-1.2.2-1.sg.i386.rpm libbiometrics-tfmess-1.0-1.sg.i386.rpm&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This is still work-in-progress. Currently you can enroll fingerprints, and verify them through a test application. Integrating&lt;br /&gt;
this support into pam (and therefore logins, gdm, screensaver etc.) is in the works. Those interested in developing biometrics applications&lt;br /&gt;
can install [http://www.cs.cornell.edu/~saikat/libbiometrics-devel-1.2.2-1.sg.i386.rpm libbiometrics-devel-1.2.2-1.sg.i386.rpm]. SRPMS for the above are available [http://www.cs.cornell.edu/w8/~saikat/packages/SRPMS/ here].}}&lt;br /&gt;
&lt;br /&gt;
To try out enrollment and verification, run: {{cmdroot|useraddbio}}&lt;br /&gt;
&lt;br /&gt;
=== Harddrive Active Protection System (HDAPS) ===&lt;br /&gt;
&lt;br /&gt;
Harddrive active protection system requires the &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; kernel module (included in stock Fedora kernels), and&lt;br /&gt;
a kernel capable of parking disks (patch included in &amp;lt;tt&amp;gt;kernel-suspend2&amp;lt;/tt&amp;gt; RPMs from the Hibernation section above).&lt;br /&gt;
It also requires a userspace daemon to monitor the accleration sensor and park the disk head when excessive motion is detected. To install the userspace daemon, do the following:&lt;br /&gt;
&lt;br /&gt;
{{HINT|This requires kernel support for &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; and head parking. Install &amp;lt;tt&amp;gt;[http://mhensler.de/swsusp/download/yum/development/fc5/kernel-suspend2-2.6.16-1.2084_2.rhfc5.cubbi_suspend2.i686.rpm kernel-suspend2-2.6.16-1.2084_2]&amp;lt;/tt&amp;gt; or [http://mhensler.de/swsusp/download/yum/development/fc5/ higher]}}&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/hdapsd-20060326cvs-1.sg.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall hdapsd-20060326cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
If software suspend is enabled, add the following line to {{path|/etc/hibernate/hibernate.conf}}&lt;br /&gt;
&lt;br /&gt;
 UnloadModules hdaps&lt;br /&gt;
&lt;br /&gt;
To install the Gnome panel applet that monitors the state of the harddisk, install:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
{{NOTE|SRPMS for the above are available [http://www.cs.cornell.edu/w8/~saikat/packages/SRPMS/ here].}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tablet Software == &lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Fader</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=31198</id>
		<title>Installing Fedora 7 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=31198"/>
		<updated>2007-07-13T00:17:28Z</updated>

		<summary type="html">&lt;p&gt;Fader: /* Success Chart */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Page Not Accurate! =&lt;br /&gt;
This page is not accurate; I've just copied it over from [[Installing Fedora Core 5 on a ThinkPad X41 Tablet]] in order to start editing/updating it for Fedora 7. Please feel free to help out with that if you stumble across this page while it is still a work in progress.&lt;br /&gt;
&lt;br /&gt;
== Success Chart ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| '''Item''' || '''Working''' || '''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Installation &lt;br /&gt;
| Network Installation ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| USB Installation     ||class=&amp;quot;diff-addedline&amp;quot;| Yes (DVD) ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| CRT / Projector ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Screen Rotation ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Requires configuration changes.&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Power Management&lt;br /&gt;
| Software Suspend (hibernate) ||class=&amp;quot;diff-addedline&amp;quot;| Yes || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes (mostly) || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth ||class=&amp;quot;diff-context&amp;quot;| Not Tested (should work) || See [[Installing_Fedora_Core_4_on_a_ThinkPad_X41_Tablet#Bluetooth|Bluetooth on Fedora Core 4]]&lt;br /&gt;
|-&lt;br /&gt;
| Infrared ||class=&amp;quot;diff-context&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Extra Buttons || Keyboard Section ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ibm-acpi driver&lt;br /&gt;
|-&lt;br /&gt;
| Tablet buttons ||class=&amp;quot;diff-addedline&amp;quot;| Yes || setkeycodes&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Fingerprint Scanner ||class=&amp;quot;diff-addedline&amp;quot;| Yes || bioapi&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Harddisk Active Protection ||class=&amp;quot;diff-addedline&amp;quot;| Yes || kernel 2.6.16, hdapsd&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Tested and Verified on Fedora 7 =&lt;br /&gt;
&lt;br /&gt;
Information in this section has been tested and verified using Fedora 7.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward; you can use the generic install instructions [http://fedoraproject.org/wiki/Distribution/Download#head-79f58abcee810df2be8fff176fe58ba3972d6358 here].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&lt;br /&gt;
Basic X server functionality should work out of the box.&lt;br /&gt;
&lt;br /&gt;
==== Desktop Effects ====&lt;br /&gt;
'Desktop Effects' work but are not enabled by default; to enable them run 'desktop-effects' and click 'enable desktop effects'. Note that these conflict with working rotation- you get either desktop effects or tablet rotation; not both.&lt;br /&gt;
&lt;br /&gt;
==== Tablet Buttons ====&lt;br /&gt;
&lt;br /&gt;
Activate mappings for the tablet buttons by adding the following lines to {{path|/etc/rc.d/rc.local}}:&lt;br /&gt;
&lt;br /&gt;
 # Map tablet hardware buttons&lt;br /&gt;
 setkeycodes 6e 109 6d 104 69 28 6b 1 6c 120&lt;br /&gt;
&lt;br /&gt;
==== Enabling the Stylus ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/rc.d/rc.local}}:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;i&amp;gt;(Note: You will need to be root to perform these two edits)&amp;lt;/i&amp;gt;&lt;br /&gt;
 # Map stylus to a serial port&lt;br /&gt;
 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add the lines in bold font to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
  Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;default&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0&amp;quot; 0 0&lt;br /&gt;
         InputDevice    &amp;quot;Mouse0&amp;quot; &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;Keyboard0&amp;quot; &amp;quot;CoreKeyboard&amp;quot;&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;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 '''Section &amp;quot;InputDevice&amp;quot;'''&lt;br /&gt;
       '''Driver        &amp;quot;wacom&amp;quot;'''&lt;br /&gt;
       '''Identifier    &amp;quot;cursor&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;
       '''Option        &amp;quot;Mode&amp;quot;          &amp;quot;Absolute&amp;quot;'''&lt;br /&gt;
       '''Option        &amp;quot;TPCButton&amp;quot;     &amp;quot;on&amp;quot;'''&lt;br /&gt;
 '''EndSection'''&lt;br /&gt;
 &lt;br /&gt;
 '''Section &amp;quot;InputDevice&amp;quot;'''&lt;br /&gt;
       '''Driver        &amp;quot;wacom&amp;quot;'''&lt;br /&gt;
       '''Identifier    &amp;quot;stylus&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;
&lt;br /&gt;
If the style stops working after a suspend/resume cycle, (as root) create the following file {{path|/usr/lib/pm-utils/sleep.d/40wacom}}&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 . /usr/lib/pm-utils/functions&lt;br /&gt;
 &lt;br /&gt;
 suspend_wacom() {&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 resume_wacom() {&lt;br /&gt;
     # Reset serial port for stylus&lt;br /&gt;
     setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 case &amp;quot;$1&amp;quot; in&lt;br /&gt;
         hibernate|suspend)&lt;br /&gt;
                 suspend_wacom&lt;br /&gt;
                 ;;&lt;br /&gt;
         thaw|resume)&lt;br /&gt;
                 resume_wacom&lt;br /&gt;
                 ;;&lt;br /&gt;
         *)&lt;br /&gt;
                 ;;&lt;br /&gt;
 esac &lt;br /&gt;
 &lt;br /&gt;
 exit $?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
The wireless card works out of the box- no additional drivers necessary.&lt;br /&gt;
&lt;br /&gt;
Network Manager is installed by default, but may not be enabled by default depending on your mode of installation. To turn it on, do as root:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
=== tpb/on-screen display ===&lt;br /&gt;
&lt;br /&gt;
tpb, which controls the onscreen display of thinkpad buttons, is not installed by default.&lt;br /&gt;
&lt;br /&gt;
To install tpb execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb}}&lt;br /&gt;
&lt;br /&gt;
Once installed, no configuration is necessary.&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported by the thinkfinger package.&lt;br /&gt;
&lt;br /&gt;
To install thinkfinger execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
== Tablet Software == &lt;br /&gt;
&lt;br /&gt;
=== Xournal ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;Xournal&amp;lt;/tt&amp;gt; is a gnome-based journaling tool for tablets; you can get packages for Fedora 7 from [http://koji.fedoraproject.org/koji/packageinfo?packageID=4460 here].&lt;br /&gt;
&lt;br /&gt;
= Untested on Fedora 7 =&lt;br /&gt;
Information below this line is merely copied from the Fedora Core 5 guide and has not been tested on Fedora 7.&lt;br /&gt;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
Download (and verify) the following script into your path:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|wget http://www.cs.cornell.edu/~saikat/rotate}}&lt;br /&gt;
 {{cmduser|chmod a+x rotate}}&lt;br /&gt;
&lt;br /&gt;
Rotate the screen using the script:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|rotate -h}}&lt;br /&gt;
 Useage:&lt;br /&gt;
    rotate [left|right|inverted|normal]&lt;br /&gt;
  &lt;br /&gt;
 If no option is given, rotates the screen 90 degrees to the right.&lt;br /&gt;
&lt;br /&gt;
To bind the tablet's {{key|Rotate}} button to rotate the screen on-the-fly, add the following line to {{path|/etc/X11/Xmodmap}}&lt;br /&gt;
 keycode 139 = XF86RotateWindows&lt;br /&gt;
&lt;br /&gt;
{{HINT|'''Update:''' Check to make sure you are using the new &amp;lt;tt&amp;gt;setkeycodes&amp;lt;/tt&amp;gt; line in the Tablet Buttons section (one with &amp;lt;tt&amp;gt;6c 120&amp;lt;/tt&amp;gt; in the command).}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hibernation ===&lt;br /&gt;
&lt;br /&gt;
Software suspend works using [[Software Suspend 2]]. To install:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://mhensler.de/swsusp/download/suspend2.repo}}&lt;br /&gt;
 {{cmdroot|yum install userui-suspend2-fbsplash userui-suspend2-theme-fedorabubbles kernel-suspend2}}&lt;br /&gt;
&lt;br /&gt;
Edit the appropriate kernel line in {{path|/etc/grub.conf}} and add the parameters {{bootparm|vga|0x317}} and {{bootparm|acpi_sleep|s3_bios}}. For example:&lt;br /&gt;
&lt;br /&gt;
 title Fedora Core (''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2)&lt;br /&gt;
        root (hd0,1)&lt;br /&gt;
        kernel /vmlinuz-''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2 ro root=/dev/VolGroup00/LogVol00 rhgb quiet '''vga=0x317 acpi_sleep=s3_bios'''&lt;br /&gt;
        initrd /initrd-''&amp;lt;kernel.version-build&amp;gt;''.rhfc5.cubbi_suspend2.img&lt;br /&gt;
&lt;br /&gt;
Comment out the following line in {{path|/etc/hibernate/hibernate.conf}}:&lt;br /&gt;
&lt;br /&gt;
 '''#''' ProcSetting userui_program /sbin/suspend2ui_text&lt;br /&gt;
&lt;br /&gt;
Add the following lines in {{path|/etc/hibernate/hibernate.conf}}:&lt;br /&gt;
&lt;br /&gt;
 ProcSetting userui_program /sbin/suspend2ui_fbsplash&lt;br /&gt;
 OnResume 96 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
Add the following lines in {{path|/etc/hibernate/ram.conf}}:&lt;br /&gt;
&lt;br /&gt;
 Distribution fedora&lt;br /&gt;
&lt;br /&gt;
Comment out the following lines in {{path|/etc/hibernate/ram.conf}}:&lt;br /&gt;
&lt;br /&gt;
 '''#''' EnableVbetool yes&lt;br /&gt;
 '''#''' VbetoolPost yes&lt;br /&gt;
 &lt;br /&gt;
Make the following changes (i.e. comment out the two vbetool lines, and add the return 0 line in the resume_video function) in {{path|/etc/pm/functions-intel}}:&lt;br /&gt;
&lt;br /&gt;
 resume_video()&lt;br /&gt;
 {&lt;br /&gt;
 (&lt;br /&gt;
         '''#''' /usr/sbin/vbetool post&lt;br /&gt;
         '''#''' /usr/sbin/vbetool vbestate restore &amp;lt; /var/run/vbestate&lt;br /&gt;
         '''return 0'''&lt;br /&gt;
 ) &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate lines in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&lt;br /&gt;
 HIBERNATE_RESUME_POST_VIDEO=&amp;quot;'''no'''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Problems with a black screen after resuming can sometimes be fixed by adding the following line to the device section in {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 Option &amp;quot;VBERestore&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the following file {{path|/etc/pm/hooks/40wacom}}:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 wget http://www.cs.cornell.edu/~saikat/libbiometrics-1.2.2-1.sg.i386.rpm&lt;br /&gt;
 wget http://www.cs.cornell.edu/~saikat/libbiometrics-tfmess-1.0-1.sg.i386.rpm&lt;br /&gt;
 yum localinstall libbiometrics-1.2.2-1.sg.i386.rpm libbiometrics-tfmess-1.0-1.sg.i386.rpm&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This is still work-in-progress. Currently you can enroll fingerprints, and verify them through a test application. Integrating&lt;br /&gt;
this support into pam (and therefore logins, gdm, screensaver etc.) is in the works. Those interested in developing biometrics applications&lt;br /&gt;
can install [http://www.cs.cornell.edu/~saikat/libbiometrics-devel-1.2.2-1.sg.i386.rpm libbiometrics-devel-1.2.2-1.sg.i386.rpm]. SRPMS for the above are available [http://www.cs.cornell.edu/w8/~saikat/packages/SRPMS/ here].}}&lt;br /&gt;
&lt;br /&gt;
To try out enrollment and verification, run: {{cmdroot|useraddbio}}&lt;br /&gt;
&lt;br /&gt;
=== Harddrive Active Protection System (HDAPS) ===&lt;br /&gt;
&lt;br /&gt;
Harddrive active protection system requires the &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; kernel module (included in stock Fedora kernels), and&lt;br /&gt;
a kernel capable of parking disks (patch included in &amp;lt;tt&amp;gt;kernel-suspend2&amp;lt;/tt&amp;gt; RPMs from the Hibernation section above).&lt;br /&gt;
It also requires a userspace daemon to monitor the accleration sensor and park the disk head when excessive motion is detected. To install the userspace daemon, do the following:&lt;br /&gt;
&lt;br /&gt;
{{HINT|This requires kernel support for &amp;lt;tt&amp;gt;hdaps&amp;lt;/tt&amp;gt; and head parking. Install &amp;lt;tt&amp;gt;[http://mhensler.de/swsusp/download/yum/development/fc5/kernel-suspend2-2.6.16-1.2084_2.rhfc5.cubbi_suspend2.i686.rpm kernel-suspend2-2.6.16-1.2084_2]&amp;lt;/tt&amp;gt; or [http://mhensler.de/swsusp/download/yum/development/fc5/ higher]}}&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/hdapsd-20060326cvs-1.sg.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall hdapsd-20060326cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
If software suspend is enabled, add the following line to {{path|/etc/hibernate/hibernate.conf}}&lt;br /&gt;
&lt;br /&gt;
 UnloadModules hdaps&lt;br /&gt;
&lt;br /&gt;
To install the Gnome panel applet that monitors the state of the harddisk, install:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
{{NOTE|SRPMS for the above are available [http://www.cs.cornell.edu/w8/~saikat/packages/SRPMS/ here].}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tablet Software == &lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Fader</name></author>
		
	</entry>
</feed>