<?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=Saikat</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=Saikat"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Saikat"/>
	<updated>2026-05-01T01:52:46Z</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=30339</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=30339"/>
		<updated>2007-06-07T23:55:08Z</updated>

		<summary type="html">&lt;p&gt;Saikat: Add stylus suspend/resume hook. Deleted some sections no longer applicable to F7&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;
|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>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=23970</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=23970"/>
		<updated>2006-08-03T15:44:31Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Hibernation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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 || X.org i810 driver&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 || wacom serial driver.&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 || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and identical to the Fedora Core 4 installation process mentioned [[Installing Fedora Core 4 on a ThinkPad X41 Tablet#Installation|here]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Download and install the updated X server and drivers as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-drv-i810-1.6.0-1.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall xorg-x11-drv-i810-1.6.0-1.i386.rpm xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
{{HINT|'''Update:''' If you have issues using yum to install the RPM's, try:&amp;lt;br&amp;gt;  rpm -Uvh xorg-x11-drv-i810-1.6.0-1.i386.rpm xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
'''- OR -'''&lt;br /&gt;
&lt;br /&gt;
To get working GL support as well try installing from the development yum repository&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum --enablerepo&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;development update linuxwacom xorg-x11-drv-i810 xorg-x11-server-Xorg mesa-libGL mesa-libGLU}}&lt;br /&gt;
&lt;br /&gt;
Bear in mind that the development repository could easily get update in the future to rpm's that either won't work with FC5 or maybe just have large numbers of dependants.  The following versions are known to work on the X41&lt;br /&gt;
 xorg-x11-drv-i810-1.6.0-5&lt;br /&gt;
 xorg-x11-server-Xorg-1.1.0-23&lt;br /&gt;
 linuxwacom-0.7.4_1-2&lt;br /&gt;
 mesa-libGL-6.5-9&lt;br /&gt;
 mesa-libGLU-6.5-9&lt;br /&gt;
&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;
Create the Gnome keybindings as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|gconftool-2 -s '/apps/metacity/keybinding_commands/command_12' -t string rotate}}&lt;br /&gt;
 {{cmduser|gconftool-2 -s '/apps/metacity/global_keybindings/run_command_12' -t string XF86RotateWindows}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from [http://atrpms.net/ ATrpms].&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/atrpms.repo}}&lt;br /&gt;
 {{cmdroot|yum install atrpms-package-config ipw2200}}&lt;br /&gt;
&lt;br /&gt;
'''- OR -'''&lt;br /&gt;
&lt;br /&gt;
Alternativly you can use the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver that is already part of FC5 and just install the firmware from  [http://rpm.livna.org/ livna.org].&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm -Uvh http://rpm.livna.org/livna-release-5.rpm}}&lt;br /&gt;
 {{cmdroot|yum install ipw2200-firmware}}&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;
=== 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;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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 &lt;br /&gt;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
* Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.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;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=23220</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=23220"/>
		<updated>2006-07-16T21:27:20Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Success Chart */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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 || X.org i810 driver&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 || wacom serial driver.&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 || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and identical to the Fedora Core 4 installation process mentioned [[Installing Fedora Core 4 on a ThinkPad X41 Tablet#Installation|here]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Download and install the updated X server and drivers as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-drv-i810-1.6.0-1.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall xorg-x11-drv-i810-1.6.0-1.i386.rpm xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
{{HINT|'''Update:''' If you have issues using yum to install the RPM's, try:&amp;lt;br&amp;gt;  rpm -Uvh xorg-x11-drv-i810-1.6.0-1.i386.rpm xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
'''- OR -'''&lt;br /&gt;
&lt;br /&gt;
To get working GL support as well try installing from the development yum repository&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum --enablerepo&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;development update linuxwacom xorg-x11-drv-i810 xorg-x11-server-Xorg mesa-libGL mesa-libGLU}}&lt;br /&gt;
&lt;br /&gt;
Bear in mind that the development repository could easily get update in the future to rpm's that either won't work with FC5 or maybe just have large numbers of dependants.  The following versions are known to work on the X41&lt;br /&gt;
 xorg-x11-drv-i810-1.6.0-5&lt;br /&gt;
 xorg-x11-server-Xorg-1.1.0-23&lt;br /&gt;
 linuxwacom-0.7.4_1-2&lt;br /&gt;
 mesa-libGL-6.5-9&lt;br /&gt;
 mesa-libGLU-6.5-9&lt;br /&gt;
&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;
Create the Gnome keybindings as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|gconftool-2 -s '/apps/metacity/keybinding_commands/command_12' -t string rotate}}&lt;br /&gt;
 {{cmduser|gconftool-2 -s '/apps/metacity/global_keybindings/run_command_12' -t string XF86RotateWindows}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from [http://atrpms.net/ ATrpms].&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/atrpms.repo}}&lt;br /&gt;
 {{cmdroot|yum install atrpms-package-config ipw2200}}&lt;br /&gt;
&lt;br /&gt;
'''- OR -'''&lt;br /&gt;
&lt;br /&gt;
Alternativly you can use the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver that is already part of FC5 and just install the firmware from  [http://rpm.livna.org/ livna.org].&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm -Uvh http://rpm.livna.org/livna-release-5.rpm}}&lt;br /&gt;
 {{cmdroot|yum install ipw2200-firmware}}&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;
&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;'''yes'''&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;
=== 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;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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 &lt;br /&gt;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
* Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.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;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=23219</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=23219"/>
		<updated>2006-07-16T21:25:45Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Hibernation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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 || X.org i810 driver&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 || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and identical to the Fedora Core 4 installation process mentioned [[Installing Fedora Core 4 on a ThinkPad X41 Tablet#Installation|here]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Download and install the updated X server and drivers as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-drv-i810-1.6.0-1.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall xorg-x11-drv-i810-1.6.0-1.i386.rpm xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
{{HINT|'''Update:''' If you have issues using yum to install the RPM's, try:&amp;lt;br&amp;gt;  rpm -Uvh xorg-x11-drv-i810-1.6.0-1.i386.rpm xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
'''- OR -'''&lt;br /&gt;
&lt;br /&gt;
To get working GL support as well try installing from the development yum repository&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum --enablerepo&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;development update linuxwacom xorg-x11-drv-i810 xorg-x11-server-Xorg mesa-libGL mesa-libGLU}}&lt;br /&gt;
&lt;br /&gt;
Bear in mind that the development repository could easily get update in the future to rpm's that either won't work with FC5 or maybe just have large numbers of dependants.  The following versions are known to work on the X41&lt;br /&gt;
 xorg-x11-drv-i810-1.6.0-5&lt;br /&gt;
 xorg-x11-server-Xorg-1.1.0-23&lt;br /&gt;
 linuxwacom-0.7.4_1-2&lt;br /&gt;
 mesa-libGL-6.5-9&lt;br /&gt;
 mesa-libGLU-6.5-9&lt;br /&gt;
&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;
Create the Gnome keybindings as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|gconftool-2 -s '/apps/metacity/keybinding_commands/command_12' -t string rotate}}&lt;br /&gt;
 {{cmduser|gconftool-2 -s '/apps/metacity/global_keybindings/run_command_12' -t string XF86RotateWindows}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from [http://atrpms.net/ ATrpms].&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/atrpms.repo}}&lt;br /&gt;
 {{cmdroot|yum install atrpms-package-config ipw2200}}&lt;br /&gt;
&lt;br /&gt;
'''- OR -'''&lt;br /&gt;
&lt;br /&gt;
Alternativly you can use the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver that is already part of FC5 and just install the firmware from  [http://rpm.livna.org/ livna.org].&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm -Uvh http://rpm.livna.org/livna-release-5.rpm}}&lt;br /&gt;
 {{cmdroot|yum install ipw2200-firmware}}&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;
&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;'''yes'''&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;
=== 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;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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 &lt;br /&gt;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
* Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.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;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=23218</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=23218"/>
		<updated>2006-07-16T20:53:19Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Hibernation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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 || X.org i810 driver&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 || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and identical to the Fedora Core 4 installation process mentioned [[Installing Fedora Core 4 on a ThinkPad X41 Tablet#Installation|here]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Download and install the updated X server and drivers as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-drv-i810-1.6.0-1.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall xorg-x11-drv-i810-1.6.0-1.i386.rpm xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
{{HINT|'''Update:''' If you have issues using yum to install the RPM's, try:&amp;lt;br&amp;gt;  rpm -Uvh xorg-x11-drv-i810-1.6.0-1.i386.rpm xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
'''- OR -'''&lt;br /&gt;
&lt;br /&gt;
To get working GL support as well try installing from the development yum repository&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum --enablerepo&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;development update linuxwacom xorg-x11-drv-i810 xorg-x11-server-Xorg mesa-libGL mesa-libGLU}}&lt;br /&gt;
&lt;br /&gt;
Bear in mind that the development repository could easily get update in the future to rpm's that either won't work with FC5 or maybe just have large numbers of dependants.  The following versions are known to work on the X41&lt;br /&gt;
 xorg-x11-drv-i810-1.6.0-5&lt;br /&gt;
 xorg-x11-server-Xorg-1.1.0-23&lt;br /&gt;
 linuxwacom-0.7.4_1-2&lt;br /&gt;
 mesa-libGL-6.5-9&lt;br /&gt;
 mesa-libGLU-6.5-9&lt;br /&gt;
&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;
Create the Gnome keybindings as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|gconftool-2 -s '/apps/metacity/keybinding_commands/command_12' -t string rotate}}&lt;br /&gt;
 {{cmduser|gconftool-2 -s '/apps/metacity/global_keybindings/run_command_12' -t string XF86RotateWindows}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from [http://atrpms.net/ ATrpms].&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/atrpms.repo}}&lt;br /&gt;
 {{cmdroot|yum install atrpms-package-config ipw2200}}&lt;br /&gt;
&lt;br /&gt;
'''- OR -'''&lt;br /&gt;
&lt;br /&gt;
Alternativly you can use the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver that is already part of FC5 and just install the firmware from  [http://rpm.livna.org/ livna.org].&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm -Uvh http://rpm.livna.org/livna-release-5.rpm}}&lt;br /&gt;
 {{cmdroot|yum install ipw2200-firmware}}&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;
&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;'''yes'''&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;
=== 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;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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 &lt;br /&gt;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
* Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.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;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=22884</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=22884"/>
		<updated>2006-06-24T17:36:20Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Jarnal Note-Taking */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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 || X.org i810 driver&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 || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and identical to the Fedora Core 4 installation process mentioned [[Installing Fedora Core 4 on a ThinkPad X41 Tablet#Installation|here]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Download and install the updated X server and drivers as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-drv-i810-1.6.0-1.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall xorg-x11-drv-i810-1.6.0-1.i386.rpm xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
{{HINT|'''Update:''' If you have issues using yum to install the RPM's, try:&amp;lt;br&amp;gt;  rpm -Uvh xorg-x11-drv-i810-1.6.0-1.i386.rpm xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
&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;
Create the Gnome keybindings as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|gconftool-2 -s '/apps/metacity/keybinding_commands/command_12' -t string rotate}}&lt;br /&gt;
 {{cmduser|gconftool-2 -s '/apps/metacity/global_keybindings/run_command_12' -t string XF86RotateWindows}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from [http://atrpms.net/ ATrpms].&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/atrpms.repo}}&lt;br /&gt;
 {{cmdroot|yum install atrpms-package-config ipw2200}}&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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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 &lt;br /&gt;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
* Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.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;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=22883</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=22883"/>
		<updated>2006-06-24T17:35:59Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Fingerprint Reader */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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 || X.org i810 driver&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 || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and identical to the Fedora Core 4 installation process mentioned [[Installing Fedora Core 4 on a ThinkPad X41 Tablet#Installation|here]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Download and install the updated X server and drivers as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-drv-i810-1.6.0-1.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall xorg-x11-drv-i810-1.6.0-1.i386.rpm xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
{{HINT|'''Update:''' If you have issues using yum to install the RPM's, try:&amp;lt;br&amp;gt;  rpm -Uvh xorg-x11-drv-i810-1.6.0-1.i386.rpm xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
&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;
Create the Gnome keybindings as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|gconftool-2 -s '/apps/metacity/keybinding_commands/command_12' -t string rotate}}&lt;br /&gt;
 {{cmduser|gconftool-2 -s '/apps/metacity/global_keybindings/run_command_12' -t string XF86RotateWindows}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from [http://atrpms.net/ ATrpms].&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/atrpms.repo}}&lt;br /&gt;
 {{cmdroot|yum install atrpms-package-config ipw2200}}&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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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 &lt;br /&gt;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
* Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=22882</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=22882"/>
		<updated>2006-06-24T17:35:24Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Harddrive Active Protection System (HDAPS) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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 || X.org i810 driver&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 || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and identical to the Fedora Core 4 installation process mentioned [[Installing Fedora Core 4 on a ThinkPad X41 Tablet#Installation|here]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Download and install the updated X server and drivers as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-drv-i810-1.6.0-1.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall xorg-x11-drv-i810-1.6.0-1.i386.rpm xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
{{HINT|'''Update:''' If you have issues using yum to install the RPM's, try:&amp;lt;br&amp;gt;  rpm -Uvh xorg-x11-drv-i810-1.6.0-1.i386.rpm xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
&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;
Create the Gnome keybindings as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|gconftool-2 -s '/apps/metacity/keybinding_commands/command_12' -t string rotate}}&lt;br /&gt;
 {{cmduser|gconftool-2 -s '/apps/metacity/global_keybindings/run_command_12' -t string XF86RotateWindows}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from [http://atrpms.net/ ATrpms].&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/atrpms.repo}}&lt;br /&gt;
 {{cmdroot|yum install atrpms-package-config ipw2200}}&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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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 [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 &lt;br /&gt;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
* Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=22881</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=22881"/>
		<updated>2006-06-24T17:32:31Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Fingerprint Reader */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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 || X.org i810 driver&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 || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and identical to the Fedora Core 4 installation process mentioned [[Installing Fedora Core 4 on a ThinkPad X41 Tablet#Installation|here]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Download and install the updated X server and drivers as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-drv-i810-1.6.0-1.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall xorg-x11-drv-i810-1.6.0-1.i386.rpm xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
{{HINT|'''Update:''' If you have issues using yum to install the RPM's, try:&amp;lt;br&amp;gt;  rpm -Uvh xorg-x11-drv-i810-1.6.0-1.i386.rpm xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
&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;
Create the Gnome keybindings as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|gconftool-2 -s '/apps/metacity/keybinding_commands/command_12' -t string rotate}}&lt;br /&gt;
 {{cmduser|gconftool-2 -s '/apps/metacity/global_keybindings/run_command_12' -t string XF86RotateWindows}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from [http://atrpms.net/ ATrpms].&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/atrpms.repo}}&lt;br /&gt;
 {{cmdroot|yum install atrpms-package-config ipw2200}}&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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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 [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 &lt;br /&gt;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
* Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21843</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21843"/>
		<updated>2006-04-21T03:48:57Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Enabling Screen Rotation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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 || X.org i810 driver&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 || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and identical to the Fedora Core 4 installation process mentioned [[Installing Fedora Core 4 on a ThinkPad X41 Tablet#Installation|here]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Download and install the updated X server and drivers as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-drv-i810-1.6.0-1.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall xorg-x11-drv-i810-1.6.0-1.i386.rpm xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
&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;
Create the Gnome keybindings as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|gconftool-2 -s '/apps/metacity/keybinding_commands/command_12' -t string rotate}}&lt;br /&gt;
 {{cmduser|gconftool-2 -s '/apps/metacity/global_keybindings/run_command_12' -t string XF86RotateWindows}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from [http://atrpms.net/ ATrpms].&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/atrpms.repo}}&lt;br /&gt;
 {{cmdroot|yum install atrpms-package-config ipw2200}}&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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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]. Stay tuned.}}&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 &lt;br /&gt;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
* Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21842</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21842"/>
		<updated>2006-04-21T03:45:07Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Enabling Screen Rotation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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 || X.org i810 driver&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 || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and identical to the Fedora Core 4 installation process mentioned [[Installing Fedora Core 4 on a ThinkPad X41 Tablet#Installation|here]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Download and install the updated X server and drivers as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-drv-i810-1.6.0-1.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall xorg-x11-drv-i810-1.6.0-1.i386.rpm xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
&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;
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;
Create the keybindings as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|gconftool-2 -s '/apps/metacity/keybinding_commands/command_12' -t string rotate}}&lt;br /&gt;
 {{cmduser|gconftool-2 -s '/apps/metacity/global_keybindings/run_command_12' -t string XF86RotateWindows}}&lt;br /&gt;
&lt;br /&gt;
You should now be able to rotate the screen by pressing the {{key|Rotate}} [[Tablet Hardware Buttons|Tablet Hardware Button]].&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from [http://atrpms.net/ ATrpms].&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/atrpms.repo}}&lt;br /&gt;
 {{cmdroot|yum install atrpms-package-config ipw2200}}&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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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]. Stay tuned.}}&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 &lt;br /&gt;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
* Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21841</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21841"/>
		<updated>2006-04-21T03:42:58Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Enabling Screen Rotation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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 || X.org i810 driver&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 || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and identical to the Fedora Core 4 installation process mentioned [[Installing Fedora Core 4 on a ThinkPad X41 Tablet#Installation|here]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Download and install the updated X server and drivers as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-drv-i810-1.6.0-1.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall xorg-x11-drv-i810-1.6.0-1.i386.rpm xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
&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;
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;
Create the keybindings as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|gconftool-2 -s '/apps/metacity/keybinding_commands/command_12' -t string rotate}}&lt;br /&gt;
 {{cmduser|gconftool-2 -s '/apps/metacity/global_keybindings/run_command_12' -t string XF86RotateWindows}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from [http://atrpms.net/ ATrpms].&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/atrpms.repo}}&lt;br /&gt;
 {{cmdroot|yum install atrpms-package-config ipw2200}}&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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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]. Stay tuned.}}&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 &lt;br /&gt;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
* Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21840</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21840"/>
		<updated>2006-04-21T03:41:54Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Enabling Screen Rotation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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 || X.org i810 driver&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 || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and identical to the Fedora Core 4 installation process mentioned [[Installing Fedora Core 4 on a ThinkPad X41 Tablet#Installation|here]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Download and install the updated X server and drivers as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-drv-i810-1.6.0-1.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall xorg-x11-drv-i810-1.6.0-1.i386.rpm xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
&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;
Add the following line to {{path|/etc/X11/Xmodmap}}&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;
 keycode 139 = XF86RotateWindows&lt;br /&gt;
&lt;br /&gt;
Create the keybindings as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|gconftool-2 -s '/apps/metacity/keybinding_commands/command_12' -t string rotate}}&lt;br /&gt;
 {{cmduser|gconftool-2 -s '/apps/metacity/global_keybindings/run_command_12' -t string XF86RotateWindows}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from [http://atrpms.net/ ATrpms].&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/atrpms.repo}}&lt;br /&gt;
 {{cmdroot|yum install atrpms-package-config ipw2200}}&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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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]. Stay tuned.}}&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 &lt;br /&gt;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
* Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21839</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21839"/>
		<updated>2006-04-21T03:02:23Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Tablet Buttons */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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 || X.org i810 driver&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 || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and identical to the Fedora Core 4 installation process mentioned [[Installing Fedora Core 4 on a ThinkPad X41 Tablet#Installation|here]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Download and install the updated X server and drivers as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-drv-i810-1.6.0-1.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall xorg-x11-drv-i810-1.6.0-1.i386.rpm xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
Download (and verify) the following script:&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;
{{NOTE|Please view the [[Talk:Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet|talk]] page for on-going&lt;br /&gt;
discussion on this topic.}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from [http://atrpms.net/ ATrpms].&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/atrpms.repo}}&lt;br /&gt;
 {{cmdroot|yum install atrpms-package-config ipw2200}}&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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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]. Stay tuned.}}&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 &lt;br /&gt;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
* Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21838</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21838"/>
		<updated>2006-04-21T02:49:47Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Enabling Screen Rotation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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 || X.org i810 driver&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 || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and identical to the Fedora Core 4 installation process mentioned [[Installing Fedora Core 4 on a ThinkPad X41 Tablet#Installation|here]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Download and install the updated X server and drivers as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-drv-i810-1.6.0-1.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall xorg-x11-drv-i810-1.6.0-1.i386.rpm xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm linuxwacom-0.7.2-3.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
Download (and verify) the following script:&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;
{{NOTE|Please view the [[Talk:Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet|talk]] page for on-going&lt;br /&gt;
discussion on this topic.}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from [http://atrpms.net/ ATrpms].&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/atrpms.repo}}&lt;br /&gt;
 {{cmdroot|yum install atrpms-package-config ipw2200}}&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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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]. Stay tuned.}}&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 &lt;br /&gt;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
* Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21836</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21836"/>
		<updated>2006-04-21T02:28:32Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Enabling Screen Rotation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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 || X.org i810 driver&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 || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and identical to the Fedora Core 4 installation process mentioned [[Installing Fedora Core 4 on a ThinkPad X41 Tablet#Installation|here]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Download and install the updated X server and drivers as follows:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-drv-i810-1.6.0-1.i386.rpm}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall xorg-x11-drv-i810-1.6.0-1.i386.rpm xorg-x11-server-Xorg-1.0.99.901-5.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
Download (and verify) the following script:&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;
{{NOTE|Please view the [[Talk:Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet|talk]] page for on-going&lt;br /&gt;
discussion on this topic.}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from [http://atrpms.net/ ATrpms].&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/atrpms.repo}}&lt;br /&gt;
 {{cmdroot|yum install atrpms-package-config ipw2200}}&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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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]. Stay tuned.}}&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 &lt;br /&gt;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
* Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21832</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21832"/>
		<updated>2006-04-21T01:55:06Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Success Chart */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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 || X.org i810 driver&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 || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and identical to the Fedora Core 4 installation process mentioned [[Installing Fedora Core 4 on a ThinkPad X41 Tablet#Installation|here]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 # Clockwise Rotation&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;rotateCW&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0CW&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;cursorCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;stylusCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
         Identifier  &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
         VendorName  &amp;quot;Videocard vendor&amp;quot;&lt;br /&gt;
         Option      &amp;quot;NoAccel&amp;quot;       &amp;quot;false&amp;quot;&lt;br /&gt;
         Option      &amp;quot;DRI&amp;quot;           &amp;quot;true&amp;quot;&lt;br /&gt;
         Option      &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
         BoardName   &amp;quot;Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller&amp;quot;&lt;br /&gt;
         Option      &amp;quot;XAANoOffscreenPixmaps&amp;quot;&lt;br /&gt;
         Option      &amp;quot;SWCursor&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;cursorCW&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;
       Option        &amp;quot;TopX&amp;quot;          &amp;quot;500&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomX&amp;quot;       &amp;quot;18000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;TopY&amp;quot;          &amp;quot;-6000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomY&amp;quot;       &amp;quot;18500&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;stylusCW&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;
       Option        &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
 EndSection &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;Screen0CW&amp;quot;&lt;br /&gt;
         Device     &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
         DefaultDepth     24&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     16&lt;br /&gt;
                 Modes    &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     24&lt;br /&gt;
                 Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
To activate the rotated layout, start X with {{cmduser|startx -- :1 -layout rotateCW}}. To enable a login screen in the rotated configuration, add a new server under {{path|System &amp;gt; Admininstration &amp;gt; Login Screen &amp;gt; Security &amp;gt; Configure X Server}}&lt;br /&gt;
&lt;br /&gt;
 VT: 1&lt;br /&gt;
 Server: Standard&lt;br /&gt;
 Options: -layout rotateCW&lt;br /&gt;
&lt;br /&gt;
Log out and restart the login manager: {{cmdroot|gdm-restart}}. The standard (unrotated) server will be on screen 0 ({{key|Alt}}{{key|F7}}) and the rotated server will be on screen 1 ({{key|Alt}}{{key|F8}})&lt;br /&gt;
&lt;br /&gt;
===== On-the-fly Rotation =====&lt;br /&gt;
&lt;br /&gt;
On-the-fly rotation does not work. The X.org 810 driver does not support it yet. Once support for it is added, on-the-fly rotation can be invoked by executing {{cmduser|xrandr -o 3}}.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|There have been some reports of on-the-fly rotation working under Gnome 2.14, and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322. Some&lt;br /&gt;
configurations have not been able to duplicate these results. This is work-in-progress. Please view the [[Talk:Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet|talk]] page for this article for further&lt;br /&gt;
discussion}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from [http://atrpms.net/ ATrpms].&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/atrpms.repo}}&lt;br /&gt;
 {{cmdroot|yum install atrpms-package-config ipw2200}}&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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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]. Stay tuned.}}&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 &lt;br /&gt;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
* Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21830</id>
		<title>Talk:Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21830"/>
		<updated>2006-04-21T01:51:43Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* On-the-fly Rotation in FC5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== On-the-fly Rotation in FC5 ==&lt;br /&gt;
&lt;br /&gt;
[[User:Kanfil]] wrote:&lt;br /&gt;
&lt;br /&gt;
 Using Gnome 2.14 and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322, On-the-fly rotation does work.&lt;br /&gt;
&lt;br /&gt;
[[User:Saikat|I]] have not been able to duplicate this. I am using the stock Fedora X.org server with the [http://mirrors.usc.edu/pub/linux/distributions/fedora/development/i386/repodata/repoview/xorg-x11-drv-i810-0-1.4.1.3-4.cvs20060322.1.html xorg-x11-drv-i810-1.4.1.3-4.cvs20060322] driver mentioned above.&lt;br /&gt;
&lt;br /&gt;
Running {{cmduser|xdpyinfo}} returns:&lt;br /&gt;
&lt;br /&gt;
 name of display:    :0.0&lt;br /&gt;
 version number:    11.0&lt;br /&gt;
 vendor string:    The X.Org Foundation&lt;br /&gt;
 vendor release number:    70000000&lt;br /&gt;
 X.Org version: 7.0.0&lt;br /&gt;
 [...]&lt;br /&gt;
 number of extensions:    32&lt;br /&gt;
     RANDR&lt;br /&gt;
     RENDER&lt;br /&gt;
     Composite&lt;br /&gt;
     DAMAGE&lt;br /&gt;
 [...]&lt;br /&gt;
&lt;br /&gt;
Running {{cmduser|xrandr -o 3}} results in:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|xrandr -o 3}}&lt;br /&gt;
 Error of failed request:  BadMatch (invalid parameter attributes)&lt;br /&gt;
 Major opcode of failed request:  156 (RANDR)&lt;br /&gt;
 Minor opcode of failed request:  2 (RRSetScreenConfig)&lt;br /&gt;
 Serial number of failed request:  12&lt;br /&gt;
 Current serial number in output stream:  12&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It should be possible with version 1.6+ of the i810 driver.  You can build this from the CVS repository, but it will not build properly on anything less than X11R7.0-RC2.  ~[[User:Loki|Loki]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I tried today's CVS/GIT [Xorg + IntelGrapicsDriver, 15.4.2006]. It doesn't work. ~[[User:Mcfrost|Mcfrost]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Try this:&lt;br /&gt;
&lt;br /&gt;
http://rpm.pbone.net/index.php3/stat/4/idpl/2756697/com/xorg-x11-drv-i810-1.6.0-1.i386.rpm.html&lt;br /&gt;
http://rpm.pbone.net/index.php3/stat/4/idpl/2756771/com/xorg-x11-drv-i810-1.6.0-1.x86_64.rpm.html&lt;br /&gt;
&lt;br /&gt;
You should be able to fix any unresolved dependencies with other rpms on that site, which likely means upgrading your X server package as well.  Read the updated man page that comes with the RPM for more info.  ~[[User:Loki|Loki]]&lt;br /&gt;
&lt;br /&gt;
Confirmed for: xorg-x11-drv-i810-1.6.0-1 and xorg-x11-server-Xorg-1.0.99.901-5. On-the-fly screen rotation works with these two packages. ~[[User:Saikat|Saikat]]&lt;br /&gt;
&lt;br /&gt;
== Screen-on-the-fly works, my info is ==&lt;br /&gt;
&lt;br /&gt;
Running {{cmduser|xdpyinfo}} returns:&lt;br /&gt;
 name of display:    :0.0&lt;br /&gt;
 version number:    11.0&lt;br /&gt;
 vendor string:    The X.Org Foundation &lt;br /&gt;
 vendor release number:    70000000&lt;br /&gt;
 X.Org version: 7.0.0&lt;br /&gt;
 maximum request size:  16777212 bytes&lt;br /&gt;
 motion buffer size:  256&lt;br /&gt;
 bitmap unit, bit order, padding:    32, LSBFirst, 32&lt;br /&gt;
 image byte order:    LSBFirst&lt;br /&gt;
 number of supported pixmap formats:    7&lt;br /&gt;
 supported pixmap formats:&lt;br /&gt;
     depth 1, bits_per_pixel 1, scanline_pad 32&lt;br /&gt;
     depth 4, bits_per_pixel 8, scanline_pad 32&lt;br /&gt;
     depth 8, bits_per_pixel 8, scanline_pad 32&lt;br /&gt;
     depth 15, bits_per_pixel 16, scanline_pad 32&lt;br /&gt;
     depth 16, bits_per_pixel 16, scanline_pad 32&lt;br /&gt;
     depth 24, bits_per_pixel 32, scanline_pad 32&lt;br /&gt;
     depth 32, bits_per_pixel 32, scanline_pad 32&lt;br /&gt;
 keycode range:    minimum 8, maximum 255&lt;br /&gt;
 focus:  window 0x380001e, revert to Parent&lt;br /&gt;
 number of extensions:    31&lt;br /&gt;
     BIG-REQUESTS&lt;br /&gt;
     DAMAGE&lt;br /&gt;
     DOUBLE-BUFFER&lt;br /&gt;
     DPMS&lt;br /&gt;
     Extended-Visual-Information&lt;br /&gt;
     GLX&lt;br /&gt;
     LBX&lt;br /&gt;
     MIT-SCREEN-SAVER&lt;br /&gt;
     MIT-SHM&lt;br /&gt;
     MIT-SUNDRY-NONSTANDARD&lt;br /&gt;
     RANDR&lt;br /&gt;
     RECORD&lt;br /&gt;
     RENDER&lt;br /&gt;
     SECURITY&lt;br /&gt;
     SGI-GLX&lt;br /&gt;
     SHAPE&lt;br /&gt;
     SYNC&lt;br /&gt;
     TOG-CUP&lt;br /&gt;
     X-Resource&lt;br /&gt;
     XC-APPGROUP&lt;br /&gt;
     XC-MISC&lt;br /&gt;
     XFIXES&lt;br /&gt;
     XFree86-Bigfont&lt;br /&gt;
     XFree86-DGA&lt;br /&gt;
     XFree86-DRI&lt;br /&gt;
     XFree86-Misc&lt;br /&gt;
     XFree86-VidModeExtension&lt;br /&gt;
     XInputExtension&lt;br /&gt;
     XKEYBOARD&lt;br /&gt;
     XTEST&lt;br /&gt;
     XVideo&lt;br /&gt;
 default screen number:    0&lt;br /&gt;
 number of screens:    1&lt;br /&gt;
 &lt;br /&gt;
 screen #0:&lt;br /&gt;
   print screen:    no&lt;br /&gt;
   dimensions:    1024x768 pixels (347x260 millimeters)&lt;br /&gt;
   resolution:    75x75 dots per inch&lt;br /&gt;
   depths (7):    24, 1, 4, 8, 15, 16, 32&lt;br /&gt;
   root window id:    0x4c&lt;br /&gt;
   depth of root window:    24 planes&lt;br /&gt;
   number of colormaps:    minimum 1, maximum 1&lt;br /&gt;
   default colormap:    0x20&lt;br /&gt;
   default number of colormap cells:    256&lt;br /&gt;
   preallocated pixels:    black 0, white 16777215&lt;br /&gt;
   options:    backing-store NO, save-unders NO&lt;br /&gt;
   largest cursor:    64x64&lt;br /&gt;
   current input event mask:    0xfaa033&lt;br /&gt;
    KeyPressMask             KeyReleaseMask           EnterWindowMask          &lt;br /&gt;
    LeaveWindowMask          ButtonMotionMask         ExposureMask             &lt;br /&gt;
    StructureNotifyMask      SubstructureNotifyMask   SubstructureRedirectMask &lt;br /&gt;
    FocusChangeMask          PropertyChangeMask       ColormapChangeMask       &lt;br /&gt;
  number of visuals:    16&lt;br /&gt;
  default visual id:  0x23&lt;br /&gt;
  visual:&lt;br /&gt;
    visual id:    0x23&lt;br /&gt;
    class:    TrueColor&lt;br /&gt;
    depth:    24 planes&lt;br /&gt;
    available colormap entries:    256 per subfield&lt;br /&gt;
    red, green, blue masks:    0xff0000, 0xff00, 0xff&lt;br /&gt;
    significant bits in color specification:    8 bits&lt;br /&gt;
  visual:&lt;br /&gt;
    visual id:    0x24&lt;br /&gt;
    class:    TrueColor&lt;br /&gt;
    depth:    24 planes&lt;br /&gt;
    available colormap entries:    256 per subfield&lt;br /&gt;
    red, green, blue masks:    0xff0000, 0xff00, 0xff&lt;br /&gt;
    significant bits in color specification:    8 bits&lt;br /&gt;
  visual:&lt;br /&gt;
    visual id:    0x25&lt;br /&gt;
    class:    TrueColor&lt;br /&gt;
    depth:    24 planes&lt;br /&gt;
    available colormap entries:    256 per subfield&lt;br /&gt;
    red, green, blue masks:    0xff0000, 0xff00, 0xff&lt;br /&gt;
    significant bits in color specification:    8 bits&lt;br /&gt;
  visual:&lt;br /&gt;
    visual id:    0x26&lt;br /&gt;
    class:    TrueColor&lt;br /&gt;
    depth:    24 planes&lt;br /&gt;
    available colormap entries:    256 per subfield&lt;br /&gt;
    red, green, blue masks:    0xff0000, 0xff00, 0xff&lt;br /&gt;
    significant bits in color specification:    8 bits&lt;br /&gt;
  visual:&lt;br /&gt;
    visual id:    0x27&lt;br /&gt;
    class:    TrueColor&lt;br /&gt;
    depth:    24 planes&lt;br /&gt;
    available colormap entries:    256 per subfield&lt;br /&gt;
    red, green, blue masks:    0xff0000, 0xff00, 0xff&lt;br /&gt;
    significant bits in color specification:    8 bits&lt;br /&gt;
  visual:&lt;br /&gt;
    visual id:    0x28&lt;br /&gt;
    class:    TrueColor&lt;br /&gt;
    depth:    24 planes&lt;br /&gt;
    available colormap entries:    256 per subfield&lt;br /&gt;
    red, green, blue masks:    0xff0000, 0xff00, 0xff&lt;br /&gt;
    significant bits in color specification:    8 bits&lt;br /&gt;
  visual:&lt;br /&gt;
    visual id:    0x29&lt;br /&gt;
    class:    TrueColor&lt;br /&gt;
    depth:    24 planes&lt;br /&gt;
    available colormap entries:    256 per subfield&lt;br /&gt;
    red, green, blue masks:    0xff0000, 0xff00, 0xff&lt;br /&gt;
    significant bits in color specification:    8 bits&lt;br /&gt;
  visual:&lt;br /&gt;
    visual id:    0x2a&lt;br /&gt;
    class:    TrueColor&lt;br /&gt;
    depth:    24 planes&lt;br /&gt;
    available colormap entries:    256 per subfield&lt;br /&gt;
    red, green, blue masks:    0xff0000, 0xff00, 0xff&lt;br /&gt;
    significant bits in color specification:    8 bits&lt;br /&gt;
  visual:&lt;br /&gt;
    visual id:    0x2b&lt;br /&gt;
    class:    DirectColor&lt;br /&gt;
    depth:    24 planes&lt;br /&gt;
    available colormap entries:    256 per subfield&lt;br /&gt;
    red, green, blue masks:    0xff0000, 0xff00, 0xff&lt;br /&gt;
    significant bits in color specification:    8 bits&lt;br /&gt;
  visual:&lt;br /&gt;
    visual id:    0x2c&lt;br /&gt;
    class:    DirectColor&lt;br /&gt;
    depth:    24 planes&lt;br /&gt;
    available colormap entries:    256 per subfield&lt;br /&gt;
    red, green, blue masks:    0xff0000, 0xff00, 0xff&lt;br /&gt;
    significant bits in color specification:    8 bits&lt;br /&gt;
  visual:&lt;br /&gt;
    visual id:    0x2d&lt;br /&gt;
    class:    DirectColor&lt;br /&gt;
    depth:    24 planes&lt;br /&gt;
    available colormap entries:    256 per subfield&lt;br /&gt;
    red, green, blue masks:    0xff0000, 0xff00, 0xff&lt;br /&gt;
    significant bits in color specification:    8 bits&lt;br /&gt;
  visual:&lt;br /&gt;
    visual id:    0x2e&lt;br /&gt;
    class:    DirectColor&lt;br /&gt;
    depth:    24 planes&lt;br /&gt;
    available colormap entries:    256 per subfield&lt;br /&gt;
    red, green, blue masks:    0xff0000, 0xff00, 0xff&lt;br /&gt;
    significant bits in color specification:    8 bits&lt;br /&gt;
  visual:&lt;br /&gt;
    visual id:    0x2f&lt;br /&gt;
    class:    DirectColor&lt;br /&gt;
    depth:    24 planes&lt;br /&gt;
    available colormap entries:    256 per subfield&lt;br /&gt;
    red, green, blue masks:    0xff0000, 0xff00, 0xff&lt;br /&gt;
    significant bits in color specification:    8 bits&lt;br /&gt;
  visual:&lt;br /&gt;
    visual id:    0x30&lt;br /&gt;
    class:    DirectColor&lt;br /&gt;
    depth:    24 planes&lt;br /&gt;
    available colormap entries:    256 per subfield&lt;br /&gt;
    red, green, blue masks:    0xff0000, 0xff00, 0xff&lt;br /&gt;
    significant bits in color specification:    8 bits&lt;br /&gt;
  visual:&lt;br /&gt;
    visual id:    0x31&lt;br /&gt;
    class:    DirectColor&lt;br /&gt;
    depth:    24 planes&lt;br /&gt;
    available colormap entries:    256 per subfield&lt;br /&gt;
    red, green, blue masks:    0xff0000, 0xff00, 0xff&lt;br /&gt;
    significant bits in color specification:    8 bits&lt;br /&gt;
  visual:&lt;br /&gt;
    visual id:    0x32&lt;br /&gt;
    class:    DirectColor&lt;br /&gt;
    depth:    24 planes&lt;br /&gt;
    available colormap entries:    256 per subfield&lt;br /&gt;
    red, green, blue masks:    0xff0000, 0xff00, 0xff&lt;br /&gt;
    significant bits in color specification:    8 bits&lt;br /&gt;
&lt;br /&gt;
xorg.conf {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 # Xorg configuration created by system-config-display&lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
 	Identifier     &amp;quot;single head configuration&amp;quot;&lt;br /&gt;
 	Screen      0  &amp;quot;Screen0&amp;quot;&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;Files&amp;quot;&lt;br /&gt;
  # RgbPath is the location of the RGB database.  Note, this is the name of the &lt;br /&gt;
  # file minus the extension (like &amp;quot;.txt&amp;quot; or &amp;quot;.db&amp;quot;).  There is normally&lt;br /&gt;
  # no need to change the default.&lt;br /&gt;
  # Multiple FontPath entries are allowed (they are concatenated together)&lt;br /&gt;
  # By default, Red Hat 6.0 and later now use a font server independent of&lt;br /&gt;
  # the X server to render fonts.&lt;br /&gt;
  	FontPath     &amp;quot;unix/:7100&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
 	Load  &amp;quot;dbe&amp;quot;&lt;br /&gt;
 	Load  &amp;quot;extmod&amp;quot;&lt;br /&gt;
 	Load  &amp;quot;fbdevhw&amp;quot;&lt;br /&gt;
 	Load  &amp;quot;glx&amp;quot;&lt;br /&gt;
 	Load  &amp;quot;record&amp;quot;&lt;br /&gt;
 	Load  &amp;quot;freetype&amp;quot;&lt;br /&gt;
 	Load  &amp;quot;type1&amp;quot;&lt;br /&gt;
 	Load  &amp;quot;dri&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
  &lt;br /&gt;
 Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
  	Option	    &amp;quot;AllowMouseOpenFail&amp;quot; &amp;quot;yes&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
  # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))&lt;br /&gt;
  #	Option	&amp;quot;Xleds&amp;quot;		&amp;quot;1 2 3&amp;quot;&lt;br /&gt;
  # To disable the XKEYBOARD extension, uncomment XkbDisable.&lt;br /&gt;
  #	Option	&amp;quot;XkbDisable&amp;quot;&lt;br /&gt;
  # To customise the XKB settings to suit your keyboard, modify the&lt;br /&gt;
  # lines below (which are the defaults).  For example, for a non-U.S.&lt;br /&gt;
  # keyboard, you will probably want to use:&lt;br /&gt;
  #	Option	&amp;quot;XkbModel&amp;quot;	&amp;quot;pc102&amp;quot;&lt;br /&gt;
  # If you have a US Microsoft Natural keyboard, you can use:&lt;br /&gt;
  #	Option	&amp;quot;XkbModel&amp;quot;	&amp;quot;microsoft&amp;quot;&lt;br /&gt;
  #&lt;br /&gt;
  # Then to change the language, change the Layout setting.&lt;br /&gt;
  # For example, a german layout can be obtained with:&lt;br /&gt;
  #	Option	&amp;quot;XkbLayout&amp;quot;	&amp;quot;de&amp;quot;&lt;br /&gt;
  # or:&lt;br /&gt;
  #	Option	&amp;quot;XkbLayout&amp;quot;	&amp;quot;de&amp;quot;&lt;br /&gt;
  #	Option	&amp;quot;XkbVariant&amp;quot;	&amp;quot;nodeadkeys&amp;quot;&lt;br /&gt;
  #&lt;br /&gt;
  # If you'd like to switch the positions of your capslock and&lt;br /&gt;
  # control keys, use:&lt;br /&gt;
  #	Option	&amp;quot;XkbOptions&amp;quot;	&amp;quot;ctrl:swapcaps&amp;quot;&lt;br /&gt;
  # Or if you just want both to be control, use:&lt;br /&gt;
  #	Option	&amp;quot;XkbOptions&amp;quot;	&amp;quot;ctrl:nocaps&amp;quot;&lt;br /&gt;
  #&lt;br /&gt;
  	Identifier  &amp;quot;Keyboard0&amp;quot;&lt;br /&gt;
  	Driver      &amp;quot;kbd&amp;quot;&lt;br /&gt;
  	Option	    &amp;quot;XkbModel&amp;quot; &amp;quot;pc105&amp;quot;&lt;br /&gt;
  	Option	    &amp;quot;XkbLayout&amp;quot; &amp;quot;us&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
  &lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
  	Identifier  &amp;quot;Mouse0&amp;quot;&lt;br /&gt;
  	Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
  	Option	    &amp;quot;Protocol&amp;quot; &amp;quot;IMPS/2&amp;quot;&lt;br /&gt;
  	Option	    &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
  	Option	    &amp;quot;ZAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  	Option	    &amp;quot;Emulate3Buttons&amp;quot; &amp;quot;no&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
  	Identifier  &amp;quot;cursor&amp;quot;&lt;br /&gt;
  	Driver      &amp;quot;wacom&amp;quot;&lt;br /&gt;
  	Option	    &amp;quot;Device&amp;quot; &amp;quot;/dev/ttyS0&amp;quot;&lt;br /&gt;
  	Option	    &amp;quot;Type&amp;quot; &amp;quot;cursor&amp;quot;&lt;br /&gt;
  	Option	    &amp;quot;ForceDevice&amp;quot; &amp;quot;ISDV4&amp;quot;&lt;br /&gt;
  	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;
  	Identifier  &amp;quot;stylus&amp;quot;&lt;br /&gt;
  	Driver      &amp;quot;wacom&amp;quot;&lt;br /&gt;
  	Option	    &amp;quot;Device&amp;quot; &amp;quot;/dev/ttyS0&amp;quot;&lt;br /&gt;
  	Option	    &amp;quot;Type&amp;quot; &amp;quot;stylus&amp;quot;&lt;br /&gt;
  	Option	    &amp;quot;ForceDevice&amp;quot; &amp;quot;ISDV4&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
 	Identifier  &amp;quot;eraser&amp;quot;&lt;br /&gt;
 	Driver      &amp;quot;wacom&amp;quot;&lt;br /&gt;
 	Option	    &amp;quot;Device&amp;quot; &amp;quot;/dev/ttyS0&amp;quot;&lt;br /&gt;
 	Option	    &amp;quot;Type&amp;quot; &amp;quot;eraser&amp;quot;&lt;br /&gt;
 	Option	    &amp;quot;ForceDevice&amp;quot; &amp;quot;ISDV4&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
  	Identifier   &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
  	VendorName   &amp;quot;Monitor Vendor&amp;quot;&lt;br /&gt;
  	ModelName    &amp;quot;LCD Panel 1024x768&amp;quot;&lt;br /&gt;
  	HorizSync    31.5 - 48.5&lt;br /&gt;
  	VertRefresh  40.0 - 70.0&lt;br /&gt;
  	Option	    &amp;quot;dpms&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
        Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
 	Identifier  &amp;quot;Videocard0&amp;quot;&lt;br /&gt;
 #	Driver      &amp;quot;vesa&amp;quot;&lt;br /&gt;
 	VendorName  &amp;quot;Intel&amp;quot;&lt;br /&gt;
 	BoardName   &amp;quot;Intel 915&amp;quot;&lt;br /&gt;
 	BusID       &amp;quot;PCI:0:2:0&amp;quot;&lt;br /&gt;
 	Screen      0&lt;br /&gt;
 	Option &amp;quot;DisplayInfo&amp;quot; &amp;quot;FALSE&amp;quot;&lt;br /&gt;
 	Option &amp;quot;MonitorLayout&amp;quot; &amp;quot;CRT,LFP&amp;quot;&lt;br /&gt;
 	Option &amp;quot;NoAccel&amp;quot; &amp;quot;false&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
 	Identifier &amp;quot;Screen0&amp;quot;&lt;br /&gt;
 	Device     &amp;quot;Videocard0&amp;quot;&lt;br /&gt;
 	Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
 	DefaultDepth     24&lt;br /&gt;
 	SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
 		Viewport   0 0&lt;br /&gt;
 		Depth     24&lt;br /&gt;
 		Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
 	EndSubSection&lt;br /&gt;
 	SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
 		Viewport   0 0&lt;br /&gt;
 		Depth     24&lt;br /&gt;
 		Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
 	EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
 	Group        0&lt;br /&gt;
 	Mode         0666&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
        Identifier     &amp;quot;rotateCW&amp;quot;&lt;br /&gt;
        Screen      0  &amp;quot;Screen0CW&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;cursorCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
        InputDevice    &amp;quot;stylusCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
        VendorName  &amp;quot;Videocard vendor&amp;quot;&lt;br /&gt;
        Option      &amp;quot;NoAccel&amp;quot;       &amp;quot;false&amp;quot;&lt;br /&gt;
        Option      &amp;quot;DRI&amp;quot;           &amp;quot;true&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
        BoardName   &amp;quot;Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XAANoOffscreenPixmaps&amp;quot;&lt;br /&gt;
        Option      &amp;quot;SWCursor&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;cursorCW&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;
      Option        &amp;quot;TopX&amp;quot;          &amp;quot;500&amp;quot;&lt;br /&gt;
      Option        &amp;quot;BottomX&amp;quot;       &amp;quot;18000&amp;quot;&lt;br /&gt;
      Option        &amp;quot;TopY&amp;quot;          &amp;quot;-6000&amp;quot;&lt;br /&gt;
      Option        &amp;quot;BottomY&amp;quot;       &amp;quot;18500&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;stylusCW&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;
      Option        &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
 EndSection &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier &amp;quot;Screen0CW&amp;quot;&lt;br /&gt;
        Device     &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
        Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
        DefaultDepth     24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     16&lt;br /&gt;
                Modes    &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     24&lt;br /&gt;
                Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
        EndSubSection&lt;br /&gt;
 EndSection&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_enable_integrated_fingerprint_reader_with_BioAPI&amp;diff=21518</id>
		<title>How to enable integrated fingerprint reader with BioAPI</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_enable_integrated_fingerprint_reader_with_BioAPI&amp;diff=21518"/>
		<updated>2006-04-11T15:58:49Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Binary packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
This page describes the process of getting the [[Integrated Fingerprint Reader|integrated fingerprint reader]] to work under Linux. It is based on experiences in {{Ubuntu}} on a T43. The same works on {{Fedora}} 4, SuSE 9.3, SuSE 10, and {{Gentoo}}.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Basic installation==&lt;br /&gt;
===Installing the bioapi framework===&lt;br /&gt;
====Automated installation script====&lt;br /&gt;
The [[Script for enabling the fingerprint reader]] automates the installation of most components (bioapi framework, driver, pam_bioapi, pam setup, device permissions, pamtester and enrolling), for some Linux distributions.&lt;br /&gt;
&lt;br /&gt;
====Binary packages====&lt;br /&gt;
=====Debian=====&lt;br /&gt;
*If you're using {{Debian}} Sid (the unstable branch) you can try the packages from Michael R. Crusoe's site, either [http://www.qrivy.net/~michael/temp/ version 1.2.3] (recommended) or [http://www.qrivy.net/~michael/debs/unstable/ older versions] which might not work with the steps in this howto.&lt;br /&gt;
*This seems to work for {{Ubuntu}} Breezy/Dapper too, so save yourself some trouble and grab it.&lt;br /&gt;
=====Gentoo=====&lt;br /&gt;
You can either grab the [http://www.qrivy.net/~michael/blua/bioapi/bioapi-1.2.2.ebuild.tar.bz2 ebuild], or use the source-install procedure below.&lt;br /&gt;
&lt;br /&gt;
Also see [http://toe.ch/~tsa/ibm-fingerprint/ http://toe.ch/~tsa/ibm-fingerprint/] for alternative documentation on installing on Gentoo including ebuilds for all the packages used.&lt;br /&gt;
=====Fedora Core=====&lt;br /&gt;
RPM packages for Fedora Core ans installation instructions are available [[Installing Fedora Core 5 on a ThinkPad X41 Tablet#Fingerprint_Reader|here]]&lt;br /&gt;
&lt;br /&gt;
====Installing from source====&lt;br /&gt;
*Get the bioapi source:&lt;br /&gt;
:{{cmduser|wget http://www.qrivy.net/~michael/blua/bioapi/bioapi-latest.tar.bz2}}&lt;br /&gt;
*I could not compile bioapi with the graphical Qt tools. To do it manually, do the following:&lt;br /&gt;
:{{cmduser|tar xjf bioapi-latest.tar.bz2}}&lt;br /&gt;
:{{cmduser|cd bioapi-1.2.2}}&lt;br /&gt;
:{{cmduser|1=./configure --with-Qt-dir=no}}&lt;br /&gt;
:{{cmduser|make}}&lt;br /&gt;
:and then as root&lt;br /&gt;
:{{cmdroot|make install}}&lt;br /&gt;
:If make install fails, be sure you're root and then:&lt;br /&gt;
:{{cmdroot|1=export LD_LIBRARY_PATH=/usr/local/lib}}&lt;br /&gt;
:{{cmdroot|make install}}&lt;br /&gt;
:and if you want to compile pam_bioapi for auth later&lt;br /&gt;
:{{cmdroot|cp include/bioapi_util.h include/installdefs.h imports/cdsa/v2_0/inc/cssmtype.h /usr/include}}&lt;br /&gt;
:Be aware that checkinstall will not work!&lt;br /&gt;
:(I got through configure with Qt, but got a cryptic build error.  It all worked fine with Qt disabled as above)&lt;br /&gt;
:buzz: This is due to a wrong qt include path, set it manually in configure and everything should work.&lt;br /&gt;
*Bioapi (at least version 1.2.2) doesn't compile with GCC4. You need to patch it:&lt;br /&gt;
:{{cmduser|wget http://upir.cz/linux/patches/bioapi-1.2.2-gcc4.patch}}&lt;br /&gt;
:{{cmduser|patch -p1 &amp;lt; bioapi-1.2.2-gcc4.patch}}&lt;br /&gt;
*Patch for gcc 4.1 is available here - http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/bioapi-c++.patch&lt;br /&gt;
* By default, bioapi will install numerous files in {{path|/usr/local/&amp;lt;nowiki&amp;gt;{&amp;lt;/nowiki&amp;gt;bin,lib,include&amp;lt;nowiki&amp;gt;}&amp;lt;/nowiki&amp;gt;}}, including files with &amp;quot;self-explanatory&amp;quot; names such as {{path|/usr/local/bin/Sample}}. To prevent this pollution:&lt;br /&gt;
:Create a dedicated directory, for example {{path|/opt/bioapi}} .&lt;br /&gt;
:Append &amp;lt;tt&amp;gt;--prefix=/opt/bioapi&amp;lt;/tt&amp;gt; to the above &amp;lt;tt&amp;gt;./configure&amp;lt;/tt&amp;gt; command.&lt;br /&gt;
:Append {{path|/opt/bioapi/bin}} to &amp;lt;tt&amp;gt;$PATH&amp;lt;/tt&amp;gt; and {{path|/opt/bioapi/lib}} to &amp;lt;tt&amp;gt;$LD_LIBRARY_PATH&amp;lt;/tt&amp;gt;.&lt;br /&gt;
:When installing the driver (below), tell it the new install path: {{cmdroot|sh install.sh /opt/bioapi/lib}}&lt;br /&gt;
&lt;br /&gt;
====Adjusting ldconfigs library search path====&lt;br /&gt;
At least on {{Fedora}} or {{Aurox}} 11, you may need to add {{path|/usr/local/lib}} to the library path so that the libraries referenced from &amp;lt;tt&amp;gt;pam_bioapi.so&amp;lt;/tt&amp;gt; get picked up properly. The usual way to do this is adding it to the ldconfig configuration:&lt;br /&gt;
:{{cmdroot|echo '/usr/local/lib' &amp;gt; /etc/ld.so.conf.d/bioapi.conf}}&lt;br /&gt;
:{{cmdroot|ldconfig}}&lt;br /&gt;
Alternatively you can add it to the LD_LIBRARY variable.&lt;br /&gt;
&lt;br /&gt;
If you see bioapi libs in the output of &lt;br /&gt;
:{{cmdroot|ldconfig -p | grep bioapi}}&lt;br /&gt;
then it should work.&lt;br /&gt;
&lt;br /&gt;
===Installing and configuring the driver===&lt;br /&gt;
====Installing the driver====&lt;br /&gt;
*Download {{path|TFMESS_BSP_LIN_1.0.zip}} from the [http://www.upek.com/support/dl_linux_bsp.asp UPEK support site] and unzip it into a seperate folder, as it will not create one.&lt;br /&gt;
*Change to that folder and do as root:&lt;br /&gt;
:{{cmdroot|sh install.sh}}&lt;br /&gt;
:If you're running Gentoo, use&lt;br /&gt;
:{{cmdroot|sh install.sh /usr/lib}}&lt;br /&gt;
:If that fails, it may be that make install failed up above -- try setting LD_LIBRARY_PATH, do the make install again, and come back here and try this again.  You also need {{cmd|mod_install|}} from bioapi in your PATH.&lt;br /&gt;
====Configuring permissions for non-root use====&lt;br /&gt;
If you want to use PAM-aware applications like xscreensaver that are NOT running with root permissions (as opposed to login, gdm or other authentication mechanisms), you may need to do all or at least some of the things in this section.  More details on what is necessary on which distributions would be greately appreciated.&lt;br /&gt;
*Create two groups, one for access to BioAPI files and the other for access to the usb files.  (This is done for full generality; i.e., you may have other USB devices which you want accessable to other users, without exposing your BioAPI configuration to them).  Add your normal user (the one you wish to use PAM-aware applications with) to both of these groups.&lt;br /&gt;
On {{Debian}} this is done with&lt;br /&gt;
:{{cmdroot|addgroup --system bioapi}}&lt;br /&gt;
:{{cmdroot|addgroup --system usbfs}}&lt;br /&gt;
:{{cmdroot|adduser yournormaluser bioapi}}&lt;br /&gt;
:{{cmdroot|adduser yournormaluser usbfs}}&lt;br /&gt;
On {{SUSE}} this is done with&lt;br /&gt;
:{{cmdroot|groupadd --system bioapi}}&lt;br /&gt;
:{{cmdroot|groupadd --system usbfs}}&lt;br /&gt;
:{{cmdroot|groupmod -A yournormaluser bioapi}}&lt;br /&gt;
:{{cmdroot|groupmod -A yournormaluser usbfs}}&lt;br /&gt;
On {{Mandriva}} this is done with&lt;br /&gt;
:{{cmdroot|groupadd -r bioapi}}&lt;br /&gt;
:{{cmdroot|groupadd -r usbfs}}&lt;br /&gt;
:{{cmdroot|usermod -G bioapi,usbfs yournormaluser}}&lt;br /&gt;
&lt;br /&gt;
:(where {{cmd|yournormaluser|}} is your normal user name).  You will need to log out and log back in for this to take effect.&lt;br /&gt;
*Set permissions on the BioAPI config/registry directory:&lt;br /&gt;
:{{cmdroot|chown -R root:bioapi /usr/local/var/bioapi/}}&lt;br /&gt;
:{{cmdroot|chmod -R 770 /usr/local/var/bioapi/}}&lt;br /&gt;
:(change this path if you used an alternate BioAPI install directory above)&lt;br /&gt;
*Set permissions on the files in {{path|/proc/bus/usb}}:&lt;br /&gt;
:{{cmdroot|chown -R root:usbfs /proc/bus/usb}}&lt;br /&gt;
:{{cmdroot|chmod -R g+X /proc/bus/usb}}&lt;br /&gt;
:{{cmdroot|chown root:usbfs /proc/bus/usb/`lsusb &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sed -ne &amp;quot;/0483:2016/s/Bus\ \(.*\)\ Device\ \(.*\):\ .*/\1\/\2/p&amp;quot;`}}&lt;br /&gt;
:{{cmdroot|chmod 660 /proc/bus/usb/`lsusb &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sed -ne &amp;quot;/0483:2016/s/Bus\ \(.*\)\ Device\ \(.*\):\ .*/\1\/\2/p&amp;quot;`}}&lt;br /&gt;
:You may need to replace {{cmd|lsusb|}} with its full path, which is something like {{cmd|/sbin/lsusb|}} or {{cmd|/usr/bin/lsusb|}} depending on your distro.  It might be necessary to put these lines into a script which is run at startup and resume from suspend/hibernate.&lt;br /&gt;
*As an alternative to the {{cmd|chown|}}/{{cmd|chmod|}} commands above, you can set mount options for usbfs with a line in {{path|/etc/fstab|}}; an example would be&lt;br /&gt;
 none /proc/bus/usb usbfs defaults,devgid=108,devmode=0660,busgid=108,busmode=0770,listgid=108,listmode=0660 0 0&lt;br /&gt;
:where 108 is replaced with the numerical group ID of the usbfs group (you can determine this with something like {{cmd|cat /etc/group &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep usbfs &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cut -d':' -f 3|}}).  Make sure you only have one {{path|/proc/bus/usb}} entry in {{path|/etc/fstab}}.  See the {{cmd|mount(8)|}} manpage for more information on these options.  This is &amp;quot;cleaner&amp;quot; but seems to have a few weird issues -- see the talk page for details.&lt;br /&gt;
*You may also have files in {{path|/dev/bus/usb}}, which the driver will try before {{path|/proc/bus/usb}}.  If this is another usbfs mount point ({{cmd|mount|}} shows a line containing {{cmdresult|/dev/bus/usb type usbfs}}), then simply follow the above instructions with {{path|/dev/bus/usb}} rather than {{path|/proc/bus/usb}}.  Otherwise, you may be running a new kernel (i.e. 2.6.15) that makes usbfs-like files available through {{path|/dev/bus/usb}}.  On systems running udev these files are dynamically created; you can configure their permissions by editing a udev config file.  On Debian this is done by changing the &amp;lt;tt&amp;gt;usb_device&amp;lt;/tt&amp;gt; line of {{path|/etc/udev/permissions.rules}} to read&lt;br /&gt;
 SUBSYSTEM==&amp;quot;usb_device&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;usbfs&amp;quot;&lt;br /&gt;
*For the beta versions only, there is a logfile, which needs to exist with the proper permissions:&lt;br /&gt;
:{{cmdroot|touch /var/log/BSP.log &amp;amp;&amp;amp; chown root:bioapi /var/log/BSP.log &amp;amp;&amp;amp; chmod 660 /var/log/BSP.log}}&lt;br /&gt;
&lt;br /&gt;
====Miscellaneous configuration====&lt;br /&gt;
* To increase the security level (minimize false accept rate), set this in {{path|/etc/tfmessbsp.cfg}}:&lt;br /&gt;
 security-level=&amp;quot;5&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Testing the driver and enrolling a fingerprint===&lt;br /&gt;
To test the driver and generate the file containing your fingerprint information, you need a sample program included with the driver.  The compilation steps below were discovered by trial and error; if they don't work for you, try the binary {{cmd|Sample|}} utility that came with the beta versions of the driver (i.e., {{path|TFMESS_BSP_LIN_1.0beta2.zip}} as mentioned above).&lt;br /&gt;
Go to the folder where you extracted {{path|TFMESS_BSP_LIN_1.0.zip}} and do:&lt;br /&gt;
:{{cmdroot|cd NonGUI_Sample}}&lt;br /&gt;
:Edit {{path|main.c|}} and remove (or comment out) the line&lt;br /&gt;
 #include &amp;quot;port/bioapi_port.h&amp;quot;&lt;br /&gt;
:{{cmdroot|gcc -o Sample main.c -L/usr/local/lib -lbioapi100 -DUNIX -DLITTLE_ENDIAN}}&lt;br /&gt;
:{{cmdroot|./Sample}}&lt;br /&gt;
:Note that Sample may only run as root, unless you've already configured the usbfs file permissions.&lt;br /&gt;
:You can try to &amp;quot;e&amp;quot;nroll (to record a fingerprint for an account) and then &amp;quot;v&amp;quot;erify (to test a fingerprint against the one it expects for an account).&lt;br /&gt;
:You'll save a step later if you use your own login username as the username to enroll here.&lt;br /&gt;
&lt;br /&gt;
==Login via pam_bioapi==&lt;br /&gt;
&lt;br /&gt;
The following explains how to add fingerprint authentiation to programs that use the PAM (Pluggable Authentication Modules) framework, such as  Gnome's GDM and KDE's KDM and screensaver.&lt;br /&gt;
&lt;br /&gt;
===Getting required libs &amp;amp; tools===&lt;br /&gt;
====Installing pam_bioapi====&lt;br /&gt;
*Prerequisites&lt;br /&gt;
:On SuSE 10, I needed to install the pam-devel RPM&lt;br /&gt;
:In general, you will need pam itself (standard for most distros) as well as the pam development files (probably an optional package for your distro).&lt;br /&gt;
*Get and compile the pam_bioapi module.&lt;br /&gt;
:{{cmduser|wget http://www.qrivy.net/~michael/blua/pam_bioapi/pam_bioapi-latest.tar.bz2}}&lt;br /&gt;
:{{cmduser|tar xjf pam_bioapi-latest.tar.bz2}}&lt;br /&gt;
:{{cmduser|cd pam_bioapi-0.2.1}}&lt;br /&gt;
:{{cmduser|wget http://badcode.de/downloads/fingerprint.patch}}&lt;br /&gt;
:{{cmduser|patch -p0 &amp;lt; fingerprint.patch}}&lt;br /&gt;
:If you want to, review the patch. In general you should review all code you download and compile, if possible. The patch comes from [http://linuxbiometrics.com/modules/newbb/viewtopic.php?viewmode=flat&amp;amp;topic_id=80&amp;amp;forum=1 this thread].&lt;br /&gt;
:{{cmduser|./configure &amp;amp;&amp;amp; make}}&lt;br /&gt;
:and as root&lt;br /&gt;
:{{cmdroot| make install}}&lt;br /&gt;
:{{cmdroot| cp /usr/local/lib/security/* /lib/security/}}&lt;br /&gt;
{{NOTE|If you get a 'rpl_malloc' error in /var/log/auth.log when trying to use the fingerprint reader, redo these steps and remove the related term from Makefile after running ./configure. (FC3, Debian etch)}}&lt;br /&gt;
*If you get 'PAM [dlerror: /lib/security/pam_bioapi.so: undefined symbol: BioAPIMemoryFuncs]' error in your syslog, replace 'LIBS = ' line in {{path|libpam_bioapi/makefile}} with the following (of course, replace {{path|/opt/bioapi/}} with the path where you installed bioapi):&lt;br /&gt;
 LIBS = -L/opt/bioapi/lib -lbioapi100 -lbioapi_mds300 -lmds_util&lt;br /&gt;
*Use the sample tool from the fingerprint reader to create {{path|&amp;lt;username&amp;gt;.bir}} (&amp;lt;tt&amp;gt;&amp;lt;username&amp;gt;&amp;lt;/tt&amp;gt; '''must''' be the username you want to login with. gdm will probably break for any login name that has no .bir file).&lt;br /&gt;
*As root do:&lt;br /&gt;
:{{cmdroot|SERIAL&amp;lt;nowiki&amp;gt;=`BioAPITest | sed -ne &amp;quot;/Fingerprint/{n;n;s/^.*: \(.\{9\}\)\(.\{4\}\)\(.\{4\}\)\(.\{4\}\)\(.*\)/\1-\2-\3-\4-\5/gp}&amp;quot;` &amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
:{{cmdroot|echo $SERIAL}} should print something like {{cmdresult|&amp;lt;nowiki&amp;gt;{5550454b-2054-464d-2f45-535320425350}&amp;lt;/nowiki&amp;gt;}} now.&lt;br /&gt;
:If it does, do:&lt;br /&gt;
:{{cmdroot|mkdir -p /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
:{{cmdroot|cp &amp;lt;username&amp;gt;.bir /etc/bioapi/pam/$SERIAL}}&lt;br /&gt;
:If not, you might just try&lt;br /&gt;
:{{cmdroot|SERIAL&amp;lt;nowiki&amp;gt;={5550454b-2054-464d-2f45-535320425350}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
:as this value is hardcoded into the UPEK docs.&lt;br /&gt;
&lt;br /&gt;
===Configuring pam===&lt;br /&gt;
The following part is distribution specific. On {{Ubuntu}} or {{SUSE}} you can modify {{path|/etc/pam.d/common-auth}} (on {{Gentoo}} and {{Fedora}} it is {{path|/etc/pam.d/system-auth}}) to look like this:&lt;br /&gt;
&lt;br /&gt;
 #&lt;br /&gt;
 # /etc/pam.d/common-auth - authentication settings common to all services&lt;br /&gt;
 #&lt;br /&gt;
 # This file is included from other service-specific PAM config files,&lt;br /&gt;
 # and should contain a list of the authentication modules that define&lt;br /&gt;
 # the central authentication scheme for use on the system&lt;br /&gt;
 # (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the&lt;br /&gt;
 # traditional Unix authentication mechanisms.&lt;br /&gt;
 #&lt;br /&gt;
 auth       sufficient   pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
 password   sufficient   pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
 auth       required     pam_unix.so nullok_secure&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
For '''Gentoo'''-Users - this allows you to attempt a password first. If you simply press enter, it then prompts for a fingerprints. Create a file named {{path|/etc/pam.d/bioapi}}. This also means that remote services, such as SSH keep working:&lt;br /&gt;
&lt;br /&gt;
 auth       required     pam_env.so&lt;br /&gt;
 auth       sufficient   pam_unix.so likeauth nullok&lt;br /&gt;
 auth       sufficient   pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
 auth       required     pam_deny.so&lt;br /&gt;
 &lt;br /&gt;
 account    required     pam_unix.so&lt;br /&gt;
 &lt;br /&gt;
 session    required     pam_limits.so&lt;br /&gt;
 session    required     pam_unix.so&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Now, simply replace &amp;quot;auth include system-auth&amp;quot; in all services that you wish to use fingerprint for with &amp;quot;auth include bioapi&amp;quot;. For example, {{path|/etc/pam.d/kde}} by default contains&lt;br /&gt;
&lt;br /&gt;
  auth       include      system-auth&lt;br /&gt;
  auth       required     pam_nologin.so&lt;br /&gt;
  &lt;br /&gt;
  account    include      system-auth&lt;br /&gt;
  &lt;br /&gt;
  password   include      system-auth&lt;br /&gt;
  &lt;br /&gt;
  session    include      system-auth&lt;br /&gt;
&lt;br /&gt;
Simply replace the first &amp;quot;system-auth&amp;quot; with bioapi and you can also get rid of KDE desktop lock with a fingerprint. If you do not wish to allow for &amp;quot;password fallback&amp;quot; then remove &lt;br /&gt;
&lt;br /&gt;
 auth       sufficient   pam_unix.so likeauth nullok&lt;br /&gt;
&lt;br /&gt;
from {{path|/etc/pam.d/bioapi}}.&lt;br /&gt;
&lt;br /&gt;
{{WARN|If su/sudo expects to receive the root password (SuSE 10), you need to have fingerprint settings for root (that is, copy in a root.bir as well as a your-username.bir).  Otherwise, they get a segmentation fault.  Which is a little unfortunate, given that you need to su or sudo to change your settings...}}&lt;br /&gt;
&lt;br /&gt;
Note that sshd may pick up the fingerprint settings from {{path|/etc/pam.d/common-auth}}.  I didn't want that, so I removed the &amp;quot;auth include common-auth&amp;quot; line from {{path|/etc/pam.d/sshd}} and replaced it with the lines that were originally in my {{path|/etc/pam.d/common-auth}}.  That way most local services use the fingerprint reader, but sshd does not.&lt;br /&gt;
&lt;br /&gt;
Another way to do this is to create a file ({{path|/etc/pam.d/bioapi|}} for example) which contains the {{cmd|pam_bioapi.so|}} lines, and explicitly {{cmd|@include|}} this '''before''' {{path|/etc/pam.d/common-auth|}} in the files for services which should use the fingerprint reader.  In this case you should leave {{path|/etc/pam.d/common-auth|}} alone.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This was discovered through trial and success, if it is plain wrong, wikorrect it, please.}}&lt;br /&gt;
&lt;br /&gt;
In {{Fedora}} the original 'session' terms in {{path|/etc/pam.d/system-auth}} need to be kept.&lt;br /&gt;
&lt;br /&gt;
{{HINT|The setup described above will/could affect remote ssh logins to also use biometric logins, which is a bit silly (who wants to remote ssh to the laptop, and then have to walk over to it and swipe your finger)&amp;lt;br /&amp;gt;To avoid that you can copy the default &amp;lt;tt&amp;gt;/etc/pam.d/system-auth&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;/etc/pam.d/sshd&amp;lt;/tt&amp;gt; which will allow the sshd service to use the standard authentication procedure.}}&lt;br /&gt;
&lt;br /&gt;
You can do some useful testing with [http://pamtester.sourceforge.net/ {{cmd|pamtester|}}], which calls the pam modules as if it were a program of your choice.  Examples:&lt;br /&gt;
:{{cmdroot|pamtester xdm yourusername authenticate}}&lt;br /&gt;
:{{cmduser|pamtester xscreensaver yourusername authenticate}}&lt;br /&gt;
where {{cmd|yourusername|}} is your username.  Note that {{cmd|pamtester|}} should run as root if and only if the program in question does.&lt;br /&gt;
&lt;br /&gt;
===Application support===&lt;br /&gt;
The implementation of fingerprint scanning support in the relevant applications varies.&lt;br /&gt;
&lt;br /&gt;
Here is the behaviour of the most common ones:&lt;br /&gt;
* gdm should pop up an (ugly) image to swipe your finger and... magic - you can login without a password.&lt;br /&gt;
* kdm doesn't give any visual indication, other than that the cursor stops blinking. Just swipe your finger and hope it lets you log in.&lt;br /&gt;
* In xdm, enter your username and a blank password, then swipe (there is no popup as well).&lt;br /&gt;
* The KDE screen saver in SUSE 10 requires you to enter an empty password (or select the correct user and then enter an empty password) in order to get the fingerprint prompt.&lt;br /&gt;
* For Fedora users, the redhat-config tools will crash if no root.bir presents. Also, there won't be any visual idication unless X server is properly configured for root to access. Just swipe your finger when the HDD stopped blinking or issue the following command in advance:&lt;br /&gt;
:{{cmduser|xhost +local:}}&lt;br /&gt;
&lt;br /&gt;
===kdm support===&lt;br /&gt;
To add graphical popup to kdm, you need following:&lt;br /&gt;
* Patch for pam_bioapi. This patch adds third parameter to {{path|pam_bioapi.so}} module, which is a name of file with additional environment variables that will be supplied to the UPEK driver.&lt;br /&gt;
:{{cmdroot|wget http://upir.cz/linux/patches/pam_bioapi-0.2.1-alter-environ.patch}}&lt;br /&gt;
:{{cmdroot|patch -p1 &amp;lt; pam_bioapi-0.2.1-alter-environ.patch}}&lt;br /&gt;
* Edit your {{path|Xsetup}} file (on SUSE 10 it's {{path|/etc/X11/xdm/Xsetup}}) and add these lines:&lt;br /&gt;
 echo &amp;quot;XAUTHORITY=$XAUTHORITY&amp;quot; &amp;gt; /var/lib/xdm/kdm_env&lt;br /&gt;
 echo &amp;quot;DISPLAY=$DISPLAY&amp;quot; &amp;gt;&amp;gt; /var/lib/xdm/kdm_env&lt;br /&gt;
* In {{path|/etc/pam.d/xdm}} file, add {{path|/var/lib/xdm/kdm_env}} as a third parameter for {{path|pam_bioapi.so}} module:&lt;br /&gt;
 auth sufficient pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/ /var/lib/xdm/kdm_env&lt;br /&gt;
&lt;br /&gt;
Please note, that this won't work if you have more than one Xserver.&lt;br /&gt;
&lt;br /&gt;
==Make xscreensaver use the scanner==&lt;br /&gt;
*Get the needed xscreensaver sources:&lt;br /&gt;
:{{cmduser|wget http://www.jwz.org/xscreensaver/xscreensaver-4.23.tar.gz}}&lt;br /&gt;
:{{cmduser|tar xzf xscreensaver-4.23.tar.gz}}&lt;br /&gt;
:{{cmduser|cd xscreensaver-4.23}}&lt;br /&gt;
:{{cmduser|wget http://nax.hn.org/pub/bioapi/xscreensaver-4.22_alternativeAuth.diff}}&lt;br /&gt;
*After reviewing the patch (it's small and straightforward), do&lt;br /&gt;
:{{cmduser|patch -p1 &amp;lt; xscreensaver-4.22_alternativeAuth.diff}}&amp;lt;br /&amp;gt;The patch prevents xscreensaver from opening an authentification window and dispatches the authentification request to another program, in our case &amp;lt;tt&amp;gt;pam&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;pam_bioapi&amp;lt;/tt&amp;gt;. It should apply with some offset, don't mind that. If it says something about rejected though, then there's a problem.&lt;br /&gt;
*Compile with&lt;br /&gt;
:{{cmduser|./configure --with-pam &amp;amp;&amp;amp; make}}&amp;lt;br /&amp;gt;&lt;br /&gt;
*If you recieve an error like &amp;quot;undefined reference to `XmuPrintDefaultErrorMessage'&amp;quot; then install the libxmu-dev package and run the previous line again&lt;br /&gt;
*and then install as root with&lt;br /&gt;
:{{cmduser|su -c make install}} .&lt;br /&gt;
*Make sure that the newly compiled xscreensaver is used:&lt;br /&gt;
:{{cmduser|which xscreensaver}} should return&lt;br /&gt;
:{{cmdresult|/usr/local/bin/xscreensaver}} .&lt;br /&gt;
:*In case it doesn't, try &lt;br /&gt;
::{{cmduser|1=export PATH=/usr/local/bin:$PATH}}&amp;lt;br /&amp;gt;and retry.&lt;br /&gt;
*Kill the running instance of xscreensaver:&lt;br /&gt;
:{{cmduser|xscreensaver-command -exit}} &lt;br /&gt;
*Make sure you have the following line in your {{path|~/.xscreensaver}}:&lt;br /&gt;
 alternativeAuth: True&lt;br /&gt;
*Now edit {{path|/etc/pam.d/xscreensaver}} to include the following line (If you're on {{Ubuntu}} Breezy and you already changed {{path|/etc/pam.d/common-auth}} you should not need to do this.):&lt;br /&gt;
 auth    sufficient      pam_bioapi.so {5550454b-2054-464d-2f45-535320425350} /etc/bioapi/pam/&lt;br /&gt;
*Start the new xscreensaver&lt;br /&gt;
:{{cmduser|xscreensaver}}&amp;lt;br /&amp;gt;There should be a splash screen with version 4.23.&lt;br /&gt;
*Now try:&lt;br /&gt;
:{{cmduser|xscreensaver-command -lock}}&lt;br /&gt;
&lt;br /&gt;
If you have questions or problems with this procedure, ask: t43fingerprint (at) badcode.de .&lt;br /&gt;
&lt;br /&gt;
===Package for Debian sid===&lt;br /&gt;
&lt;br /&gt;
If you're running {{Debian}} sid (the unstable branch) you can also try the patched .deb-package (built from current Debian sources fetched with {{cmd|apt-get source|}}) from [http://linux.spiney.org/debian_gnu_linux_on_an_ibm_thinkpad_t43p_fingerprint_reader this page], which also has Debian-specific instructions on how to setup the fingerprint reader. Use it on your own risk.&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting and Hints==&lt;br /&gt;
# After installing the driver, don't forget to reboot!&lt;br /&gt;
## This might not be necessary. it worked here without having to reboot.&lt;br /&gt;
# To see if the fingerprint device is know on the USB bus do:&lt;br /&gt;
:{{cmdroot|lsusb}}&lt;br /&gt;
:as root and you should see a line like:&lt;br /&gt;
:{{cmdresult|Bus 003 Device 004: ID 0483:2016 SGS Thomson Microelectronics}}&lt;br /&gt;
:The bus and device number can be different. This should work without the driver installed. If the device does not show up, you have a hardware problem/quirk, Rebooting or removing/inserting USB kernel modules might fix this.&lt;br /&gt;
# For some installation, after installing the driver as in section [[#Installing the driver|Installing the driver]] and makingÂ´sure the device is recognized, try to test it  by going to {{path|NonGUI_Sample}} directory and run {{cmdroot|./Sample}}, one get segmentation fault. In this case, try getting the Beta1 instead of Beta2 of the driver and installing it&lt;br /&gt;
# There was some confusion about the /etc/bioapi1.10/pam{5550454b-2054-464d-2f45-535320425350} path, this has been fixed in the howto, if you have problems, check the section again, the path needs to have the '-' in them&lt;br /&gt;
# When something goes wrong look at the tail of {{path|/var/log/auth.log}}. (on {{Fedora}} it is {{path|/var/log/secure}}) Specifically if you see an entry saying something like&lt;br /&gt;
 pam_bioapi[10480]: Unable to load BioAPI BSP with UUID of {5550454b-2054-464d-2f45-535320425350}, BioAPI error &amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;194d.&lt;br /&gt;
Check whether your {{path|/proc/bus/usb}} directory permissions are set up as in the &lt;br /&gt;
section [[#Installing the driver|Installing the driver]].&lt;br /&gt;
# To get the xscreensaver compiled you might need a bunch of header files (depending on which xscreensaver features you want), in my case I need the following:&lt;br /&gt;
#*python-gtk2-dev&lt;br /&gt;
#*libgstreamer0.8-dev&lt;br /&gt;
#*xlibs-dev&lt;br /&gt;
# Sometimes {{path|$HOME/.xscreensaver}} got overwritten, try changing it to read-only.&lt;br /&gt;
# If after suspending to RAM and resume, lsusb no longer have &amp;quot;SGS Thomson Microelectronics&amp;quot; entry, try adding a line &lt;br /&gt;
 /etc/init.d/hotplug restart&lt;br /&gt;
to your {{path|/etc/acpi/resume.sh}} file&lt;br /&gt;
#If after resume lsusb shows the device but xscreensaver does not ask for fingerprint for login, you might want to check the permission of the usb bus in the appropriate {{path|/proc/bus/usb/}} entry. If necessesary you might need to add a line to {{path|/etc/acpi/resume.sh}} as in section [[#Installing the driver|Installing the driver]] to set the permission right.&lt;br /&gt;
-----&lt;br /&gt;
If it still doesn't work, ask me for help (and make sure all usefull stuff makes it back into this wiki :)&lt;br /&gt;
to get a starting point as to where your problem is please include the output of:&lt;br /&gt;
&lt;br /&gt;
:{{cmduser|lsusb}}&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|ldconfig -p &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep bioapi}}&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|updatedb &amp;amp;&amp;amp; locate bioapi}}&lt;br /&gt;
&lt;br /&gt;
t43fingerprint (at) badcode.de&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21517</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21517"/>
		<updated>2006-04-11T15:53:50Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Java 1.5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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-context&amp;quot;| Not Tested ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes || X.org i810 driver&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 (not on-the-fly) || Separate X server (xrandr on-thy-fly rotation doesn't work)&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and identical to the Fedora Core 4 installation process mentioned [[Installing Fedora Core 4 on a ThinkPad X41 Tablet#Installation|here]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 # Clockwise Rotation&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;rotateCW&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0CW&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;cursorCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;stylusCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
         Identifier  &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
         VendorName  &amp;quot;Videocard vendor&amp;quot;&lt;br /&gt;
         Option      &amp;quot;NoAccel&amp;quot;       &amp;quot;false&amp;quot;&lt;br /&gt;
         Option      &amp;quot;DRI&amp;quot;           &amp;quot;true&amp;quot;&lt;br /&gt;
         Option      &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
         BoardName   &amp;quot;Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller&amp;quot;&lt;br /&gt;
         Option      &amp;quot;XAANoOffscreenPixmaps&amp;quot;&lt;br /&gt;
         Option      &amp;quot;SWCursor&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;cursorCW&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;
       Option        &amp;quot;TopX&amp;quot;          &amp;quot;500&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomX&amp;quot;       &amp;quot;18000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;TopY&amp;quot;          &amp;quot;-6000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomY&amp;quot;       &amp;quot;18500&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;stylusCW&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;
       Option        &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
 EndSection &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;Screen0CW&amp;quot;&lt;br /&gt;
         Device     &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
         DefaultDepth     24&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     16&lt;br /&gt;
                 Modes    &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     24&lt;br /&gt;
                 Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
To activate the rotated layout, start X with {{cmduser|startx -- :1 -layout rotateCW}}. To enable a login screen in the rotated configuration, add a new server under {{path|System &amp;gt; Admininstration &amp;gt; Login Screen &amp;gt; Security &amp;gt; Configure X Server}}&lt;br /&gt;
&lt;br /&gt;
 VT: 1&lt;br /&gt;
 Server: Standard&lt;br /&gt;
 Options: -layout rotateCW&lt;br /&gt;
&lt;br /&gt;
Log out and restart the login manager: {{cmdroot|gdm-restart}}. The standard (unrotated) server will be on screen 0 ({{key|Alt}}{{key|F7}}) and the rotated server will be on screen 1 ({{key|Alt}}{{key|F8}})&lt;br /&gt;
&lt;br /&gt;
===== On-the-fly Rotation =====&lt;br /&gt;
&lt;br /&gt;
On-the-fly rotation does not work. The X.org 810 driver does not support it yet. Once support for it is added, on-the-fly rotation can be invoked by executing {{cmduser|xrandr -o 3}}.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|There have been some reports of on-the-fly rotation working under Gnome 2.14, and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322. Some&lt;br /&gt;
configurations have not been able to duplicate these results. This is work-in-progress. Please view the [[Talk:Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet|talk]] page for this article for further&lt;br /&gt;
discussion}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from [http://atrpms.net/ ATrpms].&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/atrpms.repo}}&lt;br /&gt;
 {{cmdroot|yum install atrpms-package-config ipw2200}}&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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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]. Stay tuned.}}&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 &lt;br /&gt;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
* Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21516</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21516"/>
		<updated>2006-04-11T15:50:16Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Hibernation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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-context&amp;quot;| Not Tested ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes || X.org i810 driver&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 (not on-the-fly) || Separate X server (xrandr on-thy-fly rotation doesn't work)&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and identical to the Fedora Core 4 installation process mentioned [[Installing Fedora Core 4 on a ThinkPad X41 Tablet#Installation|here]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 # Clockwise Rotation&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;rotateCW&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0CW&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;cursorCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;stylusCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
         Identifier  &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
         VendorName  &amp;quot;Videocard vendor&amp;quot;&lt;br /&gt;
         Option      &amp;quot;NoAccel&amp;quot;       &amp;quot;false&amp;quot;&lt;br /&gt;
         Option      &amp;quot;DRI&amp;quot;           &amp;quot;true&amp;quot;&lt;br /&gt;
         Option      &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
         BoardName   &amp;quot;Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller&amp;quot;&lt;br /&gt;
         Option      &amp;quot;XAANoOffscreenPixmaps&amp;quot;&lt;br /&gt;
         Option      &amp;quot;SWCursor&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;cursorCW&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;
       Option        &amp;quot;TopX&amp;quot;          &amp;quot;500&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomX&amp;quot;       &amp;quot;18000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;TopY&amp;quot;          &amp;quot;-6000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomY&amp;quot;       &amp;quot;18500&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;stylusCW&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;
       Option        &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
 EndSection &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;Screen0CW&amp;quot;&lt;br /&gt;
         Device     &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
         DefaultDepth     24&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     16&lt;br /&gt;
                 Modes    &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     24&lt;br /&gt;
                 Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
To activate the rotated layout, start X with {{cmduser|startx -- :1 -layout rotateCW}}. To enable a login screen in the rotated configuration, add a new server under {{path|System &amp;gt; Admininstration &amp;gt; Login Screen &amp;gt; Security &amp;gt; Configure X Server}}&lt;br /&gt;
&lt;br /&gt;
 VT: 1&lt;br /&gt;
 Server: Standard&lt;br /&gt;
 Options: -layout rotateCW&lt;br /&gt;
&lt;br /&gt;
Log out and restart the login manager: {{cmdroot|gdm-restart}}. The standard (unrotated) server will be on screen 0 ({{key|Alt}}{{key|F7}}) and the rotated server will be on screen 1 ({{key|Alt}}{{key|F8}})&lt;br /&gt;
&lt;br /&gt;
===== On-the-fly Rotation =====&lt;br /&gt;
&lt;br /&gt;
On-the-fly rotation does not work. The X.org 810 driver does not support it yet. Once support for it is added, on-the-fly rotation can be invoked by executing {{cmduser|xrandr -o 3}}.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|There have been some reports of on-the-fly rotation working under Gnome 2.14, and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322. Some&lt;br /&gt;
configurations have not been able to duplicate these results. This is work-in-progress. Please view the [[Talk:Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet|talk]] page for this article for further&lt;br /&gt;
discussion}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from [http://atrpms.net/ ATrpms].&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/atrpms.repo}}&lt;br /&gt;
 {{cmdroot|yum install atrpms-package-config ipw2200}}&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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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]. Stay tuned.}}&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 &lt;br /&gt;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21515</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21515"/>
		<updated>2006-04-11T15:49:27Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Wireless Network */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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-context&amp;quot;| Not Tested ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes || X.org i810 driver&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 (not on-the-fly) || Separate X server (xrandr on-thy-fly rotation doesn't work)&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and identical to the Fedora Core 4 installation process mentioned [[Installing Fedora Core 4 on a ThinkPad X41 Tablet#Installation|here]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 # Clockwise Rotation&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;rotateCW&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0CW&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;cursorCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;stylusCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
         Identifier  &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
         VendorName  &amp;quot;Videocard vendor&amp;quot;&lt;br /&gt;
         Option      &amp;quot;NoAccel&amp;quot;       &amp;quot;false&amp;quot;&lt;br /&gt;
         Option      &amp;quot;DRI&amp;quot;           &amp;quot;true&amp;quot;&lt;br /&gt;
         Option      &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
         BoardName   &amp;quot;Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller&amp;quot;&lt;br /&gt;
         Option      &amp;quot;XAANoOffscreenPixmaps&amp;quot;&lt;br /&gt;
         Option      &amp;quot;SWCursor&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;cursorCW&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;
       Option        &amp;quot;TopX&amp;quot;          &amp;quot;500&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomX&amp;quot;       &amp;quot;18000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;TopY&amp;quot;          &amp;quot;-6000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomY&amp;quot;       &amp;quot;18500&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;stylusCW&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;
       Option        &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
 EndSection &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;Screen0CW&amp;quot;&lt;br /&gt;
         Device     &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
         DefaultDepth     24&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     16&lt;br /&gt;
                 Modes    &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     24&lt;br /&gt;
                 Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
To activate the rotated layout, start X with {{cmduser|startx -- :1 -layout rotateCW}}. To enable a login screen in the rotated configuration, add a new server under {{path|System &amp;gt; Admininstration &amp;gt; Login Screen &amp;gt; Security &amp;gt; Configure X Server}}&lt;br /&gt;
&lt;br /&gt;
 VT: 1&lt;br /&gt;
 Server: Standard&lt;br /&gt;
 Options: -layout rotateCW&lt;br /&gt;
&lt;br /&gt;
Log out and restart the login manager: {{cmdroot|gdm-restart}}. The standard (unrotated) server will be on screen 0 ({{key|Alt}}{{key|F7}}) and the rotated server will be on screen 1 ({{key|Alt}}{{key|F8}})&lt;br /&gt;
&lt;br /&gt;
===== On-the-fly Rotation =====&lt;br /&gt;
&lt;br /&gt;
On-the-fly rotation does not work. The X.org 810 driver does not support it yet. Once support for it is added, on-the-fly rotation can be invoked by executing {{cmduser|xrandr -o 3}}.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|There have been some reports of on-the-fly rotation working under Gnome 2.14, and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322. Some&lt;br /&gt;
configurations have not been able to duplicate these results. This is work-in-progress. Please view the [[Talk:Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet|talk]] page for this article for further&lt;br /&gt;
discussion}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from [http://atrpms.net/ ATrpms].&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/atrpms.repo}}&lt;br /&gt;
 {{cmdroot|yum install atrpms-package-config ipw2200}}&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;
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;
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/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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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]. Stay tuned.}}&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 &lt;br /&gt;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21514</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21514"/>
		<updated>2006-04-11T15:49:04Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Wireless Network */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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-context&amp;quot;| Not Tested ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes || X.org i810 driver&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 (not on-the-fly) || Separate X server (xrandr on-thy-fly rotation doesn't work)&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and identical to the Fedora Core 4 installation process mentioned [[Installing Fedora Core 4 on a ThinkPad X41 Tablet#Installation|here]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 # Clockwise Rotation&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;rotateCW&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0CW&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;cursorCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;stylusCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
         Identifier  &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
         VendorName  &amp;quot;Videocard vendor&amp;quot;&lt;br /&gt;
         Option      &amp;quot;NoAccel&amp;quot;       &amp;quot;false&amp;quot;&lt;br /&gt;
         Option      &amp;quot;DRI&amp;quot;           &amp;quot;true&amp;quot;&lt;br /&gt;
         Option      &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
         BoardName   &amp;quot;Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller&amp;quot;&lt;br /&gt;
         Option      &amp;quot;XAANoOffscreenPixmaps&amp;quot;&lt;br /&gt;
         Option      &amp;quot;SWCursor&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;cursorCW&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;
       Option        &amp;quot;TopX&amp;quot;          &amp;quot;500&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomX&amp;quot;       &amp;quot;18000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;TopY&amp;quot;          &amp;quot;-6000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomY&amp;quot;       &amp;quot;18500&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;stylusCW&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;
       Option        &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
 EndSection &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;Screen0CW&amp;quot;&lt;br /&gt;
         Device     &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
         DefaultDepth     24&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     16&lt;br /&gt;
                 Modes    &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     24&lt;br /&gt;
                 Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
To activate the rotated layout, start X with {{cmduser|startx -- :1 -layout rotateCW}}. To enable a login screen in the rotated configuration, add a new server under {{path|System &amp;gt; Admininstration &amp;gt; Login Screen &amp;gt; Security &amp;gt; Configure X Server}}&lt;br /&gt;
&lt;br /&gt;
 VT: 1&lt;br /&gt;
 Server: Standard&lt;br /&gt;
 Options: -layout rotateCW&lt;br /&gt;
&lt;br /&gt;
Log out and restart the login manager: {{cmdroot|gdm-restart}}. The standard (unrotated) server will be on screen 0 ({{key|Alt}}{{key|F7}}) and the rotated server will be on screen 1 ({{key|Alt}}{{key|F8}})&lt;br /&gt;
&lt;br /&gt;
===== On-the-fly Rotation =====&lt;br /&gt;
&lt;br /&gt;
On-the-fly rotation does not work. The X.org 810 driver does not support it yet. Once support for it is added, on-the-fly rotation can be invoked by executing {{cmduser|xrandr -o 3}}.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|There have been some reports of on-the-fly rotation working under Gnome 2.14, and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322. Some&lt;br /&gt;
configurations have not been able to duplicate these results. This is work-in-progress. Please view the [[Talk:Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet|talk]] page for this article for further&lt;br /&gt;
discussion}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from ATrpms.&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|cd /etc/yum.repos.d}}&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/atrpms.repo}}&lt;br /&gt;
 {{cmdroot|yum install atrpms-package-config ipw2200}}&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;
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;
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/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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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]. Stay tuned.}}&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 &lt;br /&gt;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21513</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21513"/>
		<updated>2006-04-11T15:22:44Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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-context&amp;quot;| Not Tested ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes || X.org i810 driver&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 (not on-the-fly) || Separate X server (xrandr on-thy-fly rotation doesn't work)&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and identical to the Fedora Core 4 installation process mentioned [[Installing Fedora Core 4 on a ThinkPad X41 Tablet#Installation|here]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 # Clockwise Rotation&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;rotateCW&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0CW&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;cursorCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;stylusCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
         Identifier  &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
         VendorName  &amp;quot;Videocard vendor&amp;quot;&lt;br /&gt;
         Option      &amp;quot;NoAccel&amp;quot;       &amp;quot;false&amp;quot;&lt;br /&gt;
         Option      &amp;quot;DRI&amp;quot;           &amp;quot;true&amp;quot;&lt;br /&gt;
         Option      &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
         BoardName   &amp;quot;Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller&amp;quot;&lt;br /&gt;
         Option      &amp;quot;XAANoOffscreenPixmaps&amp;quot;&lt;br /&gt;
         Option      &amp;quot;SWCursor&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;cursorCW&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;
       Option        &amp;quot;TopX&amp;quot;          &amp;quot;500&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomX&amp;quot;       &amp;quot;18000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;TopY&amp;quot;          &amp;quot;-6000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomY&amp;quot;       &amp;quot;18500&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;stylusCW&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;
       Option        &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
 EndSection &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;Screen0CW&amp;quot;&lt;br /&gt;
         Device     &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
         DefaultDepth     24&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     16&lt;br /&gt;
                 Modes    &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     24&lt;br /&gt;
                 Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
To activate the rotated layout, start X with {{cmduser|startx -- :1 -layout rotateCW}}. To enable a login screen in the rotated configuration, add a new server under {{path|System &amp;gt; Admininstration &amp;gt; Login Screen &amp;gt; Security &amp;gt; Configure X Server}}&lt;br /&gt;
&lt;br /&gt;
 VT: 1&lt;br /&gt;
 Server: Standard&lt;br /&gt;
 Options: -layout rotateCW&lt;br /&gt;
&lt;br /&gt;
Log out and restart the login manager: {{cmdroot|gdm-restart}}. The standard (unrotated) server will be on screen 0 ({{key|Alt}}{{key|F7}}) and the rotated server will be on screen 1 ({{key|Alt}}{{key|F8}})&lt;br /&gt;
&lt;br /&gt;
===== On-the-fly Rotation =====&lt;br /&gt;
&lt;br /&gt;
On-the-fly rotation does not work. The X.org 810 driver does not support it yet. Once support for it is added, on-the-fly rotation can be invoked by executing {{cmduser|xrandr -o 3}}.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|There have been some reports of on-the-fly rotation working under Gnome 2.14, and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322. Some&lt;br /&gt;
configurations have not been able to duplicate these results. This is work-in-progress. Please view the [[Talk:Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet|talk]] page for this article for further&lt;br /&gt;
discussion}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from ATrpms.&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|rpm -Uvh http://dl.atrpms.net/all/3rd-party-package-config-104-3.rhfc5.at.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum install ipw2200}}&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;
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;
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/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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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]. Stay tuned.}}&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 &lt;br /&gt;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21511</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21511"/>
		<updated>2006-04-11T15:07:01Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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-context&amp;quot;| Not Tested ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes || X.org i810 driver&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 (not on-the-fly) || Separate X server (xrandr on-thy-fly rotation doesn't work)&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and no different from the process mentioned [[Installing Fedora Core 4 on a ThinkPad X41 Tablet#Installation|here]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 # Clockwise Rotation&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;rotateCW&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0CW&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;cursorCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;stylusCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
         Identifier  &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
         VendorName  &amp;quot;Videocard vendor&amp;quot;&lt;br /&gt;
         Option      &amp;quot;NoAccel&amp;quot;       &amp;quot;false&amp;quot;&lt;br /&gt;
         Option      &amp;quot;DRI&amp;quot;           &amp;quot;true&amp;quot;&lt;br /&gt;
         Option      &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
         BoardName   &amp;quot;Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller&amp;quot;&lt;br /&gt;
         Option      &amp;quot;XAANoOffscreenPixmaps&amp;quot;&lt;br /&gt;
         Option      &amp;quot;SWCursor&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;cursorCW&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;
       Option        &amp;quot;TopX&amp;quot;          &amp;quot;500&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomX&amp;quot;       &amp;quot;18000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;TopY&amp;quot;          &amp;quot;-6000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomY&amp;quot;       &amp;quot;18500&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;stylusCW&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;
       Option        &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
 EndSection &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;Screen0CW&amp;quot;&lt;br /&gt;
         Device     &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
         DefaultDepth     24&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     16&lt;br /&gt;
                 Modes    &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     24&lt;br /&gt;
                 Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
To activate the rotated layout, start X with {{cmduser|startx -- :1 -layout rotateCW}}. To enable a login screen in the rotated configuration, add a new server under {{path|System &amp;gt; Admininstration &amp;gt; Login Screen &amp;gt; Security &amp;gt; Configure X Server}}&lt;br /&gt;
&lt;br /&gt;
 VT: 1&lt;br /&gt;
 Server: Standard&lt;br /&gt;
 Options: -layout rotateCW&lt;br /&gt;
&lt;br /&gt;
Log out and restart the login manager: {{cmdroot|gdm-restart}}. The standard (unrotated) server will be on screen 0 ({{key|Alt}}{{key|F7}}) and the rotated server will be on screen 1 ({{key|Alt}}{{key|F8}})&lt;br /&gt;
&lt;br /&gt;
===== On-the-fly Rotation =====&lt;br /&gt;
&lt;br /&gt;
On-the-fly rotation does not work. The X.org 810 driver does not support it yet. Once support for it is added, on-the-fly rotation can be invoked by executing {{cmduser|xrandr -o 3}}.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|There have been some reports of on-the-fly rotation working under Gnome 2.14, and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322. Some&lt;br /&gt;
configurations have not been able to duplicate these results. This is work-in-progress. Please view the [[Talk:Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet|talk]] page for this article for further&lt;br /&gt;
discussion}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from ATrpms.&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|rpm -Uvh http://dl.atrpms.net/all/3rd-party-package-config-104-3.rhfc5.at.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum install ipw2200}}&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;
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;
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/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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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]. Stay tuned.}}&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 &lt;br /&gt;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_4_on_a_ThinkPad_X41_Tablet&amp;diff=21510</id>
		<title>Installing Fedora Core 4 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_4_on_a_ThinkPad_X41_Tablet&amp;diff=21510"/>
		<updated>2006-04-11T15:06:08Z</updated>

		<summary type="html">&lt;p&gt;Saikat: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{NOTE|'''Updated:''' See [[Installing Fedora Core 5 on a ThinkPad X41 Tablet]]}}&lt;br /&gt;
&lt;br /&gt;
&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-context&amp;quot;| Not Tested ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes || both vesa driver, and i810 (with Intel 915 support)&lt;br /&gt;
|-&lt;br /&gt;
| CRT / Projector ||class=&amp;quot;diff-addedline&amp;quot;| Yes || with i810 driver. (screen/crt are exclusive with vesa)&lt;br /&gt;
|-&lt;br /&gt;
| On-the-fly Screen Rotation ||class=&amp;quot;diff-deletedline&amp;quot;| No ||&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || wacom serial driver.&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-deletedline&amp;quot;| No || Tested on 2.6.12-1.1398&lt;br /&gt;
([[Problems with SATA and Linux]])&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth ||class=&amp;quot;diff-addedline&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-deletedline&amp;quot;| No || See [[Integrated Fingerprint Reader]].&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Harddisk Active Protection ||class=&amp;quot;diff-deletedline&amp;quot;| No || See  [[Active Protection System]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
The {{X41T}} requires a dock to use an optical drive. The BIOS can, however, boot from USB or the network. &lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
The {{X41T}} comes installed with Windows XP Tablet edition. Before installing {{Fedora}}, the harddrive needs to be repartitioned and certain parameters need to be written down for later use.&lt;br /&gt;
&lt;br /&gt;
# Use Powerquest Partition Magic, QTParted or some software that can partition a basic disk with NTFS partitions to create room for Fedora Core 4.&lt;br /&gt;
# Under windows, note the serial port and the irq used by the Wacom stylus device. This information is listed under {{path|Control Panel &amp;gt; System &amp;gt; Hardware &amp;gt; Device Manager &amp;gt; HID &amp;gt; Wacom Stylus &amp;gt; Resources}}. On the 18695CU model, the port is 0200-0207 and irq is 5.&lt;br /&gt;
# Note the MAC address of the ethernet card and the wireless card. These are on a stickers under the laptop labled LAN MAC Address and 802.11b/g MAC Address.&lt;br /&gt;
&lt;br /&gt;
=== USB Boot Preparation ===&lt;br /&gt;
&lt;br /&gt;
From the Fedora Core 4 DVD, write the bootimage to a USB device.&lt;br /&gt;
&lt;br /&gt;
  dd if=images/diskboot.img of=/dev/sdb&lt;br /&gt;
&lt;br /&gt;
where {{path|/dev/sdb}} is the USB device. '''Note:''' The destination is {{path|/dev/sdb}} and not {{path|/dev/sdb1}}. Also perhaps due to a BIOS problem or image problem, USB booting may not always work.&lt;br /&gt;
&lt;br /&gt;
=== PXE Boot Preparation ===&lt;br /&gt;
&lt;br /&gt;
PXE boot requires the X41 Tablet to be connected to a wired ethernet network that is configured for DHCP and TFTP. This can be accomplished by connecting the tablet to another host over a ethernet corssover cable.&lt;br /&gt;
&lt;br /&gt;
Configure the DHCP server to hand out boot instructions. In the {{path|/etc/dhcpd.conf}} file, include:&lt;br /&gt;
&lt;br /&gt;
  host pxeclient {&lt;br /&gt;
      hardware ethernet ''00:0a:e4:35:a9:12'';         # X41 Tablet LAN MAC Adress noted above&lt;br /&gt;
      filename &amp;quot;/pxelinux.0&amp;quot;;&lt;br /&gt;
      fixed-address ''192.168.1.60'';                  # IP Address for X41 Tablet&lt;br /&gt;
      next-server ''192.168.1.1'';                     # IP Address of TFTP server&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Replace the ''italicized'' fields above with appropriate values for your hardware. A sample dhcpd.conf file can be found here.&lt;br /&gt;
&lt;br /&gt;
Configure the TFTP server. If the TFPT server uses xinetd, you may need to enable it in {{path|/etc/xinetd.d/tftp}} by setting &amp;lt;code&amp;gt;disable = no&amp;lt;/code&amp;gt;. Also note root of the server. This is usually {{path|/tftpboot}}. Copy the pxelinux files present on the FC4 disk in {{path|images/pxelinux/}} to the TFTP root. You will need two additional files [http://www.cs.cornell.edu/~saikat/pxelinux.0 {{path|pxelinux.0}}] and {{path|pxelinux.cfg/default}}.&lt;br /&gt;
&lt;br /&gt;
:{{cmduser|find /tftpboot}}&lt;br /&gt;
:{{cmdresult|/tftpboot}}&lt;br /&gt;
:{{cmdresult|/tftpboot/pxelinux.0}}&lt;br /&gt;
:{{cmdresult|/tftpboot/initrd.img}}&lt;br /&gt;
:{{cmdresult|/tftpboot/vmlinuz}}&lt;br /&gt;
:{{cmdresult|/tftpboot/pxelinux.cfg}}&lt;br /&gt;
:{{cmdresult|/tftpboot/pxelinux.cfg/default}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Contents of {{path|/tftpboot/pxelinux.cfg/default}}:&lt;br /&gt;
  DEFAULT vm&lt;br /&gt;
  SERIAL 0 9600&lt;br /&gt;
  label vm&lt;br /&gt;
  kernel vmlinuz&lt;br /&gt;
  append initrd=initrd.img ramdisk_size=9372 root=/dev/rd/0&lt;br /&gt;
&lt;br /&gt;
=== Installing ===&lt;br /&gt;
&lt;br /&gt;
Restart the X41 Tablet. If you are using a USB key, insert it before switching on the tablet. Press {{key|F12}} during startup to display the temporary boot device screen. Select either USB HDD or Netowkr Boot based on your medium of choice. This should bring up the Fedora Core installer. Once the installer has started up, Fedora Core can be installed over the web, ftp, nfs, USB disk etc. The rest of the installation is straight forward and described in detail here.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|There may be some screen corruption or shimmering effects in the graphical installer. This can be fixed after installation is complete as explained in the X Server Configuration below.&lt;br /&gt;
&lt;br /&gt;
The shimmering can be overcome by simply closing and reopening the tablet lid.  The graphics refresh that occurs resolves this issue until the next reboot}}&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&lt;br /&gt;
&lt;br /&gt;
The X41 Tablet, uses an Intel integrated 915 video device. This is supported by the '''i810''' driver and can be selected from the graphical xserver screen by selecting the ''Intel 915'' option. '''Note:''' The &amp;lt;tt&amp;gt;i810&amp;lt;/tt&amp;gt; driver on &amp;lt;tt&amp;gt;xorg-6.8.2&amp;lt;/tt&amp;gt; and earlier '''DO NOT''' support the card. Use the &amp;lt;tt&amp;gt;vesa (generic)&amp;lt;/tt&amp;gt; option for such servers. The LCD screen is a &amp;lt;tt&amp;gt;1024x768&amp;lt;/tt&amp;gt; display. The stylus requires the &amp;lt;tt&amp;gt;linuxwacom&amp;lt;/tt&amp;gt; package. This should automatically be installed as part of FC4. If you update FC4 with the latest rpms the i810 driver will work. You can use &amp;lt;tt&amp;gt;system-config-display&amp;lt;/tt&amp;gt; to change the driver, but do it  before adding configuration for stylus since it will drop the stylus related settings.  For some additional information about rotating the screen and installing FC4 see http://www.dklevine.com/general/software/tc1000/x41f4.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{NOTE|&lt;br /&gt;
# The first time &amp;lt;tt&amp;gt;vesa (generic)&amp;lt;/tt&amp;gt; is selected, there may appear to be some screen corruption or shimmering effects. It should go away after a reboot.&lt;br /&gt;
# The stylus may not work as a mouse immidiately. See the Stylus section below.&lt;br /&gt;
# Screen rotation on-the-fly currently does ''not'' work. It may be possible to pass a kernel parameter at boot time to rotate the framebuffer into a portrait orientation, but this has not been confirmed.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sample {{path|/etc/X11/xorg.conf}}&lt;br /&gt;
  Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
  	  Identifier     &amp;quot;single head configuration&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;Files&amp;quot;&lt;br /&gt;
  	RgbPath      &amp;quot;/usr/X11R6/lib/X11/rgb&amp;quot;&lt;br /&gt;
  	FontPath     &amp;quot;unix/:7100&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Module&amp;quot;&lt;br /&gt;
  	Load  &amp;quot;dbe&amp;quot;&lt;br /&gt;
  	Load  &amp;quot;extmod&amp;quot;&lt;br /&gt;
  	Load  &amp;quot;fbdevhw&amp;quot;&lt;br /&gt;
  	Load  &amp;quot;glx&amp;quot;&lt;br /&gt;
  	Load  &amp;quot;record&amp;quot;&lt;br /&gt;
  	Load  &amp;quot;freetype&amp;quot;&lt;br /&gt;
  	Load  &amp;quot;type1&amp;quot;&lt;br /&gt;
  	Load  &amp;quot;dri&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
  	Identifier  &amp;quot;Keyboard0&amp;quot;&lt;br /&gt;
  	Driver      &amp;quot;kbd&amp;quot;&lt;br /&gt;
  	Option	    &amp;quot;XkbModel&amp;quot; &amp;quot;pc105&amp;quot;&lt;br /&gt;
  	Option	    &amp;quot;XkbLayout&amp;quot; &amp;quot;us&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
  	Identifier  &amp;quot;Mouse0&amp;quot;&lt;br /&gt;
  	Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
  	Option	    &amp;quot;Protocol&amp;quot; &amp;quot;IMPS/2&amp;quot;&lt;br /&gt;
  	Option	    &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
  	Option	    &amp;quot;ZAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
  	Option	    &amp;quot;Emulate3Buttons&amp;quot; &amp;quot;yes&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;Button3&amp;quot;	      &amp;quot;2&amp;quot;&lt;br /&gt;
        Option        &amp;quot;Button2&amp;quot;	      &amp;quot;3&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;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
  	Identifier   &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
  	VendorName   &amp;quot;Monitor Vendor&amp;quot;&lt;br /&gt;
  	ModelName    &amp;quot;LCD Panel 1024x768&amp;quot;&lt;br /&gt;
  	HorizSync    31.5 - 48.5&lt;br /&gt;
  	VertRefresh  40.0 - 70.0&lt;br /&gt;
  	Option	    &amp;quot;dpms&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Device&amp;quot;&lt;br /&gt;
    # The i810 driver under xorg-6.8.2 and earlier DO NOT support the&lt;br /&gt;
    # Intel Integrated 915 chipset. Use the generic vesa driver on old&lt;br /&gt;
    # versions. &lt;br /&gt;
  	Identifier  &amp;quot;Videocard0&amp;quot;&lt;br /&gt;
  	Driver      &amp;quot;vesa&amp;quot;&lt;br /&gt;
    #   Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
  	VendorName  &amp;quot;Intel&amp;quot;&lt;br /&gt;
  	BoardName   &amp;quot;Intel 915&amp;quot;&lt;br /&gt;
    # Once the i810 supports the chipset, this section can be changed&lt;br /&gt;
    # to use the new driver by using the appropriate Driver line&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
  	Identifier &amp;quot;Screen0&amp;quot;&lt;br /&gt;
  	Device     &amp;quot;Videocard0&amp;quot;&lt;br /&gt;
  	Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
  	DefaultDepth     16&lt;br /&gt;
  	SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
  		Viewport   0 0&lt;br /&gt;
  		Depth     16&lt;br /&gt;
  		Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
  	EndSubSection&lt;br /&gt;
  EndSection&lt;br /&gt;
  &lt;br /&gt;
  Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
  	Group        0&lt;br /&gt;
  	Mode         0666&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
=== Stylus ===&lt;br /&gt;
&lt;br /&gt;
The stylus is not recognized in Fedora Core at startup. Connect {{path|/dev/ttyS0}} to the stylus by including the following line in {{path|/etc/rc.d/rc.local}}.&lt;br /&gt;
&lt;br /&gt;
  setserial /dev/ttyS0 port ''0x0200'' irq ''5'' autoconfig&lt;br /&gt;
&lt;br /&gt;
If stylus problems persist, try upgrading to the latest linuxwacom package: [http://www.cs.cornell.edu/~saikat/linuxwacom-0.6.8-5.i386.rpm linuxwacom-0.6.8-5.i386.rpm]&lt;br /&gt;
&lt;br /&gt;
{{NOTE|&lt;br /&gt;
* When the stylus goes out of range from the screen, the mouse cursor warps to the top-left corner. When the mouse comes back in range, the cursor should warp back to the right spot. This can be particularly annoying if the temporary jump causes focus and menus to change. This is a known bug in the wacom X driver.}}&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
Audio works out of the box on X41 Tablets with the ALSA intel8x0 driver. '''Note:''' Sometimes the mixer settings are muted on startup resulting in no sound. This can be fixed using any alsa mixer such as aumix, amixer, gnome-volume-control etc. If the mixers are being repeatedly muted, then first unmute them and set them to desirable levels. As root, execute the command {{cmdroot|/usr/sbin/alsactl store}}. Finally, add the following line to {{path|/etc/rc.d/rc.local}}.&lt;br /&gt;
&lt;br /&gt;
  /usr/sbin/alsactl restore&lt;br /&gt;
&lt;br /&gt;
=== ACPI ===&lt;br /&gt;
&lt;br /&gt;
ACPI events are supported out of the box with [[ibm-acpi]]. Install it by executing:&lt;br /&gt;
&lt;br /&gt;
:{{cmduser|wget http://www.cs.cornell.edu/~saikat/ibm-acpi-0.11-2.fc4.i386.rpm}}&lt;br /&gt;
:{{cmdroot|rpm -Uvh ibm-acpi-0.11-2.fc4.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
Change the button bindings in {{path|/etc/acpi/events}}. If you do not plan to use Suspend to Disk (below), set the power button to halt the system instead of hibernating by changing {{path|/etc/acpi/events/hibernate}}.&lt;br /&gt;
&lt;br /&gt;
=== Suspend ===&lt;br /&gt;
&lt;br /&gt;
==== Suspend to Disk (Hibernation) ====&lt;br /&gt;
&lt;br /&gt;
Software suspend works using [[Software Suspend 2]]. Follow the installation directions at http://mhensler.de/swsusp/. To automatically fix the stylus lock-up after resuming, add the following line to {{path|/etc/hibernate/hibernate.conf}}&lt;br /&gt;
&lt;br /&gt;
 OnResume 96 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
If the stylus still locks up, see the Stylus section for the latest driver. ACPI power events are not delivered if AC status changes during hibernation. To tune the laptop after resume, add the following line to {{path|/etc/hibernate/hibernate.conf}}&lt;br /&gt;
 OnResume 20 /etc/acpi/actions/battery.sh&lt;br /&gt;
&lt;br /&gt;
==== Suspend to Memory (ACPI Sleep) ====&lt;br /&gt;
&lt;br /&gt;
ACPI suspend to memory does not work with the 2.6.12 and earlier kernels because the X41 Tablet uses SATA access to the harddisk and the kernel SATA driver is not power-aware. &lt;br /&gt;
See [[Problems with SATA and Linux]] for further discussion and solutions.&lt;br /&gt;
(should be fixed in 2.6.15)&lt;br /&gt;
&lt;br /&gt;
In any case, in {{path|/etc/grub.conf}} append the kernel parameter: {{bootparm|acpi_sleep|s3_bios}}&lt;br /&gt;
&lt;br /&gt;
This is required to fix the problem where the screen doesn't turn back on after resuming from ACPI sleep.&lt;br /&gt;
&lt;br /&gt;
{{WARN|Do ''NOT'' attempt ACPI sleep on the X41 Tablet running kernel 2.6.12 or earlier since the harddisk SATA driver doesn't resume properly. This can result in '''FILESYSTEM CORRUPTION'''.}}&lt;br /&gt;
&lt;br /&gt;
=== Extra Buttons ===&lt;br /&gt;
&lt;br /&gt;
Extra buttons work out-of-the-box. The package &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; provides some on-screen feedback for the volume, brightness and thinklight buttons. {{cmdroot|setkeycodes}} can be used to map the tablet buttons ([[Tablet Hardware Buttons|details]]).&lt;br /&gt;
&lt;br /&gt;
To map the Tablet Up and Down buttons to Page Up and Page Down keys, and the Tablet Enter and Esc buttons to their respective counterparts, add the following to {{path|/etc/rc.d/rc.local}}.&lt;br /&gt;
 setkeycodes 6e 109 6d 104 69 28 6b 1&lt;br /&gt;
&lt;br /&gt;
=== Wireless Card ===&lt;br /&gt;
'''Intel 2200BG MiniPCI Card'''&amp;lt;br&amp;gt;&lt;br /&gt;
The 802.11b/g card is supported by the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver. The easiest way to install it is to get the package from ATRpms. (Warning: please be warned about ATrpms: http://fedoraproject.org/wiki/JohnMahowald/ATrpmsWarning&lt;br /&gt;
&lt;br /&gt;
:{{cmduser|wget http://dl.atrpms.net/all/atrpms-kickstart-28-1.rhfc4.at.i386.rpm}}&lt;br /&gt;
:{{cmdroot|rpm -Uvh atrpms-kickstart-28-1.rhfc4.at.i386.rpm}}&lt;br /&gt;
:{{cmdroot|apt-get update &amp;amp;&amp;amp; apt-get dist-upgrade}}&lt;br /&gt;
:{{cmdroot|apt-get install ipw2200-firmware}}&lt;br /&gt;
&lt;br /&gt;
'''Atheros MiniPCI Card'''&amp;lt;br&amp;gt;&lt;br /&gt;
Some (newer) X41 Tablets use the Atheros chipset (which requires madwifi drivers)&lt;br /&gt;
Goto http://www.atrpms.net/dist/fc4/madwifi/&lt;br /&gt;
Download madwifi-ng, madwifi-ng-hal-kmdl, and madwifi-ng-kmdl the appropriate build and CPU (uname -a)&lt;br /&gt;
:{{cmdroot|rpm -ivh madwifi*.rpm}}&lt;br /&gt;
Reboot&lt;br /&gt;
:{{cmdroot|ifconfig ath0 up}}&lt;br /&gt;
:{{cmdroot|iwconfig ath0 key (your key)}}&lt;br /&gt;
:{{cmdroot|iwconfig ath0 essid (your ssid)}}&lt;br /&gt;
:{{cmdroot|dhclient ath0}}&lt;br /&gt;
&lt;br /&gt;
:{{NOTE|Feel free to create a script to execute the previous four lines as needed.&amp;lt;br&amp;gt;&lt;br /&gt;
Visit http://madwifi.sf.net for more information about the Atheros madwifi drivers.}}&lt;br /&gt;
&lt;br /&gt;
=== Bluetooth ===&lt;br /&gt;
&lt;br /&gt;
Some (newer) X41 Tablets support bluetooth.  A fully updated FC4 installation natively supports the bluetooth adapter in the X41.  You can use hcitool, hciattach, and hciconfig to configure and connect to other bluetooth devices.&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network Manager ===&lt;br /&gt;
&lt;br /&gt;
[http://people.redhat.com/dcbw/NetworkManager/ NetworkManager] is a rather useful utility included in Fedora Core 4 that provides windows-like ease of configuring wireless and wired network as and when they are available. Give it a try by enabling it in the initscripts by running {{cmdroot|chkconfig NetworkManager on &amp;amp;&amp;amp; /etc/init.d/NetworkManager restart}} as root and running {{cmduser|NetworkManagerInfo}} from a X session. The first command needs to be executed only once, while the second should be executed after every login. This can be automated by adding it to the list of startup programs in {{path|Desktop &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}.&lt;br /&gt;
&lt;br /&gt;
=== Sun's Java ===&lt;br /&gt;
&lt;br /&gt;
[http://java.sun.com Sun's Java VM] is needed by the Jarnal application below. Due to licensing issues, the JVM cannot be packaged but needs to be build by the end user. [http://www.jpackage.org JPackage] provides a build environment as follows:&lt;br /&gt;
&lt;br /&gt;
* Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_05-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_05-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|rpm -Uvh /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.05-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|rpm -Uvh /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.05-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.  As of 2006/04/11 the downloadable build environment is 1.5.0.06 but the JVM stays at jdk-1_5_0_05.  The rpmbuild fails. You can download [http://pingyeh.net/Java150Patch?action=AttachFile&amp;amp;do=get&amp;amp;target=java15006_spec.patch this patch] to {{path|/usr/src/redhat/SPEC}} and type {{cmdroot|patch -p java_spec.path}} before the rpmbuild step.  It will work then.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal ===&lt;br /&gt;
&lt;br /&gt;
[http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] is a Notetaking application, much like Microsoft Journal for windows. It requires Sun's Java VM above.&lt;br /&gt;
&lt;br /&gt;
* Download the RPM: {{cmduser|wget http://www.cs.cornell.edu/~saikat/jarnal-6.60-1sg.noarch.rpm}}&lt;br /&gt;
* Install it: {{cmdroot|rpm -Uvh jarnal-6.60-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
It should create a menu entry {{path|Notes}} under {{path|Applications &amp;gt; Graphics}}.&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_protect_the_harddisk_through_APS&amp;diff=21509</id>
		<title>How to protect the harddisk through APS</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_protect_the_harddisk_through_APS&amp;diff=21509"/>
		<updated>2006-04-11T15:01:49Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Fedora Core */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
This page tells you how to make the [[Active Protection System]] work under Linux to protect your harddrive from damage in case of a notebook drop or other kind of impact while it is running.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== How APS works in Linux ==&lt;br /&gt;
APS in Linux consists of four components on the software side:&lt;br /&gt;
* The [[HDAPS]] driver (included in recent kernels). (As a modul if you want to use tp_smapi (Gentoo-Linux))&lt;br /&gt;
* The &amp;lt;tt&amp;gt;hdaps_protect&amp;lt;/tt&amp;gt; disk protection kernel patch (available [http://www.dresco.co.uk/hdaps/hdaps_protect.20060118.patch for kernel 2.6.15] and [http://www.dresco.co.uk/hdaps/hdaps_protect.20060409.patch for kernel 2.6.16]; see [[HDAPS#Disk_head_parking|here]] for other versions)&lt;br /&gt;
* The [http://www.dresco.co.uk/hdaps/hdapsd-20060409.c &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt;] disk protection userspace daemon&lt;br /&gt;
* Optional: the [http://www.oakcourt.dyndns.org/projects/khdapsmon/ &amp;lt;tt&amp;gt;khdapsmon&amp;lt;/tt&amp;gt; KDE System Tray applet] or the [http://www.dresco.co.uk/hdaps/gnome-hdaps-applet-20060120.tar.gz &amp;lt;tt&amp;gt;gnome-hdaps-applet&amp;lt;/tt&amp;gt;].&lt;br /&gt;
&lt;br /&gt;
The [[HDAPS|HDAPS driver]] exports a sysfs interface providing the acceleration values.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;hdaps_protect&amp;lt;/tt&amp;gt; kernel patch exports a sysfs interface that enables an ide or sata disk to be protected by a userspace process.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt; userspace daemon monitors the acceleration values through the HDAPS interface and automatically initiates disk protection through the hdaps_protect interface - given that the movement exceeds a user specified threshold.&lt;br /&gt;
&lt;br /&gt;
The optional KDE/GNOME applets provide a visual indication of the disk protection status and also a graphical interface for adjusting configuration options for &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
As mentioned above, the hdaps kernel driver found in recent kernels is only responsible for reading the accelerometer data and exporting it through the sysfs interface. &lt;br /&gt;
{{NOTE|1=If you use [[tp_smapi]], remember to include the option &amp;lt;tt&amp;gt;HDAPS=1&amp;lt;/tt&amp;gt; when [[Tp_smapi#Installation|installing tp_smapi]].}}&lt;br /&gt;
In order to use this information to protect the disk, some additional steps are required.&lt;br /&gt;
&lt;br /&gt;
* Download and build the latest hdaps_protect disk protection kernel patches.&lt;br /&gt;
* Enable the drivers in the kernel (requires kernel rebuild).&lt;br /&gt;
* Download, build and configure the hdapsd userspace daemon.&lt;br /&gt;
* Download and build one of the applets to get a real-time representation of the disk protection status.&lt;br /&gt;
&lt;br /&gt;
===Getting the files===&lt;br /&gt;
The latest versions of &amp;lt;tt&amp;gt;hdaps_protect&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt; and the &amp;lt;tt&amp;gt;gnome-hdaps-applet&amp;lt;/tt&amp;gt; are available at [http://www.dresco.co.uk/hdaps]..&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;khdapsmon&amp;lt;/tt&amp;gt; can befound [http://www.oakcourt.dyndns.org/projects/khdapsmon/ here].&lt;br /&gt;
&lt;br /&gt;
{{Debian}} source and sid binary packages for &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt; and the &amp;lt;tt&amp;gt;hdaps_protect&amp;lt;/tt&amp;gt; patches (kernel-patch format) are available via APT access:&lt;br /&gt;
&lt;br /&gt;
 deb http://www.oakcourt.dyndns.org/debian/ ./&lt;br /&gt;
 deb-src http://www.oakcourt.dyndns.org/debian/ ./&lt;br /&gt;
&lt;br /&gt;
{{Fedora}} installation instructions are [[Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet#Harddrive_Active_Protection_System_.28HDAPS.29|here]]&lt;br /&gt;
&lt;br /&gt;
=== Adding kernel support ===&lt;br /&gt;
A kernel patch is required for disk head parking and queue freezing.&lt;br /&gt;
==== Fedora Core ====&lt;br /&gt;
&lt;br /&gt;
Patched kernel RPM packages for {{Fedora}} are available [http://www.dresco.co.uk/hdaps/  here]. &lt;br /&gt;
&lt;br /&gt;
Kernel RPMS that include both the HDAPS patch and the [[Software Suspend 2]] patches are available [http://mhensler.de/swsusp/download/yum/development/fc5/ here] (build 2084_2 and up).&lt;br /&gt;
&lt;br /&gt;
==== Manually patching and compiling a kernel ====&lt;br /&gt;
As root go to /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|patch -p1 &amp;lt; ~/hdaps_protect.20060409.patch}}&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|make clean}}&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|make}}&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|make modules_install}}&lt;br /&gt;
&lt;br /&gt;
==== Problem with unload capabilities check ====&lt;br /&gt;
&lt;br /&gt;
You may get the following kernel message when the disk is protected (e.g., via {{cmdroot|echo 1 &amp;gt; /sys/block/sda/queue/protect}}):&lt;br /&gt;
&lt;br /&gt;
 ata_scsi_issue_protect_fn(): unload support NOT reported..&lt;br /&gt;
 scsi_protect_queue(): head park not requested, used standby!..&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 idedisk_issue_protect_fn(): unload support NOT reported..&lt;br /&gt;
 ide_protect_queue(): head park not requested, used standby!..&lt;br /&gt;
&lt;br /&gt;
{{WARN|Using HDAPS in the above state may cause frequent drive spin downs, thereby wearing out your hard disk.}}&lt;br /&gt;
&lt;br /&gt;
If you see this, and you are sure that your drive actually does support unloading (all original drives sold with HDAPS-equipped ThinkPads do), then do the following.&lt;br /&gt;
&lt;br /&gt;
===== Solution for kernel 2.6.16 or later =====&lt;br /&gt;
&lt;br /&gt;
The patch for 2.6.16 now accepts a module parameter to override the &lt;br /&gt;
parking capability detection.&lt;br /&gt;
&lt;br /&gt;
Depending on your machine type, and whether the module is built into the kernel or not, you can use one of the following options:&lt;br /&gt;
&lt;br /&gt;
If disk driver is built into kernel, add the following to your kernel boot parameters (e.g. /boot/grub/menu.lst):&lt;br /&gt;
    libata.protect_method=1&lt;br /&gt;
    ide-disk.protect_method=1&lt;br /&gt;
&lt;br /&gt;
If disk driver is built as module, the following to your modprobe configuration (e.g., /etc/modprobe.conf):&lt;br /&gt;
    options libata protect_method=1&lt;br /&gt;
    options ide-disk protect_method=1&lt;br /&gt;
&lt;br /&gt;
In both cases, if you know whether you use ide-disk or libata, you can drop the other line.&lt;br /&gt;
&lt;br /&gt;
The value &amp;lt;tt&amp;gt;1&amp;lt;/tt&amp;gt; means &amp;quot;unload the head even if the drive doesn't report it has this capacility&amp;quot;. The other values are &amp;lt;tt&amp;gt;2&amp;lt;/tt&amp;gt; (&amp;quot;standby even if unload is supported&amp;quot;) and &amp;lt;tt&amp;gt;0&amp;lt;/tt&amp;gt; (autodetect).&lt;br /&gt;
&lt;br /&gt;
===== Solution for kernel 2.6.15 and older =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
diff -u linux-2.6.15.hdaps/drivers/ide/ide-disk.c linux-2.6.15.hdaps/drivers/ide/ide-disk.c&lt;br /&gt;
--- linux-2.6.15.hdaps/drivers/ide/ide-disk.c	2006-01-18 07:11:54.000000000 +0000&lt;br /&gt;
+++ linux-2.6.15.hdaps/drivers/ide/ide-disk.c	2006-01-18 07:11:54.000000000 +0000&lt;br /&gt;
@@ -869,7 +869,7 @@&lt;br /&gt;
 	else&lt;br /&gt;
 		printk(KERN_DEBUG &amp;quot;idedisk_issue_protect_fn(): unload support NOT reported..\n&amp;quot;);&lt;br /&gt;
 &lt;br /&gt;
-	return ide_protect_queue(q, (drive-&amp;gt;id-&amp;gt;cfsse &amp;amp; (1 &amp;lt;&amp;lt; 13)) ? 1: 0);&lt;br /&gt;
+	return ide_protect_queue(q, 1);&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 int idedisk_issue_unprotect_fn(request_queue_t *q)&lt;br /&gt;
diff -u linux-2.6.15.hdaps/drivers/scsi/libata-scsi.c linux-2.6.15.hdaps/drivers/scsi/libata-scsi.c&lt;br /&gt;
--- linux-2.6.15.hdaps/drivers/scsi/libata-scsi.c	2006-01-18 07:15:31.000000000 +0000&lt;br /&gt;
+++ linux-2.6.15.hdaps/drivers/scsi/libata-scsi.c	2006-01-18 07:15:31.000000000 +0000&lt;br /&gt;
@@ -661,7 +661,7 @@&lt;br /&gt;
 		printk(KERN_DEBUG &amp;quot;ata_scsi_issue_protect_fn(): unload support NOT reported..\n&amp;quot;);&lt;br /&gt;
 &lt;br /&gt;
 	/* call scsi_protect_queue, requesting either unload or standby */&lt;br /&gt;
-	return scsi_protect_queue(q, ata_id_has_unload(dev-&amp;gt;id) ? 1 : 0);&lt;br /&gt;
+	return scsi_protect_queue(q, 1);&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 static int ata_scsi_issue_unprotect_fn(request_queue_t *q)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Drives which have this problem =====&lt;br /&gt;
* Hitachi HTS726060M9AT00 (7K60) on ThinkPad {{T43}}&lt;br /&gt;
&lt;br /&gt;
=== Installing hdapsd ===&lt;br /&gt;
==== Manual compilation from source ====&lt;br /&gt;
* Download the &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt; sourcecode (see above)&lt;br /&gt;
* Compile using {{cmdroot|gcc -o hdapsd hdapsd-*.c}}&lt;br /&gt;
* Run {{cmdroot|./hdapsd -d sda -s 12 -a}} (replace &amp;lt;tt&amp;gt;sda&amp;lt;/tt&amp;gt; with your hard disk device; run {{cmdroot|./hdapsd}} without arguments for help)&lt;br /&gt;
&lt;br /&gt;
==== Fedora Core ====&lt;br /&gt;
{{Fedora}} users can try the instructions [[Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet#Harddrive_Active_Protection_System_.28HDAPS.29|here]]&lt;br /&gt;
&lt;br /&gt;
==== Gentoo ====&lt;br /&gt;
Gentoo users can try this ebuild: http://bugs.gentoo.org/show_bug.cgi?id=119845&lt;br /&gt;
&lt;br /&gt;
For Gentoo: (works fine with IBM X41 25254CG)&lt;br /&gt;
&lt;br /&gt;
0.) Add hdapsd support in your kernel, as far as I can remember: device drivers -&amp;gt; hardware monitoring -&amp;gt; ... (you need it as modul if you want to use tp_smapi and hdaps, see tp_smapi topic)&lt;br /&gt;
&lt;br /&gt;
1.) Download the ebuild, use same ebuild date as the kernel-patch&lt;br /&gt;
&lt;br /&gt;
2.) Makes known the portage an extern ebuild path and add the following line to /etc/make.conf:&lt;br /&gt;
&lt;br /&gt;
PORTDIR_OVERLAY=&amp;quot;/usr/local/portage/&amp;quot; (or any other location)&lt;br /&gt;
&lt;br /&gt;
3.) Creates directory /usr/local/portage and /usr/local/portage/app-laptop/&lt;br /&gt;
&lt;br /&gt;
4.) Copy downloaded ebuild to /usr/local/portage/app-laptop (/usr/local/portage/app-laptop/hdapsd should now exists)&lt;br /&gt;
&lt;br /&gt;
5.) Makes portage known the new ebuild and creat digist with: &lt;br /&gt;
&lt;br /&gt;
ebuild /usr/local/portage/app-laptop/hdapsd/hdapsd-20060326.ebuild digest&lt;br /&gt;
&lt;br /&gt;
6.) Optional: Copy source file to portage distfiles (if no internet connection is available): &lt;br /&gt;
&lt;br /&gt;
cp hdapsd-20060326.c /usr/portage/distfiles&lt;br /&gt;
&lt;br /&gt;
7.) Accept the x86 keyword for this package: echo &amp;quot;app-laptop/hdapsd ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
&lt;br /&gt;
8.) Install hdapsd with: emerge hdapsd&lt;br /&gt;
&lt;br /&gt;
9.) Edit the /etc/conf.d/hdapsd file (change your harddrive if neccessary: my is sda, and change the value from 5, 5 is to sensitive, 12 is a good value in my opinion)&lt;br /&gt;
&lt;br /&gt;
10.) start deamon with: /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
11.) Optional: add to default runlevel: rc-update add hdapsd default, rc-update add hdapsd battery&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Write me an e-mail (abartel[Ã¤d]htwm.de), if you want to get my hdapsd-20060326.ebuild and please upload it (It's illagal from work)&lt;br /&gt;
&lt;br /&gt;
=== Building an applet ===&lt;br /&gt;
&lt;br /&gt;
{{Fedora}} users can try the instructions [[Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet#Harddrive_Active_Protection_System_.28HDAPS.29|here]]&lt;br /&gt;
&lt;br /&gt;
0.) Make sure you have installed hdaps [and loaded] and ?opengl?&lt;br /&gt;
&lt;br /&gt;
1.) Download hdaps-gl-0.0.5 from the www&lt;br /&gt;
&lt;br /&gt;
2.) Extract files to /opt/hdaps-gl&lt;br /&gt;
&lt;br /&gt;
3.) {{cmdroot|make}}&lt;br /&gt;
&lt;br /&gt;
4.) Start applett {{cmdroot|./hdaps-gl}}&lt;br /&gt;
&lt;br /&gt;
====Building khdapsmon====&lt;br /&gt;
Where is Gentoo ebuild http://bugs.gentoo.org/show_bug.cgi?id=124175.&lt;br /&gt;
&lt;br /&gt;
====Building gnome-hdaps-applet====&lt;br /&gt;
&lt;br /&gt;
{{Fedora}} users can try the instructions [[Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet#Harddrive_Active_Protection_System_.28HDAPS.29|here]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Todo|tell people what to do}}&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
*Additonal information and support is available through the [[Mailinglists#HDAPS Developers Mailinglist|hdaps-devel]] mailinglist and its archive.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:R50]] [[Category:R50p]] [[Category:R51]] [[Category:R52]] [[Category:T41]] [[Category:T41p]] [[Category:T42]] [[Category:T42p]] [[Category:T43]] [[Category:T43p]] [[Category:T60]] [[Category:X40]] [[Category:X41]] [[Category:X41 Tablet]] [[Category:X60]] [[Category:X60s]] [[Category:Z60m]] [[Category:Z60t]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21447</id>
		<title>Talk:Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21447"/>
		<updated>2006-04-07T18:03:04Z</updated>

		<summary type="html">&lt;p&gt;Saikat: On-the-fly Rotation in FC5&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== On-the-fly Rotation in FC5 ==&lt;br /&gt;
&lt;br /&gt;
[[User:Kanfil]] wrote:&lt;br /&gt;
&lt;br /&gt;
 Using Gnome 2.14 and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322, On-the-fly rotation does work.&lt;br /&gt;
&lt;br /&gt;
[[User:Saikat|I]] have not been able to duplicate this. I am using the stock Fedora X.org server with the [http://mirrors.usc.edu/pub/linux/distributions/fedora/development/i386/repodata/repoview/xorg-x11-drv-i810-0-1.4.1.3-4.cvs20060322.1.html xorg-x11-drv-i810-1.4.1.3-4.cvs20060322] driver mentioned above.&lt;br /&gt;
&lt;br /&gt;
Running {{cmduser|xdpyinfo}} returns:&lt;br /&gt;
&lt;br /&gt;
 name of display:    :0.0&lt;br /&gt;
 version number:    11.0&lt;br /&gt;
 vendor string:    The X.Org Foundation&lt;br /&gt;
 vendor release number:    70000000&lt;br /&gt;
 X.Org version: 7.0.0&lt;br /&gt;
 [...]&lt;br /&gt;
 number of extensions:    32&lt;br /&gt;
     RANDR&lt;br /&gt;
     RENDER&lt;br /&gt;
     Composite&lt;br /&gt;
     DAMAGE&lt;br /&gt;
 [...]&lt;br /&gt;
&lt;br /&gt;
Running {{cmduser|xrandr -o 3}} results in:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|xrandr -o 3}}&lt;br /&gt;
 Error of failed request:  BadMatch (invalid parameter attributes)&lt;br /&gt;
 Major opcode of failed request:  156 (RANDR)&lt;br /&gt;
 Minor opcode of failed request:  2 (RRSetScreenConfig)&lt;br /&gt;
 Serial number of failed request:  12&lt;br /&gt;
 Current serial number in output stream:  12&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21445</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21445"/>
		<updated>2006-04-07T17:57:51Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* On-the-fly Rotation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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-context&amp;quot;| Not Tested ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes || X.org i810 driver&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 (not on-the-fly) || Separate X server (xrandr on-thy-fly rotation doesn't work)&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and no different from the process mentioned in [[Installing Fedora Core 4 on a ThinkPad X41 Tablet]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 # Clockwise Rotation&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;rotateCW&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0CW&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;cursorCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;stylusCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
         Identifier  &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
         VendorName  &amp;quot;Videocard vendor&amp;quot;&lt;br /&gt;
         Option      &amp;quot;NoAccel&amp;quot;       &amp;quot;false&amp;quot;&lt;br /&gt;
         Option      &amp;quot;DRI&amp;quot;           &amp;quot;true&amp;quot;&lt;br /&gt;
         Option      &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
         BoardName   &amp;quot;Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller&amp;quot;&lt;br /&gt;
         Option      &amp;quot;XAANoOffscreenPixmaps&amp;quot;&lt;br /&gt;
         Option      &amp;quot;SWCursor&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;cursorCW&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;
       Option        &amp;quot;TopX&amp;quot;          &amp;quot;500&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomX&amp;quot;       &amp;quot;18000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;TopY&amp;quot;          &amp;quot;-6000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomY&amp;quot;       &amp;quot;18500&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;stylusCW&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;
       Option        &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
 EndSection &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;Screen0CW&amp;quot;&lt;br /&gt;
         Device     &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
         DefaultDepth     24&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     16&lt;br /&gt;
                 Modes    &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     24&lt;br /&gt;
                 Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
To activate the rotated layout, start X with {{cmduser|startx -- :1 -layout rotateCW}}. To enable a login screen in the rotated configuration, add a new server under {{path|System &amp;gt; Admininstration &amp;gt; Login Screen &amp;gt; Security &amp;gt; Configure X Server}}&lt;br /&gt;
&lt;br /&gt;
 VT: 1&lt;br /&gt;
 Server: Standard&lt;br /&gt;
 Options: -layout rotateCW&lt;br /&gt;
&lt;br /&gt;
Log out and restart the login manager: {{cmdroot|gdm-restart}}. The standard (unrotated) server will be on screen 0 ({{key|Alt}}{{key|F7}}) and the rotated server will be on screen 1 ({{key|Alt}}{{key|F8}})&lt;br /&gt;
&lt;br /&gt;
===== On-the-fly Rotation =====&lt;br /&gt;
&lt;br /&gt;
On-the-fly rotation does not work. The X.org 810 driver does not support it yet. Once support for it is added, on-the-fly rotation can be invoked by executing {{cmduser|xrandr -o 3}}.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|There have been some reports of on-the-fly rotation working under Gnome 2.14, and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322. Some&lt;br /&gt;
configurations have not been able to duplicate these results. This is work-in-progress. Please view the [[Talk:Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet|talk]] page for this article for further&lt;br /&gt;
discussion}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from ATrpms.&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|rpm -Uvh http://dl.atrpms.net/all/3rd-party-package-config-104-3.rhfc5.at.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum install ipw2200}}&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;
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;
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/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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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]. Stay tuned.}}&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 &lt;br /&gt;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21442</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21442"/>
		<updated>2006-04-07T17:25:18Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Harddrive Active Protection System (HDAPS) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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-context&amp;quot;| Not Tested ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes || X.org i810 driver&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 (not on-the-fly) || Separate X server (xrandr on-thy-fly rotation doesn't work)&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and no different from the process mentioned in [[Installing Fedora Core 4 on a ThinkPad X41 Tablet]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 # Clockwise Rotation&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;rotateCW&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0CW&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;cursorCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;stylusCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
         Identifier  &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
         VendorName  &amp;quot;Videocard vendor&amp;quot;&lt;br /&gt;
         Option      &amp;quot;NoAccel&amp;quot;       &amp;quot;false&amp;quot;&lt;br /&gt;
         Option      &amp;quot;DRI&amp;quot;           &amp;quot;true&amp;quot;&lt;br /&gt;
         Option      &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
         BoardName   &amp;quot;Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller&amp;quot;&lt;br /&gt;
         Option      &amp;quot;XAANoOffscreenPixmaps&amp;quot;&lt;br /&gt;
         Option      &amp;quot;SWCursor&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;cursorCW&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;
       Option        &amp;quot;TopX&amp;quot;          &amp;quot;500&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomX&amp;quot;       &amp;quot;18000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;TopY&amp;quot;          &amp;quot;-6000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomY&amp;quot;       &amp;quot;18500&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;stylusCW&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;
       Option        &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
 EndSection &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;Screen0CW&amp;quot;&lt;br /&gt;
         Device     &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
         DefaultDepth     24&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     16&lt;br /&gt;
                 Modes    &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     24&lt;br /&gt;
                 Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
To activate the rotated layout, start X with {{cmduser|startx -- :1 -layout rotateCW}}. To enable a login screen in the rotated configuration, add a new server under {{path|System &amp;gt; Admininstration &amp;gt; Login Screen &amp;gt; Security &amp;gt; Configure X Server}}&lt;br /&gt;
&lt;br /&gt;
 VT: 1&lt;br /&gt;
 Server: Standard&lt;br /&gt;
 Options: -layout rotateCW&lt;br /&gt;
&lt;br /&gt;
Log out and restart the login manager: {{cmdroot|gdm-restart}}. The standard (unrotated) server will be on screen 0 ({{key|Alt}}{{key|F7}}) and the rotated server will be on screen 1 ({{key|Alt}}{{key|F8}})&lt;br /&gt;
&lt;br /&gt;
===== On-the-fly Rotation =====&lt;br /&gt;
&lt;br /&gt;
On-the-fly rotation does not work. The X.org 810 driver does not support it yet. Once support for it is added, on-the-fly rotation can be invoked by executing {{cmduser|xrandr -o 3}}.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
Using Gnome 2.14 and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322, On-the-fly rotation does work.&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from ATrpms.&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|rpm -Uvh http://dl.atrpms.net/all/3rd-party-package-config-104-3.rhfc5.at.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum install ipw2200}}&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;
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;
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/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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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]. Stay tuned.}}&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 &lt;br /&gt;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21429</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21429"/>
		<updated>2006-04-07T05:07:24Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Fingerprint Reader */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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-context&amp;quot;| Not Tested ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes || X.org i810 driver&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 (not on-the-fly) || Separate X server (xrandr on-thy-fly rotation doesn't work)&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and no different from the process mentioned in [[Installing Fedora Core 4 on a ThinkPad X41 Tablet]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 # Clockwise Rotation&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;rotateCW&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0CW&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;cursorCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;stylusCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
         Identifier  &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
         VendorName  &amp;quot;Videocard vendor&amp;quot;&lt;br /&gt;
         Option      &amp;quot;NoAccel&amp;quot;       &amp;quot;false&amp;quot;&lt;br /&gt;
         Option      &amp;quot;DRI&amp;quot;           &amp;quot;true&amp;quot;&lt;br /&gt;
         Option      &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
         BoardName   &amp;quot;Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller&amp;quot;&lt;br /&gt;
         Option      &amp;quot;XAANoOffscreenPixmaps&amp;quot;&lt;br /&gt;
         Option      &amp;quot;SWCursor&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;cursorCW&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;
       Option        &amp;quot;TopX&amp;quot;          &amp;quot;500&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomX&amp;quot;       &amp;quot;18000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;TopY&amp;quot;          &amp;quot;-6000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomY&amp;quot;       &amp;quot;18500&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;stylusCW&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;
       Option        &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
 EndSection &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;Screen0CW&amp;quot;&lt;br /&gt;
         Device     &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
         DefaultDepth     24&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     16&lt;br /&gt;
                 Modes    &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     24&lt;br /&gt;
                 Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
To activate the rotated layout, start X with {{cmduser|startx -- :1 -layout rotateCW}}. To enable a login screen in the rotated configuration, add a new server under {{path|System &amp;gt; Admininstration &amp;gt; Login Screen &amp;gt; Security &amp;gt; Configure X Server}}&lt;br /&gt;
&lt;br /&gt;
 VT: 1&lt;br /&gt;
 Server: Standard&lt;br /&gt;
 Options: -layout rotateCW&lt;br /&gt;
&lt;br /&gt;
Log out and restart the login manager: {{cmdroot|gdm-restart}}. The standard (unrotated) server will be on screen 0 ({{key|Alt}}{{key|F7}}) and the rotated server will be on screen 1 ({{key|Alt}}{{key|F8}})&lt;br /&gt;
&lt;br /&gt;
===== On-the-fly Rotation =====&lt;br /&gt;
&lt;br /&gt;
On-the-fly rotation does not work. The X.org 810 driver does not support it yet. Once support for it is added, on-the-fly rotation can be invoked by executing {{cmduser|xrandr -o 3}}.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
Using Gnome 2.14 and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322, On-the-fly rotation does work.&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from ATrpms.&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|rpm -Uvh http://dl.atrpms.net/all/3rd-party-package-config-104-3.rhfc5.at.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum install ipw2200}}&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;
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;
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/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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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]. Stay tuned.}}&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 &lt;br /&gt;
the userspace daemon, do the following:&lt;br /&gt;
&lt;br /&gt;
{{NOTE|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;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21428</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21428"/>
		<updated>2006-04-07T05:06:00Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Fingerprint Reader */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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-context&amp;quot;| Not Tested ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes || X.org i810 driver&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 (not on-the-fly) || Separate X server (xrandr on-thy-fly rotation doesn't work)&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and no different from the process mentioned in [[Installing Fedora Core 4 on a ThinkPad X41 Tablet]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 # Clockwise Rotation&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;rotateCW&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0CW&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;cursorCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;stylusCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
         Identifier  &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
         VendorName  &amp;quot;Videocard vendor&amp;quot;&lt;br /&gt;
         Option      &amp;quot;NoAccel&amp;quot;       &amp;quot;false&amp;quot;&lt;br /&gt;
         Option      &amp;quot;DRI&amp;quot;           &amp;quot;true&amp;quot;&lt;br /&gt;
         Option      &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
         BoardName   &amp;quot;Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller&amp;quot;&lt;br /&gt;
         Option      &amp;quot;XAANoOffscreenPixmaps&amp;quot;&lt;br /&gt;
         Option      &amp;quot;SWCursor&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;cursorCW&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;
       Option        &amp;quot;TopX&amp;quot;          &amp;quot;500&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomX&amp;quot;       &amp;quot;18000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;TopY&amp;quot;          &amp;quot;-6000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomY&amp;quot;       &amp;quot;18500&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;stylusCW&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;
       Option        &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
 EndSection &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;Screen0CW&amp;quot;&lt;br /&gt;
         Device     &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
         DefaultDepth     24&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     16&lt;br /&gt;
                 Modes    &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     24&lt;br /&gt;
                 Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
To activate the rotated layout, start X with {{cmduser|startx -- :1 -layout rotateCW}}. To enable a login screen in the rotated configuration, add a new server under {{path|System &amp;gt; Admininstration &amp;gt; Login Screen &amp;gt; Security &amp;gt; Configure X Server}}&lt;br /&gt;
&lt;br /&gt;
 VT: 1&lt;br /&gt;
 Server: Standard&lt;br /&gt;
 Options: -layout rotateCW&lt;br /&gt;
&lt;br /&gt;
Log out and restart the login manager: {{cmdroot|gdm-restart}}. The standard (unrotated) server will be on screen 0 ({{key|Alt}}{{key|F7}}) and the rotated server will be on screen 1 ({{key|Alt}}{{key|F8}})&lt;br /&gt;
&lt;br /&gt;
===== On-the-fly Rotation =====&lt;br /&gt;
&lt;br /&gt;
On-the-fly rotation does not work. The X.org 810 driver does not support it yet. Once support for it is added, on-the-fly rotation can be invoked by executing {{cmduser|xrandr -o 3}}.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
Using Gnome 2.14 and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322, On-the-fly rotation does work.&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from ATrpms.&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|rpm -Uvh http://dl.atrpms.net/all/3rd-party-package-config-104-3.rhfc5.at.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum install ipw2200}}&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;
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;
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/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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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. Stay tuned.}}&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 &lt;br /&gt;
the userspace daemon, do the following:&lt;br /&gt;
&lt;br /&gt;
{{NOTE|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;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21427</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21427"/>
		<updated>2006-04-07T05:04:47Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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-context&amp;quot;| Not Tested ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes || X.org i810 driver&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 (not on-the-fly) || Separate X server (xrandr on-thy-fly rotation doesn't work)&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and no different from the process mentioned in [[Installing Fedora Core 4 on a ThinkPad X41 Tablet]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 # Clockwise Rotation&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;rotateCW&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0CW&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;cursorCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;stylusCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
         Identifier  &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
         VendorName  &amp;quot;Videocard vendor&amp;quot;&lt;br /&gt;
         Option      &amp;quot;NoAccel&amp;quot;       &amp;quot;false&amp;quot;&lt;br /&gt;
         Option      &amp;quot;DRI&amp;quot;           &amp;quot;true&amp;quot;&lt;br /&gt;
         Option      &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
         BoardName   &amp;quot;Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller&amp;quot;&lt;br /&gt;
         Option      &amp;quot;XAANoOffscreenPixmaps&amp;quot;&lt;br /&gt;
         Option      &amp;quot;SWCursor&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;cursorCW&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;
       Option        &amp;quot;TopX&amp;quot;          &amp;quot;500&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomX&amp;quot;       &amp;quot;18000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;TopY&amp;quot;          &amp;quot;-6000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomY&amp;quot;       &amp;quot;18500&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;stylusCW&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;
       Option        &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
 EndSection &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;Screen0CW&amp;quot;&lt;br /&gt;
         Device     &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
         DefaultDepth     24&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     16&lt;br /&gt;
                 Modes    &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     24&lt;br /&gt;
                 Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
To activate the rotated layout, start X with {{cmduser|startx -- :1 -layout rotateCW}}. To enable a login screen in the rotated configuration, add a new server under {{path|System &amp;gt; Admininstration &amp;gt; Login Screen &amp;gt; Security &amp;gt; Configure X Server}}&lt;br /&gt;
&lt;br /&gt;
 VT: 1&lt;br /&gt;
 Server: Standard&lt;br /&gt;
 Options: -layout rotateCW&lt;br /&gt;
&lt;br /&gt;
Log out and restart the login manager: {{cmdroot|gdm-restart}}. The standard (unrotated) server will be on screen 0 ({{key|Alt}}{{key|F7}}) and the rotated server will be on screen 1 ({{key|Alt}}{{key|F8}})&lt;br /&gt;
&lt;br /&gt;
===== On-the-fly Rotation =====&lt;br /&gt;
&lt;br /&gt;
On-the-fly rotation does not work. The X.org 810 driver does not support it yet. Once support for it is added, on-the-fly rotation can be invoked by executing {{cmduser|xrandr -o 3}}.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
Using Gnome 2.14 and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322, On-the-fly rotation does work.&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from ATrpms.&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|rpm -Uvh http://dl.atrpms.net/all/3rd-party-package-config-104-3.rhfc5.at.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum install ipw2200}}&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;
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;
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/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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader ===&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. Stay tuned.}}&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported through the BioAPI framework. The BioAPI framework and the UPEK fingerprint reader driver can be installed as follows:&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;
To try out enrollment and verification:&lt;br /&gt;
&lt;br /&gt;
 {{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 &lt;br /&gt;
the userspace daemon, do the following:&lt;br /&gt;
&lt;br /&gt;
{{NOTE|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;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21426</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21426"/>
		<updated>2006-04-07T04:59:03Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Success Chart */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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-context&amp;quot;| Not Tested ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes || X.org i810 driver&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 (not on-the-fly) || Separate X server (xrandr on-thy-fly rotation doesn't work)&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and no different from the process mentioned in [[Installing Fedora Core 4 on a ThinkPad X41 Tablet]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 # Clockwise Rotation&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;rotateCW&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0CW&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;cursorCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;stylusCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
         Identifier  &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
         VendorName  &amp;quot;Videocard vendor&amp;quot;&lt;br /&gt;
         Option      &amp;quot;NoAccel&amp;quot;       &amp;quot;false&amp;quot;&lt;br /&gt;
         Option      &amp;quot;DRI&amp;quot;           &amp;quot;true&amp;quot;&lt;br /&gt;
         Option      &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
         BoardName   &amp;quot;Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller&amp;quot;&lt;br /&gt;
         Option      &amp;quot;XAANoOffscreenPixmaps&amp;quot;&lt;br /&gt;
         Option      &amp;quot;SWCursor&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;cursorCW&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;
       Option        &amp;quot;TopX&amp;quot;          &amp;quot;500&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomX&amp;quot;       &amp;quot;18000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;TopY&amp;quot;          &amp;quot;-6000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomY&amp;quot;       &amp;quot;18500&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;stylusCW&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;
       Option        &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
 EndSection &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;Screen0CW&amp;quot;&lt;br /&gt;
         Device     &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
         DefaultDepth     24&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     16&lt;br /&gt;
                 Modes    &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     24&lt;br /&gt;
                 Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
To activate the rotated layout, start X with {{cmduser|startx -- :1 -layout rotateCW}}. To enable a login screen in the rotated configuration, add a new server under {{path|System &amp;gt; Admininstration &amp;gt; Login Screen &amp;gt; Security &amp;gt; Configure X Server}}&lt;br /&gt;
&lt;br /&gt;
 VT: 1&lt;br /&gt;
 Server: Standard&lt;br /&gt;
 Options: -layout rotateCW&lt;br /&gt;
&lt;br /&gt;
Log out and restart the login manager: {{cmdroot|gdm-restart}}. The standard (unrotated) server will be on screen 0 ({{key|Alt}}{{key|F7}}) and the rotated server will be on screen 1 ({{key|Alt}}{{key|F8}})&lt;br /&gt;
&lt;br /&gt;
===== On-the-fly Rotation =====&lt;br /&gt;
&lt;br /&gt;
On-the-fly rotation does not work. The X.org 810 driver does not support it yet. Once support for it is added, on-the-fly rotation can be invoked by executing {{cmduser|xrandr -o 3}}.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
Using Gnome 2.14 and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322, On-the-fly rotation does work.&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from ATrpms.&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|rpm -Uvh http://dl.atrpms.net/all/3rd-party-package-config-104-3.rhfc5.at.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum install ipw2200}}&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;
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;
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/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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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&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 &lt;br /&gt;
the userspace daemon, do the following:&lt;br /&gt;
&lt;br /&gt;
{{NOTE|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;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21417</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21417"/>
		<updated>2006-04-06T22:46:16Z</updated>

		<summary type="html">&lt;p&gt;Saikat: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&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-context&amp;quot;| Not Tested ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes || X.org i810 driver&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 (not on-the-fly) || Separate X server (xrandr on-thy-fly rotation doesn't work)&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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-context&amp;quot;| Not Tested || See [[Integrated Fingerprint Reader]].&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and no different from the process mentioned in [[Installing Fedora Core 4 on a ThinkPad X41 Tablet]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 # Clockwise Rotation&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;rotateCW&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0CW&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;cursorCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;stylusCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
         Identifier  &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
         VendorName  &amp;quot;Videocard vendor&amp;quot;&lt;br /&gt;
         Option      &amp;quot;NoAccel&amp;quot;       &amp;quot;false&amp;quot;&lt;br /&gt;
         Option      &amp;quot;DRI&amp;quot;           &amp;quot;true&amp;quot;&lt;br /&gt;
         Option      &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
         BoardName   &amp;quot;Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller&amp;quot;&lt;br /&gt;
         Option      &amp;quot;XAANoOffscreenPixmaps&amp;quot;&lt;br /&gt;
         Option      &amp;quot;SWCursor&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;cursorCW&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;
       Option        &amp;quot;TopX&amp;quot;          &amp;quot;500&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomX&amp;quot;       &amp;quot;18000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;TopY&amp;quot;          &amp;quot;-6000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomY&amp;quot;       &amp;quot;18500&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;stylusCW&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;
       Option        &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
 EndSection &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;Screen0CW&amp;quot;&lt;br /&gt;
         Device     &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
         DefaultDepth     24&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     16&lt;br /&gt;
                 Modes    &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     24&lt;br /&gt;
                 Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
To activate the rotated layout, start X with {{cmduser|startx -- :1 -layout rotateCW}}. To enable a login screen in the rotated configuration, add a new server under {{path|System &amp;gt; Admininstration &amp;gt; Login Screen &amp;gt; Security &amp;gt; Configure X Server}}&lt;br /&gt;
&lt;br /&gt;
 VT: 1&lt;br /&gt;
 Server: Standard&lt;br /&gt;
 Options: -layout rotateCW&lt;br /&gt;
&lt;br /&gt;
Log out and restart the login manager: {{cmdroot|gdm-restart}}. The standard (unrotated) server will be on screen 0 ({{key|Alt}}{{key|F7}}) and the rotated server will be on screen 1 ({{key|Alt}}{{key|F8}})&lt;br /&gt;
&lt;br /&gt;
===== On-the-fly Rotation =====&lt;br /&gt;
&lt;br /&gt;
On-the-fly rotation does not work. The X.org 810 driver does not support it yet. Once support for it is added, on-the-fly rotation can be invoked by executing {{cmduser|xrandr -o 3}}.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
Using Gnome 2.14 and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322, On-the-fly rotation does work.&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from ATrpms.&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|rpm -Uvh http://dl.atrpms.net/all/3rd-party-package-config-104-3.rhfc5.at.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum install ipw2200}}&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;
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;
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/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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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&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 &lt;br /&gt;
the userspace daemon, do the following:&lt;br /&gt;
&lt;br /&gt;
{{NOTE|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;
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;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|yum localinstall /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Wacom_Serial_Tablet_PC_Stylus&amp;diff=21414</id>
		<title>Wacom Serial Tablet PC Stylus</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Wacom_Serial_Tablet_PC_Stylus&amp;diff=21414"/>
		<updated>2006-04-06T22:33:15Z</updated>

		<summary type="html">&lt;p&gt;Saikat: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |[[Image:Logo_wacom.gif|Wacom Logo]]&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin:0px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
=== Wacom Serial Tablet PC Stylus ===&lt;br /&gt;
This is a stylus made for tablet PCs by Wacom.&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Chipset: Wacom&lt;br /&gt;
* Serial: irq 5 port 0x0200&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Linux Support==&lt;br /&gt;
The pen is supported by the XFree/Xorg Wacom driver.&lt;br /&gt;
&lt;br /&gt;
The pen uses serial and appears on some {{path|/dev/ttySnn}} device where &amp;lt;tt&amp;gt;nn&amp;lt;/tt&amp;gt; is a number. An easy way to find it is to map {{path|/dev/ttyS0}} to the pen's port and irq. The values can be found under the windows driver properties. Using values from an {{X41T}} 1869-5CU, the command is: {{cmdroot|setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig}} (you need to run this after every suspend/resume cycle).&lt;br /&gt;
&lt;br /&gt;
This may be inserted into startup scripts in {{path|/etc/rc.d/}}&lt;br /&gt;
&lt;br /&gt;
The X config file needs to be changed to use the stylus. Add the following sections to your xorg.conf:&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;
    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;
    Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
      Driver        &amp;quot;wacom&amp;quot;&lt;br /&gt;
      Identifier    &amp;quot;eraser&amp;quot;&lt;br /&gt;
      Option        &amp;quot;Device&amp;quot;        &amp;quot;/dev/ttyS0&amp;quot;&lt;br /&gt;
      Option        &amp;quot;Type&amp;quot;          &amp;quot;eraser&amp;quot;&lt;br /&gt;
      Option        &amp;quot;ForceDevice&amp;quot;   &amp;quot;ISDV4&amp;quot;&lt;br /&gt;
    EndSection&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add the following lines to the ServerLayout section:&lt;br /&gt;
&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;
&lt;br /&gt;
Check the wacom driver man page and [http://linuxwacom.sf.net/ website] for other options.&lt;br /&gt;
&lt;br /&gt;
==Models featuring this Device==&lt;br /&gt;
*ThinkPad {{X41T}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Components]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=File:Logo_wacom.gif&amp;diff=21413</id>
		<title>File:Logo wacom.gif</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=File:Logo_wacom.gif&amp;diff=21413"/>
		<updated>2006-04-06T22:32:54Z</updated>

		<summary type="html">&lt;p&gt;Saikat: IBM X41 Tablet Digitizer

Image from IBM/Lenovo store. Used under fair-use copyright clause.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;IBM X41 Tablet Digitizer&lt;br /&gt;
&lt;br /&gt;
Image from IBM/Lenovo store. Used under fair-use copyright clause.&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21412</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21412"/>
		<updated>2006-04-06T22:29:20Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Success Chart */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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-context&amp;quot;| Not Tested ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes || X.org i810 driver&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 (not on-the-fly) || Separate X server (xrandr on-thy-fly rotation doesn't work)&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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;
|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-context&amp;quot;| Not Tested || See [[Integrated Fingerprint Reader]].&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and no different from the process mentioned in [[Installing Fedora Core 4 on a ThinkPad X41 Tablet]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 # Clockwise Rotation&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;rotateCW&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0CW&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;cursorCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;stylusCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
         Identifier  &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
         VendorName  &amp;quot;Videocard vendor&amp;quot;&lt;br /&gt;
         Option      &amp;quot;NoAccel&amp;quot;       &amp;quot;false&amp;quot;&lt;br /&gt;
         Option      &amp;quot;DRI&amp;quot;           &amp;quot;true&amp;quot;&lt;br /&gt;
         Option      &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
         BoardName   &amp;quot;Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller&amp;quot;&lt;br /&gt;
         Option      &amp;quot;XAANoOffscreenPixmaps&amp;quot;&lt;br /&gt;
         Option      &amp;quot;SWCursor&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;cursorCW&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;
       Option        &amp;quot;TopX&amp;quot;          &amp;quot;500&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomX&amp;quot;       &amp;quot;18000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;TopY&amp;quot;          &amp;quot;-6000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomY&amp;quot;       &amp;quot;18500&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;stylusCW&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;
       Option        &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
 EndSection &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;Screen0CW&amp;quot;&lt;br /&gt;
         Device     &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
         DefaultDepth     24&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     16&lt;br /&gt;
                 Modes    &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     24&lt;br /&gt;
                 Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
To activate the rotated layout, start X with {{cmduser|startx -- :1 -layout rotateCW}}. To enable a login screen in the rotated configuration, add a new server under {{path|System &amp;gt; Admininstration &amp;gt; Login Screen &amp;gt; Security &amp;gt; Configure X Server}}&lt;br /&gt;
&lt;br /&gt;
 VT: 1&lt;br /&gt;
 Server: Standard&lt;br /&gt;
 Options: -layout rotateCW&lt;br /&gt;
&lt;br /&gt;
Log out and restart the login manager: {{cmdroot|gdm-restart}}. The standard (unrotated) server will be on screen 0 ({{key|Alt}}{{key|F7}}) and the rotated server will be on screen 1 ({{key|Alt}}{{key|F8}})&lt;br /&gt;
&lt;br /&gt;
===== On-the-fly Rotation =====&lt;br /&gt;
&lt;br /&gt;
On-the-fly rotation does not work. The X.org 810 driver does not support it yet. Once support for it is added, on-the-fly rotation can be invoked by executing {{cmduser|xrandr -o 3}}.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
Using Gnome 2.14 and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322, On-the-fly rotation does work.&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from ATrpms.&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|rpm -Uvh http://dl.atrpms.net/all/3rd-party-package-config-104-3.rhfc5.at.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum install ipw2200}}&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;
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;
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/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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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&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 &lt;br /&gt;
the userspace daemon, do the following:&lt;br /&gt;
&lt;br /&gt;
{{NOTE|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|rpm -Uvh hdapsd-20060326cvs-1.sg.i386.rpm}}&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|rpm -Uvh gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|rpm -Uvh /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|rpm -Uvh /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21411</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21411"/>
		<updated>2006-04-06T22:28:22Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Success Chart */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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-context&amp;quot;| Not Tested ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes || X.org i810 driver&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 (not on-the-fly) || Separate X server (xrandr on-thy-fly rotation doesn't work)&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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]]&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-context&amp;quot;| Not Tested || See [[Integrated Fingerprint Reader]].&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and no different from the process mentioned in [[Installing Fedora Core 4 on a ThinkPad X41 Tablet]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 # Clockwise Rotation&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;rotateCW&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0CW&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;cursorCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;stylusCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
         Identifier  &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
         VendorName  &amp;quot;Videocard vendor&amp;quot;&lt;br /&gt;
         Option      &amp;quot;NoAccel&amp;quot;       &amp;quot;false&amp;quot;&lt;br /&gt;
         Option      &amp;quot;DRI&amp;quot;           &amp;quot;true&amp;quot;&lt;br /&gt;
         Option      &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
         BoardName   &amp;quot;Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller&amp;quot;&lt;br /&gt;
         Option      &amp;quot;XAANoOffscreenPixmaps&amp;quot;&lt;br /&gt;
         Option      &amp;quot;SWCursor&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;cursorCW&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;
       Option        &amp;quot;TopX&amp;quot;          &amp;quot;500&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomX&amp;quot;       &amp;quot;18000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;TopY&amp;quot;          &amp;quot;-6000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomY&amp;quot;       &amp;quot;18500&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;stylusCW&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;
       Option        &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
 EndSection &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;Screen0CW&amp;quot;&lt;br /&gt;
         Device     &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
         DefaultDepth     24&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     16&lt;br /&gt;
                 Modes    &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     24&lt;br /&gt;
                 Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
To activate the rotated layout, start X with {{cmduser|startx -- :1 -layout rotateCW}}. To enable a login screen in the rotated configuration, add a new server under {{path|System &amp;gt; Admininstration &amp;gt; Login Screen &amp;gt; Security &amp;gt; Configure X Server}}&lt;br /&gt;
&lt;br /&gt;
 VT: 1&lt;br /&gt;
 Server: Standard&lt;br /&gt;
 Options: -layout rotateCW&lt;br /&gt;
&lt;br /&gt;
Log out and restart the login manager: {{cmdroot|gdm-restart}}. The standard (unrotated) server will be on screen 0 ({{key|Alt}}{{key|F7}}) and the rotated server will be on screen 1 ({{key|Alt}}{{key|F8}})&lt;br /&gt;
&lt;br /&gt;
===== On-the-fly Rotation =====&lt;br /&gt;
&lt;br /&gt;
On-the-fly rotation does not work. The X.org 810 driver does not support it yet. Once support for it is added, on-the-fly rotation can be invoked by executing {{cmduser|xrandr -o 3}}.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
Using Gnome 2.14 and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322, On-the-fly rotation does work.&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from ATrpms.&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|rpm -Uvh http://dl.atrpms.net/all/3rd-party-package-config-104-3.rhfc5.at.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum install ipw2200}}&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;
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;
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/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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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&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 &lt;br /&gt;
the userspace daemon, do the following:&lt;br /&gt;
&lt;br /&gt;
{{NOTE|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|rpm -Uvh hdapsd-20060326cvs-1.sg.i386.rpm}}&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|rpm -Uvh gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|rpm -Uvh /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|rpm -Uvh /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21410</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21410"/>
		<updated>2006-04-06T22:26:40Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Success Chart */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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-context&amp;quot;| Not Tested ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes || X.org i810 driver&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 || Separate X server (not on-the-fly)&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || wacom serial driver.&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]], occasional blank screen&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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]]&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-context&amp;quot;| Not Tested || See [[Integrated Fingerprint Reader]].&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and no different from the process mentioned in [[Installing Fedora Core 4 on a ThinkPad X41 Tablet]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 # Clockwise Rotation&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;rotateCW&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0CW&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;cursorCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;stylusCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
         Identifier  &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
         VendorName  &amp;quot;Videocard vendor&amp;quot;&lt;br /&gt;
         Option      &amp;quot;NoAccel&amp;quot;       &amp;quot;false&amp;quot;&lt;br /&gt;
         Option      &amp;quot;DRI&amp;quot;           &amp;quot;true&amp;quot;&lt;br /&gt;
         Option      &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
         BoardName   &amp;quot;Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller&amp;quot;&lt;br /&gt;
         Option      &amp;quot;XAANoOffscreenPixmaps&amp;quot;&lt;br /&gt;
         Option      &amp;quot;SWCursor&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;cursorCW&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;
       Option        &amp;quot;TopX&amp;quot;          &amp;quot;500&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomX&amp;quot;       &amp;quot;18000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;TopY&amp;quot;          &amp;quot;-6000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomY&amp;quot;       &amp;quot;18500&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;stylusCW&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;
       Option        &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
 EndSection &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;Screen0CW&amp;quot;&lt;br /&gt;
         Device     &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
         DefaultDepth     24&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     16&lt;br /&gt;
                 Modes    &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     24&lt;br /&gt;
                 Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
To activate the rotated layout, start X with {{cmduser|startx -- :1 -layout rotateCW}}. To enable a login screen in the rotated configuration, add a new server under {{path|System &amp;gt; Admininstration &amp;gt; Login Screen &amp;gt; Security &amp;gt; Configure X Server}}&lt;br /&gt;
&lt;br /&gt;
 VT: 1&lt;br /&gt;
 Server: Standard&lt;br /&gt;
 Options: -layout rotateCW&lt;br /&gt;
&lt;br /&gt;
Log out and restart the login manager: {{cmdroot|gdm-restart}}. The standard (unrotated) server will be on screen 0 ({{key|Alt}}{{key|F7}}) and the rotated server will be on screen 1 ({{key|Alt}}{{key|F8}})&lt;br /&gt;
&lt;br /&gt;
===== On-the-fly Rotation =====&lt;br /&gt;
&lt;br /&gt;
On-the-fly rotation does not work. The X.org 810 driver does not support it yet. Once support for it is added, on-the-fly rotation can be invoked by executing {{cmduser|xrandr -o 3}}.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
Using Gnome 2.14 and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322, On-the-fly rotation does work.&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from ATrpms.&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|rpm -Uvh http://dl.atrpms.net/all/3rd-party-package-config-104-3.rhfc5.at.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum install ipw2200}}&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;
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;
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/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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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&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 &lt;br /&gt;
the userspace daemon, do the following:&lt;br /&gt;
&lt;br /&gt;
{{NOTE|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|rpm -Uvh hdapsd-20060326cvs-1.sg.i386.rpm}}&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|rpm -Uvh gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|rpm -Uvh /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|rpm -Uvh /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21409</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21409"/>
		<updated>2006-04-06T22:17:18Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Harddrive Active Protection System (HDAPS) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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-context&amp;quot;| Not Tested ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes || X.org i810 driver&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 || Separate X server (not on-the-fly)&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || wacom serial driver.&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]], occasional crash&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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]]&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-context&amp;quot;| Not Tested || See [[Integrated Fingerprint Reader]].&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and no different from the process mentioned in [[Installing Fedora Core 4 on a ThinkPad X41 Tablet]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 # Clockwise Rotation&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;rotateCW&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0CW&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;cursorCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;stylusCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
         Identifier  &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
         VendorName  &amp;quot;Videocard vendor&amp;quot;&lt;br /&gt;
         Option      &amp;quot;NoAccel&amp;quot;       &amp;quot;false&amp;quot;&lt;br /&gt;
         Option      &amp;quot;DRI&amp;quot;           &amp;quot;true&amp;quot;&lt;br /&gt;
         Option      &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
         BoardName   &amp;quot;Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller&amp;quot;&lt;br /&gt;
         Option      &amp;quot;XAANoOffscreenPixmaps&amp;quot;&lt;br /&gt;
         Option      &amp;quot;SWCursor&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;cursorCW&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;
       Option        &amp;quot;TopX&amp;quot;          &amp;quot;500&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomX&amp;quot;       &amp;quot;18000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;TopY&amp;quot;          &amp;quot;-6000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomY&amp;quot;       &amp;quot;18500&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;stylusCW&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;
       Option        &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
 EndSection &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;Screen0CW&amp;quot;&lt;br /&gt;
         Device     &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
         DefaultDepth     24&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     16&lt;br /&gt;
                 Modes    &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     24&lt;br /&gt;
                 Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
To activate the rotated layout, start X with {{cmduser|startx -- :1 -layout rotateCW}}. To enable a login screen in the rotated configuration, add a new server under {{path|System &amp;gt; Admininstration &amp;gt; Login Screen &amp;gt; Security &amp;gt; Configure X Server}}&lt;br /&gt;
&lt;br /&gt;
 VT: 1&lt;br /&gt;
 Server: Standard&lt;br /&gt;
 Options: -layout rotateCW&lt;br /&gt;
&lt;br /&gt;
Log out and restart the login manager: {{cmdroot|gdm-restart}}. The standard (unrotated) server will be on screen 0 ({{key|Alt}}{{key|F7}}) and the rotated server will be on screen 1 ({{key|Alt}}{{key|F8}})&lt;br /&gt;
&lt;br /&gt;
===== On-the-fly Rotation =====&lt;br /&gt;
&lt;br /&gt;
On-the-fly rotation does not work. The X.org 810 driver does not support it yet. Once support for it is added, on-the-fly rotation can be invoked by executing {{cmduser|xrandr -o 3}}.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
Using Gnome 2.14 and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322, On-the-fly rotation does work.&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from ATrpms.&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|rpm -Uvh http://dl.atrpms.net/all/3rd-party-package-config-104-3.rhfc5.at.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum install ipw2200}}&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;
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;
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/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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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&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 &lt;br /&gt;
the userspace daemon, do the following:&lt;br /&gt;
&lt;br /&gt;
{{NOTE|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|rpm -Uvh hdapsd-20060326cvs-1.sg.i386.rpm}}&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|rpm -Uvh gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|rpm -Uvh /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|rpm -Uvh /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_protect_the_harddisk_through_APS&amp;diff=21408</id>
		<title>How to protect the harddisk through APS</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_protect_the_harddisk_through_APS&amp;diff=21408"/>
		<updated>2006-04-06T22:16:44Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Building gnome-hdaps-applet */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
This page tells you how to make the [[Active Protection System]] work under Linux to protect your harddrive from damage in case of a notebook drop or other kind of impact while it is running.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== How APS works in Linux ==&lt;br /&gt;
APS in Linux consists of four components on the software side:&lt;br /&gt;
* The [[HDAPS]] driver (included in recent kernels). (As a modul if you want to use tp_smapi (Gentoo-Linux))&lt;br /&gt;
* The &amp;lt;tt&amp;gt;hdaps_protect&amp;lt;/tt&amp;gt; disk protection kernel patch (available [http://www.dresco.co.uk/hdaps/hdaps_protect.20060118.patch for kernel 2.6.15] and [http://www.dresco.co.uk/hdaps/hdaps_protect.20060326.patch for kernel 2.6.16]; see [[HDAPS#Disk_head_parking|here]] for other versions)&lt;br /&gt;
* The [http://www.dresco.co.uk/hdaps/hdapsd-20060326.c &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt;] disk protection userspace daemon&lt;br /&gt;
* Optional: the [http://www.oakcourt.dyndns.org/projects/khdapsmon/ &amp;lt;tt&amp;gt;khdapsmon&amp;lt;/tt&amp;gt; KDE System Tray applet] or the [http://www.dresco.co.uk/hdaps/gnome-hdaps-applet-20060120.tar.gz &amp;lt;tt&amp;gt;gnome-hdaps-applet&amp;lt;/tt&amp;gt;].&lt;br /&gt;
&lt;br /&gt;
The [[HDAPS|HDAPS driver]] exports a sysfs interface providing the acceleration values.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;hdaps_protect&amp;lt;/tt&amp;gt; kernel patch exports a sysfs interface that enables an ide or sata disk to be protected by a userspace process.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt; userspace daemon monitors the acceleration values through the HDAPS interface and automatically initiates disk protection through the hdaps_protect interface - given that the movement exceeds a user specified threshold.&lt;br /&gt;
&lt;br /&gt;
The optional KDE/GNOME applets provide a visual indication of the disk protection status and also a graphical interface for adjusting configuration options for &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
As mentioned above, the hdaps kernel driver found in recent kernels is only responsible for reading the accelerometer data and exporting it through the sysfs interface. &lt;br /&gt;
{{NOTE|1=If you use [[tp_smapi]], remember to include the option &amp;lt;tt&amp;gt;HDAPS=1&amp;lt;/tt&amp;gt; when [[Tp_smapi#Installation|installing tp_smapi]].}}&lt;br /&gt;
In order to use this information to protect the disk, some additional steps are required.&lt;br /&gt;
&lt;br /&gt;
* Download and build the latest hdaps_protect disk protection kernel patches.&lt;br /&gt;
* Enable the drivers in the kernel (requires kernel rebuild).&lt;br /&gt;
* Download, build and configure the hdapsd userspace daemon.&lt;br /&gt;
* Download and build one of the applets to get a real-time representation of the disk protection status.&lt;br /&gt;
&lt;br /&gt;
===Getting the files===&lt;br /&gt;
The latest versions of &amp;lt;tt&amp;gt;hdaps_protect&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt; and the &amp;lt;tt&amp;gt;gnome-hdaps-applet&amp;lt;/tt&amp;gt; are available at [http://www.dresco.co.uk/hdaps]..&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;khdapsmon&amp;lt;/tt&amp;gt; can befound [http://www.oakcourt.dyndns.org/projects/khdapsmon/ here].&lt;br /&gt;
&lt;br /&gt;
{{Debian}} source and sid binary packages for &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt; and the &amp;lt;tt&amp;gt;hdaps_protect&amp;lt;/tt&amp;gt; patches (kernel-patch format) are available via APT access:&lt;br /&gt;
&lt;br /&gt;
 deb http://www.oakcourt.dyndns.org/debian/ ./&lt;br /&gt;
 deb-src http://www.oakcourt.dyndns.org/debian/ ./&lt;br /&gt;
&lt;br /&gt;
{{Fedora}} installation instructions are [[Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet#Harddrive_Active_Protection_System_.28HDAPS.29|here]]&lt;br /&gt;
&lt;br /&gt;
=== Patching the kernel and enabling the drivers ===&lt;br /&gt;
&lt;br /&gt;
As root go to /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|patch -p1 &amp;lt; ~/hdaps_protect.20060326.patch}} &lt;br /&gt;
&lt;br /&gt;
make clean&lt;br /&gt;
&lt;br /&gt;
make&lt;br /&gt;
&lt;br /&gt;
make modules_install&lt;br /&gt;
&lt;br /&gt;
==== Problem with unload capabilities check ====&lt;br /&gt;
&lt;br /&gt;
After installation, you may get the following kernel message when the disk is protected (e.g., via {{cmdroot|echo 1 &amp;gt; /sys/block/sda/queue/protect}}):&lt;br /&gt;
&lt;br /&gt;
 ata_scsi_issue_protect_fn(): unload support NOT reported..&lt;br /&gt;
 scsi_protect_queue(): head park not requested, used standby!..&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 idedisk_issue_protect_fn(): unload support NOT reported..&lt;br /&gt;
 ide_protect_queue(): head park not requested, used standby!..&lt;br /&gt;
&lt;br /&gt;
{{WARN|Using HDAPS in the above state may cause frequent drive spin downs, thereby wearing out your hard disk.}}&lt;br /&gt;
&lt;br /&gt;
If you see this, and you are sure that your drive actually does support unloading (all original drives sold with HDAPS-equipped ThinkPads do), then add the following patch ''on top'' of the above patch:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
diff -u linux-2.6.15.hdaps/drivers/ide/ide-disk.c linux-2.6.15.hdaps/drivers/ide/ide-disk.c&lt;br /&gt;
--- linux-2.6.15.hdaps/drivers/ide/ide-disk.c	2006-01-18 07:11:54.000000000 +0000&lt;br /&gt;
+++ linux-2.6.15.hdaps/drivers/ide/ide-disk.c	2006-01-18 07:11:54.000000000 +0000&lt;br /&gt;
@@ -869,7 +869,7 @@&lt;br /&gt;
 	else&lt;br /&gt;
 		printk(KERN_DEBUG &amp;quot;idedisk_issue_protect_fn(): unload support NOT reported..\n&amp;quot;);&lt;br /&gt;
 &lt;br /&gt;
-	return ide_protect_queue(q, (drive-&amp;gt;id-&amp;gt;cfsse &amp;amp; (1 &amp;lt;&amp;lt; 13)) ? 1: 0);&lt;br /&gt;
+	return ide_protect_queue(q, 1);&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 int idedisk_issue_unprotect_fn(request_queue_t *q)&lt;br /&gt;
diff -u linux-2.6.15.hdaps/drivers/scsi/libata-scsi.c linux-2.6.15.hdaps/drivers/scsi/libata-scsi.c&lt;br /&gt;
--- linux-2.6.15.hdaps/drivers/scsi/libata-scsi.c	2006-01-18 07:15:31.000000000 +0000&lt;br /&gt;
+++ linux-2.6.15.hdaps/drivers/scsi/libata-scsi.c	2006-01-18 07:15:31.000000000 +0000&lt;br /&gt;
@@ -661,7 +661,7 @@&lt;br /&gt;
 		printk(KERN_DEBUG &amp;quot;ata_scsi_issue_protect_fn(): unload support NOT reported..\n&amp;quot;);&lt;br /&gt;
 &lt;br /&gt;
 	/* call scsi_protect_queue, requesting either unload or standby */&lt;br /&gt;
-	return scsi_protect_queue(q, ata_id_has_unload(dev-&amp;gt;id) ? 1 : 0);&lt;br /&gt;
+	return scsi_protect_queue(q, 1);&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 static int ata_scsi_issue_unprotect_fn(request_queue_t *q)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Drives on which the capabilities check patch is needed'''&lt;br /&gt;
* Hitachi HTS726060M9AT00 (7K60) on ThinkPad {{T43}}&lt;br /&gt;
&lt;br /&gt;
=== Installing hdapsd ===&lt;br /&gt;
&lt;br /&gt;
{{Fedora}} users can try the instructions [[Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet#Harddrive_Active_Protection_System_.28HDAPS.29|here]]&lt;br /&gt;
&lt;br /&gt;
Gentoo users can try this ebuild: http://bugs.gentoo.org/show_bug.cgi?id=119845&lt;br /&gt;
&lt;br /&gt;
For Gentoo: (works fine with IBM X41 25254CG)&lt;br /&gt;
&lt;br /&gt;
0.) Add hdapsd support in your kernel, as far as I can remember: device drivers -&amp;gt; hardware monitoring -&amp;gt; ... (you need it as modul if you want to use tp_smapi and hdaps, see tp_smapi topic)&lt;br /&gt;
&lt;br /&gt;
1.) Download the ebuild, use same ebuild date as the kernel-patch&lt;br /&gt;
&lt;br /&gt;
2.) Makes known the portage an extern ebuild path and add the following line to /etc/make.conf:&lt;br /&gt;
&lt;br /&gt;
PORTDIR_OVERLAY=&amp;quot;/usr/local/portage/&amp;quot; (or any other location)&lt;br /&gt;
&lt;br /&gt;
3.) Creates directory /usr/local/portage and /usr/local/portage/app-laptop/&lt;br /&gt;
&lt;br /&gt;
4.) Copy downloaded ebuild to /usr/local/portage/app-laptop (/usr/local/portage/app-laptop/hdapsd should now exists)&lt;br /&gt;
&lt;br /&gt;
5.) Makes portage known the new ebuild and creat digist with: &lt;br /&gt;
&lt;br /&gt;
ebuild /usr/local/portage/app-laptop/hdapsd/hdapsd-20060326.ebuild digest&lt;br /&gt;
&lt;br /&gt;
6.) Optional: Copy source file to portage distfiles (if no internet connection is available): &lt;br /&gt;
&lt;br /&gt;
cp hdapsd-20060326.c /usr/portage/distfiles&lt;br /&gt;
&lt;br /&gt;
7.) Accept the x86 keyword for this package: echo &amp;quot;app-laptop/hdapsd ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
&lt;br /&gt;
8.) Install hdapsd with: emerge hdapsd&lt;br /&gt;
&lt;br /&gt;
9.) Edit the /etc/conf.d/hdapsd file (change your harddrive if neccessary: my is sda, and change the value from 5, 5 is to sensitive, 12 is a good value in my opinion)&lt;br /&gt;
&lt;br /&gt;
10.) start deamon with: /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
11.) Optional: add to default runlevel: rc-update add hdapsd default, rc-update add hdapsd battery&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Write me an e-mail (abartel[Ã¤d]htwm.de), if you want to get my hdapsd-20060326.ebuild and please upload it (It's illagal from work)&lt;br /&gt;
&lt;br /&gt;
=== Building an applet ===&lt;br /&gt;
&lt;br /&gt;
{{Fedora}} users can try the instructions [[Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet#Harddrive_Active_Protection_System_.28HDAPS.29|here]]&lt;br /&gt;
&lt;br /&gt;
0.) Make sure you have installed hdaps [and loaded] and ?opengl?&lt;br /&gt;
&lt;br /&gt;
1.) Download hdaps-gl-0.0.5 from the www&lt;br /&gt;
&lt;br /&gt;
2.) Extract files to /opt/hdaps-gl&lt;br /&gt;
&lt;br /&gt;
3.) {{cmdroot|make}}&lt;br /&gt;
&lt;br /&gt;
4.) Start applett {{cmdroot|./hdaps-gl}}&lt;br /&gt;
&lt;br /&gt;
====Building khdapsmon====&lt;br /&gt;
Where is Gentoo ebuild http://bugs.gentoo.org/show_bug.cgi?id=124175.&lt;br /&gt;
&lt;br /&gt;
====Building gnome-hdaps-applet====&lt;br /&gt;
&lt;br /&gt;
{{Fedora}} users can try the instructions [[Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet#Harddrive_Active_Protection_System_.28HDAPS.29|here]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Todo|tell people what to do}}&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
*Additonal information and support is available through the [[Mailinglists#HDAPS Developers Mailinglist|hdaps-devel]] mailinglist and its archive.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:R50]] [[Category:R50p]] [[Category:R51]] [[Category:R52]] [[Category:T41]] [[Category:T41p]] [[Category:T42]] [[Category:T42p]] [[Category:T43]] [[Category:T43p]] [[Category:T60]] [[Category:X40]] [[Category:X41]] [[Category:X41 Tablet]] [[Category:X60]] [[Category:X60s]] [[Category:Z60m]] [[Category:Z60t]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_protect_the_harddisk_through_APS&amp;diff=21407</id>
		<title>How to protect the harddisk through APS</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_protect_the_harddisk_through_APS&amp;diff=21407"/>
		<updated>2006-04-06T22:15:50Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Building an applet */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
This page tells you how to make the [[Active Protection System]] work under Linux to protect your harddrive from damage in case of a notebook drop or other kind of impact while it is running.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== How APS works in Linux ==&lt;br /&gt;
APS in Linux consists of four components on the software side:&lt;br /&gt;
* The [[HDAPS]] driver (included in recent kernels). (As a modul if you want to use tp_smapi (Gentoo-Linux))&lt;br /&gt;
* The &amp;lt;tt&amp;gt;hdaps_protect&amp;lt;/tt&amp;gt; disk protection kernel patch (available [http://www.dresco.co.uk/hdaps/hdaps_protect.20060118.patch for kernel 2.6.15] and [http://www.dresco.co.uk/hdaps/hdaps_protect.20060326.patch for kernel 2.6.16]; see [[HDAPS#Disk_head_parking|here]] for other versions)&lt;br /&gt;
* The [http://www.dresco.co.uk/hdaps/hdapsd-20060326.c &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt;] disk protection userspace daemon&lt;br /&gt;
* Optional: the [http://www.oakcourt.dyndns.org/projects/khdapsmon/ &amp;lt;tt&amp;gt;khdapsmon&amp;lt;/tt&amp;gt; KDE System Tray applet] or the [http://www.dresco.co.uk/hdaps/gnome-hdaps-applet-20060120.tar.gz &amp;lt;tt&amp;gt;gnome-hdaps-applet&amp;lt;/tt&amp;gt;].&lt;br /&gt;
&lt;br /&gt;
The [[HDAPS|HDAPS driver]] exports a sysfs interface providing the acceleration values.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;hdaps_protect&amp;lt;/tt&amp;gt; kernel patch exports a sysfs interface that enables an ide or sata disk to be protected by a userspace process.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt; userspace daemon monitors the acceleration values through the HDAPS interface and automatically initiates disk protection through the hdaps_protect interface - given that the movement exceeds a user specified threshold.&lt;br /&gt;
&lt;br /&gt;
The optional KDE/GNOME applets provide a visual indication of the disk protection status and also a graphical interface for adjusting configuration options for &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
As mentioned above, the hdaps kernel driver found in recent kernels is only responsible for reading the accelerometer data and exporting it through the sysfs interface. &lt;br /&gt;
{{NOTE|1=If you use [[tp_smapi]], remember to include the option &amp;lt;tt&amp;gt;HDAPS=1&amp;lt;/tt&amp;gt; when [[Tp_smapi#Installation|installing tp_smapi]].}}&lt;br /&gt;
In order to use this information to protect the disk, some additional steps are required.&lt;br /&gt;
&lt;br /&gt;
* Download and build the latest hdaps_protect disk protection kernel patches.&lt;br /&gt;
* Enable the drivers in the kernel (requires kernel rebuild).&lt;br /&gt;
* Download, build and configure the hdapsd userspace daemon.&lt;br /&gt;
* Download and build one of the applets to get a real-time representation of the disk protection status.&lt;br /&gt;
&lt;br /&gt;
===Getting the files===&lt;br /&gt;
The latest versions of &amp;lt;tt&amp;gt;hdaps_protect&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt; and the &amp;lt;tt&amp;gt;gnome-hdaps-applet&amp;lt;/tt&amp;gt; are available at [http://www.dresco.co.uk/hdaps]..&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;khdapsmon&amp;lt;/tt&amp;gt; can befound [http://www.oakcourt.dyndns.org/projects/khdapsmon/ here].&lt;br /&gt;
&lt;br /&gt;
{{Debian}} source and sid binary packages for &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt; and the &amp;lt;tt&amp;gt;hdaps_protect&amp;lt;/tt&amp;gt; patches (kernel-patch format) are available via APT access:&lt;br /&gt;
&lt;br /&gt;
 deb http://www.oakcourt.dyndns.org/debian/ ./&lt;br /&gt;
 deb-src http://www.oakcourt.dyndns.org/debian/ ./&lt;br /&gt;
&lt;br /&gt;
{{Fedora}} installation instructions are [[Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet#Harddrive_Active_Protection_System_.28HDAPS.29|here]]&lt;br /&gt;
&lt;br /&gt;
=== Patching the kernel and enabling the drivers ===&lt;br /&gt;
&lt;br /&gt;
As root go to /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|patch -p1 &amp;lt; ~/hdaps_protect.20060326.patch}} &lt;br /&gt;
&lt;br /&gt;
make clean&lt;br /&gt;
&lt;br /&gt;
make&lt;br /&gt;
&lt;br /&gt;
make modules_install&lt;br /&gt;
&lt;br /&gt;
==== Problem with unload capabilities check ====&lt;br /&gt;
&lt;br /&gt;
After installation, you may get the following kernel message when the disk is protected (e.g., via {{cmdroot|echo 1 &amp;gt; /sys/block/sda/queue/protect}}):&lt;br /&gt;
&lt;br /&gt;
 ata_scsi_issue_protect_fn(): unload support NOT reported..&lt;br /&gt;
 scsi_protect_queue(): head park not requested, used standby!..&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 idedisk_issue_protect_fn(): unload support NOT reported..&lt;br /&gt;
 ide_protect_queue(): head park not requested, used standby!..&lt;br /&gt;
&lt;br /&gt;
{{WARN|Using HDAPS in the above state may cause frequent drive spin downs, thereby wearing out your hard disk.}}&lt;br /&gt;
&lt;br /&gt;
If you see this, and you are sure that your drive actually does support unloading (all original drives sold with HDAPS-equipped ThinkPads do), then add the following patch ''on top'' of the above patch:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
diff -u linux-2.6.15.hdaps/drivers/ide/ide-disk.c linux-2.6.15.hdaps/drivers/ide/ide-disk.c&lt;br /&gt;
--- linux-2.6.15.hdaps/drivers/ide/ide-disk.c	2006-01-18 07:11:54.000000000 +0000&lt;br /&gt;
+++ linux-2.6.15.hdaps/drivers/ide/ide-disk.c	2006-01-18 07:11:54.000000000 +0000&lt;br /&gt;
@@ -869,7 +869,7 @@&lt;br /&gt;
 	else&lt;br /&gt;
 		printk(KERN_DEBUG &amp;quot;idedisk_issue_protect_fn(): unload support NOT reported..\n&amp;quot;);&lt;br /&gt;
 &lt;br /&gt;
-	return ide_protect_queue(q, (drive-&amp;gt;id-&amp;gt;cfsse &amp;amp; (1 &amp;lt;&amp;lt; 13)) ? 1: 0);&lt;br /&gt;
+	return ide_protect_queue(q, 1);&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 int idedisk_issue_unprotect_fn(request_queue_t *q)&lt;br /&gt;
diff -u linux-2.6.15.hdaps/drivers/scsi/libata-scsi.c linux-2.6.15.hdaps/drivers/scsi/libata-scsi.c&lt;br /&gt;
--- linux-2.6.15.hdaps/drivers/scsi/libata-scsi.c	2006-01-18 07:15:31.000000000 +0000&lt;br /&gt;
+++ linux-2.6.15.hdaps/drivers/scsi/libata-scsi.c	2006-01-18 07:15:31.000000000 +0000&lt;br /&gt;
@@ -661,7 +661,7 @@&lt;br /&gt;
 		printk(KERN_DEBUG &amp;quot;ata_scsi_issue_protect_fn(): unload support NOT reported..\n&amp;quot;);&lt;br /&gt;
 &lt;br /&gt;
 	/* call scsi_protect_queue, requesting either unload or standby */&lt;br /&gt;
-	return scsi_protect_queue(q, ata_id_has_unload(dev-&amp;gt;id) ? 1 : 0);&lt;br /&gt;
+	return scsi_protect_queue(q, 1);&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 static int ata_scsi_issue_unprotect_fn(request_queue_t *q)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Drives on which the capabilities check patch is needed'''&lt;br /&gt;
* Hitachi HTS726060M9AT00 (7K60) on ThinkPad {{T43}}&lt;br /&gt;
&lt;br /&gt;
=== Installing hdapsd ===&lt;br /&gt;
&lt;br /&gt;
{{Fedora}} users can try the instructions [[Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet#Harddrive_Active_Protection_System_.28HDAPS.29|here]]&lt;br /&gt;
&lt;br /&gt;
Gentoo users can try this ebuild: http://bugs.gentoo.org/show_bug.cgi?id=119845&lt;br /&gt;
&lt;br /&gt;
For Gentoo: (works fine with IBM X41 25254CG)&lt;br /&gt;
&lt;br /&gt;
0.) Add hdapsd support in your kernel, as far as I can remember: device drivers -&amp;gt; hardware monitoring -&amp;gt; ... (you need it as modul if you want to use tp_smapi and hdaps, see tp_smapi topic)&lt;br /&gt;
&lt;br /&gt;
1.) Download the ebuild, use same ebuild date as the kernel-patch&lt;br /&gt;
&lt;br /&gt;
2.) Makes known the portage an extern ebuild path and add the following line to /etc/make.conf:&lt;br /&gt;
&lt;br /&gt;
PORTDIR_OVERLAY=&amp;quot;/usr/local/portage/&amp;quot; (or any other location)&lt;br /&gt;
&lt;br /&gt;
3.) Creates directory /usr/local/portage and /usr/local/portage/app-laptop/&lt;br /&gt;
&lt;br /&gt;
4.) Copy downloaded ebuild to /usr/local/portage/app-laptop (/usr/local/portage/app-laptop/hdapsd should now exists)&lt;br /&gt;
&lt;br /&gt;
5.) Makes portage known the new ebuild and creat digist with: &lt;br /&gt;
&lt;br /&gt;
ebuild /usr/local/portage/app-laptop/hdapsd/hdapsd-20060326.ebuild digest&lt;br /&gt;
&lt;br /&gt;
6.) Optional: Copy source file to portage distfiles (if no internet connection is available): &lt;br /&gt;
&lt;br /&gt;
cp hdapsd-20060326.c /usr/portage/distfiles&lt;br /&gt;
&lt;br /&gt;
7.) Accept the x86 keyword for this package: echo &amp;quot;app-laptop/hdapsd ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
&lt;br /&gt;
8.) Install hdapsd with: emerge hdapsd&lt;br /&gt;
&lt;br /&gt;
9.) Edit the /etc/conf.d/hdapsd file (change your harddrive if neccessary: my is sda, and change the value from 5, 5 is to sensitive, 12 is a good value in my opinion)&lt;br /&gt;
&lt;br /&gt;
10.) start deamon with: /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
11.) Optional: add to default runlevel: rc-update add hdapsd default, rc-update add hdapsd battery&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Write me an e-mail (abartel[Ã¤d]htwm.de), if you want to get my hdapsd-20060326.ebuild and please upload it (It's illagal from work)&lt;br /&gt;
&lt;br /&gt;
=== Building an applet ===&lt;br /&gt;
&lt;br /&gt;
{{Fedora}} users can try the instructions [[Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet#Harddrive_Active_Protection_System_.28HDAPS.29|here]]&lt;br /&gt;
&lt;br /&gt;
0.) Make sure you have installed hdaps [and loaded] and ?opengl?&lt;br /&gt;
&lt;br /&gt;
1.) Download hdaps-gl-0.0.5 from the www&lt;br /&gt;
&lt;br /&gt;
2.) Extract files to /opt/hdaps-gl&lt;br /&gt;
&lt;br /&gt;
3.) {{cmdroot|make}}&lt;br /&gt;
&lt;br /&gt;
4.) Start applett {{cmdroot|./hdaps-gl}}&lt;br /&gt;
&lt;br /&gt;
====Building khdapsmon====&lt;br /&gt;
Where is Gentoo ebuild http://bugs.gentoo.org/show_bug.cgi?id=124175.&lt;br /&gt;
&lt;br /&gt;
====Building gnome-hdaps-applet====&lt;br /&gt;
{{Todo|tell people what to do}}&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
*Additonal information and support is available through the [[Mailinglists#HDAPS Developers Mailinglist|hdaps-devel]] mailinglist and its archive.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:R50]] [[Category:R50p]] [[Category:R51]] [[Category:R52]] [[Category:T41]] [[Category:T41p]] [[Category:T42]] [[Category:T42p]] [[Category:T43]] [[Category:T43p]] [[Category:T60]] [[Category:X40]] [[Category:X41]] [[Category:X41 Tablet]] [[Category:X60]] [[Category:X60s]] [[Category:Z60m]] [[Category:Z60t]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_protect_the_harddisk_through_APS&amp;diff=21406</id>
		<title>How to protect the harddisk through APS</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_protect_the_harddisk_through_APS&amp;diff=21406"/>
		<updated>2006-04-06T22:15:23Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Installing hdapsd */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
This page tells you how to make the [[Active Protection System]] work under Linux to protect your harddrive from damage in case of a notebook drop or other kind of impact while it is running.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== How APS works in Linux ==&lt;br /&gt;
APS in Linux consists of four components on the software side:&lt;br /&gt;
* The [[HDAPS]] driver (included in recent kernels). (As a modul if you want to use tp_smapi (Gentoo-Linux))&lt;br /&gt;
* The &amp;lt;tt&amp;gt;hdaps_protect&amp;lt;/tt&amp;gt; disk protection kernel patch (available [http://www.dresco.co.uk/hdaps/hdaps_protect.20060118.patch for kernel 2.6.15] and [http://www.dresco.co.uk/hdaps/hdaps_protect.20060326.patch for kernel 2.6.16]; see [[HDAPS#Disk_head_parking|here]] for other versions)&lt;br /&gt;
* The [http://www.dresco.co.uk/hdaps/hdapsd-20060326.c &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt;] disk protection userspace daemon&lt;br /&gt;
* Optional: the [http://www.oakcourt.dyndns.org/projects/khdapsmon/ &amp;lt;tt&amp;gt;khdapsmon&amp;lt;/tt&amp;gt; KDE System Tray applet] or the [http://www.dresco.co.uk/hdaps/gnome-hdaps-applet-20060120.tar.gz &amp;lt;tt&amp;gt;gnome-hdaps-applet&amp;lt;/tt&amp;gt;].&lt;br /&gt;
&lt;br /&gt;
The [[HDAPS|HDAPS driver]] exports a sysfs interface providing the acceleration values.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;hdaps_protect&amp;lt;/tt&amp;gt; kernel patch exports a sysfs interface that enables an ide or sata disk to be protected by a userspace process.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt; userspace daemon monitors the acceleration values through the HDAPS interface and automatically initiates disk protection through the hdaps_protect interface - given that the movement exceeds a user specified threshold.&lt;br /&gt;
&lt;br /&gt;
The optional KDE/GNOME applets provide a visual indication of the disk protection status and also a graphical interface for adjusting configuration options for &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
As mentioned above, the hdaps kernel driver found in recent kernels is only responsible for reading the accelerometer data and exporting it through the sysfs interface. &lt;br /&gt;
{{NOTE|1=If you use [[tp_smapi]], remember to include the option &amp;lt;tt&amp;gt;HDAPS=1&amp;lt;/tt&amp;gt; when [[Tp_smapi#Installation|installing tp_smapi]].}}&lt;br /&gt;
In order to use this information to protect the disk, some additional steps are required.&lt;br /&gt;
&lt;br /&gt;
* Download and build the latest hdaps_protect disk protection kernel patches.&lt;br /&gt;
* Enable the drivers in the kernel (requires kernel rebuild).&lt;br /&gt;
* Download, build and configure the hdapsd userspace daemon.&lt;br /&gt;
* Download and build one of the applets to get a real-time representation of the disk protection status.&lt;br /&gt;
&lt;br /&gt;
===Getting the files===&lt;br /&gt;
The latest versions of &amp;lt;tt&amp;gt;hdaps_protect&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt; and the &amp;lt;tt&amp;gt;gnome-hdaps-applet&amp;lt;/tt&amp;gt; are available at [http://www.dresco.co.uk/hdaps]..&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;khdapsmon&amp;lt;/tt&amp;gt; can befound [http://www.oakcourt.dyndns.org/projects/khdapsmon/ here].&lt;br /&gt;
&lt;br /&gt;
{{Debian}} source and sid binary packages for &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt; and the &amp;lt;tt&amp;gt;hdaps_protect&amp;lt;/tt&amp;gt; patches (kernel-patch format) are available via APT access:&lt;br /&gt;
&lt;br /&gt;
 deb http://www.oakcourt.dyndns.org/debian/ ./&lt;br /&gt;
 deb-src http://www.oakcourt.dyndns.org/debian/ ./&lt;br /&gt;
&lt;br /&gt;
{{Fedora}} installation instructions are [[Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet#Harddrive_Active_Protection_System_.28HDAPS.29|here]]&lt;br /&gt;
&lt;br /&gt;
=== Patching the kernel and enabling the drivers ===&lt;br /&gt;
&lt;br /&gt;
As root go to /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|patch -p1 &amp;lt; ~/hdaps_protect.20060326.patch}} &lt;br /&gt;
&lt;br /&gt;
make clean&lt;br /&gt;
&lt;br /&gt;
make&lt;br /&gt;
&lt;br /&gt;
make modules_install&lt;br /&gt;
&lt;br /&gt;
==== Problem with unload capabilities check ====&lt;br /&gt;
&lt;br /&gt;
After installation, you may get the following kernel message when the disk is protected (e.g., via {{cmdroot|echo 1 &amp;gt; /sys/block/sda/queue/protect}}):&lt;br /&gt;
&lt;br /&gt;
 ata_scsi_issue_protect_fn(): unload support NOT reported..&lt;br /&gt;
 scsi_protect_queue(): head park not requested, used standby!..&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 idedisk_issue_protect_fn(): unload support NOT reported..&lt;br /&gt;
 ide_protect_queue(): head park not requested, used standby!..&lt;br /&gt;
&lt;br /&gt;
{{WARN|Using HDAPS in the above state may cause frequent drive spin downs, thereby wearing out your hard disk.}}&lt;br /&gt;
&lt;br /&gt;
If you see this, and you are sure that your drive actually does support unloading (all original drives sold with HDAPS-equipped ThinkPads do), then add the following patch ''on top'' of the above patch:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
diff -u linux-2.6.15.hdaps/drivers/ide/ide-disk.c linux-2.6.15.hdaps/drivers/ide/ide-disk.c&lt;br /&gt;
--- linux-2.6.15.hdaps/drivers/ide/ide-disk.c	2006-01-18 07:11:54.000000000 +0000&lt;br /&gt;
+++ linux-2.6.15.hdaps/drivers/ide/ide-disk.c	2006-01-18 07:11:54.000000000 +0000&lt;br /&gt;
@@ -869,7 +869,7 @@&lt;br /&gt;
 	else&lt;br /&gt;
 		printk(KERN_DEBUG &amp;quot;idedisk_issue_protect_fn(): unload support NOT reported..\n&amp;quot;);&lt;br /&gt;
 &lt;br /&gt;
-	return ide_protect_queue(q, (drive-&amp;gt;id-&amp;gt;cfsse &amp;amp; (1 &amp;lt;&amp;lt; 13)) ? 1: 0);&lt;br /&gt;
+	return ide_protect_queue(q, 1);&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 int idedisk_issue_unprotect_fn(request_queue_t *q)&lt;br /&gt;
diff -u linux-2.6.15.hdaps/drivers/scsi/libata-scsi.c linux-2.6.15.hdaps/drivers/scsi/libata-scsi.c&lt;br /&gt;
--- linux-2.6.15.hdaps/drivers/scsi/libata-scsi.c	2006-01-18 07:15:31.000000000 +0000&lt;br /&gt;
+++ linux-2.6.15.hdaps/drivers/scsi/libata-scsi.c	2006-01-18 07:15:31.000000000 +0000&lt;br /&gt;
@@ -661,7 +661,7 @@&lt;br /&gt;
 		printk(KERN_DEBUG &amp;quot;ata_scsi_issue_protect_fn(): unload support NOT reported..\n&amp;quot;);&lt;br /&gt;
 &lt;br /&gt;
 	/* call scsi_protect_queue, requesting either unload or standby */&lt;br /&gt;
-	return scsi_protect_queue(q, ata_id_has_unload(dev-&amp;gt;id) ? 1 : 0);&lt;br /&gt;
+	return scsi_protect_queue(q, 1);&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 static int ata_scsi_issue_unprotect_fn(request_queue_t *q)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Drives on which the capabilities check patch is needed'''&lt;br /&gt;
* Hitachi HTS726060M9AT00 (7K60) on ThinkPad {{T43}}&lt;br /&gt;
&lt;br /&gt;
=== Installing hdapsd ===&lt;br /&gt;
&lt;br /&gt;
{{Fedora}} users can try the instructions [[Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet#Harddrive_Active_Protection_System_.28HDAPS.29|here]]&lt;br /&gt;
&lt;br /&gt;
Gentoo users can try this ebuild: http://bugs.gentoo.org/show_bug.cgi?id=119845&lt;br /&gt;
&lt;br /&gt;
For Gentoo: (works fine with IBM X41 25254CG)&lt;br /&gt;
&lt;br /&gt;
0.) Add hdapsd support in your kernel, as far as I can remember: device drivers -&amp;gt; hardware monitoring -&amp;gt; ... (you need it as modul if you want to use tp_smapi and hdaps, see tp_smapi topic)&lt;br /&gt;
&lt;br /&gt;
1.) Download the ebuild, use same ebuild date as the kernel-patch&lt;br /&gt;
&lt;br /&gt;
2.) Makes known the portage an extern ebuild path and add the following line to /etc/make.conf:&lt;br /&gt;
&lt;br /&gt;
PORTDIR_OVERLAY=&amp;quot;/usr/local/portage/&amp;quot; (or any other location)&lt;br /&gt;
&lt;br /&gt;
3.) Creates directory /usr/local/portage and /usr/local/portage/app-laptop/&lt;br /&gt;
&lt;br /&gt;
4.) Copy downloaded ebuild to /usr/local/portage/app-laptop (/usr/local/portage/app-laptop/hdapsd should now exists)&lt;br /&gt;
&lt;br /&gt;
5.) Makes portage known the new ebuild and creat digist with: &lt;br /&gt;
&lt;br /&gt;
ebuild /usr/local/portage/app-laptop/hdapsd/hdapsd-20060326.ebuild digest&lt;br /&gt;
&lt;br /&gt;
6.) Optional: Copy source file to portage distfiles (if no internet connection is available): &lt;br /&gt;
&lt;br /&gt;
cp hdapsd-20060326.c /usr/portage/distfiles&lt;br /&gt;
&lt;br /&gt;
7.) Accept the x86 keyword for this package: echo &amp;quot;app-laptop/hdapsd ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
&lt;br /&gt;
8.) Install hdapsd with: emerge hdapsd&lt;br /&gt;
&lt;br /&gt;
9.) Edit the /etc/conf.d/hdapsd file (change your harddrive if neccessary: my is sda, and change the value from 5, 5 is to sensitive, 12 is a good value in my opinion)&lt;br /&gt;
&lt;br /&gt;
10.) start deamon with: /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
11.) Optional: add to default runlevel: rc-update add hdapsd default, rc-update add hdapsd battery&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Write me an e-mail (abartel[Ã¤d]htwm.de), if you want to get my hdapsd-20060326.ebuild and please upload it (It's illagal from work)&lt;br /&gt;
&lt;br /&gt;
=== Building an applet ===&lt;br /&gt;
&lt;br /&gt;
0.) Make sure you have installed hdaps [and loaded] and ?opengl?&lt;br /&gt;
&lt;br /&gt;
1.) Download hdaps-gl-0.0.5 from the www&lt;br /&gt;
&lt;br /&gt;
2.) Extract files to /opt/hdaps-gl&lt;br /&gt;
&lt;br /&gt;
3.) {{cmdroot|make}}&lt;br /&gt;
&lt;br /&gt;
4.) Start applett {{cmdroot|./hdaps-gl}}&lt;br /&gt;
&lt;br /&gt;
====Building khdapsmon====&lt;br /&gt;
Where is Gentoo ebuild http://bugs.gentoo.org/show_bug.cgi?id=124175.&lt;br /&gt;
&lt;br /&gt;
====Building gnome-hdaps-applet====&lt;br /&gt;
{{Todo|tell people what to do}}&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
*Additonal information and support is available through the [[Mailinglists#HDAPS Developers Mailinglist|hdaps-devel]] mailinglist and its archive.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:R50]] [[Category:R50p]] [[Category:R51]] [[Category:R52]] [[Category:T41]] [[Category:T41p]] [[Category:T42]] [[Category:T42p]] [[Category:T43]] [[Category:T43p]] [[Category:T60]] [[Category:X40]] [[Category:X41]] [[Category:X41 Tablet]] [[Category:X60]] [[Category:X60s]] [[Category:Z60m]] [[Category:Z60t]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_protect_the_harddisk_through_APS&amp;diff=21405</id>
		<title>How to protect the harddisk through APS</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_protect_the_harddisk_through_APS&amp;diff=21405"/>
		<updated>2006-04-06T22:14:24Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Getting the files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
This page tells you how to make the [[Active Protection System]] work under Linux to protect your harddrive from damage in case of a notebook drop or other kind of impact while it is running.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== How APS works in Linux ==&lt;br /&gt;
APS in Linux consists of four components on the software side:&lt;br /&gt;
* The [[HDAPS]] driver (included in recent kernels). (As a modul if you want to use tp_smapi (Gentoo-Linux))&lt;br /&gt;
* The &amp;lt;tt&amp;gt;hdaps_protect&amp;lt;/tt&amp;gt; disk protection kernel patch (available [http://www.dresco.co.uk/hdaps/hdaps_protect.20060118.patch for kernel 2.6.15] and [http://www.dresco.co.uk/hdaps/hdaps_protect.20060326.patch for kernel 2.6.16]; see [[HDAPS#Disk_head_parking|here]] for other versions)&lt;br /&gt;
* The [http://www.dresco.co.uk/hdaps/hdapsd-20060326.c &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt;] disk protection userspace daemon&lt;br /&gt;
* Optional: the [http://www.oakcourt.dyndns.org/projects/khdapsmon/ &amp;lt;tt&amp;gt;khdapsmon&amp;lt;/tt&amp;gt; KDE System Tray applet] or the [http://www.dresco.co.uk/hdaps/gnome-hdaps-applet-20060120.tar.gz &amp;lt;tt&amp;gt;gnome-hdaps-applet&amp;lt;/tt&amp;gt;].&lt;br /&gt;
&lt;br /&gt;
The [[HDAPS|HDAPS driver]] exports a sysfs interface providing the acceleration values.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;hdaps_protect&amp;lt;/tt&amp;gt; kernel patch exports a sysfs interface that enables an ide or sata disk to be protected by a userspace process.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt; userspace daemon monitors the acceleration values through the HDAPS interface and automatically initiates disk protection through the hdaps_protect interface - given that the movement exceeds a user specified threshold.&lt;br /&gt;
&lt;br /&gt;
The optional KDE/GNOME applets provide a visual indication of the disk protection status and also a graphical interface for adjusting configuration options for &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
As mentioned above, the hdaps kernel driver found in recent kernels is only responsible for reading the accelerometer data and exporting it through the sysfs interface. &lt;br /&gt;
{{NOTE|1=If you use [[tp_smapi]], remember to include the option &amp;lt;tt&amp;gt;HDAPS=1&amp;lt;/tt&amp;gt; when [[Tp_smapi#Installation|installing tp_smapi]].}}&lt;br /&gt;
In order to use this information to protect the disk, some additional steps are required.&lt;br /&gt;
&lt;br /&gt;
* Download and build the latest hdaps_protect disk protection kernel patches.&lt;br /&gt;
* Enable the drivers in the kernel (requires kernel rebuild).&lt;br /&gt;
* Download, build and configure the hdapsd userspace daemon.&lt;br /&gt;
* Download and build one of the applets to get a real-time representation of the disk protection status.&lt;br /&gt;
&lt;br /&gt;
===Getting the files===&lt;br /&gt;
The latest versions of &amp;lt;tt&amp;gt;hdaps_protect&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt; and the &amp;lt;tt&amp;gt;gnome-hdaps-applet&amp;lt;/tt&amp;gt; are available at [http://www.dresco.co.uk/hdaps]..&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;khdapsmon&amp;lt;/tt&amp;gt; can befound [http://www.oakcourt.dyndns.org/projects/khdapsmon/ here].&lt;br /&gt;
&lt;br /&gt;
{{Debian}} source and sid binary packages for &amp;lt;tt&amp;gt;hdapsd&amp;lt;/tt&amp;gt; and the &amp;lt;tt&amp;gt;hdaps_protect&amp;lt;/tt&amp;gt; patches (kernel-patch format) are available via APT access:&lt;br /&gt;
&lt;br /&gt;
 deb http://www.oakcourt.dyndns.org/debian/ ./&lt;br /&gt;
 deb-src http://www.oakcourt.dyndns.org/debian/ ./&lt;br /&gt;
&lt;br /&gt;
{{Fedora}} installation instructions are [[Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet#Harddrive_Active_Protection_System_.28HDAPS.29|here]]&lt;br /&gt;
&lt;br /&gt;
=== Patching the kernel and enabling the drivers ===&lt;br /&gt;
&lt;br /&gt;
As root go to /usr/src/linux&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|patch -p1 &amp;lt; ~/hdaps_protect.20060326.patch}} &lt;br /&gt;
&lt;br /&gt;
make clean&lt;br /&gt;
&lt;br /&gt;
make&lt;br /&gt;
&lt;br /&gt;
make modules_install&lt;br /&gt;
&lt;br /&gt;
==== Problem with unload capabilities check ====&lt;br /&gt;
&lt;br /&gt;
After installation, you may get the following kernel message when the disk is protected (e.g., via {{cmdroot|echo 1 &amp;gt; /sys/block/sda/queue/protect}}):&lt;br /&gt;
&lt;br /&gt;
 ata_scsi_issue_protect_fn(): unload support NOT reported..&lt;br /&gt;
 scsi_protect_queue(): head park not requested, used standby!..&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 idedisk_issue_protect_fn(): unload support NOT reported..&lt;br /&gt;
 ide_protect_queue(): head park not requested, used standby!..&lt;br /&gt;
&lt;br /&gt;
{{WARN|Using HDAPS in the above state may cause frequent drive spin downs, thereby wearing out your hard disk.}}&lt;br /&gt;
&lt;br /&gt;
If you see this, and you are sure that your drive actually does support unloading (all original drives sold with HDAPS-equipped ThinkPads do), then add the following patch ''on top'' of the above patch:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
diff -u linux-2.6.15.hdaps/drivers/ide/ide-disk.c linux-2.6.15.hdaps/drivers/ide/ide-disk.c&lt;br /&gt;
--- linux-2.6.15.hdaps/drivers/ide/ide-disk.c	2006-01-18 07:11:54.000000000 +0000&lt;br /&gt;
+++ linux-2.6.15.hdaps/drivers/ide/ide-disk.c	2006-01-18 07:11:54.000000000 +0000&lt;br /&gt;
@@ -869,7 +869,7 @@&lt;br /&gt;
 	else&lt;br /&gt;
 		printk(KERN_DEBUG &amp;quot;idedisk_issue_protect_fn(): unload support NOT reported..\n&amp;quot;);&lt;br /&gt;
 &lt;br /&gt;
-	return ide_protect_queue(q, (drive-&amp;gt;id-&amp;gt;cfsse &amp;amp; (1 &amp;lt;&amp;lt; 13)) ? 1: 0);&lt;br /&gt;
+	return ide_protect_queue(q, 1);&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 int idedisk_issue_unprotect_fn(request_queue_t *q)&lt;br /&gt;
diff -u linux-2.6.15.hdaps/drivers/scsi/libata-scsi.c linux-2.6.15.hdaps/drivers/scsi/libata-scsi.c&lt;br /&gt;
--- linux-2.6.15.hdaps/drivers/scsi/libata-scsi.c	2006-01-18 07:15:31.000000000 +0000&lt;br /&gt;
+++ linux-2.6.15.hdaps/drivers/scsi/libata-scsi.c	2006-01-18 07:15:31.000000000 +0000&lt;br /&gt;
@@ -661,7 +661,7 @@&lt;br /&gt;
 		printk(KERN_DEBUG &amp;quot;ata_scsi_issue_protect_fn(): unload support NOT reported..\n&amp;quot;);&lt;br /&gt;
 &lt;br /&gt;
 	/* call scsi_protect_queue, requesting either unload or standby */&lt;br /&gt;
-	return scsi_protect_queue(q, ata_id_has_unload(dev-&amp;gt;id) ? 1 : 0);&lt;br /&gt;
+	return scsi_protect_queue(q, 1);&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 static int ata_scsi_issue_unprotect_fn(request_queue_t *q)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Drives on which the capabilities check patch is needed'''&lt;br /&gt;
* Hitachi HTS726060M9AT00 (7K60) on ThinkPad {{T43}}&lt;br /&gt;
&lt;br /&gt;
=== Installing hdapsd ===&lt;br /&gt;
Gentoo users can try this ebuild: http://bugs.gentoo.org/show_bug.cgi?id=119845&lt;br /&gt;
&lt;br /&gt;
For Gentoo: (works fine with IBM X41 25254CG)&lt;br /&gt;
&lt;br /&gt;
0.) Add hdapsd support in your kernel, as far as I can remember: device drivers -&amp;gt; hardware monitoring -&amp;gt; ... (you need it as modul if you want to use tp_smapi and hdaps, see tp_smapi topic)&lt;br /&gt;
&lt;br /&gt;
1.) Download the ebuild, use same ebuild date as the kernel-patch&lt;br /&gt;
&lt;br /&gt;
2.) Makes known the portage an extern ebuild path and add the following line to /etc/make.conf:&lt;br /&gt;
&lt;br /&gt;
PORTDIR_OVERLAY=&amp;quot;/usr/local/portage/&amp;quot; (or any other location)&lt;br /&gt;
&lt;br /&gt;
3.) Creates directory /usr/local/portage and /usr/local/portage/app-laptop/&lt;br /&gt;
&lt;br /&gt;
4.) Copy downloaded ebuild to /usr/local/portage/app-laptop (/usr/local/portage/app-laptop/hdapsd should now exists)&lt;br /&gt;
&lt;br /&gt;
5.) Makes portage known the new ebuild and creat digist with: &lt;br /&gt;
&lt;br /&gt;
ebuild /usr/local/portage/app-laptop/hdapsd/hdapsd-20060326.ebuild digest&lt;br /&gt;
&lt;br /&gt;
6.) Optional: Copy source file to portage distfiles (if no internet connection is available): &lt;br /&gt;
&lt;br /&gt;
cp hdapsd-20060326.c /usr/portage/distfiles&lt;br /&gt;
&lt;br /&gt;
7.) Accept the x86 keyword for this package: echo &amp;quot;app-laptop/hdapsd ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
&lt;br /&gt;
8.) Install hdapsd with: emerge hdapsd&lt;br /&gt;
&lt;br /&gt;
9.) Edit the /etc/conf.d/hdapsd file (change your harddrive if neccessary: my is sda, and change the value from 5, 5 is to sensitive, 12 is a good value in my opinion)&lt;br /&gt;
&lt;br /&gt;
10.) start deamon with: /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
11.) Optional: add to default runlevel: rc-update add hdapsd default, rc-update add hdapsd battery&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Write me an e-mail (abartel[Ã¤d]htwm.de), if you want to get my hdapsd-20060326.ebuild and please upload it (It's illagal from work)&lt;br /&gt;
&lt;br /&gt;
=== Building an applet ===&lt;br /&gt;
&lt;br /&gt;
0.) Make sure you have installed hdaps [and loaded] and ?opengl?&lt;br /&gt;
&lt;br /&gt;
1.) Download hdaps-gl-0.0.5 from the www&lt;br /&gt;
&lt;br /&gt;
2.) Extract files to /opt/hdaps-gl&lt;br /&gt;
&lt;br /&gt;
3.) {{cmdroot|make}}&lt;br /&gt;
&lt;br /&gt;
4.) Start applett {{cmdroot|./hdaps-gl}}&lt;br /&gt;
&lt;br /&gt;
====Building khdapsmon====&lt;br /&gt;
Where is Gentoo ebuild http://bugs.gentoo.org/show_bug.cgi?id=124175.&lt;br /&gt;
&lt;br /&gt;
====Building gnome-hdaps-applet====&lt;br /&gt;
{{Todo|tell people what to do}}&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
*Additonal information and support is available through the [[Mailinglists#HDAPS Developers Mailinglist|hdaps-devel]] mailinglist and its archive.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:R50]] [[Category:R50p]] [[Category:R51]] [[Category:R52]] [[Category:T41]] [[Category:T41p]] [[Category:T42]] [[Category:T42p]] [[Category:T43]] [[Category:T43p]] [[Category:T60]] [[Category:X40]] [[Category:X41]] [[Category:X41 Tablet]] [[Category:X60]] [[Category:X60s]] [[Category:Z60m]] [[Category:Z60t]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21404</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21404"/>
		<updated>2006-04-06T22:12:03Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Harddrive Active Protection System (HDAPS) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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-context&amp;quot;| Not Tested ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes || X.org i810 driver&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 || Separate X server (not on-the-fly)&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || wacom serial driver.&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]], occasional crash&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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]]&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-context&amp;quot;| Not Tested || See [[Integrated Fingerprint Reader]].&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and no different from the process mentioned in [[Installing Fedora Core 4 on a ThinkPad X41 Tablet]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 # Clockwise Rotation&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;rotateCW&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0CW&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;cursorCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;stylusCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
         Identifier  &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
         VendorName  &amp;quot;Videocard vendor&amp;quot;&lt;br /&gt;
         Option      &amp;quot;NoAccel&amp;quot;       &amp;quot;false&amp;quot;&lt;br /&gt;
         Option      &amp;quot;DRI&amp;quot;           &amp;quot;true&amp;quot;&lt;br /&gt;
         Option      &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
         BoardName   &amp;quot;Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller&amp;quot;&lt;br /&gt;
         Option      &amp;quot;XAANoOffscreenPixmaps&amp;quot;&lt;br /&gt;
         Option      &amp;quot;SWCursor&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;cursorCW&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;
       Option        &amp;quot;TopX&amp;quot;          &amp;quot;500&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomX&amp;quot;       &amp;quot;18000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;TopY&amp;quot;          &amp;quot;-6000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomY&amp;quot;       &amp;quot;18500&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;stylusCW&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;
       Option        &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
 EndSection &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;Screen0CW&amp;quot;&lt;br /&gt;
         Device     &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
         DefaultDepth     24&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     16&lt;br /&gt;
                 Modes    &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     24&lt;br /&gt;
                 Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
To activate the rotated layout, start X with {{cmduser|startx -- :1 -layout rotateCW}}. To enable a login screen in the rotated configuration, add a new server under {{path|System &amp;gt; Admininstration &amp;gt; Login Screen &amp;gt; Security &amp;gt; Configure X Server}}&lt;br /&gt;
&lt;br /&gt;
 VT: 1&lt;br /&gt;
 Server: Standard&lt;br /&gt;
 Options: -layout rotateCW&lt;br /&gt;
&lt;br /&gt;
Log out and restart the login manager: {{cmdroot|gdm-restart}}. The standard (unrotated) server will be on screen 0 ({{key|Alt}}{{key|F7}}) and the rotated server will be on screen 1 ({{key|Alt}}{{key|F8}})&lt;br /&gt;
&lt;br /&gt;
===== On-the-fly Rotation =====&lt;br /&gt;
&lt;br /&gt;
On-the-fly rotation does not work. The X.org 810 driver does not support it yet. Once support for it is added, on-the-fly rotation can be invoked by executing {{cmduser|xrandr -o 3}}.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
Using Gnome 2.14 and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322, On-the-fly rotation does work.&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from ATrpms.&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|rpm -Uvh http://dl.atrpms.net/all/3rd-party-package-config-104-3.rhfc5.at.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum install ipw2200}}&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;
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;
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/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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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&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 &lt;br /&gt;
the userspace daemon, do the following:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/hdapsd-20060326cvs-1.sg.i386.rpm}}&lt;br /&gt;
 {{cmdroot|rpm -Uvh hdapsd-20060326cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
{{NOTE|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;
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|rpm -Uvh gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|rpm -Uvh /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|rpm -Uvh /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21403</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21403"/>
		<updated>2006-04-06T22:04:42Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Harddrive Active Protection System (HDAPS) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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-context&amp;quot;| Not Tested ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes || X.org i810 driver&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 || Separate X server (not on-the-fly)&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || wacom serial driver.&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]], occasional crash&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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]]&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-context&amp;quot;| Not Tested || See [[Integrated Fingerprint Reader]].&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and no different from the process mentioned in [[Installing Fedora Core 4 on a ThinkPad X41 Tablet]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 # Clockwise Rotation&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;rotateCW&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0CW&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;cursorCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;stylusCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
         Identifier  &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
         VendorName  &amp;quot;Videocard vendor&amp;quot;&lt;br /&gt;
         Option      &amp;quot;NoAccel&amp;quot;       &amp;quot;false&amp;quot;&lt;br /&gt;
         Option      &amp;quot;DRI&amp;quot;           &amp;quot;true&amp;quot;&lt;br /&gt;
         Option      &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
         BoardName   &amp;quot;Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller&amp;quot;&lt;br /&gt;
         Option      &amp;quot;XAANoOffscreenPixmaps&amp;quot;&lt;br /&gt;
         Option      &amp;quot;SWCursor&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;cursorCW&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;
       Option        &amp;quot;TopX&amp;quot;          &amp;quot;500&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomX&amp;quot;       &amp;quot;18000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;TopY&amp;quot;          &amp;quot;-6000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomY&amp;quot;       &amp;quot;18500&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;stylusCW&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;
       Option        &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
 EndSection &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;Screen0CW&amp;quot;&lt;br /&gt;
         Device     &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
         DefaultDepth     24&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     16&lt;br /&gt;
                 Modes    &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     24&lt;br /&gt;
                 Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
To activate the rotated layout, start X with {{cmduser|startx -- :1 -layout rotateCW}}. To enable a login screen in the rotated configuration, add a new server under {{path|System &amp;gt; Admininstration &amp;gt; Login Screen &amp;gt; Security &amp;gt; Configure X Server}}&lt;br /&gt;
&lt;br /&gt;
 VT: 1&lt;br /&gt;
 Server: Standard&lt;br /&gt;
 Options: -layout rotateCW&lt;br /&gt;
&lt;br /&gt;
Log out and restart the login manager: {{cmdroot|gdm-restart}}. The standard (unrotated) server will be on screen 0 ({{key|Alt}}{{key|F7}}) and the rotated server will be on screen 1 ({{key|Alt}}{{key|F8}})&lt;br /&gt;
&lt;br /&gt;
===== On-the-fly Rotation =====&lt;br /&gt;
&lt;br /&gt;
On-the-fly rotation does not work. The X.org 810 driver does not support it yet. Once support for it is added, on-the-fly rotation can be invoked by executing {{cmduser|xrandr -o 3}}.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
Using Gnome 2.14 and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322, On-the-fly rotation does work.&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from ATrpms.&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|rpm -Uvh http://dl.atrpms.net/all/3rd-party-package-config-104-3.rhfc5.at.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum install ipw2200}}&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;
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;
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/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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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&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 &lt;br /&gt;
the userspace daemon, do the following:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/hdapsd-20060326cvs-1.sg.i386.rpm}}&lt;br /&gt;
 {{cmdroot|rpm -Uvh hdapsd-20060326cvs-1.sg.i386.rpm}}&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|rpm -Uvh gnome-applet-hdaps-20060120cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|rpm -Uvh /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|rpm -Uvh /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21402</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21402"/>
		<updated>2006-04-06T22:03:19Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Harddrive Active Protection System (HDAPS) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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-context&amp;quot;| Not Tested ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes || X.org i810 driver&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 || Separate X server (not on-the-fly)&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || wacom serial driver.&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]], occasional crash&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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]]&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-context&amp;quot;| Not Tested || See [[Integrated Fingerprint Reader]].&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and no different from the process mentioned in [[Installing Fedora Core 4 on a ThinkPad X41 Tablet]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 # Clockwise Rotation&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;rotateCW&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0CW&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;cursorCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;stylusCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
         Identifier  &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
         VendorName  &amp;quot;Videocard vendor&amp;quot;&lt;br /&gt;
         Option      &amp;quot;NoAccel&amp;quot;       &amp;quot;false&amp;quot;&lt;br /&gt;
         Option      &amp;quot;DRI&amp;quot;           &amp;quot;true&amp;quot;&lt;br /&gt;
         Option      &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
         BoardName   &amp;quot;Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller&amp;quot;&lt;br /&gt;
         Option      &amp;quot;XAANoOffscreenPixmaps&amp;quot;&lt;br /&gt;
         Option      &amp;quot;SWCursor&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;cursorCW&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;
       Option        &amp;quot;TopX&amp;quot;          &amp;quot;500&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomX&amp;quot;       &amp;quot;18000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;TopY&amp;quot;          &amp;quot;-6000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomY&amp;quot;       &amp;quot;18500&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;stylusCW&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;
       Option        &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
 EndSection &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;Screen0CW&amp;quot;&lt;br /&gt;
         Device     &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
         DefaultDepth     24&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     16&lt;br /&gt;
                 Modes    &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     24&lt;br /&gt;
                 Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
To activate the rotated layout, start X with {{cmduser|startx -- :1 -layout rotateCW}}. To enable a login screen in the rotated configuration, add a new server under {{path|System &amp;gt; Admininstration &amp;gt; Login Screen &amp;gt; Security &amp;gt; Configure X Server}}&lt;br /&gt;
&lt;br /&gt;
 VT: 1&lt;br /&gt;
 Server: Standard&lt;br /&gt;
 Options: -layout rotateCW&lt;br /&gt;
&lt;br /&gt;
Log out and restart the login manager: {{cmdroot|gdm-restart}}. The standard (unrotated) server will be on screen 0 ({{key|Alt}}{{key|F7}}) and the rotated server will be on screen 1 ({{key|Alt}}{{key|F8}})&lt;br /&gt;
&lt;br /&gt;
===== On-the-fly Rotation =====&lt;br /&gt;
&lt;br /&gt;
On-the-fly rotation does not work. The X.org 810 driver does not support it yet. Once support for it is added, on-the-fly rotation can be invoked by executing {{cmduser|xrandr -o 3}}.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
Using Gnome 2.14 and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322, On-the-fly rotation does work.&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from ATrpms.&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|rpm -Uvh http://dl.atrpms.net/all/3rd-party-package-config-104-3.rhfc5.at.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum install ipw2200}}&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;
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;
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/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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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&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 &lt;br /&gt;
the userspace daemon, do the following:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/hdapsd-20060326cvs-1.sg.i386.rpm}}&lt;br /&gt;
 {{cmdroot|rpm -Uvh hdapsd-20060326cvs-1.sg.i386.rpm}}&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|rpm -Uvh /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|rpm -Uvh /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21401</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21401"/>
		<updated>2006-04-06T21:55:20Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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-context&amp;quot;| Not Tested ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes || X.org i810 driver&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 || Separate X server (not on-the-fly)&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || wacom serial driver.&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]], occasional crash&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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]]&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-context&amp;quot;| Not Tested || See [[Integrated Fingerprint Reader]].&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and no different from the process mentioned in [[Installing Fedora Core 4 on a ThinkPad X41 Tablet]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 # Clockwise Rotation&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;rotateCW&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0CW&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;cursorCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;stylusCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
         Identifier  &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
         VendorName  &amp;quot;Videocard vendor&amp;quot;&lt;br /&gt;
         Option      &amp;quot;NoAccel&amp;quot;       &amp;quot;false&amp;quot;&lt;br /&gt;
         Option      &amp;quot;DRI&amp;quot;           &amp;quot;true&amp;quot;&lt;br /&gt;
         Option      &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
         BoardName   &amp;quot;Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller&amp;quot;&lt;br /&gt;
         Option      &amp;quot;XAANoOffscreenPixmaps&amp;quot;&lt;br /&gt;
         Option      &amp;quot;SWCursor&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;cursorCW&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;
       Option        &amp;quot;TopX&amp;quot;          &amp;quot;500&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomX&amp;quot;       &amp;quot;18000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;TopY&amp;quot;          &amp;quot;-6000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomY&amp;quot;       &amp;quot;18500&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;stylusCW&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;
       Option        &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
 EndSection &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;Screen0CW&amp;quot;&lt;br /&gt;
         Device     &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
         DefaultDepth     24&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     16&lt;br /&gt;
                 Modes    &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     24&lt;br /&gt;
                 Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
To activate the rotated layout, start X with {{cmduser|startx -- :1 -layout rotateCW}}. To enable a login screen in the rotated configuration, add a new server under {{path|System &amp;gt; Admininstration &amp;gt; Login Screen &amp;gt; Security &amp;gt; Configure X Server}}&lt;br /&gt;
&lt;br /&gt;
 VT: 1&lt;br /&gt;
 Server: Standard&lt;br /&gt;
 Options: -layout rotateCW&lt;br /&gt;
&lt;br /&gt;
Log out and restart the login manager: {{cmdroot|gdm-restart}}. The standard (unrotated) server will be on screen 0 ({{key|Alt}}{{key|F7}}) and the rotated server will be on screen 1 ({{key|Alt}}{{key|F8}})&lt;br /&gt;
&lt;br /&gt;
===== On-the-fly Rotation =====&lt;br /&gt;
&lt;br /&gt;
On-the-fly rotation does not work. The X.org 810 driver does not support it yet. Once support for it is added, on-the-fly rotation can be invoked by executing {{cmduser|xrandr -o 3}}.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
Using Gnome 2.14 and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322, On-the-fly rotation does work.&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from ATrpms.&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|rpm -Uvh http://dl.atrpms.net/all/3rd-party-package-config-104-3.rhfc5.at.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum install ipw2200}}&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;
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;
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/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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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&lt;br /&gt;
&lt;br /&gt;
=== Harddrive Active Protection System (HDAPS) ===&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|rpm -Uvh /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|rpm -Uvh /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21400</id>
		<title>Installing Fedora Core 5 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_5_on_a_ThinkPad_X41_Tablet&amp;diff=21400"/>
		<updated>2006-04-06T21:54:51Z</updated>

		<summary type="html">&lt;p&gt;Saikat: /* Success Chart */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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-context&amp;quot;| Not Tested ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes || X.org i810 driver&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 || Separate X server (not on-the-fly)&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || wacom serial driver.&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]], occasional crash&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ipw2200/madwifi drivers&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]]&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-context&amp;quot;| Not Tested || See [[Integrated Fingerprint Reader]].&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward and no different from the process mentioned in [[Installing Fedora Core 4 on a ThinkPad X41 Tablet]].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&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;
&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;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
 # Clockwise Rotation&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;rotateCW&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0CW&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;cursorCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;stylusCW&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
         Identifier  &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
         VendorName  &amp;quot;Videocard vendor&amp;quot;&lt;br /&gt;
         Option      &amp;quot;NoAccel&amp;quot;       &amp;quot;false&amp;quot;&lt;br /&gt;
         Option      &amp;quot;DRI&amp;quot;           &amp;quot;true&amp;quot;&lt;br /&gt;
         Option      &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
         BoardName   &amp;quot;Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller&amp;quot;&lt;br /&gt;
         Option      &amp;quot;XAANoOffscreenPixmaps&amp;quot;&lt;br /&gt;
         Option      &amp;quot;SWCursor&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;cursorCW&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;
       Option        &amp;quot;TopX&amp;quot;          &amp;quot;500&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomX&amp;quot;       &amp;quot;18000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;TopY&amp;quot;          &amp;quot;-6000&amp;quot;&lt;br /&gt;
       Option        &amp;quot;BottomY&amp;quot;       &amp;quot;18500&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;stylusCW&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;
       Option        &amp;quot;Rotate&amp;quot;        &amp;quot;CW&amp;quot;&lt;br /&gt;
 EndSection &lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;Screen0CW&amp;quot;&lt;br /&gt;
         Device     &amp;quot;Videocard0CW&amp;quot;&lt;br /&gt;
         Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
         DefaultDepth     24&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     16&lt;br /&gt;
                 Modes    &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Viewport   0 0&lt;br /&gt;
                 Depth     24&lt;br /&gt;
                 Modes    &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
To activate the rotated layout, start X with {{cmduser|startx -- :1 -layout rotateCW}}. To enable a login screen in the rotated configuration, add a new server under {{path|System &amp;gt; Admininstration &amp;gt; Login Screen &amp;gt; Security &amp;gt; Configure X Server}}&lt;br /&gt;
&lt;br /&gt;
 VT: 1&lt;br /&gt;
 Server: Standard&lt;br /&gt;
 Options: -layout rotateCW&lt;br /&gt;
&lt;br /&gt;
Log out and restart the login manager: {{cmdroot|gdm-restart}}. The standard (unrotated) server will be on screen 0 ({{key|Alt}}{{key|F7}}) and the rotated server will be on screen 1 ({{key|Alt}}{{key|F8}})&lt;br /&gt;
&lt;br /&gt;
===== On-the-fly Rotation =====&lt;br /&gt;
&lt;br /&gt;
On-the-fly rotation does not work. The X.org 810 driver does not support it yet. Once support for it is added, on-the-fly rotation can be invoked by executing {{cmduser|xrandr -o 3}}.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
Using Gnome 2.14 and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322, On-the-fly rotation does work.&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;tt&amp;gt;ipw2200&amp;lt;/tt&amp;gt; driver from ATrpms.&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms}}&lt;br /&gt;
 {{cmdroot|rpm -Uvh http://dl.atrpms.net/all/3rd-party-package-config-104-3.rhfc5.at.i386.rpm}}&lt;br /&gt;
 {{cmdroot|yum install ipw2200}}&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;
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;
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/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;
&lt;br /&gt;
Force the use of &amp;lt;tt&amp;gt;suspend2&amp;lt;/tt&amp;gt; by editing the appropriate line in {{path|/etc/sysconfig/pm}}:&lt;br /&gt;
&lt;br /&gt;
 HIBERNATE_METHOD=&amp;quot;'''suspend2'''&amp;quot;&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&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Network, Power Management, OSD ===&lt;br /&gt;
&lt;br /&gt;
Some useful software is not installed by default. These include:&lt;br /&gt;
* &amp;lt;tt&amp;gt;tpb&amp;lt;/tt&amp;gt; &amp;amp;mdash; On screen display for thinkpad buttons&lt;br /&gt;
* &amp;lt;tt&amp;gt;Network Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages wireless and wired networks automatically&lt;br /&gt;
* &amp;lt;tt&amp;gt;Gnome Power Manager&amp;lt;/tt&amp;gt; &amp;amp;mdash; Manages ACPI power events&lt;br /&gt;
&lt;br /&gt;
To install them execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb NetworkManager gnome-power-manager}}&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;tt&amp;gt;gnome-session-manager&amp;lt;/tt&amp;gt; is configured to automatically start the panel applets that control Network Manager and Gnome Power Manager.&lt;br /&gt;
Ensure the following entries are present under {{path|System &amp;gt; Preferences &amp;gt; More Preferences &amp;gt; Sessions &amp;gt; Startup Programs}}:&lt;br /&gt;
&lt;br /&gt;
  nm-applet --sm-disable&lt;br /&gt;
  gnome-power-manager --sm-disable&lt;br /&gt;
&lt;br /&gt;
=== Java 1.5 ===&lt;br /&gt;
&lt;br /&gt;
Install Sun's JRE 1.5. This is required for the &amp;lt;tt&amp;gt;jarnal&amp;lt;/tt&amp;gt; program below.&lt;br /&gt;
&lt;br /&gt;
Download the build: {{cmduser|wget http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm}}&lt;br /&gt;
* Create the build environment: {{cmdroot|rpm -Uvh java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm}}&lt;br /&gt;
* Download the JVM from [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=jdk-1.5.0_06-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg Sun's Java page] and download &amp;lt;tt&amp;gt;jdk-1_5_0_06-linux-i586.bin&amp;lt;/tt&amp;gt; to {{path|/usr/src/redhat/SOURCES}}&lt;br /&gt;
* Build the RPMs: {{cmdroot|rpmbuild -ba /usr/src/redhat/SPECS/java-1.5.0-sun.spec}}&lt;br /&gt;
* Install the JVM: {{cmdroot|rpm -Uvh /usr/src/redhat/RPMS/i586/java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
* Install the fonts: {{cmdroot|rpm -Uvh /usr/src/redhat/RPMS/i586/java-1.5.0-sun-fonts-1.5.0.06-1jpp.i586.rpm}}&lt;br /&gt;
&lt;br /&gt;
Note: This is tailored for the latest JVM as of writing this article. Substitute the latest version numbers if this doesn't work.&lt;br /&gt;
&lt;br /&gt;
=== Jarnal Note-Taking ===&lt;br /&gt;
&lt;br /&gt;
Install the [http://www.dklevine.com/general/software/tc1000/jarnal.htm Jarnal] note-taking application:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|wget http://www.cs.cornell.edu/~saikat/jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
 {{cmdroot|yum localinstall jarnal-8.14-1sg.noarch.rpm}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>Saikat</name></author>
		
	</entry>
</feed>