<?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=LuisVilla</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=LuisVilla"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/LuisVilla"/>
	<updated>2026-04-16T23:50:13Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_8_on_a_ThinkPad_X41_Tablet&amp;diff=36853</id>
		<title>Installing Fedora 8 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_8_on_a_ThinkPad_X41_Tablet&amp;diff=36853"/>
		<updated>2008-03-05T20:30:20Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: fix bug number and categories.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Page May Not Be Accurate! =&lt;br /&gt;
This page may not be completely accurate; it was originally copied from [[Installing Fedora 7 on a ThinkPad X41 Tablet]] and may still be 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 || Works correctly if desktop-effects disabled.&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 ||&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=3| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth ||class=&amp;quot;diff-context&amp;quot;| Not Tested (should work) || See [[Installing_Fedora_Core_4_on_a_ThinkPad_X41_Tablet#Bluetooth|Bluetooth on Fedora Core 4]]&lt;br /&gt;
|-&lt;br /&gt;
| Infrared ||class=&amp;quot;diff-addedline&amp;quot;| Yes || irda, /etc/modprobe.conf&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Extra Buttons || Keyboard Section ||class=&amp;quot;diff-addedline&amp;quot;| Yes || thinkpad-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;
= Just Works =&lt;br /&gt;
&lt;br /&gt;
The following things Just Work - with no tweaking required - after a default F8 installation:&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
You can use the generic install instructions [http://fedoraproject.org/wiki/Distribution/Download#Understand here].&lt;br /&gt;
&lt;br /&gt;
== X Server ==&lt;br /&gt;
Basic X server functionality works out of the box.&lt;br /&gt;
&lt;br /&gt;
== Wireless ==&lt;br /&gt;
Wireless drivers work out of the box.&lt;br /&gt;
&lt;br /&gt;
== volume control and on-screen display ==&lt;br /&gt;
&lt;br /&gt;
Hardware keys for volume up/volume down/mute work by default, including on-screen display of volume.&lt;br /&gt;
&lt;br /&gt;
== Sleep and Suspend ==&lt;br /&gt;
&lt;br /&gt;
Sleep and suspend work out of the box.&lt;br /&gt;
&lt;br /&gt;
= Can Be Made To Work =&lt;br /&gt;
&lt;br /&gt;
These things require some tweaking after a default install, but after tweaking should work. Information in this section has been tested and verified using Fedora 8.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Desktop Effects ===&lt;br /&gt;
&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 as of this writing these conflict with working rotation- you get either desktop effects or tablet rotation; not both. See [https://bugzilla.redhat.com/show_bug.cgi?id=365951 bug 365951] for details.&lt;br /&gt;
&lt;br /&gt;
=== Network Manager ===&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;
=== 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; it is now packaged in Fedora, so you can install it with 'yum install xournal' or by using the 'Add/Remove Software' tool.&lt;br /&gt;
&lt;br /&gt;
= Untested on Fedora 8 =&lt;br /&gt;
Information below this line is merely copied from the Fedora 5 and 7 guides and has not been tested on Fedora 8.&lt;br /&gt;
&lt;br /&gt;
=== Infrared ===&lt;br /&gt;
&lt;br /&gt;
The infrared subsystem supports NSC Fast IR (FIR), which transmits at speeds of up to 4 Mbps.&lt;br /&gt;
&lt;br /&gt;
First things first: Go to your BIOS and enable the infrared and manually set up IO to be '''0x2f8''' and IRQ to be '''3'''. Typically, the default manual config is this so you probably don't need to edit it. Then go ahead an grab any irda-related packages from YUM.&lt;br /&gt;
&lt;br /&gt;
Then I copied the section on Infrared for the T60:&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/modprobe.conf}}, add the following two lines:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
alias irda0 nsc-ircc&lt;br /&gt;
options nsc-ircc dongle_id=0x09&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/sysconfig/irda}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IRDA=yes&lt;br /&gt;
DEVICE=irda0&lt;br /&gt;
DISCOVERY=yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Start IRDA&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|service irda start}}&lt;br /&gt;
&lt;br /&gt;
If You want IRDA to be enabled during system boot, turn it on like this:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|chkconfig irda on}}&lt;br /&gt;
&lt;br /&gt;
That should set you up. You can then set up things like remote controls that operate through the LIRC daemon, which Fedora has a package and a kernel module for. This can useful for xmms, which has a plugin to allow you to change songs with the remote and other nifty features. You can define the controls as well. The choice is yours.&lt;br /&gt;
&lt;br /&gt;
For more information, see [http://lirc.sourceforge.net Linux Infrared Remote Control Project]&lt;br /&gt;
&lt;br /&gt;
=== 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;
Note that if someone with a bit of time on their hands followed the steps [http://hughsient.livejournal.com/29730.html in this blog post], this would eventually be fixed to 'Just Work' for all users of all distros.&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;
&lt;br /&gt;
&lt;br /&gt;
=== Enabling Screen Rotation ===&lt;br /&gt;
&lt;br /&gt;
To follow progress on making this work by default, see [https://bugzilla.redhat.com/show_bug.cgi?id=366211 bug 366211]&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;
{{HINT|'''Update:''' This script uses xrandr 1.1 command line options, which only partly work with the latest Fedora 7 updates (which include xrandr 1.2). To fix the problem, edit the script, replacing 'xrandr -o' with 'xrandr --output LVDS --rotate'. I have not tested the fix on a clean install of F7, though. --LuisVilla}}&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;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Xorg_RandR_1.2&amp;diff=36852</id>
		<title>Xorg RandR 1.2</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Xorg_RandR_1.2&amp;diff=36852"/>
		<updated>2008-03-05T20:30:05Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: Note that this works in F8 too.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
'''X RandR '''is used to configure which display ports are enabled (e.g. LCD, VGA and DVI), and to configure display modes and properties such as orientation, reflection and DPI.&lt;br /&gt;
&lt;br /&gt;
This is the simplest and most powerful way to get multi-monitor systems working using recent versions of Linux such as {{Ubuntu 7.10}} and {{Fedora 8}} with graphics chipsets such as the Intel 945GM/GMS and ATI Radeon found in Thinkpads.&lt;br /&gt;
&lt;br /&gt;
'''xrandr''' is the command line interface to the RandR X extension. As usual with X, good documentation is hard to find; first try the following commands:&lt;br /&gt;
&lt;br /&gt;
* {{cmduser|xrandr --help}}&lt;br /&gt;
* {{cmduser|man xrandr}}&lt;br /&gt;
&lt;br /&gt;
* for Intel graphics: {{cmduser|man intel}}&lt;br /&gt;
* for ATI graphics: {{cmduser|man radeon}}&lt;br /&gt;
&lt;br /&gt;
The rest of this page refers to a laptop with a built in 1024x768 pixel screen and an external 1600x1200 VGA monitor. Simply replace the relevant numbers with your own system specifications and all should work fine.&lt;br /&gt;
&lt;br /&gt;
== Supported drivers ==&lt;br /&gt;
 {{Ubuntu 7.10}} '''Gutsy Gibbon'''&lt;br /&gt;
* X.org [[intel]] driver, version ??? (included in Xorg ???) and later. Ubuntu version: [https://launchpad.net/ubuntu/+source/xserver-xorg-video-intel/2:2.1.1-0ubuntu2  2:2.1.1-0ubuntu2] with [https://launchpad.net/ubuntu/gutsy/i386/xrandr/1:1.2.2-0ubuntu1 xrandr 1:1.2.2-0ubuntu1]&lt;br /&gt;
&lt;br /&gt;
* X.org [[radeon]] driver, 6.7.192 and later (in ubuntu [http://packages.ubuntu.com/gutsy/x11/xserver-xorg-video-ati gutsy] and [http://packages.ubuntu.com/hardy/x11/xserver-xorg-video-ati hardy], but they still have [http://bugs.launchpad.net/bugs/148408 very serious issues] for some Thinkpads).&lt;br /&gt;
&lt;br /&gt;
== xorg.conf ==&lt;br /&gt;
Recent versions of xorg.conf intended for use with xrandr 1.2 considerably simplify the video section of the configuration. If you upgrading from an earlier version you may find your existing xorg.conf works against the effective deployment of xrandr. So it is best to start with a new Xorg configuration.&lt;br /&gt;
&lt;br /&gt;
'''an updated Xorg.conf should:'''&lt;br /&gt;
* omit dual Device/Screen/Monitor sections&lt;br /&gt;
* omit MonitorLayout option and Screen lines from the remaining Device section&lt;br /&gt;
* omit dual Screen lines from the ServerLayout section&lt;br /&gt;
* omit RightOf/LeftOf indication to the remaining Screen line in ServerLayout section&lt;br /&gt;
* add a &amp;quot;Virtual 2048 2048&amp;quot; line in SubSection &amp;quot;Display&amp;quot; to create a large virtual screen &lt;br /&gt;
&lt;br /&gt;
To create a new xorg.conf or Ubuntu and other Debian based distributions connect the external display to the VGA port, turn on that display, and run&lt;br /&gt;
    {{cmduser|sudo dpkg-reconfigure -phigh xserver-xorg}}&lt;br /&gt;
 &lt;br /&gt;
The resulting {{path|/etc/X11/xorg.conf}} should include something like&lt;br /&gt;
&lt;br /&gt;
    Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier	&amp;quot;Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller&amp;quot;&lt;br /&gt;
        Driver		&amp;quot;intel&amp;quot;&lt;br /&gt;
        BusID		&amp;quot;PCI:0:2:0&amp;quot;&lt;br /&gt;
        '''# ADD THIS IF YOUR LAPTOP DOES NOT HAVE A TV CONNECTOR or DOCKING STATION '''&lt;br /&gt;
        '''Option          &amp;quot;monitor-TV&amp;quot;   &amp;quot;TV&amp;quot; '''&lt;br /&gt;
    EndSection&lt;br /&gt;
    Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier	&amp;quot;Generic Monitor&amp;quot;&lt;br /&gt;
        Option		&amp;quot;DPMS&amp;quot;&lt;br /&gt;
    EndSection&lt;br /&gt;
   ''' # ADD THIS IF YOUR LAPTOP DOES NOT HAVE A TV CONNECTOR or DOCKING STATION '''&lt;br /&gt;
   '''Section &amp;quot;Monitor&amp;quot; '''&lt;br /&gt;
        '''Identifier      &amp;quot;TV&amp;quot; '''&lt;br /&gt;
        '''Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot; '''&lt;br /&gt;
   EndSection '''&lt;br /&gt;
    Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier	&amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        Device		&amp;quot;Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller&amp;quot;&lt;br /&gt;
        Monitor		&amp;quot;Generic Monitor&amp;quot;&lt;br /&gt;
        DefaultDepth	24&lt;br /&gt;
    ...&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
            Depth		24&lt;br /&gt;
            Modes		&amp;quot;1600x1200&amp;quot; &amp;quot;1280x1024&amp;quot; &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
            '''# ADD A VIRTUAL LINE TO PROVIDE FOR THE LARGEST SCREENS YOU WILL HOTPLUG '''&lt;br /&gt;
            '''Virtual              2048 2048 '''&lt;br /&gt;
        EndSubSection&lt;br /&gt;
    EndSection&lt;br /&gt;
    Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
        Identifier	&amp;quot;Default Layout&amp;quot;&lt;br /&gt;
        Screen		&amp;quot;Default Screen&amp;quot;&lt;br /&gt;
        InputDevice	&amp;quot;Generic Keyboard&amp;quot;&lt;br /&gt;
        InputDevice	&amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
        InputDevice     &amp;quot;stylus&amp;quot;	&amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
        InputDevice     &amp;quot;cursor&amp;quot;	&amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
        InputDevice     &amp;quot;eraser&amp;quot;	&amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
        InputDevice	&amp;quot;Synaptics Touchpad&amp;quot;&lt;br /&gt;
    EndSection&lt;br /&gt;
&lt;br /&gt;
after creating a clean Xorg.conf restart X and logon&lt;br /&gt;
&lt;br /&gt;
You may find you have a display only on the external VGA screen at its default max resolution, do not worry xrandr can fix this.&lt;br /&gt;
&lt;br /&gt;
== Using  {{cmduser|xrandr}} ==&lt;br /&gt;
&lt;br /&gt;
===First discover what we have ===&lt;br /&gt;
Open a terminal window to use the command line: 'Applications:Accessories:Terminal'&lt;br /&gt;
&lt;br /&gt;
{{HINT|First look at the 'help' and 'man' pages. }}&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|xrandr --help}}&lt;br /&gt;
 {{cmduser|man xrandr}}&lt;br /&gt;
&lt;br /&gt;
To find what version of xrandr is running, type the following command:&lt;br /&gt;
 {{cmduser| xrandr -v}}&lt;br /&gt;
    Server reports RandR version 1.2&lt;br /&gt;
&lt;br /&gt;
To query what screens are connected, type the following: (The output shown indicates nothing is connected to the VGA port.)&lt;br /&gt;
 {{cmduser| xrandr -q }}&lt;br /&gt;
 Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1920 x 1440&lt;br /&gt;
 VGA disconnected (normal left inverted right)&lt;br /&gt;
  LVDS connected 1024x768+0+0 (normal left inverted right) 304mm x 228mm&lt;br /&gt;
    1024x768       60.0*+   50.0  &lt;br /&gt;
    800x600        60.3  &lt;br /&gt;
    640x480        60.0     59.9  &lt;br /&gt;
 TV disconnected (normal left inverted right)&lt;br /&gt;
&lt;br /&gt;
If you see the 'TV disconnected' line but have neither TV connector nor docking station (eg Thinkpad R60e) then add to the Monitor and Device sections of xorg.conf as noted above. This will prevent the external (VGA) flashing off for a few seconds every time xrandr is used. (Newer versions of the intel driver may fix this.) &lt;br /&gt;
 &lt;br /&gt;
The same command as above, but with the VGA monitor plugged in and powered off, should give something like the following output: (The VGA monitor is now shown as 'connected'.)&lt;br /&gt;
 {{cmduser| xrandr -q }}&lt;br /&gt;
 Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1920 x 1440&lt;br /&gt;
 VGA connected (normal left inverted right)&lt;br /&gt;
    1920x1440@60   60.0  &lt;br /&gt;
    1920x1440      60.0  &lt;br /&gt;
    1600x1200@60   60.0  &lt;br /&gt;
    1600x1200      60.0  &lt;br /&gt;
    1280x960       60.0  &lt;br /&gt;
    640x480@60     60.0  &lt;br /&gt;
 LVDS connected 1024x768+0+0 (normal left inverted right) 304mm x 228mm&lt;br /&gt;
    1024x768       60.0*+   50.0  &lt;br /&gt;
    800x600        60.3  &lt;br /&gt;
    640x480        60.0     59.9  &lt;br /&gt;
 TV disconnected (normal left inverted right)&lt;br /&gt;
&lt;br /&gt;
Powering on the VGA monitor and issuing the same command again will give the following output: (The size and position of the VGA output within the virtual screen is now shown.)&lt;br /&gt;
 {{cmduser| xrandr -q }}&lt;br /&gt;
 Screen 0: minimum 320 x 200, current 2624 x 1200, maximum 2624 x 2048&lt;br /&gt;
 VGA connected 1600x1200+1024+0 (normal left inverted right) 367mm x 275mm&lt;br /&gt;
    1600x1200      60.0*+&lt;br /&gt;
    1920x1440@60   60.0  &lt;br /&gt;
    1600x1200@60   60.0  &lt;br /&gt;
    640x480@60     60.0  &lt;br /&gt;
    640x480        60.0  &lt;br /&gt;
 LVDS connected 1024x768+0+0 (normal left inverted right) 304mm x 228mm&lt;br /&gt;
    1024x768       60.0*+   50.0  &lt;br /&gt;
    800x600        60.3  &lt;br /&gt;
    640x480        60.0     59.9  &lt;br /&gt;
 TV disconnected (normal left inverted right)&lt;br /&gt;
&lt;br /&gt;
For bug reporting and diagnosis use xrandr with the verbose option:&lt;br /&gt;
 {{cmduser| xrandr --verbose}}&lt;br /&gt;
&lt;br /&gt;
===Using xrandr to do useful things===&lt;br /&gt;
In general the commands will specify the output name and either --off or --auto. In the examples here the external screen is named ''VGA'', as used by the Intel driver, with an ATI card the name will probably be ''VGA-0''. In general use {{cmduser| xrandr -q}} to discover the appropriate output names for your configuration. The --auto option will select the preferred resolution for each output, this is starred(*) in the {{cmduser| xrandr -q}} listing and is normally the best resolution available. It is also possible to set a particular mode eg --mode 1024x768.&lt;br /&gt;
&lt;br /&gt;
First clone the two screens, (the smaller screen will display the top left portion of the virtual screen)&lt;br /&gt;
 {{cmduser| xrandr --output LVDS --auto --output VGA --auto --same-as LVDS}}&lt;br /&gt;
&lt;br /&gt;
To turn off the VGA monitor. &lt;br /&gt;
 {{cmduser| xrandr  --output VGA --off }}&lt;br /&gt;
&lt;br /&gt;
To turn the VGA monitor back on, with its viewport to the right of the laptop monitor:&lt;br /&gt;
 {{cmduser| xrandr --output VGA --auto --right-of LVDS}}&lt;br /&gt;
This will probably give an error message similar to:&lt;br /&gt;
    xrandr: screen cannot be larger than 1600x1600 (desired size 2624x1200)&lt;br /&gt;
&lt;br /&gt;
This can be fixed by editing xorg.conf and changing the ''virtual'' line (see example above) to something like:&lt;br /&gt;
    Virtual 2624 1200&lt;br /&gt;
Note that the maximum supported size of the virtual desktop for the Intel 945GM series of chipset with 3D acceleration enabled, is 2048x2048. The virtual screen can be larger but DRI will be disabled. This may matter if you like games and compiz desktop effects, or if you want Google Earth to display in better than geological time. Obviously the larger the virtual desktop, the more graphics memory is used. So for good performance with a shared graphics system such as Intel the Virtual should be no larger than necessary. &lt;br /&gt;
&lt;br /&gt;
It is possible to set screen locations as ''--left-of'', ''--right-of'', ''--above'' and ''--below''. Assuming displays sizes of 1024x768 and 1200x1600:&lt;br /&gt;
 {{cmduser| xrandr --output LVDS --auto --output VGA --auto --right-of LVDS}}&lt;br /&gt;
 and&lt;br /&gt;
 {{cmduser| xrandr --output LVDS --mode 1024x768 --pos 0x0 --output VGA  --mode 1600x1200 --pos 1024x0}}&lt;br /&gt;
are equivalent. Both will place the external monitor to the right of the laptop display within the virtual screen.&lt;br /&gt;
&lt;br /&gt;
If the Virtual size is only 2048 wide the above command will fail as the combined width of the two displays exceeds the maximum virtual size. However it is possible to have overlap the display viewports. So to fit within the 2048 limit:&lt;br /&gt;
 {{cmduser| xrandr --output VGA --mode 1024x768 --pos 0x0 --output VGA  --mode 1600x1200 --pos 448x0}}&lt;br /&gt;
&lt;br /&gt;
===[[Sample Fn-F7 script]]===&lt;br /&gt;
For further examples of the use of xrandr commands and a script to switch the display using the Fuction key Fn7 see [[Sample Fn-F7 script]].&lt;br /&gt;
&lt;br /&gt;
== Summing up ==&lt;br /&gt;
&lt;br /&gt;
'''xrandr''' enables dynamic resizing of screens, switching both external and laptop screens on and off, and the applications windows can be dragged from one screen to the other. None of this requires configuring anything special for {{path|/etc/X11/xorg.conf}}.&lt;br /&gt;
&lt;br /&gt;
===the Virtual screen=== &lt;br /&gt;
A Virtual line is needed in the 'Display' SubSection of the of xorg.conf; it determines the size of the frame buffer into which the displays must fit. Without it the maximum virtual size will be limited to the size of the largest display that was connected when X was started. The maximum virtual size cannot be changed once X starts so needs to be large enough to accommodate the largest combination of displays you want to hotplug without having to restart X. If it is greater than 2048x2048 and you are using an Intel 945 (or less) chip then DRI is not possible. Making the Virtual size square makes rotation easy. A bigger Virtual requires more memory. &lt;br /&gt;
&lt;br /&gt;
[[Image:Intel-DualHead.png|monitor windows must fit within the virtual screen]] &lt;br /&gt;
&lt;br /&gt;
=== Output port names ===&lt;br /&gt;
&lt;br /&gt;
'''Intel driver'''&lt;br /&gt;
* '''VGA'''  -  Analog VGA output&lt;br /&gt;
* '''LVDS''' -  Laptop panel&lt;br /&gt;
* '''TV'''   -  Integrated TV output&lt;br /&gt;
* '''TMDS-1''' - First DVI SDVO output&lt;br /&gt;
* '''TMDS-2''' - Second DVI SDVO output&lt;br /&gt;
The '''SDVO''' and '''DVO TV''' outputs are not supported by the driver at this time.&lt;br /&gt;
&lt;br /&gt;
'''[[radeon]] driver '''&lt;br /&gt;
* '''VGA-0'''  - Analog VGA output&lt;br /&gt;
* '''LVDS'''   - Laptop panel&lt;br /&gt;
* '''S-video'''     - Integrated TV output&lt;br /&gt;
* '''DVI-0'''  - DVI output&lt;br /&gt;
&lt;br /&gt;
===Note for Gnome users===&lt;br /&gt;
Gnome places the menu bar on screen 0 and thus with the Intel chip and driver Screen 0 (the external VGA monitor) will always be the default display if it is connected. This applies even if the external monitor is switched off but the cable connected: if you have a blank laptop monitor check if you have anything plugged in to the VGA port. Also beware that desktop icons and windows can disappear into the invisible parts of the virtual display. (see diagram below)&lt;br /&gt;
&lt;br /&gt;
===Note for Ubuntu Gutsy users===&lt;br /&gt;
There is a  Graphical Configuration Tool, ([https://launchpad.net/ubuntu/+source/displayconfig-gtk/0.2+20070731ubuntu1 displayconfig-gtk]) included with {{Ubuntu 7.10}}. At present [https://bugs.launchpad.net/ubuntu/+source/displayconfig-gtk it dosn't work too well].It is found in the menu: 'System: Administration: Screens and Graphics'. As using it will wreck your xorg.conf  I recommend removing it.&lt;br /&gt;
&lt;br /&gt;
== Gleanings ==&lt;br /&gt;
=== Notes from xserver-xorg-video-intel.readme === &lt;br /&gt;
'''Known Limitations'''&lt;br /&gt;
- No support for &amp;quot;zaphod mode&amp;quot; dualhead.  This is the mode in which two&lt;br /&gt;
Device sections are placed in the config file, and doesn't support DRI or&lt;br /&gt;
many other features.  Instead, only &amp;quot;MergedFB-style&amp;quot; dualhead is supported.&lt;br /&gt;
- No support for X Screens larger than 2048 pixels in either direction&lt;br /&gt;
before the 965.  This reflects hardware limitations in the x direction on&lt;br /&gt;
those older chips, and limits dualhead functionality.  It may be possible to&lt;br /&gt;
extend the limit vertically on these older chips.&lt;br /&gt;
- i855 XV may cause hangs.  This was present in the previous release, and no&lt;br /&gt;
workaround is known.&lt;br /&gt;
- SDVO TV-out cards not supported.  This should be fixed in the next&lt;br /&gt;
release.&lt;br /&gt;
- Gray output with integrated TV-out and PAL TVs.&lt;br /&gt;
- EXA support unstable on i845.&lt;br /&gt;
- Some GM965 systems, such as the Thinkpad T61, probe the TV as being connected&lt;br /&gt;
even when no output connector is available. &lt;br /&gt;
&lt;br /&gt;
'''Common issues not caused by the driver'''&lt;br /&gt;
- Font sizes (DPI) are wrong.  Some displays incorrectly report their&lt;br /&gt;
physical size, which is harmless on most OSes that always assume 96dpi&lt;br /&gt;
displays.  This can be fixed through quirks for specific monitors in the X&lt;br /&gt;
Server, and the output of xrandr --prop along with a physical measurement of&lt;br /&gt;
the screen size in a bug report against the server can help get that fixed.&lt;br /&gt;
- gnome-panel is located in the middle of the screen.  gnome-panel places&lt;br /&gt;
itself within head #0's boundaries, which doesn't work well with a second&lt;br /&gt;
head covering the same area as head #0 but larger.&lt;br /&gt;
- Older resolution-changing applications have poor results in&lt;br /&gt;
multihead systems.  Previous extensions such as RandR 1.1 exposed only a&lt;br /&gt;
single output to client programs, and those requests map poorly to multi-head&lt;br /&gt;
systems.  Currently, those requests map to just one of the outputs in the&lt;br /&gt;
RandR 1.2 environment, and those applications need to be updated to RandR 1.2&lt;br /&gt;
API when available for better results.&lt;br /&gt;
&lt;br /&gt;
=== Xorg mailing list ===&lt;br /&gt;
[http://lists.freedesktop.org/archives/xorg/2007-June/025469.html FreeDesktop.org 2007-June 025469]&lt;br /&gt;
[http://lists.freedesktop.org/archives/xorg/2007-June/025484.html FreeDesktop.org 2007-June 025484]&lt;br /&gt;
[http://lists.freedesktop.org/archives/xorg/2007-July/026340.html FreeDesktop.org 2007-July 026340]&lt;br /&gt;
&lt;br /&gt;
the 3D engine has an 11 bit coordinate space at one point making it&lt;br /&gt;
impossible to draw to areas beyond 2048x2048. At another point, it has a&lt;br /&gt;
stride limit of 8192 bytes, so you can't even draw to a subset of a&lt;br /&gt;
larger frame buffer.&lt;br /&gt;
&lt;br /&gt;
One more bit in both of these registers would have solved the problem&lt;br /&gt;
for pretty much any supportable monitor configuration (the chip can only&lt;br /&gt;
support two single-channel DVI outputs at the most; 1920 is the widest&lt;br /&gt;
size supported at single-channel speeds).&lt;br /&gt;
&lt;br /&gt;
For multiple monitors, the driver could allocate multiple frame buffers&lt;br /&gt;
and step through them one at a time with appropriate clipping. It would&lt;br /&gt;
be icky, but could be made to work.&lt;br /&gt;
&lt;br /&gt;
Of course, the latest hardware (965G/965GM) has plenty of coordinate&lt;br /&gt;
space, which does tend to reduce the odds that someone will get excited&lt;br /&gt;
enough to go fix the driver for older chips.&lt;br /&gt;
&lt;br /&gt;
The Gnome menu bar lands on Xinerama Screen 0 at this&lt;br /&gt;
point, which isn't currently something that you can set through RandR. On Intel the allocation to Screen 0 is determined by CRTC order and LVDS only runs on screen 1.&lt;br /&gt;
&lt;br /&gt;
[http://lists.freedesktop.org/archives/xorg/2007-June/026053.html FreeDesktop.org 2007-June 026053]&lt;br /&gt;
&lt;br /&gt;
[http://lists.freedesktop.org/archives/xorg/2007-August/027616.html Blanking of external screen when using xrandr]&lt;br /&gt;
&lt;br /&gt;
 it's checking to see if you have anything connected to the TV output.&lt;br /&gt;
 To do that, it needs to temporarily unplug the VGA.&lt;br /&gt;
  You can avoid this by ignoring the TV output&lt;br /&gt;
    Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier      &amp;quot;TV&amp;quot;&lt;br /&gt;
        Option          &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
    EndSection&lt;br /&gt;
    Section &amp;quot;Device&amp;quot;&lt;br /&gt;
       Option      &amp;quot;monitor-TV&amp;quot; &amp;quot;TV&amp;quot;&lt;br /&gt;
    EndSection&lt;br /&gt;
 If your machine cannot ever have a TV adapter (even with a docking station),&lt;br /&gt;
 we can add a quirk to the driver to never look at the TV output.  That requires &lt;br /&gt;
 the pci subsystem values (from lspci -n -v) to plug into the quirk table.&lt;br /&gt;
&lt;br /&gt;
[http://lists.freedesktop.org/archives/xorg/2007-August/027632.html default for 'Virtual']&lt;br /&gt;
 &amp;gt; Version 2.1.1-0ubuntu2 seems to set the default Virtual size (maximum &lt;br /&gt;
 &amp;gt; screen size) to 1920 x 1920, if there is no entry in xorg.conf. I take &lt;br /&gt;
 &amp;gt; it the maximum screen size for the i915 chipset family is 2048 x 2048, &lt;br /&gt;
 &amp;gt; so why not have it at that? This would make dualscreen setups a bit easier.&lt;br /&gt;
   The default settings is found by taking the largest resolution in either &lt;br /&gt;
 x or y dimension and making a square from that. This allows for easy &lt;br /&gt;
 rotation should you want to do so.&lt;br /&gt;
   I believe you should be able to do dual screen up to 8192x8192, though &lt;br /&gt;
 only through two monitors (Only two pipes are available for output), but &lt;br /&gt;
 that 3D acceleration is only supported up to 2048x2048. Thus as soon as &lt;br /&gt;
 you set your virtual size above 2048x2048, you lose 3D acceleration.&lt;br /&gt;
   The current driver cannot reallocate the frame buffer, so whatever size&lt;br /&gt;
 you start with is the maximum the screen can ever become, and that this&lt;br /&gt;
 amount of physical memory is tied down for the whole X server run.&lt;br /&gt;
&lt;br /&gt;
[http://lists.freedesktop.org/archives/xorg/2007-August/027670.html Primary output for Laptop + external screen]&lt;br /&gt;
 &amp;gt;the desired behavior of the video &lt;br /&gt;
 &amp;gt; drivers in typical laptop situations with an internal display and an &lt;br /&gt;
 &amp;gt; external screen attached (extending the desktop).&lt;br /&gt;
 &amp;gt; &lt;br /&gt;
 &amp;gt; Currently for example the intel driver uses the external screen as the &lt;br /&gt;
 &amp;gt; primary output. It is listed first with xrandr. I'm not sure if this is &lt;br /&gt;
 &amp;gt; intentional or just coincidence.&lt;br /&gt;
     It's coincidence -- the laptop hardware has two crtcs, and the LVDS can&lt;br /&gt;
 only be driven by the second.&lt;br /&gt;
     Note that RandR doesn't really want the order to be significant; it&lt;br /&gt;
 would be better if the desktop environment knew about outputs and could&lt;br /&gt;
 refer to a specific output as 'primary' or 'holds toolbar' or whatever.&lt;br /&gt;
&lt;br /&gt;
[mailto:gekkoman@illimitable.com &amp;amp;nbsp;] Uncovered a workaround for black and white TV-out &amp;quot;known limitation&amp;quot; listed above on a intel 945GM chipset running i810-2.1.1 driver and xrandr-1.2.2. Get TV running in black and white. Then run command.&lt;br /&gt;
&lt;br /&gt;
xrandr --output TV --set TV_FORMAT PAL; xrandr --output TV --mode 1024x768&lt;br /&gt;
&lt;br /&gt;
substitute TV_FORMAT and mode as required.  Note that the command &amp;quot;xrandr --output TV --set TV_FORMAT PAL&amp;quot; gives an error but appears to work as the subsequent mode change converts screen to colour.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Notes for X31,T30 / Radeon 7000,Radeon 7500 users ===&lt;br /&gt;
My {{X31}} has an [[ATI Mobility Radeon 7000]] with only 16MB RAM. This is not enough for big screens and DRI. Neither with [[radeon]]-default virtual size of 2048x1200, nor with my customized virtual of 2304x1024 (for one 1024x768 and one 1280x1024 screen). But this only applies for 24-bit color depth. Now I'm using only 16-bit and DRI works fine with the big virtual screen.&lt;br /&gt;
&lt;br /&gt;
If you really want 24-bit depth, and do not need a bigger screen as your LCD, try setting Virtual to &amp;quot;1024 768&amp;quot;, this will enable DRI in 24-bit too, but you won't be able to extend your screen anymore (well, clone will still work though).&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* XRandR 1.2&lt;br /&gt;
** [http://gitweb.freedesktop.org/?p=xorg/proto/randrproto.git;f=randrproto.txt;a=blob RandR 1.2 protocol specifications] - this defines the model and terminology&lt;br /&gt;
** [http://wiki.x.org/wiki/XDC2007Notes#head-11895d48723a8d0308571bec8829b7cc3ef87d7b In Xorg Developer Conference 2007]&lt;br /&gt;
** [http://burtonini.com/blog/computers/randr-2007-02-06-17-50 tutorial blog post]&lt;br /&gt;
&lt;br /&gt;
* Ubuntu&lt;br /&gt;
** Version 7.10 (Gutsy) of Ubuntu includes support for Xorg 7.3 with RandR 1.2 [https://wiki.ubuntu.com/Xorg7.3Integration Xorg 7.3]&lt;br /&gt;
** [[Installing Ubuntu on a ThinkPad R60e]] for a revised and more specific version of this page&lt;br /&gt;
** [https://launchpad.net/ubuntu/+source/xserver-xorg-video-intel/ Ubuntu source for Intel]&lt;br /&gt;
** [https://bugs.launchpad.net/xserver-xorg-driver-ati/+bug/148408 gutsy version of xserver-xorg-ati has some major problems on ATI Radeon] for ([[:Category:X Series]]) and possibly others.  The solution is to downgrade to the [https://launchpad.net/ubuntu/feisty/i386/xserver-xorg-video-ati/1:6.6.3-2ubuntu6 feisty version]&lt;br /&gt;
&lt;br /&gt;
* X.org&lt;br /&gt;
** [http://lists.freedesktop.org/mailman/listinfo/xorg FreeDesktop.org mailing list]&lt;br /&gt;
** [http://lists.freedesktop.org/archives/xorg/ FreeDesktop.org Xorg archive]&lt;br /&gt;
&lt;br /&gt;
* Useful page to supplement the minimal documentation  [http://wiki.x.org/wiki/Development/Documentation/HowVideoCardsWork How video cards work]&lt;br /&gt;
* [http://wiki.debian.org/XStrikeForce/ReleaseNotes xserver-xorg-core  and xserver-xorg-video-intel might cause some trouble but also brings nice features.]&lt;br /&gt;
* [http://andrew.mcmillan.net.nz/taxonomy/term/18 Seamless Monitor Hotplugging with X Windows]&lt;br /&gt;
* [http://www.intellinuxgraphics.org/  Linux Graphics Drivers from Intel]&lt;br /&gt;
* [http://zdzichubg.jogger.pl/2007/05/07/xrandr-1-2-sweetness/ blog post] with xrandr-1.2 commands and photos. Narrative is in polish.&lt;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_8_on_a_ThinkPad_X41_Tablet&amp;diff=34321</id>
		<title>Installing Fedora 8 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_8_on_a_ThinkPad_X41_Tablet&amp;diff=34321"/>
		<updated>2007-11-04T23:01:57Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: /* Enabling Screen Rotation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Page May Not Be Accurate! =&lt;br /&gt;
This page may not be completely accurate; it was originally copied from [[Installing Fedora 7 on a ThinkPad X41 Tablet]] and may still be 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 || Works correctly if desktop-effects disabled.&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 ||&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=3| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth ||class=&amp;quot;diff-context&amp;quot;| Not Tested (should work) || See [[Installing_Fedora_Core_4_on_a_ThinkPad_X41_Tablet#Bluetooth|Bluetooth on Fedora Core 4]]&lt;br /&gt;
|-&lt;br /&gt;
| Infrared ||class=&amp;quot;diff-addedline&amp;quot;| Yes || irda, /etc/modprobe.conf&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Extra Buttons || Keyboard Section ||class=&amp;quot;diff-addedline&amp;quot;| Yes || thinkpad-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;
= Just Works =&lt;br /&gt;
&lt;br /&gt;
The following things Just Work - with no tweaking required - after a default F8 installation:&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
You can use the generic install instructions [http://fedoraproject.org/wiki/Distribution/Download#Understand here].&lt;br /&gt;
&lt;br /&gt;
== X Server ==&lt;br /&gt;
Basic X server functionality works out of the box.&lt;br /&gt;
&lt;br /&gt;
== Wireless ==&lt;br /&gt;
Wireless drivers work out of the box.&lt;br /&gt;
&lt;br /&gt;
== volume control and on-screen display ==&lt;br /&gt;
&lt;br /&gt;
Hardware keys for volume up/volume down/mute work by default, including on-screen display of volume.&lt;br /&gt;
&lt;br /&gt;
== Sleep and Suspend ==&lt;br /&gt;
&lt;br /&gt;
Sleep and suspend work out of the box.&lt;br /&gt;
&lt;br /&gt;
= Can Be Made To Work =&lt;br /&gt;
&lt;br /&gt;
These things require some tweaking after a default install, but after tweaking should work. Information in this section has been tested and verified using Fedora 8.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Desktop Effects ===&lt;br /&gt;
&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 as of this writing these conflict with working rotation- you get either desktop effects or tablet rotation; not both. See [https://bugzilla.redhat.com/show_bug.cgi?id=365951 bug 365951] for details.&lt;br /&gt;
&lt;br /&gt;
=== Network Manager ===&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;
=== 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; it is now packaged in Fedora, so you can install it with 'yum install xournal' or by using the 'Add/Remove Software' tool.&lt;br /&gt;
&lt;br /&gt;
= Untested on Fedora 8 =&lt;br /&gt;
Information below this line is merely copied from the Fedora 5 and 7 guides and has not been tested on Fedora 8.&lt;br /&gt;
&lt;br /&gt;
=== Infrared ===&lt;br /&gt;
&lt;br /&gt;
The infrared subsystem supports NSC Fast IR (FIR), which transmits at speeds of up to 4 Mbps.&lt;br /&gt;
&lt;br /&gt;
First things first: Go to your BIOS and enable the infrared and manually set up IO to be '''0x2f8''' and IRQ to be '''3'''. Typically, the default manual config is this so you probably don't need to edit it. Then go ahead an grab any irda-related packages from YUM.&lt;br /&gt;
&lt;br /&gt;
Then I copied the section on Infrared for the T60:&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/modprobe.conf}}, add the following two lines:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
alias irda0 nsc-ircc&lt;br /&gt;
options nsc-ircc dongle_id=0x09&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/sysconfig/irda}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IRDA=yes&lt;br /&gt;
DEVICE=irda0&lt;br /&gt;
DISCOVERY=yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Start IRDA&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|service irda start}}&lt;br /&gt;
&lt;br /&gt;
If You want IRDA to be enabled during system boot, turn it on like this:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|chkconfig irda on}}&lt;br /&gt;
&lt;br /&gt;
That should set you up. You can then set up things like remote controls that operate through the LIRC daemon, which Fedora has a package and a kernel module for. This can useful for xmms, which has a plugin to allow you to change songs with the remote and other nifty features. You can define the controls as well. The choice is yours.&lt;br /&gt;
&lt;br /&gt;
For more information, see [http://lirc.sourceforge.net Linux Infrared Remote Control Project]&lt;br /&gt;
&lt;br /&gt;
=== 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;
Note that if someone with a bit of time on their hands followed the steps [http://hughsient.livejournal.com/29730.html in this blog post], this would eventually be fixed to 'Just Work' for all users of all distros.&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;
&lt;br /&gt;
&lt;br /&gt;
=== Enabling Screen Rotation ===&lt;br /&gt;
&lt;br /&gt;
To follow progress on making this work by default, see [https://bugzilla.redhat.com/show_bug.cgi?id=365211 bug 366211]&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;
{{HINT|'''Update:''' This script uses xrandr 1.1 command line options, which only partly work with the latest Fedora 7 updates (which include xrandr 1.2). To fix the problem, edit the script, replacing 'xrandr -o' with 'xrandr --output LVDS --rotate'. I have not tested the fix on a clean install of F7, though. --LuisVilla}}&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;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_8_on_a_ThinkPad_X41_Tablet&amp;diff=34319</id>
		<title>Installing Fedora 8 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_8_on_a_ThinkPad_X41_Tablet&amp;diff=34319"/>
		<updated>2007-11-04T19:29:01Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: /* Success Chart */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Page May Not Be Accurate! =&lt;br /&gt;
This page may not be completely accurate; it was originally copied from [[Installing Fedora 7 on a ThinkPad X41 Tablet]] and may still be 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 || Works correctly if desktop-effects disabled.&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 ||&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=3| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth ||class=&amp;quot;diff-context&amp;quot;| Not Tested (should work) || See [[Installing_Fedora_Core_4_on_a_ThinkPad_X41_Tablet#Bluetooth|Bluetooth on Fedora Core 4]]&lt;br /&gt;
|-&lt;br /&gt;
| Infrared ||class=&amp;quot;diff-addedline&amp;quot;| Yes || irda, /etc/modprobe.conf&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Extra Buttons || Keyboard Section ||class=&amp;quot;diff-addedline&amp;quot;| Yes || thinkpad-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;
= Just Works =&lt;br /&gt;
&lt;br /&gt;
The following things Just Work - with no tweaking required - after a default F8 installation:&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
You can use the generic install instructions [http://fedoraproject.org/wiki/Distribution/Download#Understand here].&lt;br /&gt;
&lt;br /&gt;
== X Server ==&lt;br /&gt;
Basic X server functionality works out of the box.&lt;br /&gt;
&lt;br /&gt;
== Wireless ==&lt;br /&gt;
Wireless drivers work out of the box.&lt;br /&gt;
&lt;br /&gt;
== volume control and on-screen display ==&lt;br /&gt;
&lt;br /&gt;
Hardware keys for volume up/volume down/mute work by default, including on-screen display of volume.&lt;br /&gt;
&lt;br /&gt;
== Sleep and Suspend ==&lt;br /&gt;
&lt;br /&gt;
Sleep and suspend work out of the box.&lt;br /&gt;
&lt;br /&gt;
= Can Be Made To Work =&lt;br /&gt;
&lt;br /&gt;
These things require some tweaking after a default install, but after tweaking should work. Information in this section has been tested and verified using Fedora 8.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Desktop Effects ===&lt;br /&gt;
&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 as of this writing these conflict with working rotation- you get either desktop effects or tablet rotation; not both. See [https://bugzilla.redhat.com/show_bug.cgi?id=365951 bug 365951] for details.&lt;br /&gt;
&lt;br /&gt;
=== Network Manager ===&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;
=== 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; it is now packaged in Fedora, so you can install it with 'yum install xournal' or by using the 'Add/Remove Software' tool.&lt;br /&gt;
&lt;br /&gt;
= Untested on Fedora 8 =&lt;br /&gt;
Information below this line is merely copied from the Fedora 5 and 7 guides and has not been tested on Fedora 8.&lt;br /&gt;
&lt;br /&gt;
=== Infrared ===&lt;br /&gt;
&lt;br /&gt;
The infrared subsystem supports NSC Fast IR (FIR), which transmits at speeds of up to 4 Mbps.&lt;br /&gt;
&lt;br /&gt;
First things first: Go to your BIOS and enable the infrared and manually set up IO to be '''0x2f8''' and IRQ to be '''3'''. Typically, the default manual config is this so you probably don't need to edit it. Then go ahead an grab any irda-related packages from YUM.&lt;br /&gt;
&lt;br /&gt;
Then I copied the section on Infrared for the T60:&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/modprobe.conf}}, add the following two lines:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
alias irda0 nsc-ircc&lt;br /&gt;
options nsc-ircc dongle_id=0x09&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/sysconfig/irda}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IRDA=yes&lt;br /&gt;
DEVICE=irda0&lt;br /&gt;
DISCOVERY=yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Start IRDA&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|service irda start}}&lt;br /&gt;
&lt;br /&gt;
If You want IRDA to be enabled during system boot, turn it on like this:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|chkconfig irda on}}&lt;br /&gt;
&lt;br /&gt;
That should set you up. You can then set up things like remote controls that operate through the LIRC daemon, which Fedora has a package and a kernel module for. This can useful for xmms, which has a plugin to allow you to change songs with the remote and other nifty features. You can define the controls as well. The choice is yours.&lt;br /&gt;
&lt;br /&gt;
For more information, see [http://lirc.sourceforge.net Linux Infrared Remote Control Project]&lt;br /&gt;
&lt;br /&gt;
=== 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;
Note that if someone with a bit of time on their hands followed the steps [http://hughsient.livejournal.com/29730.html in this blog post], this would eventually be fixed to 'Just Work' for all users of all distros.&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;
&lt;br /&gt;
&lt;br /&gt;
=== Enabling Screen Rotation ===&lt;br /&gt;
&lt;br /&gt;
To follow progress on making this work by default, see [https://bugzilla.redhat.com/show_bug.cgi?id=365801 bug 365801]&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;
{{HINT|'''Update:''' This script uses xrandr 1.1 command line options, which only partly work with the latest Fedora 7 updates (which include xrandr 1.2). To fix the problem, edit the script, replacing 'xrandr -o' with 'xrandr --output LVDS --rotate'. I have not tested the fix on a clean install of F7, though. --LuisVilla}}&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;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_8_on_a_ThinkPad_X41_Tablet&amp;diff=34317</id>
		<title>Installing Fedora 8 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_8_on_a_ThinkPad_X41_Tablet&amp;diff=34317"/>
		<updated>2007-11-04T18:50:15Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: /* Tablet Buttons */ - clarify link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Page May Not Be Accurate! =&lt;br /&gt;
This page may not be completely accurate; it was originally copied from [[Installing Fedora 7 on a ThinkPad X41 Tablet]] and may still be a work in progress.&lt;br /&gt;
&lt;br /&gt;
== Success Chart ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| '''Item''' || '''Working''' || '''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Installation &lt;br /&gt;
| Network Installation ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| USB Installation     ||class=&amp;quot;diff-addedline&amp;quot;| Yes (DVD) ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| CRT / Projector ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Screen Rotation ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Resizes display, but not workspace properly.&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Requires configuration changes.&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Power Management&lt;br /&gt;
| Software Suspend (hibernate) ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes (mostly) ||&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=3| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth ||class=&amp;quot;diff-context&amp;quot;| Not Tested (should work) || See [[Installing_Fedora_Core_4_on_a_ThinkPad_X41_Tablet#Bluetooth|Bluetooth on Fedora Core 4]]&lt;br /&gt;
|-&lt;br /&gt;
| Infrared ||class=&amp;quot;diff-addedline&amp;quot;| Yes || irda, /etc/modprobe.conf&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Extra Buttons || Keyboard Section ||class=&amp;quot;diff-addedline&amp;quot;| Yes || thinkpad-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;
= Just Works =&lt;br /&gt;
&lt;br /&gt;
The following things Just Work - with no tweaking required - after a default F8 installation:&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
You can use the generic install instructions [http://fedoraproject.org/wiki/Distribution/Download#Understand here].&lt;br /&gt;
&lt;br /&gt;
== X Server ==&lt;br /&gt;
Basic X server functionality works out of the box.&lt;br /&gt;
&lt;br /&gt;
== Wireless ==&lt;br /&gt;
Wireless drivers work out of the box.&lt;br /&gt;
&lt;br /&gt;
== volume control and on-screen display ==&lt;br /&gt;
&lt;br /&gt;
Hardware keys for volume up/volume down/mute work by default, including on-screen display of volume.&lt;br /&gt;
&lt;br /&gt;
== Sleep and Suspend ==&lt;br /&gt;
&lt;br /&gt;
Sleep and suspend work out of the box.&lt;br /&gt;
&lt;br /&gt;
= Can Be Made To Work =&lt;br /&gt;
&lt;br /&gt;
These things require some tweaking after a default install, but after tweaking should work. Information in this section has been tested and verified using Fedora 8.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Desktop Effects ===&lt;br /&gt;
&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 as of this writing these conflict with working rotation- you get either desktop effects or tablet rotation; not both. See [https://bugzilla.redhat.com/show_bug.cgi?id=365951 bug 365951] for details.&lt;br /&gt;
&lt;br /&gt;
=== Network Manager ===&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;
=== 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; it is now packaged in Fedora, so you can install it with 'yum install xournal' or by using the 'Add/Remove Software' tool.&lt;br /&gt;
&lt;br /&gt;
= Untested on Fedora 8 =&lt;br /&gt;
Information below this line is merely copied from the Fedora 5 and 7 guides and has not been tested on Fedora 8.&lt;br /&gt;
&lt;br /&gt;
=== Infrared ===&lt;br /&gt;
&lt;br /&gt;
The infrared subsystem supports NSC Fast IR (FIR), which transmits at speeds of up to 4 Mbps.&lt;br /&gt;
&lt;br /&gt;
First things first: Go to your BIOS and enable the infrared and manually set up IO to be '''0x2f8''' and IRQ to be '''3'''. Typically, the default manual config is this so you probably don't need to edit it. Then go ahead an grab any irda-related packages from YUM.&lt;br /&gt;
&lt;br /&gt;
Then I copied the section on Infrared for the T60:&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/modprobe.conf}}, add the following two lines:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
alias irda0 nsc-ircc&lt;br /&gt;
options nsc-ircc dongle_id=0x09&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/sysconfig/irda}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IRDA=yes&lt;br /&gt;
DEVICE=irda0&lt;br /&gt;
DISCOVERY=yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Start IRDA&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|service irda start}}&lt;br /&gt;
&lt;br /&gt;
If You want IRDA to be enabled during system boot, turn it on like this:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|chkconfig irda on}}&lt;br /&gt;
&lt;br /&gt;
That should set you up. You can then set up things like remote controls that operate through the LIRC daemon, which Fedora has a package and a kernel module for. This can useful for xmms, which has a plugin to allow you to change songs with the remote and other nifty features. You can define the controls as well. The choice is yours.&lt;br /&gt;
&lt;br /&gt;
For more information, see [http://lirc.sourceforge.net Linux Infrared Remote Control Project]&lt;br /&gt;
&lt;br /&gt;
=== 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;
Note that if someone with a bit of time on their hands followed the steps [http://hughsient.livejournal.com/29730.html in this blog post], this would eventually be fixed to 'Just Work' for all users of all distros.&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;
&lt;br /&gt;
&lt;br /&gt;
=== Enabling Screen Rotation ===&lt;br /&gt;
&lt;br /&gt;
To follow progress on making this work by default, see [https://bugzilla.redhat.com/show_bug.cgi?id=365801 bug 365801]&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;
{{HINT|'''Update:''' This script uses xrandr 1.1 command line options, which only partly work with the latest Fedora 7 updates (which include xrandr 1.2). To fix the problem, edit the script, replacing 'xrandr -o' with 'xrandr --output LVDS --rotate'. I have not tested the fix on a clean install of F7, though. --LuisVilla}}&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;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_8_on_a_ThinkPad_X41_Tablet&amp;diff=34316</id>
		<title>Installing Fedora 8 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_8_on_a_ThinkPad_X41_Tablet&amp;diff=34316"/>
		<updated>2007-11-04T18:48:59Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: /* Tablet Buttons */  -- added hughsie blog link. Should be linked to extensively in thinkwiki!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Page May Not Be Accurate! =&lt;br /&gt;
This page may not be completely accurate; it was originally copied from [[Installing Fedora 7 on a ThinkPad X41 Tablet]] and may still be a work in progress.&lt;br /&gt;
&lt;br /&gt;
== Success Chart ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| '''Item''' || '''Working''' || '''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Installation &lt;br /&gt;
| Network Installation ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| USB Installation     ||class=&amp;quot;diff-addedline&amp;quot;| Yes (DVD) ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| CRT / Projector ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Screen Rotation ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Resizes display, but not workspace properly.&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Requires configuration changes.&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Power Management&lt;br /&gt;
| Software Suspend (hibernate) ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes (mostly) ||&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=3| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth ||class=&amp;quot;diff-context&amp;quot;| Not Tested (should work) || See [[Installing_Fedora_Core_4_on_a_ThinkPad_X41_Tablet#Bluetooth|Bluetooth on Fedora Core 4]]&lt;br /&gt;
|-&lt;br /&gt;
| Infrared ||class=&amp;quot;diff-addedline&amp;quot;| Yes || irda, /etc/modprobe.conf&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Extra Buttons || Keyboard Section ||class=&amp;quot;diff-addedline&amp;quot;| Yes || thinkpad-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;
= Just Works =&lt;br /&gt;
&lt;br /&gt;
The following things Just Work - with no tweaking required - after a default F8 installation:&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
You can use the generic install instructions [http://fedoraproject.org/wiki/Distribution/Download#Understand here].&lt;br /&gt;
&lt;br /&gt;
== X Server ==&lt;br /&gt;
Basic X server functionality works out of the box.&lt;br /&gt;
&lt;br /&gt;
== Wireless ==&lt;br /&gt;
Wireless drivers work out of the box.&lt;br /&gt;
&lt;br /&gt;
== volume control and on-screen display ==&lt;br /&gt;
&lt;br /&gt;
Hardware keys for volume up/volume down/mute work by default, including on-screen display of volume.&lt;br /&gt;
&lt;br /&gt;
== Sleep and Suspend ==&lt;br /&gt;
&lt;br /&gt;
Sleep and suspend work out of the box.&lt;br /&gt;
&lt;br /&gt;
= Can Be Made To Work =&lt;br /&gt;
&lt;br /&gt;
These things require some tweaking after a default install, but after tweaking should work. Information in this section has been tested and verified using Fedora 8.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Desktop Effects ===&lt;br /&gt;
&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 as of this writing these conflict with working rotation- you get either desktop effects or tablet rotation; not both. See [https://bugzilla.redhat.com/show_bug.cgi?id=365951 bug 365951] for details.&lt;br /&gt;
&lt;br /&gt;
=== Network Manager ===&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;
=== 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; it is now packaged in Fedora, so you can install it with 'yum install xournal' or by using the 'Add/Remove Software' tool.&lt;br /&gt;
&lt;br /&gt;
= Untested on Fedora 8 =&lt;br /&gt;
Information below this line is merely copied from the Fedora 5 and 7 guides and has not been tested on Fedora 8.&lt;br /&gt;
&lt;br /&gt;
=== Infrared ===&lt;br /&gt;
&lt;br /&gt;
The infrared subsystem supports NSC Fast IR (FIR), which transmits at speeds of up to 4 Mbps.&lt;br /&gt;
&lt;br /&gt;
First things first: Go to your BIOS and enable the infrared and manually set up IO to be '''0x2f8''' and IRQ to be '''3'''. Typically, the default manual config is this so you probably don't need to edit it. Then go ahead an grab any irda-related packages from YUM.&lt;br /&gt;
&lt;br /&gt;
Then I copied the section on Infrared for the T60:&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/modprobe.conf}}, add the following two lines:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
alias irda0 nsc-ircc&lt;br /&gt;
options nsc-ircc dongle_id=0x09&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/sysconfig/irda}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IRDA=yes&lt;br /&gt;
DEVICE=irda0&lt;br /&gt;
DISCOVERY=yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Start IRDA&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|service irda start}}&lt;br /&gt;
&lt;br /&gt;
If You want IRDA to be enabled during system boot, turn it on like this:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|chkconfig irda on}}&lt;br /&gt;
&lt;br /&gt;
That should set you up. You can then set up things like remote controls that operate through the LIRC daemon, which Fedora has a package and a kernel module for. This can useful for xmms, which has a plugin to allow you to change songs with the remote and other nifty features. You can define the controls as well. The choice is yours.&lt;br /&gt;
&lt;br /&gt;
For more information, see [http://lirc.sourceforge.net Linux Infrared Remote Control Project]&lt;br /&gt;
&lt;br /&gt;
=== 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;
Note that someone with time on their hands could follow the steps [http://hughsient.livejournal.com/29730.html in this blog post] to get this fixed upstream for all users of all distros.&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;
&lt;br /&gt;
&lt;br /&gt;
=== Enabling Screen Rotation ===&lt;br /&gt;
&lt;br /&gt;
To follow progress on making this work by default, see [https://bugzilla.redhat.com/show_bug.cgi?id=365801 bug 365801]&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;
{{HINT|'''Update:''' This script uses xrandr 1.1 command line options, which only partly work with the latest Fedora 7 updates (which include xrandr 1.2). To fix the problem, edit the script, replacing 'xrandr -o' with 'xrandr --output LVDS --rotate'. I have not tested the fix on a clean install of F7, though. --LuisVilla}}&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;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_8_on_a_ThinkPad_X41_Tablet&amp;diff=34315</id>
		<title>Installing Fedora 8 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_8_on_a_ThinkPad_X41_Tablet&amp;diff=34315"/>
		<updated>2007-11-04T18:39:42Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: /* Desktop Effects */ -- added bug # for desktop-effects problem&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Page May Not Be Accurate! =&lt;br /&gt;
This page may not be completely accurate; it was originally copied from [[Installing Fedora 7 on a ThinkPad X41 Tablet]] and may still be a work in progress.&lt;br /&gt;
&lt;br /&gt;
== Success Chart ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| '''Item''' || '''Working''' || '''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Installation &lt;br /&gt;
| Network Installation ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| USB Installation     ||class=&amp;quot;diff-addedline&amp;quot;| Yes (DVD) ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| CRT / Projector ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Screen Rotation ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Resizes display, but not workspace properly.&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Requires configuration changes.&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Power Management&lt;br /&gt;
| Software Suspend (hibernate) ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes (mostly) ||&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=3| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth ||class=&amp;quot;diff-context&amp;quot;| Not Tested (should work) || See [[Installing_Fedora_Core_4_on_a_ThinkPad_X41_Tablet#Bluetooth|Bluetooth on Fedora Core 4]]&lt;br /&gt;
|-&lt;br /&gt;
| Infrared ||class=&amp;quot;diff-addedline&amp;quot;| Yes || irda, /etc/modprobe.conf&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Extra Buttons || Keyboard Section ||class=&amp;quot;diff-addedline&amp;quot;| Yes || thinkpad-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;
= Just Works =&lt;br /&gt;
&lt;br /&gt;
The following things Just Work - with no tweaking required - after a default F8 installation:&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
You can use the generic install instructions [http://fedoraproject.org/wiki/Distribution/Download#Understand here].&lt;br /&gt;
&lt;br /&gt;
== X Server ==&lt;br /&gt;
Basic X server functionality works out of the box.&lt;br /&gt;
&lt;br /&gt;
== Wireless ==&lt;br /&gt;
Wireless drivers work out of the box.&lt;br /&gt;
&lt;br /&gt;
== volume control and on-screen display ==&lt;br /&gt;
&lt;br /&gt;
Hardware keys for volume up/volume down/mute work by default, including on-screen display of volume.&lt;br /&gt;
&lt;br /&gt;
== Sleep and Suspend ==&lt;br /&gt;
&lt;br /&gt;
Sleep and suspend work out of the box.&lt;br /&gt;
&lt;br /&gt;
= Can Be Made To Work =&lt;br /&gt;
&lt;br /&gt;
These things require some tweaking after a default install, but after tweaking should work. Information in this section has been tested and verified using Fedora 8.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Desktop Effects ===&lt;br /&gt;
&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 as of this writing these conflict with working rotation- you get either desktop effects or tablet rotation; not both. See [https://bugzilla.redhat.com/show_bug.cgi?id=365951 bug 365951] for details.&lt;br /&gt;
&lt;br /&gt;
=== Network Manager ===&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;
=== 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; it is now packaged in Fedora, so you can install it with 'yum install xournal' or by using the 'Add/Remove Software' tool.&lt;br /&gt;
&lt;br /&gt;
= Untested on Fedora 8 =&lt;br /&gt;
Information below this line is merely copied from the Fedora 5 and 7 guides and has not been tested on Fedora 8.&lt;br /&gt;
&lt;br /&gt;
=== Infrared ===&lt;br /&gt;
&lt;br /&gt;
The infrared subsystem supports NSC Fast IR (FIR), which transmits at speeds of up to 4 Mbps.&lt;br /&gt;
&lt;br /&gt;
First things first: Go to your BIOS and enable the infrared and manually set up IO to be '''0x2f8''' and IRQ to be '''3'''. Typically, the default manual config is this so you probably don't need to edit it. Then go ahead an grab any irda-related packages from YUM.&lt;br /&gt;
&lt;br /&gt;
Then I copied the section on Infrared for the T60:&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/modprobe.conf}}, add the following two lines:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
alias irda0 nsc-ircc&lt;br /&gt;
options nsc-ircc dongle_id=0x09&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/sysconfig/irda}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IRDA=yes&lt;br /&gt;
DEVICE=irda0&lt;br /&gt;
DISCOVERY=yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Start IRDA&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|service irda start}}&lt;br /&gt;
&lt;br /&gt;
If You want IRDA to be enabled during system boot, turn it on like this:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|chkconfig irda on}}&lt;br /&gt;
&lt;br /&gt;
That should set you up. You can then set up things like remote controls that operate through the LIRC daemon, which Fedora has a package and a kernel module for. This can useful for xmms, which has a plugin to allow you to change songs with the remote and other nifty features. You can define the controls as well. The choice is yours.&lt;br /&gt;
&lt;br /&gt;
For more information, see [http://lirc.sourceforge.net Linux Infrared Remote Control Project]&lt;br /&gt;
&lt;br /&gt;
=== 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;
&lt;br /&gt;
&lt;br /&gt;
=== Enabling Screen Rotation ===&lt;br /&gt;
&lt;br /&gt;
To follow progress on making this work by default, see [https://bugzilla.redhat.com/show_bug.cgi?id=365801 bug 365801]&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;
{{HINT|'''Update:''' This script uses xrandr 1.1 command line options, which only partly work with the latest Fedora 7 updates (which include xrandr 1.2). To fix the problem, edit the script, replacing 'xrandr -o' with 'xrandr --output LVDS --rotate'. I have not tested the fix on a clean install of F7, though. --LuisVilla}}&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;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_8_on_a_ThinkPad_X41_Tablet&amp;diff=34314</id>
		<title>Installing Fedora 8 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_8_on_a_ThinkPad_X41_Tablet&amp;diff=34314"/>
		<updated>2007-11-04T18:05:34Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: /* Suspend in memory and disk */  - delete, 'Just Works' in F8.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Page May Not Be Accurate! =&lt;br /&gt;
This page may not be completely accurate; it was originally copied from [[Installing Fedora 7 on a ThinkPad X41 Tablet]] and may still be a work in progress.&lt;br /&gt;
&lt;br /&gt;
== Success Chart ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| '''Item''' || '''Working''' || '''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Installation &lt;br /&gt;
| Network Installation ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| USB Installation     ||class=&amp;quot;diff-addedline&amp;quot;| Yes (DVD) ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| CRT / Projector ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Screen Rotation ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Resizes display, but not workspace properly.&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Requires configuration changes.&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Power Management&lt;br /&gt;
| Software Suspend (hibernate) ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes (mostly) ||&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=3| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth ||class=&amp;quot;diff-context&amp;quot;| Not Tested (should work) || See [[Installing_Fedora_Core_4_on_a_ThinkPad_X41_Tablet#Bluetooth|Bluetooth on Fedora Core 4]]&lt;br /&gt;
|-&lt;br /&gt;
| Infrared ||class=&amp;quot;diff-addedline&amp;quot;| Yes || irda, /etc/modprobe.conf&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Extra Buttons || Keyboard Section ||class=&amp;quot;diff-addedline&amp;quot;| Yes || thinkpad-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;
= Just Works =&lt;br /&gt;
&lt;br /&gt;
The following things Just Work - with no tweaking required - after a default F8 installation:&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
You can use the generic install instructions [http://fedoraproject.org/wiki/Distribution/Download#Understand here].&lt;br /&gt;
&lt;br /&gt;
== X Server ==&lt;br /&gt;
Basic X server functionality works out of the box.&lt;br /&gt;
&lt;br /&gt;
== Wireless ==&lt;br /&gt;
Wireless drivers work out of the box.&lt;br /&gt;
&lt;br /&gt;
== volume control and on-screen display ==&lt;br /&gt;
&lt;br /&gt;
Hardware keys for volume up/volume down/mute work by default, including on-screen display of volume.&lt;br /&gt;
&lt;br /&gt;
== Sleep and Suspend ==&lt;br /&gt;
&lt;br /&gt;
Sleep and suspend work out of the box.&lt;br /&gt;
&lt;br /&gt;
= Can Be Made To Work =&lt;br /&gt;
&lt;br /&gt;
These things require some tweaking after a default install, but after tweaking should work. Information in this section has been tested and verified using Fedora 8.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Desktop Effects ===&lt;br /&gt;
&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 as of this writing these conflict with working rotation- you get either desktop effects or tablet rotation; not both.&lt;br /&gt;
&lt;br /&gt;
=== Network Manager ===&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;
=== 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; it is now packaged in Fedora, so you can install it with 'yum install xournal' or by using the 'Add/Remove Software' tool.&lt;br /&gt;
&lt;br /&gt;
= Untested on Fedora 8 =&lt;br /&gt;
Information below this line is merely copied from the Fedora 5 and 7 guides and has not been tested on Fedora 8.&lt;br /&gt;
&lt;br /&gt;
=== Infrared ===&lt;br /&gt;
&lt;br /&gt;
The infrared subsystem supports NSC Fast IR (FIR), which transmits at speeds of up to 4 Mbps.&lt;br /&gt;
&lt;br /&gt;
First things first: Go to your BIOS and enable the infrared and manually set up IO to be '''0x2f8''' and IRQ to be '''3'''. Typically, the default manual config is this so you probably don't need to edit it. Then go ahead an grab any irda-related packages from YUM.&lt;br /&gt;
&lt;br /&gt;
Then I copied the section on Infrared for the T60:&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/modprobe.conf}}, add the following two lines:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
alias irda0 nsc-ircc&lt;br /&gt;
options nsc-ircc dongle_id=0x09&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/sysconfig/irda}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IRDA=yes&lt;br /&gt;
DEVICE=irda0&lt;br /&gt;
DISCOVERY=yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Start IRDA&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|service irda start}}&lt;br /&gt;
&lt;br /&gt;
If You want IRDA to be enabled during system boot, turn it on like this:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|chkconfig irda on}}&lt;br /&gt;
&lt;br /&gt;
That should set you up. You can then set up things like remote controls that operate through the LIRC daemon, which Fedora has a package and a kernel module for. This can useful for xmms, which has a plugin to allow you to change songs with the remote and other nifty features. You can define the controls as well. The choice is yours.&lt;br /&gt;
&lt;br /&gt;
For more information, see [http://lirc.sourceforge.net Linux Infrared Remote Control Project]&lt;br /&gt;
&lt;br /&gt;
=== 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;
&lt;br /&gt;
&lt;br /&gt;
=== Enabling Screen Rotation ===&lt;br /&gt;
&lt;br /&gt;
To follow progress on making this work by default, see [https://bugzilla.redhat.com/show_bug.cgi?id=365801 bug 365801]&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;
{{HINT|'''Update:''' This script uses xrandr 1.1 command line options, which only partly work with the latest Fedora 7 updates (which include xrandr 1.2). To fix the problem, edit the script, replacing 'xrandr -o' with 'xrandr --output LVDS --rotate'. I have not tested the fix on a clean install of F7, though. --LuisVilla}}&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;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_8_on_a_ThinkPad_X41_Tablet&amp;diff=34312</id>
		<title>Installing Fedora 8 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_8_on_a_ThinkPad_X41_Tablet&amp;diff=34312"/>
		<updated>2007-11-04T18:05:01Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: /* Infrared */  -- fix outline by moving some things from ==== to ===&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Page May Not Be Accurate! =&lt;br /&gt;
This page may not be completely accurate; it was originally copied from [[Installing Fedora 7 on a ThinkPad X41 Tablet]] and may still be a work in progress.&lt;br /&gt;
&lt;br /&gt;
== Success Chart ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| '''Item''' || '''Working''' || '''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Installation &lt;br /&gt;
| Network Installation ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| USB Installation     ||class=&amp;quot;diff-addedline&amp;quot;| Yes (DVD) ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| CRT / Projector ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Screen Rotation ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Resizes display, but not workspace properly.&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Requires configuration changes.&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Power Management&lt;br /&gt;
| Software Suspend (hibernate) ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes (mostly) ||&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=3| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth ||class=&amp;quot;diff-context&amp;quot;| Not Tested (should work) || See [[Installing_Fedora_Core_4_on_a_ThinkPad_X41_Tablet#Bluetooth|Bluetooth on Fedora Core 4]]&lt;br /&gt;
|-&lt;br /&gt;
| Infrared ||class=&amp;quot;diff-addedline&amp;quot;| Yes || irda, /etc/modprobe.conf&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Extra Buttons || Keyboard Section ||class=&amp;quot;diff-addedline&amp;quot;| Yes || thinkpad-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;
= Just Works =&lt;br /&gt;
&lt;br /&gt;
The following things Just Work - with no tweaking required - after a default F8 installation:&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
You can use the generic install instructions [http://fedoraproject.org/wiki/Distribution/Download#Understand here].&lt;br /&gt;
&lt;br /&gt;
== X Server ==&lt;br /&gt;
Basic X server functionality works out of the box.&lt;br /&gt;
&lt;br /&gt;
== Wireless ==&lt;br /&gt;
Wireless drivers work out of the box.&lt;br /&gt;
&lt;br /&gt;
== volume control and on-screen display ==&lt;br /&gt;
&lt;br /&gt;
Hardware keys for volume up/volume down/mute work by default, including on-screen display of volume.&lt;br /&gt;
&lt;br /&gt;
== Sleep and Suspend ==&lt;br /&gt;
&lt;br /&gt;
Sleep and suspend work out of the box.&lt;br /&gt;
&lt;br /&gt;
= Can Be Made To Work =&lt;br /&gt;
&lt;br /&gt;
These things require some tweaking after a default install, but after tweaking should work. Information in this section has been tested and verified using Fedora 8.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Desktop Effects ===&lt;br /&gt;
&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 as of this writing these conflict with working rotation- you get either desktop effects or tablet rotation; not both.&lt;br /&gt;
&lt;br /&gt;
=== Network Manager ===&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;
=== 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; it is now packaged in Fedora, so you can install it with 'yum install xournal' or by using the 'Add/Remove Software' tool.&lt;br /&gt;
&lt;br /&gt;
= Untested on Fedora 8 =&lt;br /&gt;
Information below this line is merely copied from the Fedora 5 and 7 guides and has not been tested on Fedora 8.&lt;br /&gt;
&lt;br /&gt;
=== Infrared ===&lt;br /&gt;
&lt;br /&gt;
The infrared subsystem supports NSC Fast IR (FIR), which transmits at speeds of up to 4 Mbps.&lt;br /&gt;
&lt;br /&gt;
First things first: Go to your BIOS and enable the infrared and manually set up IO to be '''0x2f8''' and IRQ to be '''3'''. Typically, the default manual config is this so you probably don't need to edit it. Then go ahead an grab any irda-related packages from YUM.&lt;br /&gt;
&lt;br /&gt;
Then I copied the section on Infrared for the T60:&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/modprobe.conf}}, add the following two lines:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
alias irda0 nsc-ircc&lt;br /&gt;
options nsc-ircc dongle_id=0x09&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/sysconfig/irda}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IRDA=yes&lt;br /&gt;
DEVICE=irda0&lt;br /&gt;
DISCOVERY=yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Start IRDA&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|service irda start}}&lt;br /&gt;
&lt;br /&gt;
If You want IRDA to be enabled during system boot, turn it on like this:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|chkconfig irda on}}&lt;br /&gt;
&lt;br /&gt;
That should set you up. You can then set up things like remote controls that operate through the LIRC daemon, which Fedora has a package and a kernel module for. This can useful for xmms, which has a plugin to allow you to change songs with the remote and other nifty features. You can define the controls as well. The choice is yours.&lt;br /&gt;
&lt;br /&gt;
For more information, see [http://lirc.sourceforge.net Linux Infrared Remote Control Project]&lt;br /&gt;
&lt;br /&gt;
=== 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;
&lt;br /&gt;
&lt;br /&gt;
=== Enabling Screen Rotation ===&lt;br /&gt;
&lt;br /&gt;
To follow progress on making this work by default, see [https://bugzilla.redhat.com/show_bug.cgi?id=365801 bug 365801]&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;
{{HINT|'''Update:''' This script uses xrandr 1.1 command line options, which only partly work with the latest Fedora 7 updates (which include xrandr 1.2). To fix the problem, edit the script, replacing 'xrandr -o' with 'xrandr --output LVDS --rotate'. I have not tested the fix on a clean install of F7, though. --LuisVilla}}&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;
=== Suspend in memory and disk ===&lt;br /&gt;
swsusp nicely works in Fedora Core 7.&lt;br /&gt;
&lt;br /&gt;
to suspend on disk add the line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
resume=/dev/sdaN &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where N is the number of your swap partition&lt;br /&gt;
to your kernel parameters&lt;br /&gt;
&lt;br /&gt;
example with grub:&lt;br /&gt;
&lt;br /&gt;
edit {{path|/boot/grub/grub.conf}} such that it looks like: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
kernel /boot/vmlinuz-xxxxxxx ro resume=/dev/sda6  rhgb quiet&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to suspend in memory you have just to fix a problem with a blank display after resuming: &lt;br /&gt;
create and edit the file {{path|/etc/pm/config.d/config}}&lt;br /&gt;
adding the line: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DISPLAY_QUIRK_S3_BIOS=&amp;quot;true&amp;quot; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To use the special Fn-F? keys add the following line to your {{path|/etc/rc.local}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo enable &amp;gt; /proc/acpi/ibm/hotkey&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Without this line only the Fn-F4 (suspend to memory) key will be enabled.&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_8_on_a_ThinkPad_X41_Tablet&amp;diff=34311</id>
		<title>Installing Fedora 8 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_8_on_a_ThinkPad_X41_Tablet&amp;diff=34311"/>
		<updated>2007-11-04T15:01:23Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: nuke sleep and suspend section (just works now!) and create a 'Just Works' section.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Page May Not Be Accurate! =&lt;br /&gt;
This page may not be completely accurate; it was originally copied from [[Installing Fedora 7 on a ThinkPad X41 Tablet]] and may still be a work in progress.&lt;br /&gt;
&lt;br /&gt;
== Success Chart ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| '''Item''' || '''Working''' || '''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Installation &lt;br /&gt;
| Network Installation ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| USB Installation     ||class=&amp;quot;diff-addedline&amp;quot;| Yes (DVD) ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| CRT / Projector ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Screen Rotation ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Resizes display, but not workspace properly.&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Requires configuration changes.&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Power Management&lt;br /&gt;
| Software Suspend (hibernate) ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes (mostly) ||&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=3| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth ||class=&amp;quot;diff-context&amp;quot;| Not Tested (should work) || See [[Installing_Fedora_Core_4_on_a_ThinkPad_X41_Tablet#Bluetooth|Bluetooth on Fedora Core 4]]&lt;br /&gt;
|-&lt;br /&gt;
| Infrared ||class=&amp;quot;diff-addedline&amp;quot;| Yes || irda, /etc/modprobe.conf&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Extra Buttons || Keyboard Section ||class=&amp;quot;diff-addedline&amp;quot;| Yes || thinkpad-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;
= Just Works =&lt;br /&gt;
&lt;br /&gt;
The following things Just Work - with no tweaking required - after a default F8 installation:&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
You can use the generic install instructions [http://fedoraproject.org/wiki/Distribution/Download#Understand here].&lt;br /&gt;
&lt;br /&gt;
== X Server ==&lt;br /&gt;
Basic X server functionality works out of the box.&lt;br /&gt;
&lt;br /&gt;
== Wireless ==&lt;br /&gt;
Wireless drivers work out of the box.&lt;br /&gt;
&lt;br /&gt;
== volume control and on-screen display ==&lt;br /&gt;
&lt;br /&gt;
Hardware keys for volume up/volume down/mute work by default, including on-screen display of volume.&lt;br /&gt;
&lt;br /&gt;
== Sleep and Suspend ==&lt;br /&gt;
&lt;br /&gt;
Sleep and suspend work out of the box.&lt;br /&gt;
&lt;br /&gt;
= Can Be Made To Work =&lt;br /&gt;
&lt;br /&gt;
These things require some tweaking after a default install, but after tweaking should work. Information in this section has been tested and verified using Fedora 8.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Desktop Effects ===&lt;br /&gt;
&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 as of this writing these conflict with working rotation- you get either desktop effects or tablet rotation; not both.&lt;br /&gt;
&lt;br /&gt;
=== Network Manager ===&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;
=== 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; it is now packaged in Fedora, so you can install it with 'yum install xournal' or by using the 'Add/Remove Software' tool.&lt;br /&gt;
&lt;br /&gt;
= Untested on Fedora 8 =&lt;br /&gt;
Information below this line is merely copied from the Fedora 5 and 7 guides and has not been tested on Fedora 8.&lt;br /&gt;
&lt;br /&gt;
=== Infrared ===&lt;br /&gt;
&lt;br /&gt;
The infrared subsystem supports NSC Fast IR (FIR), which transmits at speeds of up to 4 Mbps.&lt;br /&gt;
&lt;br /&gt;
First things first: Go to your BIOS and enable the infrared and manually set up IO to be '''0x2f8''' and IRQ to be '''3'''. Typically, the default manual config is this so you probably don't need to edit it. Then go ahead an grab any irda-related packages from YUM.&lt;br /&gt;
&lt;br /&gt;
Then I copied the section on Infrared for the T60:&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/modprobe.conf}}, add the following two lines:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
alias irda0 nsc-ircc&lt;br /&gt;
options nsc-ircc dongle_id=0x09&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/sysconfig/irda}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IRDA=yes&lt;br /&gt;
DEVICE=irda0&lt;br /&gt;
DISCOVERY=yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Start IRDA&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|service irda start}}&lt;br /&gt;
&lt;br /&gt;
If You want IRDA to be enabled during system boot, turn it on like this:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|chkconfig irda on}}&lt;br /&gt;
&lt;br /&gt;
That should set you up. You can then set up things like remote controls that operate through the LIRC daemon, which Fedora has a package and a kernel module for. This can useful for xmms, which has a plugin to allow you to change songs with the remote and other nifty features. You can define the controls as well. The choice is yours.&lt;br /&gt;
&lt;br /&gt;
For more information, see [http://lirc.sourceforge.net Linux Infrared Remote Control Project]&lt;br /&gt;
&lt;br /&gt;
==== 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;
&lt;br /&gt;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
To follow progress on making this work by default, see [https://bugzilla.redhat.com/show_bug.cgi?id=365801 bug 365801]&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;
{{HINT|'''Update:''' This script uses xrandr 1.1 command line options, which only partly work with the latest Fedora 7 updates (which include xrandr 1.2). To fix the problem, edit the script, replacing 'xrandr -o' with 'xrandr --output LVDS --rotate'. I have not tested the fix on a clean install of F7, though. --LuisVilla}}&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;
=== Suspend in memory and disk ===&lt;br /&gt;
swsusp nicely works in Fedora Core 7.&lt;br /&gt;
&lt;br /&gt;
to suspend on disk add the line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
resume=/dev/sdaN &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where N is the number of your swap partition&lt;br /&gt;
to your kernel parameters&lt;br /&gt;
&lt;br /&gt;
example with grub:&lt;br /&gt;
&lt;br /&gt;
edit {{path|/boot/grub/grub.conf}} such that it looks like: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
kernel /boot/vmlinuz-xxxxxxx ro resume=/dev/sda6  rhgb quiet&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to suspend in memory you have just to fix a problem with a blank display after resuming: &lt;br /&gt;
create and edit the file {{path|/etc/pm/config.d/config}}&lt;br /&gt;
adding the line: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DISPLAY_QUIRK_S3_BIOS=&amp;quot;true&amp;quot; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To use the special Fn-F? keys add the following line to your {{path|/etc/rc.local}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo enable &amp;gt; /proc/acpi/ibm/hotkey&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Without this line only the Fn-F4 (suspend to memory) key will be enabled.&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_8_on_a_ThinkPad_X41_Tablet&amp;diff=34310</id>
		<title>Installing Fedora 8 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_8_on_a_ThinkPad_X41_Tablet&amp;diff=34310"/>
		<updated>2007-11-04T14:36:43Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: Create page; still a lot of work to do.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Page May Not Be Accurate! =&lt;br /&gt;
This page may not be completely accurate; it was originally copied from [[Installing Fedora 7 on a ThinkPad X41 Tablet]] and may still be a work in progress.&lt;br /&gt;
&lt;br /&gt;
== Success Chart ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| '''Item''' || '''Working''' || '''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Installation &lt;br /&gt;
| Network Installation ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| USB Installation     ||class=&amp;quot;diff-addedline&amp;quot;| Yes (DVD) ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| CRT / Projector ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Screen Rotation ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Resizes display, but not workspace properly.&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Requires configuration changes.&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Power Management&lt;br /&gt;
| Software Suspend (hibernate) ||class=&amp;quot;diff-addedline&amp;quot;| Yes || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes (mostly) || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=3| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth ||class=&amp;quot;diff-context&amp;quot;| Not Tested (should work) || See [[Installing_Fedora_Core_4_on_a_ThinkPad_X41_Tablet#Bluetooth|Bluetooth on Fedora Core 4]]&lt;br /&gt;
|-&lt;br /&gt;
| Infrared ||class=&amp;quot;diff-addedline&amp;quot;| Yes || irda, /etc/modprobe.conf&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Extra Buttons || Keyboard Section ||class=&amp;quot;diff-addedline&amp;quot;| Yes || thinkpad-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 8 =&lt;br /&gt;
&lt;br /&gt;
Information in this section has been tested and verified using Fedora 8.&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#Understand 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;
=== 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;
=== volume control and on-screen display ===&lt;br /&gt;
&lt;br /&gt;
Hardware keys for volume up/volume down/mute work by default, including on-screen display of volume.&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; it is now packaged in Fedora, so you can install it with 'yum install xournal' or by using the 'Add/Remove Software' tool.&lt;br /&gt;
&lt;br /&gt;
= Untested on Fedora 8 =&lt;br /&gt;
Information below this line is merely copied from the Fedora 5 and 7 guides and has not been tested on Fedora 8.&lt;br /&gt;
&lt;br /&gt;
=== Infrared ===&lt;br /&gt;
&lt;br /&gt;
The infrared subsystem supports NSC Fast IR (FIR), which transmits at speeds of up to 4 Mbps.&lt;br /&gt;
&lt;br /&gt;
First things first: Go to your BIOS and enable the infrared and manually set up IO to be '''0x2f8''' and IRQ to be '''3'''. Typically, the default manual config is this so you probably don't need to edit it. Then go ahead an grab any irda-related packages from YUM.&lt;br /&gt;
&lt;br /&gt;
Then I copied the section on Infrared for the T60:&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/modprobe.conf}}, add the following two lines:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
alias irda0 nsc-ircc&lt;br /&gt;
options nsc-ircc dongle_id=0x09&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/sysconfig/irda}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IRDA=yes&lt;br /&gt;
DEVICE=irda0&lt;br /&gt;
DISCOVERY=yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Start IRDA&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|service irda start}}&lt;br /&gt;
&lt;br /&gt;
If You want IRDA to be enabled during system boot, turn it on like this:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|chkconfig irda on}}&lt;br /&gt;
&lt;br /&gt;
That should set you up. You can then set up things like remote controls that operate through the LIRC daemon, which Fedora has a package and a kernel module for. This can useful for xmms, which has a plugin to allow you to change songs with the remote and other nifty features. You can define the controls as well. The choice is yours.&lt;br /&gt;
&lt;br /&gt;
For more information, see [http://lirc.sourceforge.net Linux Infrared Remote Control Project]&lt;br /&gt;
&lt;br /&gt;
==== 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;
&lt;br /&gt;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
&lt;br /&gt;
To follow progress on making this work by default, see [https://bugzilla.redhat.com/show_bug.cgi?id=365801 bug 365801]&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;
{{HINT|'''Update:''' This script uses xrandr 1.1 command line options, which only partly work with the latest Fedora 7 updates (which include xrandr 1.2). To fix the problem, edit the script, replacing 'xrandr -o' with 'xrandr --output LVDS --rotate'. I have not tested the fix on a clean install of F7, though. --LuisVilla}}&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;
=== 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;
=== Suspend in memory and disk ===&lt;br /&gt;
swsusp nicely works in Fedora Core 7.&lt;br /&gt;
&lt;br /&gt;
to suspend on disk add the line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
resume=/dev/sdaN &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where N is the number of your swap partition&lt;br /&gt;
to your kernel parameters&lt;br /&gt;
&lt;br /&gt;
example with grub:&lt;br /&gt;
&lt;br /&gt;
edit {{path|/boot/grub/grub.conf}} such that it looks like: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
kernel /boot/vmlinuz-xxxxxxx ro resume=/dev/sda6  rhgb quiet&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to suspend in memory you have just to fix a problem with a blank display after resuming: &lt;br /&gt;
create and edit the file {{path|/etc/pm/config.d/config}}&lt;br /&gt;
adding the line: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DISPLAY_QUIRK_S3_BIOS=&amp;quot;true&amp;quot; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To use the special Fn-F? keys add the following line to your {{path|/etc/rc.local}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo enable &amp;gt; /proc/acpi/ibm/hotkey&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Without this line only the Fn-F4 (suspend to memory) key will be enabled.&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=32566</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=32566"/>
		<updated>2007-08-27T04:17:09Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: updated&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Page May Not Be Accurate! =&lt;br /&gt;
This page may not be completely accurate; it was originally copied from [[Installing Fedora Core 5 on a ThinkPad X41 Tablet]] and may still be a work in progress.&lt;br /&gt;
&lt;br /&gt;
== Success Chart ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| '''Item''' || '''Working''' || '''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Installation &lt;br /&gt;
| Network Installation ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| USB Installation     ||class=&amp;quot;diff-addedline&amp;quot;| Yes (DVD) ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| CRT / Projector ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Screen Rotation ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Resizes display, but not workspace properly.&lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Requires configuration changes.&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Power Management&lt;br /&gt;
| Software Suspend (hibernate) ||class=&amp;quot;diff-addedline&amp;quot;| Yes || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes (mostly) || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=3| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth ||class=&amp;quot;diff-context&amp;quot;| Not Tested (should work) || See [[Installing_Fedora_Core_4_on_a_ThinkPad_X41_Tablet#Bluetooth|Bluetooth on Fedora Core 4]]&lt;br /&gt;
|-&lt;br /&gt;
| Infrared ||class=&amp;quot;diff-addedline&amp;quot;| Yes || irda, /etc/modprobe.conf&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Extra Buttons || Keyboard Section ||class=&amp;quot;diff-addedline&amp;quot;| Yes || ibm-acpi driver&lt;br /&gt;
|-&lt;br /&gt;
| Tablet buttons ||class=&amp;quot;diff-addedline&amp;quot;| Yes || setkeycodes&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Fingerprint Scanner ||class=&amp;quot;diff-addedline&amp;quot;| Yes || bioapi&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Harddisk Active Protection ||class=&amp;quot;diff-addedline&amp;quot;| Yes || kernel 2.6.16, hdapsd&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Tested and Verified on Fedora 7 =&lt;br /&gt;
&lt;br /&gt;
Information in this section has been tested and verified using Fedora 7.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation is straight forward; you can use the generic install instructions [http://fedoraproject.org/wiki/Distribution/Download#head-79f58abcee810df2be8fff176fe58ba3972d6358 here].&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== X Server ===&lt;br /&gt;
Basic X server functionality should work out of the box.&lt;br /&gt;
&lt;br /&gt;
==== Desktop Effects ====&lt;br /&gt;
'Desktop Effects' work but are not enabled by default; to enable them run 'desktop-effects' and click 'enable desktop effects'. Note that these conflict with working rotation- you get either desktop effects or tablet rotation; not both.&lt;br /&gt;
&lt;br /&gt;
==== Tablet Buttons ====&lt;br /&gt;
&lt;br /&gt;
Activate mappings for the tablet buttons by adding the following lines to {{path|/etc/rc.d/rc.local}}:&lt;br /&gt;
&lt;br /&gt;
 # Map tablet hardware buttons&lt;br /&gt;
 setkeycodes 6e 109 6d 104 69 28 6b 1 6c 120&lt;br /&gt;
&lt;br /&gt;
==== Enabling the Stylus ====&lt;br /&gt;
&lt;br /&gt;
Add the following lines to {{path|/etc/rc.d/rc.local}}:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;i&amp;gt;(Note: You will need to be root to perform these two edits)&amp;lt;/i&amp;gt;&lt;br /&gt;
 # Map stylus to a serial port&lt;br /&gt;
 setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add the lines in bold font to {{path|/etc/X11/xorg.conf}}:&lt;br /&gt;
&lt;br /&gt;
  Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
         Identifier     &amp;quot;default&amp;quot;&lt;br /&gt;
         Screen      0  &amp;quot;Screen0&amp;quot; 0 0&lt;br /&gt;
         InputDevice    &amp;quot;Mouse0&amp;quot; &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
         InputDevice    &amp;quot;Keyboard0&amp;quot; &amp;quot;CoreKeyboard&amp;quot;&lt;br /&gt;
         '''InputDevice    &amp;quot;cursor&amp;quot; &amp;quot;SendCoreEvents&amp;quot;'''&lt;br /&gt;
         '''InputDevice    &amp;quot;stylus&amp;quot; &amp;quot;SendCoreEvents&amp;quot;'''&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 '''Section &amp;quot;InputDevice&amp;quot;'''&lt;br /&gt;
       '''Driver        &amp;quot;wacom&amp;quot;'''&lt;br /&gt;
       '''Identifier    &amp;quot;cursor&amp;quot;'''&lt;br /&gt;
       '''Option        &amp;quot;Device&amp;quot;        &amp;quot;/dev/ttyS0&amp;quot;'''&lt;br /&gt;
       '''Option        &amp;quot;Type&amp;quot;          &amp;quot;cursor&amp;quot;'''&lt;br /&gt;
       '''Option        &amp;quot;ForceDevice&amp;quot;   &amp;quot;ISDV4&amp;quot;'''&lt;br /&gt;
       '''Option        &amp;quot;Mode&amp;quot;          &amp;quot;Absolute&amp;quot;'''&lt;br /&gt;
       '''Option        &amp;quot;TPCButton&amp;quot;     &amp;quot;on&amp;quot;'''&lt;br /&gt;
 '''EndSection'''&lt;br /&gt;
 &lt;br /&gt;
 '''Section &amp;quot;InputDevice&amp;quot;'''&lt;br /&gt;
       '''Driver        &amp;quot;wacom&amp;quot;'''&lt;br /&gt;
       '''Identifier    &amp;quot;stylus&amp;quot;'''&lt;br /&gt;
       '''Option        &amp;quot;Device&amp;quot;        &amp;quot;/dev/ttyS0&amp;quot;'''&lt;br /&gt;
       '''Option        &amp;quot;Type&amp;quot;          &amp;quot;stylus&amp;quot;'''&lt;br /&gt;
       '''Option        &amp;quot;ForceDevice&amp;quot;   &amp;quot;ISDV4&amp;quot;'''&lt;br /&gt;
 '''EndSection'''&lt;br /&gt;
&lt;br /&gt;
If the style stops working after a suspend/resume cycle, (as root) create the following file {{path|/usr/lib/pm-utils/sleep.d/40wacom}}&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 . /usr/lib/pm-utils/functions&lt;br /&gt;
 &lt;br /&gt;
 suspend_wacom() {&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 resume_wacom() {&lt;br /&gt;
     # Reset serial port for stylus&lt;br /&gt;
     setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 case &amp;quot;$1&amp;quot; in&lt;br /&gt;
         hibernate|suspend)&lt;br /&gt;
                 suspend_wacom&lt;br /&gt;
                 ;;&lt;br /&gt;
         thaw|resume)&lt;br /&gt;
                 resume_wacom&lt;br /&gt;
                 ;;&lt;br /&gt;
         *)&lt;br /&gt;
                 ;;&lt;br /&gt;
 esac &lt;br /&gt;
 &lt;br /&gt;
 exit $?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
The wireless card works out of the box- no additional drivers necessary.&lt;br /&gt;
&lt;br /&gt;
Network Manager is installed by default, but may not be enabled by default depending on your mode of installation. To turn it on, do as root:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|chkconfig NetworkManager on}}&lt;br /&gt;
&lt;br /&gt;
=== Infrared ===&lt;br /&gt;
&lt;br /&gt;
The infrared subsystem supports NSC Fast IR (FIR), which transmits at speeds of up to 4 Mbps.&lt;br /&gt;
&lt;br /&gt;
First things first: Go to your BIOS and enable the infrared and manually set up IO to be '''0x2f8''' and IRQ to be '''3'''. Typically, the default manual config is this so you probably don't need to edit it. Then go ahead an grab any irda-related packages from YUM.&lt;br /&gt;
&lt;br /&gt;
Then I copied the section on Infrared for the T60:&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/modprobe.conf}}, add the following two lines:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
alias irda0 nsc-ircc&lt;br /&gt;
options nsc-ircc dongle_id=0x09&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/sysconfig/irda}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IRDA=yes&lt;br /&gt;
DEVICE=irda0&lt;br /&gt;
DISCOVERY=yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Start IRDA&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|service irda start}}&lt;br /&gt;
&lt;br /&gt;
If You want IRDA to be enabled during system boot, turn it on like this:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|chkconfig irda on}}&lt;br /&gt;
&lt;br /&gt;
That should set you up. You can then set up things like remote controls that operate through the LIRC daemon, which Fedora has a package and a kernel module for. This can useful for xmms, which has a plugin to allow you to change songs with the remote and other nifty features. You can define the controls as well. The choice is yours.&lt;br /&gt;
&lt;br /&gt;
For more information, see [http://lirc.sourceforge.net Linux Infrared Remote Control Project]&lt;br /&gt;
&lt;br /&gt;
=== tpb/on-screen display ===&lt;br /&gt;
&lt;br /&gt;
tpb, which controls the onscreen display of thinkpad buttons, is not installed by default.&lt;br /&gt;
&lt;br /&gt;
To install tpb execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install tpb}}&lt;br /&gt;
&lt;br /&gt;
Once installed, no configuration is necessary.&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader ===&lt;br /&gt;
&lt;br /&gt;
The fingerprint reader is supported by the thinkfinger package.&lt;br /&gt;
&lt;br /&gt;
To install thinkfinger execute:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|yum install thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
== Tablet Software == &lt;br /&gt;
&lt;br /&gt;
=== Xournal ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;Xournal&amp;lt;/tt&amp;gt; is a gnome-based journaling tool for tablets; you can get packages for Fedora 7 from [http://koji.fedoraproject.org/koji/packageinfo?packageID=4460 here].&lt;br /&gt;
&lt;br /&gt;
= Untested on Fedora 7 =&lt;br /&gt;
Information below this line is merely copied from the Fedora Core 5 guide and has not been tested on Fedora 7.&lt;br /&gt;
&lt;br /&gt;
==== Enabling Screen Rotation ====&lt;br /&gt;
Download (and verify) the following script into your path:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|wget http://www.cs.cornell.edu/~saikat/rotate}}&lt;br /&gt;
 {{cmduser|chmod a+x rotate}}&lt;br /&gt;
&lt;br /&gt;
Rotate the screen using the script:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|rotate -h}}&lt;br /&gt;
 Useage:&lt;br /&gt;
    rotate [left|right|inverted|normal]&lt;br /&gt;
  &lt;br /&gt;
 If no option is given, rotates the screen 90 degrees to the right.&lt;br /&gt;
&lt;br /&gt;
To bind the tablet's {{key|Rotate}} button to rotate the screen on-the-fly, add the following line to {{path|/etc/X11/Xmodmap}}&lt;br /&gt;
 keycode 139 = XF86RotateWindows&lt;br /&gt;
&lt;br /&gt;
{{HINT|'''Update:''' Check to make sure you are using the new &amp;lt;tt&amp;gt;setkeycodes&amp;lt;/tt&amp;gt; line in the Tablet Buttons section (one with &amp;lt;tt&amp;gt;6c 120&amp;lt;/tt&amp;gt; in the command).}}&lt;br /&gt;
&lt;br /&gt;
{{HINT|'''Update:''' This script uses xrandr 1.1 command line options, which only partly work with the latest Fedora 7 updates (which include xrandr 1.2). To fix the problem, edit the script, replacing 'xrandr -o' with 'xrandr --output LVDS --rotate'. I have not tested the fix on a clean install of F7, though. --LuisVilla}}&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;
=== 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;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=32562</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=32562"/>
		<updated>2007-08-27T03:28:38Z</updated>

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

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

		<summary type="html">&lt;p&gt;LuisVilla: /* Fingerprint Reader Support */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes the process of (installing and?) configuring [https://wiki.ubuntu.com/EdgyEft Ubuntu Edgy Eft] (final release expected October 2006) on a Lenovo ThinkPad X41 Tablet. With whatever relevance it may have, the particular model number used in testing was an 1869CSU. Keep in mind that at this document's inception 6.10 is a development version of the Ubuntu Linux OS.&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'''&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 (CD)&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-context&amp;quot;| Unknown&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&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Power Management&lt;br /&gt;
| Software Suspend (hibernate) ||class=&amp;quot;diff-context&amp;quot;| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes&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;| Unknown&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Extra Buttons || Keyboard Section ||class=&amp;quot;diff-context&amp;quot;| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| Tablet buttons ||class=&amp;quot;diff-context&amp;quot;| Unknown&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Fingerprint Scanner ||class=&amp;quot;diff-context&amp;quot;| Unknown&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Harddisk Active Protection ||class=&amp;quot;diff-addedline&amp;quot;| Yes&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Pre-Installation Notes =&lt;br /&gt;
&lt;br /&gt;
== Tablet Screen Rotation (updated i810 drivers) ==&lt;br /&gt;
&lt;br /&gt;
This edition of Ubuntu (Edgy) has XRandR enabled i810 drivers, which allow you to rotate your screen orientation on the fly. The command &amp;lt;tt&amp;gt;xrandr -o [orientation]&amp;lt;/tt&amp;gt; will rotate your screen to your liking. For more information about the &amp;lt;tt&amp;gt;xrandr&amp;lt;/tt&amp;gt; command, refer to the man file (&amp;lt;tt&amp;gt;man xrandr&amp;lt;/tt&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
== Wireless Support ==&lt;br /&gt;
&lt;br /&gt;
Wireless seems to be supported flawlessly in terms of drivers, though I'm not sure how well the built-in Network Manager works. I use the &amp;lt;tt&amp;gt;iwconfig&amp;lt;/tt&amp;gt; command to manage my wireless, as I have a need to create pseudo-&amp;quot;profiles&amp;quot;, and in this document I will describe this alternative process.&lt;br /&gt;
&lt;br /&gt;
== Fingerprint Reader Support ==&lt;br /&gt;
&lt;br /&gt;
Honestly, I care very little about the fingerprint functionality. Its only real use seems to be for gksu-type logins while the tablet is swiveled down, which doesn't occur often in my setup. If someone wants to explore/expound, please do, but I won't include any details about the fingerprint reader in this document.&lt;br /&gt;
&lt;br /&gt;
(There are extensive notes on the software used in some of the other notes in the X41 category.)&lt;br /&gt;
&lt;br /&gt;
== Terminology Used ==&lt;br /&gt;
&lt;br /&gt;
For those of you new to Linux, I'll try to detail a few terms I use with little explanation:&lt;br /&gt;
* Xorg configuration -- the display configuration file, residing in &amp;lt;tt&amp;gt;/etc/X11/xorg.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Execute a command -- press Alt-F2, then type &amp;lt;tt&amp;gt;gnome-terminal&amp;lt;/tt&amp;gt; into the prompt and press enter -- this is a terminal into which you input said commands&lt;br /&gt;
&lt;br /&gt;
= Installation Notes =&lt;br /&gt;
&lt;br /&gt;
== Booting With NetBOOT ==&lt;br /&gt;
&lt;br /&gt;
To boot over NetBOOT I fisrt went into the BIOS and change the boot settings so that PXE was first on the list.  Then I set my desktop to be a DHCP server (dhcp3-server) and configured it using this site [http://wiki.koeln.ccc.de/index.php/Ubuntu_PXE_Install Ubuntu_PXE_Install] and installed tftpd-hpa&lt;br /&gt;
&lt;br /&gt;
Then I downloaded the [http://archive.ubuntu.com/ubuntu/dists/dapper/main/installer-i386/current/images/netboot/netboot.tar.gz Dapper netboot archive] (I tried the testing edgy but it would not run on my X41 as of 9/9/06)&lt;br /&gt;
&lt;br /&gt;
Then I assigned my desktop a static IP in the range I set my DHCP server up for and plugged my laptop into it with a cross over cable and rebooted.  &lt;br /&gt;
&lt;br /&gt;
The X41 received an IP and then connected to lftp and the same screen as the Ubuntu netboot CD has came up and I followed the instructions.&lt;br /&gt;
&lt;br /&gt;
Once it was intstalled and up-to-date I ran (leave in all quotes, they are important)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;sudo aptitiude update &amp;amp;&amp;amp; sudo aptitude upgrade &lt;br /&gt;
gksudo &amp;quot;update-manager -c -d&amp;quot; &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To upgrade to edgy eft&lt;br /&gt;
&lt;br /&gt;
= Post-Installation Notes =&lt;br /&gt;
&lt;br /&gt;
== Configuring Xorg ==&lt;br /&gt;
&lt;br /&gt;
=== TrackPoint ===&lt;br /&gt;
&lt;br /&gt;
Like in all ThinkPad Xorg configurations, add the following under the &amp;quot;Configured Mouse&amp;quot; device to enable TrackPoint scrolling:&lt;br /&gt;
&lt;br /&gt;
 Option          &amp;quot;EmulateWheel&amp;quot;          &amp;quot;true&amp;quot;&lt;br /&gt;
 Option          &amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Wacom Stylus ===&lt;br /&gt;
&lt;br /&gt;
First install the wacom drivers with the following command:&lt;br /&gt;
 sudo apt-get install wacom-kernel-source xserver-xorg-input-wacom wacom-tools&lt;br /&gt;
&lt;br /&gt;
After doing this, I strongly suggest that you reboot your computer; however, if you're one of those people whose uptime is on the order of four years, I'm sure you'll figure out an alternative that I won't be describing here.&lt;br /&gt;
&lt;br /&gt;
Next step is to check to see if &amp;lt;tt&amp;gt;/dev/wacom&amp;lt;/tt&amp;gt; exists. A '&amp;lt;tt&amp;gt;ls -al /dev | grep wacom&amp;lt;/tt&amp;gt;' should do the trick quite nicely. If it &amp;lt;strong&amp;gt;does&amp;lt;/strong&amp;gt; exist, add the following to your Xorg configuration.&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/wacom&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/wacom&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;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/wacom&amp;quot;&lt;br /&gt;
   Option        &amp;quot;Type&amp;quot;          &amp;quot;cursor&amp;quot;&lt;br /&gt;
   Option        &amp;quot;ForceDevice&amp;quot;   &amp;quot;ISDV4&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
And under the ServerLayout section add:&lt;br /&gt;
&lt;br /&gt;
        InputDevice     &amp;quot;stylus&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
        InputDevice     &amp;quot;cursor&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
        InputDevice     &amp;quot;eraser&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Some people seem to have slightly different configurations (potentially due to model differences). At any rate, if you're looking to find what serial device your stylus is, a simple '&amp;lt;tt&amp;gt;dmesg | grep ttyS&amp;lt;/tt&amp;gt;' should do the trick. Be sure to append to this article if the procedure varies from model to model.&lt;br /&gt;
&lt;br /&gt;
If the stylus still does not work after suspending (even after applying the fix below) try replacing all the &amp;quot;/dev/wacom&amp;quot;'s in your xorg to &amp;quot;/dev/ttyS0&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== Suspend Fix ====&lt;br /&gt;
&lt;br /&gt;
Every suspend/resume cycle drops the wacom, so create the file &amp;lt;tt&amp;gt;/etc/acpi/resume.d/20-setserial.sh&amp;lt;/tt&amp;gt; and add the following (modify settings for your device if necessary):&lt;br /&gt;
&lt;br /&gt;
  #!/bin/bash&lt;br /&gt;
  /bin/setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
Then, go ahead and run a:&lt;br /&gt;
&lt;br /&gt;
 sudo chmod +x /etc/acpi/resume.d/20-setserial.sh&lt;br /&gt;
&lt;br /&gt;
You should be all set to resume with stylus support.&lt;br /&gt;
&lt;br /&gt;
=== ACPI Swivel Events ===&lt;br /&gt;
&lt;br /&gt;
When you swivel your tablet's LCD down or up your computer triggers what's called an ACPI event. This is an event similar to pushing the power or sleep buttons -- it's telling the OS about something that's going on with the hardware.&lt;br /&gt;
&lt;br /&gt;
In Linux, ACPI event handling is bundled into a nice neat little package. First, to make sure you can hear the ACPI event when it happens, run the command '&amp;lt;tt&amp;gt;acpi_listen&amp;lt;/tt&amp;gt;'. The command line will hang there until it picks up on an ACPI event that's occuring, and then it will dump it to the screen. After running acpi_listen, while it's hanging there, swivel your screen down, and then back up. You should get a result similar to this:&lt;br /&gt;
&lt;br /&gt;
 $ acpi_listen&lt;br /&gt;
 ibm/hotkey HKEY 00000080 00005009&lt;br /&gt;
 ibm/hotkey HKEY 00000080 0000500a&lt;br /&gt;
&lt;br /&gt;
The first HKEY entry is your swivel-down-event identifier and the second is your swivel up. If your values differ from those displayed here, be sure to use your values instead.&lt;br /&gt;
&lt;br /&gt;
Next, what we do is create new ACPI handler entries for the specified events, which we operate on in &amp;lt;tt&amp;gt;/etc/acpi/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;/etc/acpi/&amp;lt;/tt&amp;gt; folder generally contains shell files to be executed when events occur. Since there's no shell files to handle swivel events yet, we're gonna go ahead and create some. Yeah, that'd be great.&lt;br /&gt;
&lt;br /&gt;
Use your favorite text editor to modify the following files (the file names are the second line with the # symbol).&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #/etc/acpi/x41tsdown.sh&lt;br /&gt;
 echo 'Rotating screen...'&lt;br /&gt;
 if [ &amp;quot;`/usr/bin/xrandr -o right -v | grep -i 'randr' | wc -l`&amp;quot; -ne &amp;quot;1&amp;quot; ]&lt;br /&gt;
 then&lt;br /&gt;
     echo '!! Something went wrong...'&lt;br /&gt;
     export DISPLAY=&amp;quot;:0.0&amp;quot;&lt;br /&gt;
     export XAUTHORITY=/var/lib/gdm/\:0.Xauth&lt;br /&gt;
     /bin/xset -display $DISPLAY dpms&lt;br /&gt;
     echo 'Trying to rotate again...'&lt;br /&gt;
     /usr/bin/xrandr -o right&lt;br /&gt;
 fi&lt;br /&gt;
 echo 'Rotating stylus...'&lt;br /&gt;
 /usr/bin/xsetwacom set stylus rotate 1&lt;br /&gt;
 echo 'Starting keyboard...'&lt;br /&gt;
 /usr/bin/xvkbd&amp;amp;&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #/etc/acpi/x41tsup.sh&lt;br /&gt;
 echo 'Unrotating screen...'&lt;br /&gt;
 if [ &amp;quot;`/usr/bin/xrandr -o normal -v | grep -i 'randr' | wc -l`&amp;quot; -ne &amp;quot;1&amp;quot; ]&lt;br /&gt;
 then&lt;br /&gt;
     echo '!! Something went wrong...'&lt;br /&gt;
     export DISPLAY=&amp;quot;:0.0&amp;quot;&lt;br /&gt;
     export XAUTHORITY=/var/lib/gdm/\:0.Xauth&lt;br /&gt;
     /bin/xset -display $DISPLAY dpms&lt;br /&gt;
     echo 'Trying to unrotate again...'&lt;br /&gt;
     /usr/bin/xrandr -o normal&lt;br /&gt;
 fi&lt;br /&gt;
 echo 'Rotating stylus...'&lt;br /&gt;
 /usr/bin/xsetwacom set stylus rotate 0&lt;br /&gt;
 echo 'Killing keyboard...'&lt;br /&gt;
 killall xvkbd&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&lt;br /&gt;
 sudo chown root.root /etc/acpi/x41tsdown.sh&lt;br /&gt;
 sudo chmod 755 /etc/acpi/x41tsdown.sh&lt;br /&gt;
 sudo chown root.root /etc/acpi/x41tsup.sh&lt;br /&gt;
 sudo chmod 755 /etc/acpi/x41tsup.sh&lt;br /&gt;
&lt;br /&gt;
If you'd like to edit these scripts with your favorite text editor (which, I realize, is most likely [http://www.gnu.org/fun/jokes/ed.msg.html ed]), it's fairly obvious that they're located in &amp;lt;tt&amp;gt;/etc/acpi/&amp;lt;/tt&amp;gt; as &amp;lt;tt&amp;gt;x41tsdown.sh&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;x41tsup.sh&amp;lt;/tt&amp;gt;. These commands make the shell scripts that handle the events... once we register the events. Let's do that now.&lt;br /&gt;
&lt;br /&gt;
 sudo cat &amp;lt;&amp;lt;EOF &amp;gt; /etc/acpi/events/x41t-swivel-down&lt;br /&gt;
 # /etc/acpi/events/x41t-swivel-down&lt;br /&gt;
 # called when tablet head swivels down&lt;br /&gt;
 event=ibm/hotkey HKEY 00000080 00005009&lt;br /&gt;
 action=/etc/acpi/x41tsdown.sh&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
 sudo cat &amp;lt;&amp;lt;EOF &amp;gt; /etc/acpi/events/x41t-swivel-up&lt;br /&gt;
 # /etc/acpi/events/x41t-swivel-up&lt;br /&gt;
 # called when tablet head swivels up&lt;br /&gt;
 event=ibm/hotkey HKEY 00000080 0000500a&lt;br /&gt;
 action=/etc/acpi/x41tsup.sh&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
Now, awaken your inner ACPI daemon with the following commands:&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/acpid force-reload &lt;br /&gt;
 sudo /etc/init.d/acpid restart&lt;br /&gt;
&lt;br /&gt;
And swivel down your LCD to make sure it works.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;CAUTION&amp;lt;/strong&amp;gt;: Swiveling actions while in one of your tty sessions will kill gdm!!!&lt;br /&gt;
&lt;br /&gt;
To be continued...&lt;br /&gt;
&lt;br /&gt;
=External Sources=&lt;br /&gt;
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)] and the [http://tuxmobil.org/tablet_unix.html Linux on Tablet PCs and webpads survey].&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Ubuntu]]&lt;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_on_a_ThinkPad_X41_Tablet&amp;diff=30277</id>
		<title>Installing Ubuntu 6.10 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_on_a_ThinkPad_X41_Tablet&amp;diff=30277"/>
		<updated>2007-06-03T02:36:26Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: Added categories.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes the process of (installing and?) configuring [https://wiki.ubuntu.com/EdgyEft Ubuntu Edgy Eft] (final release expected October 2006) on a Lenovo ThinkPad X41 Tablet. With whatever relevance it may have, the particular model number used in testing was an 1869CSU. Keep in mind that at this document's inception 6.10 is a development version of the Ubuntu Linux OS.&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'''&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 (CD)&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-context&amp;quot;| Unknown&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&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Power Management&lt;br /&gt;
| Software Suspend (hibernate) ||class=&amp;quot;diff-context&amp;quot;| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes&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;| Unknown&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Extra Buttons || Keyboard Section ||class=&amp;quot;diff-context&amp;quot;| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| Tablet buttons ||class=&amp;quot;diff-context&amp;quot;| Unknown&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Fingerprint Scanner ||class=&amp;quot;diff-context&amp;quot;| Unknown&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Harddisk Active Protection ||class=&amp;quot;diff-addedline&amp;quot;| Yes&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Pre-Installation Notes =&lt;br /&gt;
&lt;br /&gt;
== Tablet Screen Rotation (updated i810 drivers) ==&lt;br /&gt;
&lt;br /&gt;
This edition of Ubuntu (Edgy) has XRandR enabled i810 drivers, which allow you to rotate your screen orientation on the fly. The command &amp;lt;tt&amp;gt;xrandr -o [orientation]&amp;lt;/tt&amp;gt; will rotate your screen to your liking. For more information about the &amp;lt;tt&amp;gt;xrandr&amp;lt;/tt&amp;gt; command, refer to the man file (&amp;lt;tt&amp;gt;man xrandr&amp;lt;/tt&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
== Wireless Support ==&lt;br /&gt;
&lt;br /&gt;
Wireless seems to be supported flawlessly in terms of drivers, though I'm not sure how well the built-in Network Manager works. I use the &amp;lt;tt&amp;gt;iwconfig&amp;lt;/tt&amp;gt; command to manage my wireless, as I have a need to create pseudo-&amp;quot;profiles&amp;quot;, and in this document I will describe this alternative process.&lt;br /&gt;
&lt;br /&gt;
== Fingerprint Reader Support ==&lt;br /&gt;
&lt;br /&gt;
Honestly, I care very little about the fingerprint functionality. Its only real use seems to be for gksu-type logins while the tablet is swiveled down, which doesn't occur often in my setup. If someone wants to explore/expound, please do, but I won't include any details about the fingerprint reader in this document.&lt;br /&gt;
&lt;br /&gt;
== Terminology Used ==&lt;br /&gt;
&lt;br /&gt;
For those of you new to Linux, I'll try to detail a few terms I use with little explanation:&lt;br /&gt;
* Xorg configuration -- the display configuration file, residing in &amp;lt;tt&amp;gt;/etc/X11/xorg.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Execute a command -- press Alt-F2, then type &amp;lt;tt&amp;gt;gnome-terminal&amp;lt;/tt&amp;gt; into the prompt and press enter -- this is a terminal into which you input said commands&lt;br /&gt;
&lt;br /&gt;
= Installation Notes =&lt;br /&gt;
&lt;br /&gt;
== Booting With NetBOOT ==&lt;br /&gt;
&lt;br /&gt;
To boot over NetBOOT I fisrt went into the BIOS and change the boot settings so that PXE was first on the list.  Then I set my desktop to be a DHCP server (dhcp3-server) and configured it using this site [http://wiki.koeln.ccc.de/index.php/Ubuntu_PXE_Install Ubuntu_PXE_Install] and installed tftpd-hpa&lt;br /&gt;
&lt;br /&gt;
Then I downloaded the [http://archive.ubuntu.com/ubuntu/dists/dapper/main/installer-i386/current/images/netboot/netboot.tar.gz Dapper netboot archive] (I tried the testing edgy but it would not run on my X41 as of 9/9/06)&lt;br /&gt;
&lt;br /&gt;
Then I assigned my desktop a static IP in the range I set my DHCP server up for and plugged my laptop into it with a cross over cable and rebooted.  &lt;br /&gt;
&lt;br /&gt;
The X41 received an IP and then connected to lftp and the same screen as the Ubuntu netboot CD has came up and I followed the instructions.&lt;br /&gt;
&lt;br /&gt;
Once it was intstalled and up-to-date I ran (leave in all quotes, they are important)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;sudo aptitiude update &amp;amp;&amp;amp; sudo aptitude upgrade &lt;br /&gt;
gksudo &amp;quot;update-manager -c -d&amp;quot; &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To upgrade to edgy eft&lt;br /&gt;
&lt;br /&gt;
= Post-Installation Notes =&lt;br /&gt;
&lt;br /&gt;
== Configuring Xorg ==&lt;br /&gt;
&lt;br /&gt;
=== TrackPoint ===&lt;br /&gt;
&lt;br /&gt;
Like in all ThinkPad Xorg configurations, add the following under the &amp;quot;Configured Mouse&amp;quot; device to enable TrackPoint scrolling:&lt;br /&gt;
&lt;br /&gt;
 Option          &amp;quot;EmulateWheel&amp;quot;          &amp;quot;true&amp;quot;&lt;br /&gt;
 Option          &amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Wacom Stylus ===&lt;br /&gt;
&lt;br /&gt;
First install the wacom drivers with the following command:&lt;br /&gt;
 sudo apt-get install wacom-kernel-source xserver-xorg-input-wacom wacom-tools&lt;br /&gt;
&lt;br /&gt;
After doing this, I strongly suggest that you reboot your computer; however, if you're one of those people whose uptime is on the order of four years, I'm sure you'll figure out an alternative that I won't be describing here.&lt;br /&gt;
&lt;br /&gt;
Next step is to check to see if &amp;lt;tt&amp;gt;/dev/wacom&amp;lt;/tt&amp;gt; exists. A '&amp;lt;tt&amp;gt;ls -al /dev | grep wacom&amp;lt;/tt&amp;gt;' should do the trick quite nicely. If it &amp;lt;strong&amp;gt;does&amp;lt;/strong&amp;gt; exist, add the following to your Xorg configuration.&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/wacom&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/wacom&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;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/wacom&amp;quot;&lt;br /&gt;
   Option        &amp;quot;Type&amp;quot;          &amp;quot;cursor&amp;quot;&lt;br /&gt;
   Option        &amp;quot;ForceDevice&amp;quot;   &amp;quot;ISDV4&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
And under the ServerLayout section add:&lt;br /&gt;
&lt;br /&gt;
        InputDevice     &amp;quot;stylus&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
        InputDevice     &amp;quot;cursor&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
        InputDevice     &amp;quot;eraser&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Some people seem to have slightly different configurations (potentially due to model differences). At any rate, if you're looking to find what serial device your stylus is, a simple '&amp;lt;tt&amp;gt;dmesg | grep ttyS&amp;lt;/tt&amp;gt;' should do the trick. Be sure to append to this article if the procedure varies from model to model.&lt;br /&gt;
&lt;br /&gt;
If the stylus still does not work after suspending (even after applying the fix below) try replacing all the &amp;quot;/dev/wacom&amp;quot;'s in your xorg to &amp;quot;/dev/ttyS0&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== Suspend Fix ====&lt;br /&gt;
&lt;br /&gt;
Every suspend/resume cycle drops the wacom, so create the file &amp;lt;tt&amp;gt;/etc/acpi/resume.d/20-setserial.sh&amp;lt;/tt&amp;gt; and add the following (modify settings for your device if necessary):&lt;br /&gt;
&lt;br /&gt;
  #!/bin/bash&lt;br /&gt;
  /bin/setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
Then, go ahead and run a:&lt;br /&gt;
&lt;br /&gt;
 sudo chmod +x /etc/acpi/resume.d/20-setserial.sh&lt;br /&gt;
&lt;br /&gt;
You should be all set to resume with stylus support.&lt;br /&gt;
&lt;br /&gt;
=== ACPI Swivel Events ===&lt;br /&gt;
&lt;br /&gt;
When you swivel your tablet's LCD down or up your computer triggers what's called an ACPI event. This is an event similar to pushing the power or sleep buttons -- it's telling the OS about something that's going on with the hardware.&lt;br /&gt;
&lt;br /&gt;
In Linux, ACPI event handling is bundled into a nice neat little package. First, to make sure you can hear the ACPI event when it happens, run the command '&amp;lt;tt&amp;gt;acpi_listen&amp;lt;/tt&amp;gt;'. The command line will hang there until it picks up on an ACPI event that's occuring, and then it will dump it to the screen. After running acpi_listen, while it's hanging there, swivel your screen down, and then back up. You should get a result similar to this:&lt;br /&gt;
&lt;br /&gt;
 $ acpi_listen&lt;br /&gt;
 ibm/hotkey HKEY 00000080 00005009&lt;br /&gt;
 ibm/hotkey HKEY 00000080 0000500a&lt;br /&gt;
&lt;br /&gt;
The first HKEY entry is your swivel-down-event identifier and the second is your swivel up. If your values differ from those displayed here, be sure to use your values instead.&lt;br /&gt;
&lt;br /&gt;
Next, what we do is create new ACPI handler entries for the specified events, which we operate on in &amp;lt;tt&amp;gt;/etc/acpi/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;/etc/acpi/&amp;lt;/tt&amp;gt; folder generally contains shell files to be executed when events occur. Since there's no shell files to handle swivel events yet, we're gonna go ahead and create some. Yeah, that'd be great.&lt;br /&gt;
&lt;br /&gt;
Use your favorite text editor to modify the following files (the file names are the second line with the # symbol).&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #/etc/acpi/x41tsdown.sh&lt;br /&gt;
 echo 'Rotating screen...'&lt;br /&gt;
 if [ &amp;quot;`/usr/bin/xrandr -o right -v | grep -i 'randr' | wc -l`&amp;quot; -ne &amp;quot;1&amp;quot; ]&lt;br /&gt;
 then&lt;br /&gt;
     echo '!! Something went wrong...'&lt;br /&gt;
     export DISPLAY=&amp;quot;:0.0&amp;quot;&lt;br /&gt;
     export XAUTHORITY=/var/lib/gdm/\:0.Xauth&lt;br /&gt;
     /bin/xset -display $DISPLAY dpms&lt;br /&gt;
     echo 'Trying to rotate again...'&lt;br /&gt;
     /usr/bin/xrandr -o right&lt;br /&gt;
 fi&lt;br /&gt;
 echo 'Rotating stylus...'&lt;br /&gt;
 /usr/bin/xsetwacom set stylus rotate 1&lt;br /&gt;
 echo 'Starting keyboard...'&lt;br /&gt;
 /usr/bin/xvkbd&amp;amp;&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #/etc/acpi/x41tsup.sh&lt;br /&gt;
 echo 'Unrotating screen...'&lt;br /&gt;
 if [ &amp;quot;`/usr/bin/xrandr -o normal -v | grep -i 'randr' | wc -l`&amp;quot; -ne &amp;quot;1&amp;quot; ]&lt;br /&gt;
 then&lt;br /&gt;
     echo '!! Something went wrong...'&lt;br /&gt;
     export DISPLAY=&amp;quot;:0.0&amp;quot;&lt;br /&gt;
     export XAUTHORITY=/var/lib/gdm/\:0.Xauth&lt;br /&gt;
     /bin/xset -display $DISPLAY dpms&lt;br /&gt;
     echo 'Trying to unrotate again...'&lt;br /&gt;
     /usr/bin/xrandr -o normal&lt;br /&gt;
 fi&lt;br /&gt;
 echo 'Rotating stylus...'&lt;br /&gt;
 /usr/bin/xsetwacom set stylus rotate 0&lt;br /&gt;
 echo 'Killing keyboard...'&lt;br /&gt;
 killall xvkbd&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&lt;br /&gt;
 sudo chown root.root /etc/acpi/x41tsdown.sh&lt;br /&gt;
 sudo chmod 755 /etc/acpi/x41tsdown.sh&lt;br /&gt;
 sudo chown root.root /etc/acpi/x41tsup.sh&lt;br /&gt;
 sudo chmod 755 /etc/acpi/x41tsup.sh&lt;br /&gt;
&lt;br /&gt;
If you'd like to edit these scripts with your favorite text editor (which, I realize, is most likely [http://www.gnu.org/fun/jokes/ed.msg.html ed]), it's fairly obvious that they're located in &amp;lt;tt&amp;gt;/etc/acpi/&amp;lt;/tt&amp;gt; as &amp;lt;tt&amp;gt;x41tsdown.sh&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;x41tsup.sh&amp;lt;/tt&amp;gt;. These commands make the shell scripts that handle the events... once we register the events. Let's do that now.&lt;br /&gt;
&lt;br /&gt;
 sudo cat &amp;lt;&amp;lt;EOF &amp;gt; /etc/acpi/events/x41t-swivel-down&lt;br /&gt;
 # /etc/acpi/events/x41t-swivel-down&lt;br /&gt;
 # called when tablet head swivels down&lt;br /&gt;
 event=ibm/hotkey HKEY 00000080 00005009&lt;br /&gt;
 action=/etc/acpi/x41tsdown.sh&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
 sudo cat &amp;lt;&amp;lt;EOF &amp;gt; /etc/acpi/events/x41t-swivel-up&lt;br /&gt;
 # /etc/acpi/events/x41t-swivel-up&lt;br /&gt;
 # called when tablet head swivels up&lt;br /&gt;
 event=ibm/hotkey HKEY 00000080 0000500a&lt;br /&gt;
 action=/etc/acpi/x41tsup.sh&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
Now, awaken your inner ACPI daemon with the following commands:&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/acpid force-reload &lt;br /&gt;
 sudo /etc/init.d/acpid restart&lt;br /&gt;
&lt;br /&gt;
And swivel down your LCD to make sure it works.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;CAUTION&amp;lt;/strong&amp;gt;: Swiveling actions while in one of your tty sessions will kill gdm!!!&lt;br /&gt;
&lt;br /&gt;
To be continued...&lt;br /&gt;
&lt;br /&gt;
=External Sources=&lt;br /&gt;
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)] and the [http://tuxmobil.org/tablet_unix.html Linux on Tablet PCs and webpads survey].&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Ubuntu]]&lt;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=30276</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=30276"/>
		<updated>2007-06-03T02:22:06Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: &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;
=== 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;
== 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;
=== 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 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;
=== Jarnal ===&lt;br /&gt;
&lt;br /&gt;
First, install Sun's JRE 1.5.&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;
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>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=30275</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=30275"/>
		<updated>2007-06-03T02:20:56Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: &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;
=== 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;
== 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;
=== 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 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;
=== Jarnal ===&lt;br /&gt;
&lt;br /&gt;
First, install Sun's JRE 1.5.&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;
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>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=30274</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=30274"/>
		<updated>2007-06-03T02:07:10Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: &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;
==== 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;
=== 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;
== 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;
=== 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 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;
=== Jarnal ===&lt;br /&gt;
&lt;br /&gt;
First, install Sun's JRE 1.5.&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;
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>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=30273</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=30273"/>
		<updated>2007-06-03T02:03:41Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: /* Tablet Software */&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;
==== 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;
=== 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;
= 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;
=== 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;
&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;
=== Jarnal ===&lt;br /&gt;
&lt;br /&gt;
First, install Sun's JRE 1.5.&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;
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>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=30272</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=30272"/>
		<updated>2007-06-03T01:55:28Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: /* Wireless Network */&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;
==== 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;
=== 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;
= 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;
=== 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;
&lt;br /&gt;
&lt;br /&gt;
== Tablet Software == &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>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=30271</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=30271"/>
		<updated>2007-06-03T01:44:50Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: &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;
==== 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;
=== 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 is not enabled by default. 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;
= 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;
=== 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;
&lt;br /&gt;
&lt;br /&gt;
== Tablet Software == &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>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_on_a_ThinkPad_X41_Tablet&amp;diff=30267</id>
		<title>Installing Ubuntu 6.10 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_on_a_ThinkPad_X41_Tablet&amp;diff=30267"/>
		<updated>2007-06-03T00:15:45Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: Oops... Undo revision 30265 by LuisVilla (Talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes the process of (installing and?) configuring [https://wiki.ubuntu.com/EdgyEft Ubuntu Edgy Eft] (final release expected October 2006) on a Lenovo ThinkPad X41 Tablet. With whatever relevance it may have, the particular model number used in testing was an 1869CSU. Keep in mind that at this document's inception 6.10 is a development version of the Ubuntu Linux OS.&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'''&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 (CD)&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-context&amp;quot;| Unknown&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&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Power Management&lt;br /&gt;
| Software Suspend (hibernate) ||class=&amp;quot;diff-context&amp;quot;| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes&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;| Unknown&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Extra Buttons || Keyboard Section ||class=&amp;quot;diff-context&amp;quot;| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| Tablet buttons ||class=&amp;quot;diff-context&amp;quot;| Unknown&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Fingerprint Scanner ||class=&amp;quot;diff-context&amp;quot;| Unknown&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Harddisk Active Protection ||class=&amp;quot;diff-addedline&amp;quot;| Yes&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Pre-Installation Notes =&lt;br /&gt;
&lt;br /&gt;
== Tablet Screen Rotation (updated i810 drivers) ==&lt;br /&gt;
&lt;br /&gt;
This edition of Ubuntu (Edgy) has XRandR enabled i810 drivers, which allow you to rotate your screen orientation on the fly. The command &amp;lt;tt&amp;gt;xrandr -o [orientation]&amp;lt;/tt&amp;gt; will rotate your screen to your liking. For more information about the &amp;lt;tt&amp;gt;xrandr&amp;lt;/tt&amp;gt; command, refer to the man file (&amp;lt;tt&amp;gt;man xrandr&amp;lt;/tt&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
== Wireless Support ==&lt;br /&gt;
&lt;br /&gt;
Wireless seems to be supported flawlessly in terms of drivers, though I'm not sure how well the built-in Network Manager works. I use the &amp;lt;tt&amp;gt;iwconfig&amp;lt;/tt&amp;gt; command to manage my wireless, as I have a need to create pseudo-&amp;quot;profiles&amp;quot;, and in this document I will describe this alternative process.&lt;br /&gt;
&lt;br /&gt;
== Fingerprint Reader Support ==&lt;br /&gt;
&lt;br /&gt;
Honestly, I care very little about the fingerprint functionality. Its only real use seems to be for gksu-type logins while the tablet is swiveled down, which doesn't occur often in my setup. If someone wants to explore/expound, please do, but I won't include any details about the fingerprint reader in this document.&lt;br /&gt;
&lt;br /&gt;
== Terminology Used ==&lt;br /&gt;
&lt;br /&gt;
For those of you new to Linux, I'll try to detail a few terms I use with little explanation:&lt;br /&gt;
* Xorg configuration -- the display configuration file, residing in &amp;lt;tt&amp;gt;/etc/X11/xorg.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Execute a command -- press Alt-F2, then type &amp;lt;tt&amp;gt;gnome-terminal&amp;lt;/tt&amp;gt; into the prompt and press enter -- this is a terminal into which you input said commands&lt;br /&gt;
&lt;br /&gt;
= Installation Notes =&lt;br /&gt;
&lt;br /&gt;
== Booting With NetBOOT ==&lt;br /&gt;
&lt;br /&gt;
To boot over NetBOOT I fisrt went into the BIOS and change the boot settings so that PXE was first on the list.  Then I set my desktop to be a DHCP server (dhcp3-server) and configured it using this site [http://wiki.koeln.ccc.de/index.php/Ubuntu_PXE_Install Ubuntu_PXE_Install] and installed tftpd-hpa&lt;br /&gt;
&lt;br /&gt;
Then I downloaded the [http://archive.ubuntu.com/ubuntu/dists/dapper/main/installer-i386/current/images/netboot/netboot.tar.gz Dapper netboot archive] (I tried the testing edgy but it would not run on my X41 as of 9/9/06)&lt;br /&gt;
&lt;br /&gt;
Then I assigned my desktop a static IP in the range I set my DHCP server up for and plugged my laptop into it with a cross over cable and rebooted.  &lt;br /&gt;
&lt;br /&gt;
The X41 received an IP and then connected to lftp and the same screen as the Ubuntu netboot CD has came up and I followed the instructions.&lt;br /&gt;
&lt;br /&gt;
Once it was intstalled and up-to-date I ran (leave in all quotes, they are important)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;sudo aptitiude update &amp;amp;&amp;amp; sudo aptitude upgrade &lt;br /&gt;
gksudo &amp;quot;update-manager -c -d&amp;quot; &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To upgrade to edgy eft&lt;br /&gt;
&lt;br /&gt;
= Post-Installation Notes =&lt;br /&gt;
&lt;br /&gt;
== Configuring Xorg ==&lt;br /&gt;
&lt;br /&gt;
=== TrackPoint ===&lt;br /&gt;
&lt;br /&gt;
Like in all ThinkPad Xorg configurations, add the following under the &amp;quot;Configured Mouse&amp;quot; device to enable TrackPoint scrolling:&lt;br /&gt;
&lt;br /&gt;
 Option          &amp;quot;EmulateWheel&amp;quot;          &amp;quot;true&amp;quot;&lt;br /&gt;
 Option          &amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Wacom Stylus ===&lt;br /&gt;
&lt;br /&gt;
First install the wacom drivers with the following command:&lt;br /&gt;
 sudo apt-get install wacom-kernel-source xserver-xorg-input-wacom wacom-tools&lt;br /&gt;
&lt;br /&gt;
After doing this, I strongly suggest that you reboot your computer; however, if you're one of those people whose uptime is on the order of four years, I'm sure you'll figure out an alternative that I won't be describing here.&lt;br /&gt;
&lt;br /&gt;
Next step is to check to see if &amp;lt;tt&amp;gt;/dev/wacom&amp;lt;/tt&amp;gt; exists. A '&amp;lt;tt&amp;gt;ls -al /dev | grep wacom&amp;lt;/tt&amp;gt;' should do the trick quite nicely. If it &amp;lt;strong&amp;gt;does&amp;lt;/strong&amp;gt; exist, add the following to your Xorg configuration.&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/wacom&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/wacom&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;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/wacom&amp;quot;&lt;br /&gt;
   Option        &amp;quot;Type&amp;quot;          &amp;quot;cursor&amp;quot;&lt;br /&gt;
   Option        &amp;quot;ForceDevice&amp;quot;   &amp;quot;ISDV4&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
And under the ServerLayout section add:&lt;br /&gt;
&lt;br /&gt;
        InputDevice     &amp;quot;stylus&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
        InputDevice     &amp;quot;cursor&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
        InputDevice     &amp;quot;eraser&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Some people seem to have slightly different configurations (potentially due to model differences). At any rate, if you're looking to find what serial device your stylus is, a simple '&amp;lt;tt&amp;gt;dmesg | grep ttyS&amp;lt;/tt&amp;gt;' should do the trick. Be sure to append to this article if the procedure varies from model to model.&lt;br /&gt;
&lt;br /&gt;
If the stylus still does not work after suspending (even after applying the fix below) try replacing all the &amp;quot;/dev/wacom&amp;quot;'s in your xorg to &amp;quot;/dev/ttyS0&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== Suspend Fix ====&lt;br /&gt;
&lt;br /&gt;
Every suspend/resume cycle drops the wacom, so create the file &amp;lt;tt&amp;gt;/etc/acpi/resume.d/20-setserial.sh&amp;lt;/tt&amp;gt; and add the following (modify settings for your device if necessary):&lt;br /&gt;
&lt;br /&gt;
  #!/bin/bash&lt;br /&gt;
  /bin/setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
Then, go ahead and run a:&lt;br /&gt;
&lt;br /&gt;
 sudo chmod +x /etc/acpi/resume.d/20-setserial.sh&lt;br /&gt;
&lt;br /&gt;
You should be all set to resume with stylus support.&lt;br /&gt;
&lt;br /&gt;
=== ACPI Swivel Events ===&lt;br /&gt;
&lt;br /&gt;
When you swivel your tablet's LCD down or up your computer triggers what's called an ACPI event. This is an event similar to pushing the power or sleep buttons -- it's telling the OS about something that's going on with the hardware.&lt;br /&gt;
&lt;br /&gt;
In Linux, ACPI event handling is bundled into a nice neat little package. First, to make sure you can hear the ACPI event when it happens, run the command '&amp;lt;tt&amp;gt;acpi_listen&amp;lt;/tt&amp;gt;'. The command line will hang there until it picks up on an ACPI event that's occuring, and then it will dump it to the screen. After running acpi_listen, while it's hanging there, swivel your screen down, and then back up. You should get a result similar to this:&lt;br /&gt;
&lt;br /&gt;
 $ acpi_listen&lt;br /&gt;
 ibm/hotkey HKEY 00000080 00005009&lt;br /&gt;
 ibm/hotkey HKEY 00000080 0000500a&lt;br /&gt;
&lt;br /&gt;
The first HKEY entry is your swivel-down-event identifier and the second is your swivel up. If your values differ from those displayed here, be sure to use your values instead.&lt;br /&gt;
&lt;br /&gt;
Next, what we do is create new ACPI handler entries for the specified events, which we operate on in &amp;lt;tt&amp;gt;/etc/acpi/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;/etc/acpi/&amp;lt;/tt&amp;gt; folder generally contains shell files to be executed when events occur. Since there's no shell files to handle swivel events yet, we're gonna go ahead and create some. Yeah, that'd be great.&lt;br /&gt;
&lt;br /&gt;
Use your favorite text editor to modify the following files (the file names are the second line with the # symbol).&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #/etc/acpi/x41tsdown.sh&lt;br /&gt;
 echo 'Rotating screen...'&lt;br /&gt;
 if [ &amp;quot;`/usr/bin/xrandr -o right -v | grep -i 'randr' | wc -l`&amp;quot; -ne &amp;quot;1&amp;quot; ]&lt;br /&gt;
 then&lt;br /&gt;
     echo '!! Something went wrong...'&lt;br /&gt;
     export DISPLAY=&amp;quot;:0.0&amp;quot;&lt;br /&gt;
     export XAUTHORITY=/var/lib/gdm/\:0.Xauth&lt;br /&gt;
     /bin/xset -display $DISPLAY dpms&lt;br /&gt;
     echo 'Trying to rotate again...'&lt;br /&gt;
     /usr/bin/xrandr -o right&lt;br /&gt;
 fi&lt;br /&gt;
 echo 'Rotating stylus...'&lt;br /&gt;
 /usr/bin/xsetwacom set stylus rotate 1&lt;br /&gt;
 echo 'Starting keyboard...'&lt;br /&gt;
 /usr/bin/xvkbd&amp;amp;&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #/etc/acpi/x41tsup.sh&lt;br /&gt;
 echo 'Unrotating screen...'&lt;br /&gt;
 if [ &amp;quot;`/usr/bin/xrandr -o normal -v | grep -i 'randr' | wc -l`&amp;quot; -ne &amp;quot;1&amp;quot; ]&lt;br /&gt;
 then&lt;br /&gt;
     echo '!! Something went wrong...'&lt;br /&gt;
     export DISPLAY=&amp;quot;:0.0&amp;quot;&lt;br /&gt;
     export XAUTHORITY=/var/lib/gdm/\:0.Xauth&lt;br /&gt;
     /bin/xset -display $DISPLAY dpms&lt;br /&gt;
     echo 'Trying to unrotate again...'&lt;br /&gt;
     /usr/bin/xrandr -o normal&lt;br /&gt;
 fi&lt;br /&gt;
 echo 'Rotating stylus...'&lt;br /&gt;
 /usr/bin/xsetwacom set stylus rotate 0&lt;br /&gt;
 echo 'Killing keyboard...'&lt;br /&gt;
 killall xvkbd&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&lt;br /&gt;
 sudo chown root.root /etc/acpi/x41tsdown.sh&lt;br /&gt;
 sudo chmod 755 /etc/acpi/x41tsdown.sh&lt;br /&gt;
 sudo chown root.root /etc/acpi/x41tsup.sh&lt;br /&gt;
 sudo chmod 755 /etc/acpi/x41tsup.sh&lt;br /&gt;
&lt;br /&gt;
If you'd like to edit these scripts with your favorite text editor (which, I realize, is most likely [http://www.gnu.org/fun/jokes/ed.msg.html ed]), it's fairly obvious that they're located in &amp;lt;tt&amp;gt;/etc/acpi/&amp;lt;/tt&amp;gt; as &amp;lt;tt&amp;gt;x41tsdown.sh&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;x41tsup.sh&amp;lt;/tt&amp;gt;. These commands make the shell scripts that handle the events... once we register the events. Let's do that now.&lt;br /&gt;
&lt;br /&gt;
 sudo cat &amp;lt;&amp;lt;EOF &amp;gt; /etc/acpi/events/x41t-swivel-down&lt;br /&gt;
 # /etc/acpi/events/x41t-swivel-down&lt;br /&gt;
 # called when tablet head swivels down&lt;br /&gt;
 event=ibm/hotkey HKEY 00000080 00005009&lt;br /&gt;
 action=/etc/acpi/x41tsdown.sh&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
 sudo cat &amp;lt;&amp;lt;EOF &amp;gt; /etc/acpi/events/x41t-swivel-up&lt;br /&gt;
 # /etc/acpi/events/x41t-swivel-up&lt;br /&gt;
 # called when tablet head swivels up&lt;br /&gt;
 event=ibm/hotkey HKEY 00000080 0000500a&lt;br /&gt;
 action=/etc/acpi/x41tsup.sh&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
Now, awaken your inner ACPI daemon with the following commands:&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/acpid force-reload &lt;br /&gt;
 sudo /etc/init.d/acpid restart&lt;br /&gt;
&lt;br /&gt;
And swivel down your LCD to make sure it works.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;CAUTION&amp;lt;/strong&amp;gt;: Swiveling actions while in one of your tty sessions will kill gdm!!!&lt;br /&gt;
&lt;br /&gt;
To be continued...&lt;br /&gt;
&lt;br /&gt;
=External Sources=&lt;br /&gt;
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)] and the [http://tuxmobil.org/tablet_unix.html Linux on Tablet PCs and webpads survey].&lt;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_on_a_ThinkPad_X41_Tablet&amp;diff=30265</id>
		<title>Installing Ubuntu 6.10 on a ThinkPad X41 Tablet</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.10_on_a_ThinkPad_X41_Tablet&amp;diff=30265"/>
		<updated>2007-06-03T00:01:39Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: /* External Sources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes the process of (installing and?) configuring [https://wiki.ubuntu.com/EdgyEft Ubuntu Edgy Eft] (final release expected October 2006) on a Lenovo ThinkPad X41 Tablet. With whatever relevance it may have, the particular model number used in testing was an 1869CSU. Keep in mind that at this document's inception 6.10 is a development version of the Ubuntu Linux OS.&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'''&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 (CD)&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-context&amp;quot;| Unknown&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&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Power Management&lt;br /&gt;
| Software Suspend (hibernate) ||class=&amp;quot;diff-context&amp;quot;| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes&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;| Unknown&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Extra Buttons || Keyboard Section ||class=&amp;quot;diff-context&amp;quot;| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| Tablet buttons ||class=&amp;quot;diff-context&amp;quot;| Unknown&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Fingerprint Scanner ||class=&amp;quot;diff-context&amp;quot;| Unknown&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Harddisk Active Protection ||class=&amp;quot;diff-addedline&amp;quot;| Yes&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Pre-Installation Notes =&lt;br /&gt;
&lt;br /&gt;
== Tablet Screen Rotation (updated i810 drivers) ==&lt;br /&gt;
&lt;br /&gt;
This edition of Ubuntu (Edgy) has XRandR enabled i810 drivers, which allow you to rotate your screen orientation on the fly. The command &amp;lt;tt&amp;gt;xrandr -o [orientation]&amp;lt;/tt&amp;gt; will rotate your screen to your liking. For more information about the &amp;lt;tt&amp;gt;xrandr&amp;lt;/tt&amp;gt; command, refer to the man file (&amp;lt;tt&amp;gt;man xrandr&amp;lt;/tt&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
== Wireless Support ==&lt;br /&gt;
&lt;br /&gt;
Wireless seems to be supported flawlessly in terms of drivers, though I'm not sure how well the built-in Network Manager works. I use the &amp;lt;tt&amp;gt;iwconfig&amp;lt;/tt&amp;gt; command to manage my wireless, as I have a need to create pseudo-&amp;quot;profiles&amp;quot;, and in this document I will describe this alternative process.&lt;br /&gt;
&lt;br /&gt;
== Fingerprint Reader Support ==&lt;br /&gt;
&lt;br /&gt;
Honestly, I care very little about the fingerprint functionality. Its only real use seems to be for gksu-type logins while the tablet is swiveled down, which doesn't occur often in my setup. If someone wants to explore/expound, please do, but I won't include any details about the fingerprint reader in this document.&lt;br /&gt;
&lt;br /&gt;
== Terminology Used ==&lt;br /&gt;
&lt;br /&gt;
For those of you new to Linux, I'll try to detail a few terms I use with little explanation:&lt;br /&gt;
* Xorg configuration -- the display configuration file, residing in &amp;lt;tt&amp;gt;/etc/X11/xorg.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Execute a command -- press Alt-F2, then type &amp;lt;tt&amp;gt;gnome-terminal&amp;lt;/tt&amp;gt; into the prompt and press enter -- this is a terminal into which you input said commands&lt;br /&gt;
&lt;br /&gt;
= Installation Notes =&lt;br /&gt;
&lt;br /&gt;
== Booting With NetBOOT ==&lt;br /&gt;
&lt;br /&gt;
To boot over NetBOOT I fisrt went into the BIOS and change the boot settings so that PXE was first on the list.  Then I set my desktop to be a DHCP server (dhcp3-server) and configured it using this site [http://wiki.koeln.ccc.de/index.php/Ubuntu_PXE_Install Ubuntu_PXE_Install] and installed tftpd-hpa&lt;br /&gt;
&lt;br /&gt;
Then I downloaded the [http://archive.ubuntu.com/ubuntu/dists/dapper/main/installer-i386/current/images/netboot/netboot.tar.gz Dapper netboot archive] (I tried the testing edgy but it would not run on my X41 as of 9/9/06)&lt;br /&gt;
&lt;br /&gt;
Then I assigned my desktop a static IP in the range I set my DHCP server up for and plugged my laptop into it with a cross over cable and rebooted.  &lt;br /&gt;
&lt;br /&gt;
The X41 received an IP and then connected to lftp and the same screen as the Ubuntu netboot CD has came up and I followed the instructions.&lt;br /&gt;
&lt;br /&gt;
Once it was intstalled and up-to-date I ran (leave in all quotes, they are important)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;sudo aptitiude update &amp;amp;&amp;amp; sudo aptitude upgrade &lt;br /&gt;
gksudo &amp;quot;update-manager -c -d&amp;quot; &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To upgrade to edgy eft&lt;br /&gt;
&lt;br /&gt;
= Post-Installation Notes =&lt;br /&gt;
&lt;br /&gt;
== Configuring Xorg ==&lt;br /&gt;
&lt;br /&gt;
=== TrackPoint ===&lt;br /&gt;
&lt;br /&gt;
Like in all ThinkPad Xorg configurations, add the following under the &amp;quot;Configured Mouse&amp;quot; device to enable TrackPoint scrolling:&lt;br /&gt;
&lt;br /&gt;
 Option          &amp;quot;EmulateWheel&amp;quot;          &amp;quot;true&amp;quot;&lt;br /&gt;
 Option          &amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Wacom Stylus ===&lt;br /&gt;
&lt;br /&gt;
First install the wacom drivers with the following command:&lt;br /&gt;
 sudo apt-get install wacom-kernel-source xserver-xorg-input-wacom wacom-tools&lt;br /&gt;
&lt;br /&gt;
After doing this, I strongly suggest that you reboot your computer; however, if you're one of those people whose uptime is on the order of four years, I'm sure you'll figure out an alternative that I won't be describing here.&lt;br /&gt;
&lt;br /&gt;
Next step is to check to see if &amp;lt;tt&amp;gt;/dev/wacom&amp;lt;/tt&amp;gt; exists. A '&amp;lt;tt&amp;gt;ls -al /dev | grep wacom&amp;lt;/tt&amp;gt;' should do the trick quite nicely. If it &amp;lt;strong&amp;gt;does&amp;lt;/strong&amp;gt; exist, add the following to your Xorg configuration.&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/wacom&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/wacom&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;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/wacom&amp;quot;&lt;br /&gt;
   Option        &amp;quot;Type&amp;quot;          &amp;quot;cursor&amp;quot;&lt;br /&gt;
   Option        &amp;quot;ForceDevice&amp;quot;   &amp;quot;ISDV4&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
And under the ServerLayout section add:&lt;br /&gt;
&lt;br /&gt;
        InputDevice     &amp;quot;stylus&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
        InputDevice     &amp;quot;cursor&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
        InputDevice     &amp;quot;eraser&amp;quot; &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Some people seem to have slightly different configurations (potentially due to model differences). At any rate, if you're looking to find what serial device your stylus is, a simple '&amp;lt;tt&amp;gt;dmesg | grep ttyS&amp;lt;/tt&amp;gt;' should do the trick. Be sure to append to this article if the procedure varies from model to model.&lt;br /&gt;
&lt;br /&gt;
If the stylus still does not work after suspending (even after applying the fix below) try replacing all the &amp;quot;/dev/wacom&amp;quot;'s in your xorg to &amp;quot;/dev/ttyS0&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== Suspend Fix ====&lt;br /&gt;
&lt;br /&gt;
Every suspend/resume cycle drops the wacom, so create the file &amp;lt;tt&amp;gt;/etc/acpi/resume.d/20-setserial.sh&amp;lt;/tt&amp;gt; and add the following (modify settings for your device if necessary):&lt;br /&gt;
&lt;br /&gt;
  #!/bin/bash&lt;br /&gt;
  /bin/setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig&lt;br /&gt;
&lt;br /&gt;
Then, go ahead and run a:&lt;br /&gt;
&lt;br /&gt;
 sudo chmod +x /etc/acpi/resume.d/20-setserial.sh&lt;br /&gt;
&lt;br /&gt;
You should be all set to resume with stylus support.&lt;br /&gt;
&lt;br /&gt;
=== ACPI Swivel Events ===&lt;br /&gt;
&lt;br /&gt;
When you swivel your tablet's LCD down or up your computer triggers what's called an ACPI event. This is an event similar to pushing the power or sleep buttons -- it's telling the OS about something that's going on with the hardware.&lt;br /&gt;
&lt;br /&gt;
In Linux, ACPI event handling is bundled into a nice neat little package. First, to make sure you can hear the ACPI event when it happens, run the command '&amp;lt;tt&amp;gt;acpi_listen&amp;lt;/tt&amp;gt;'. The command line will hang there until it picks up on an ACPI event that's occuring, and then it will dump it to the screen. After running acpi_listen, while it's hanging there, swivel your screen down, and then back up. You should get a result similar to this:&lt;br /&gt;
&lt;br /&gt;
 $ acpi_listen&lt;br /&gt;
 ibm/hotkey HKEY 00000080 00005009&lt;br /&gt;
 ibm/hotkey HKEY 00000080 0000500a&lt;br /&gt;
&lt;br /&gt;
The first HKEY entry is your swivel-down-event identifier and the second is your swivel up. If your values differ from those displayed here, be sure to use your values instead.&lt;br /&gt;
&lt;br /&gt;
Next, what we do is create new ACPI handler entries for the specified events, which we operate on in &amp;lt;tt&amp;gt;/etc/acpi/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;/etc/acpi/&amp;lt;/tt&amp;gt; folder generally contains shell files to be executed when events occur. Since there's no shell files to handle swivel events yet, we're gonna go ahead and create some. Yeah, that'd be great.&lt;br /&gt;
&lt;br /&gt;
Use your favorite text editor to modify the following files (the file names are the second line with the # symbol).&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #/etc/acpi/x41tsdown.sh&lt;br /&gt;
 echo 'Rotating screen...'&lt;br /&gt;
 if [ &amp;quot;`/usr/bin/xrandr -o right -v | grep -i 'randr' | wc -l`&amp;quot; -ne &amp;quot;1&amp;quot; ]&lt;br /&gt;
 then&lt;br /&gt;
     echo '!! Something went wrong...'&lt;br /&gt;
     export DISPLAY=&amp;quot;:0.0&amp;quot;&lt;br /&gt;
     export XAUTHORITY=/var/lib/gdm/\:0.Xauth&lt;br /&gt;
     /bin/xset -display $DISPLAY dpms&lt;br /&gt;
     echo 'Trying to rotate again...'&lt;br /&gt;
     /usr/bin/xrandr -o right&lt;br /&gt;
 fi&lt;br /&gt;
 echo 'Rotating stylus...'&lt;br /&gt;
 /usr/bin/xsetwacom set stylus rotate 1&lt;br /&gt;
 echo 'Starting keyboard...'&lt;br /&gt;
 /usr/bin/xvkbd&amp;amp;&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #/etc/acpi/x41tsup.sh&lt;br /&gt;
 echo 'Unrotating screen...'&lt;br /&gt;
 if [ &amp;quot;`/usr/bin/xrandr -o normal -v | grep -i 'randr' | wc -l`&amp;quot; -ne &amp;quot;1&amp;quot; ]&lt;br /&gt;
 then&lt;br /&gt;
     echo '!! Something went wrong...'&lt;br /&gt;
     export DISPLAY=&amp;quot;:0.0&amp;quot;&lt;br /&gt;
     export XAUTHORITY=/var/lib/gdm/\:0.Xauth&lt;br /&gt;
     /bin/xset -display $DISPLAY dpms&lt;br /&gt;
     echo 'Trying to unrotate again...'&lt;br /&gt;
     /usr/bin/xrandr -o normal&lt;br /&gt;
 fi&lt;br /&gt;
 echo 'Rotating stylus...'&lt;br /&gt;
 /usr/bin/xsetwacom set stylus rotate 0&lt;br /&gt;
 echo 'Killing keyboard...'&lt;br /&gt;
 killall xvkbd&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&lt;br /&gt;
 sudo chown root.root /etc/acpi/x41tsdown.sh&lt;br /&gt;
 sudo chmod 755 /etc/acpi/x41tsdown.sh&lt;br /&gt;
 sudo chown root.root /etc/acpi/x41tsup.sh&lt;br /&gt;
 sudo chmod 755 /etc/acpi/x41tsup.sh&lt;br /&gt;
&lt;br /&gt;
If you'd like to edit these scripts with your favorite text editor (which, I realize, is most likely [http://www.gnu.org/fun/jokes/ed.msg.html ed]), it's fairly obvious that they're located in &amp;lt;tt&amp;gt;/etc/acpi/&amp;lt;/tt&amp;gt; as &amp;lt;tt&amp;gt;x41tsdown.sh&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;x41tsup.sh&amp;lt;/tt&amp;gt;. These commands make the shell scripts that handle the events... once we register the events. Let's do that now.&lt;br /&gt;
&lt;br /&gt;
 sudo cat &amp;lt;&amp;lt;EOF &amp;gt; /etc/acpi/events/x41t-swivel-down&lt;br /&gt;
 # /etc/acpi/events/x41t-swivel-down&lt;br /&gt;
 # called when tablet head swivels down&lt;br /&gt;
 event=ibm/hotkey HKEY 00000080 00005009&lt;br /&gt;
 action=/etc/acpi/x41tsdown.sh&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
 sudo cat &amp;lt;&amp;lt;EOF &amp;gt; /etc/acpi/events/x41t-swivel-up&lt;br /&gt;
 # /etc/acpi/events/x41t-swivel-up&lt;br /&gt;
 # called when tablet head swivels up&lt;br /&gt;
 event=ibm/hotkey HKEY 00000080 0000500a&lt;br /&gt;
 action=/etc/acpi/x41tsup.sh&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
Now, awaken your inner ACPI daemon with the following commands:&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/acpid force-reload &lt;br /&gt;
 sudo /etc/init.d/acpid restart&lt;br /&gt;
&lt;br /&gt;
And swivel down your LCD to make sure it works.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;CAUTION&amp;lt;/strong&amp;gt;: Swiveling actions while in one of your tty sessions will kill gdm!!!&lt;br /&gt;
&lt;br /&gt;
To be continued...&lt;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=30264</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=30264"/>
		<updated>2007-06-02T23:16:34Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: /* Software */&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;
==== 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;
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;
=== 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;
=== 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;
&lt;br /&gt;
Network Manager is installed by default, but is not enabled by default. To turn it on, do as root:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|chkconfig NetworkManager on}}&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;
=== 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;
&lt;br /&gt;
&lt;br /&gt;
== Tablet Software == &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;
=External Sources=&lt;br /&gt;
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)] and the [http://tuxmobil.org/tablet_unix.html Linux on Tablet PCs and webpads survey].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=30263</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=30263"/>
		<updated>2007-06-02T23:16:16Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: /* Configuration */&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;
==== 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;
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;
=== 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;
=== 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;
&lt;br /&gt;
Network Manager is installed by default, but is not enabled by default. To turn it on, do as root:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|chkconfig NetworkManager on}}&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;
=== 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;
=== 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;
== Tablet Software == &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;
=External Sources=&lt;br /&gt;
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)] and the [http://tuxmobil.org/tablet_unix.html Linux on Tablet PCs and webpads survey].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=30262</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=30262"/>
		<updated>2007-06-02T23:14:53Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: /* Software */&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;
==== 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;
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;
=== 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 is not enabled by default. To turn it on, do as root:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|chkconfig NetworkManager on}}&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;
=== 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;
=== 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;
== Tablet Software == &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;
=External Sources=&lt;br /&gt;
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)] and the [http://tuxmobil.org/tablet_unix.html Linux on Tablet PCs and webpads survey].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=30261</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=30261"/>
		<updated>2007-06-02T23:13:12Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: /* Wireless Network */&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;
==== 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;
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;
=== 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 is not enabled by default. To turn it on, do as root:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|chkconfig NetworkManager on}}&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;
=== 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;
=== 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;
=== 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;
=External Sources=&lt;br /&gt;
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)] and the [http://tuxmobil.org/tablet_unix.html Linux on Tablet PCs and webpads survey].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=30260</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=30260"/>
		<updated>2007-06-02T23:12:22Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: /* Network, Power Management, OSD */&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;
==== 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;
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;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Works out of the box- no additional drivers necessary.&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;
=== 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;
=== 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;
=== 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;
=External Sources=&lt;br /&gt;
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)] and the [http://tuxmobil.org/tablet_unix.html Linux on Tablet PCs and webpads survey].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=30259</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=30259"/>
		<updated>2007-06-02T22:21:40Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: /* Success Chart */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Page Not Accurate! =&lt;br /&gt;
This page is not accurate; I've just copied it over from [[Installing Fedora Core 5 on a ThinkPad X41 Tablet]] in order to start editing/updating it for Fedora 7. Please feel free to help out with that if you stumble across this page while it is still a work in progress.&lt;br /&gt;
&lt;br /&gt;
== Success Chart ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| '''Item''' || '''Working''' || '''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Installation &lt;br /&gt;
| Network Installation ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| USB Installation     ||class=&amp;quot;diff-addedline&amp;quot;| Yes (DVD) ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| CRT / Projector ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Screen Rotation ||class=&amp;quot;diff-addedline&amp;quot;| Yes || &lt;br /&gt;
|-&lt;br /&gt;
| Stylus ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Requires configuration changes.&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Power Management&lt;br /&gt;
| Software Suspend (hibernate) ||class=&amp;quot;diff-addedline&amp;quot;| Yes || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
| Suspend to Memory (ACPI sleep) ||class=&amp;quot;diff-addedline&amp;quot;| Yes (mostly) || [[Software Suspend 2]]&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| Audio ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth ||class=&amp;quot;diff-context&amp;quot;| Not Tested (should work) || See [[Installing_Fedora_Core_4_on_a_ThinkPad_X41_Tablet#Bluetooth|Bluetooth on Fedora Core 4]]&lt;br /&gt;
|-&lt;br /&gt;
|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;
==== 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;
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;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Works out of the box- no additional drivers necessary.&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;
=== 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;
=External Sources=&lt;br /&gt;
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)] and the [http://tuxmobil.org/tablet_unix.html Linux on Tablet PCs and webpads survey].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=30258</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=30258"/>
		<updated>2007-06-02T22:13:54Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: /* Success Chart */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Page Not Accurate! =&lt;br /&gt;
This page is not accurate; I've just copied it over from [[Installing Fedora Core 5 on a ThinkPad X41 Tablet]] in order to start editing/updating it for Fedora 7. Please feel free to help out with that if you stumble across this page while it is still a work in progress.&lt;br /&gt;
&lt;br /&gt;
== Success Chart ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|colspan=2| '''Item''' || '''Working''' || '''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2|Installation &lt;br /&gt;
| Network Installation ||class=&amp;quot;diff-addedline&amp;quot;| Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| USB Installation     ||class=&amp;quot;diff-addedline&amp;quot;| Yes (DVD) ||&lt;br /&gt;
|- &lt;br /&gt;
|rowspan=4|Display&lt;br /&gt;
| Laptop Screen  ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Works out of box.&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 || ALSA intel8x0 driver&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Wireless || 802.11b/g ||class=&amp;quot;diff-addedline&amp;quot;| Yes || Works by default.&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;
==== 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;
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;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Works out of the box- no additional drivers necessary.&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;
=== 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;
=External Sources=&lt;br /&gt;
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)] and the [http://tuxmobil.org/tablet_unix.html Linux on Tablet PCs and webpads survey].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=30257</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=30257"/>
		<updated>2007-06-02T21:30:27Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: /* Desktop Effects */&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 || 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;
= 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;
==== 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;
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;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Works out of the box- no additional drivers necessary.&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;
=== 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;
=External Sources=&lt;br /&gt;
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)] and the [http://tuxmobil.org/tablet_unix.html Linux on Tablet PCs and webpads survey].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=30256</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=30256"/>
		<updated>2007-06-02T21:24:12Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: /* Enabling Screen Rotation */  - this all works with the default X server.&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 || 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;
= 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;
Basic 'Desktop Effects' work but are not enabled by default; to enable them run 'desktop-effects' and click 'enable desktop effects'.&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;
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;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Works out of the box- no additional drivers necessary.&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;
=== 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;
=External Sources=&lt;br /&gt;
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)] and the [http://tuxmobil.org/tablet_unix.html Linux on Tablet PCs and webpads survey].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=30255</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=30255"/>
		<updated>2007-06-02T21:17:50Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: Split into tested/not tested.&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 || 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;
= 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;
Basic 'Desktop Effects' work but are not enabled by default; to enable them run 'desktop-effects' and click 'enable desktop effects'.&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;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Works out of the box- no additional drivers necessary.&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;
=== 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;
=External Sources=&lt;br /&gt;
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)] and the [http://tuxmobil.org/tablet_unix.html Linux on Tablet PCs and webpads survey].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=30254</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=30254"/>
		<updated>2007-06-02T20:54:34Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: /* Wireless Network */&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 || 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; 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;
Basic 'Desktop Effects' work but are not enabled by default; to enable them run 'desktop-effects' and click 'enable desktop effects'.&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;
=== Wireless Network ===&lt;br /&gt;
&lt;br /&gt;
Works out of the box- no additional drivers necessary.&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;
=External Sources=&lt;br /&gt;
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)] and the [http://tuxmobil.org/tablet_unix.html Linux on Tablet PCs and webpads survey].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=30253</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=30253"/>
		<updated>2007-06-02T20:49:29Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: /* X Server */  - add information about desktop effects&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 || 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; 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;
Basic 'Desktop Effects' work but are not enabled by default; to enable them run 'desktop-effects' and click 'enable desktop effects'.&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;
=== 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;
If you forget to install the correct firmware, you might get this message when trying to ifup:&lt;br /&gt;
&lt;br /&gt;
  tg3 device eth1 does not seem to be present, delaying initialization.&lt;br /&gt;
&lt;br /&gt;
Double-check that the driver can load the required firmware, by looking into /var/log/messages. If it fails, you'll see something like this:&lt;br /&gt;
&lt;br /&gt;
  kernel: ipw2200: ipw2200-bss.fw request_firmware failed: Reason -2&lt;br /&gt;
  kernel: ipw2200: Unable to load firmware: -2&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;
=External Sources=&lt;br /&gt;
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)] and the [http://tuxmobil.org/tablet_unix.html Linux on Tablet PCs and webpads survey].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=30249</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=30249"/>
		<updated>2007-06-02T20:20:04Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: /* Installation */&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 || 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; 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;
&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;
If you forget to install the correct firmware, you might get this message when trying to ifup:&lt;br /&gt;
&lt;br /&gt;
  tg3 device eth1 does not seem to be present, delaying initialization.&lt;br /&gt;
&lt;br /&gt;
Double-check that the driver can load the required firmware, by looking into /var/log/messages. If it fails, you'll see something like this:&lt;br /&gt;
&lt;br /&gt;
  kernel: ipw2200: ipw2200-bss.fw request_firmware failed: Reason -2&lt;br /&gt;
  kernel: ipw2200: Unable to load firmware: -2&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;
=External Sources=&lt;br /&gt;
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)] and the [http://tuxmobil.org/tablet_unix.html Linux on Tablet PCs and webpads survey].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_7_on_a_ThinkPad_X41_Tablet&amp;diff=30245</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=30245"/>
		<updated>2007-06-02T19:18:50Z</updated>

		<summary type="html">&lt;p&gt;LuisVilla: Create page- information all currently bogus.&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 || 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;
If you forget to install the correct firmware, you might get this message when trying to ifup:&lt;br /&gt;
&lt;br /&gt;
  tg3 device eth1 does not seem to be present, delaying initialization.&lt;br /&gt;
&lt;br /&gt;
Double-check that the driver can load the required firmware, by looking into /var/log/messages. If it fails, you'll see something like this:&lt;br /&gt;
&lt;br /&gt;
  kernel: ipw2200: ipw2200-bss.fw request_firmware failed: Reason -2&lt;br /&gt;
  kernel: ipw2200: Unable to load firmware: -2&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;
=External Sources=&lt;br /&gt;
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)] and the [http://tuxmobil.org/tablet_unix.html Linux on Tablet PCs and webpads survey].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:X41 Tablet]][[Category:Fedora]]&lt;/div&gt;</summary>
		<author><name>LuisVilla</name></author>
		
	</entry>
</feed>