<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WEB-NES-BAY &#187; Terminal Type</title>
	<atom:link href="http://webnesbay.com/tag/terminal-type/feed/" rel="self" type="application/rss+xml" />
	<link>http://webnesbay.com</link>
	<description>Learn Tips and tricks on Linux, Hacking, linux, PHP, Perl, Web, Hardware</description>
	<lastBuildDate>Sun, 11 Apr 2010 05:12:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Tip: Dual boot Ubuntu and windows 7</title>
		<link>http://webnesbay.com/tip-dual-boot-ubuntu-and-windows-7/</link>
		<comments>http://webnesbay.com/tip-dual-boot-ubuntu-and-windows-7/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 03:53:07 +0000</pubDate>
		<dc:creator>WEBNESBAY</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Boot Loader]]></category>
		<category><![CDATA[Doubt]]></category>
		<category><![CDATA[Dual Boot]]></category>
		<category><![CDATA[Gb]]></category>
		<category><![CDATA[Gparted Live Cd]]></category>
		<category><![CDATA[Grub]]></category>
		<category><![CDATA[Hard Disk]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Microsoft Link]]></category>
		<category><![CDATA[Ntfs Partition]]></category>
		<category><![CDATA[People]]></category>
		<category><![CDATA[Product Key]]></category>
		<category><![CDATA[Solution Index]]></category>
		<category><![CDATA[Stage1]]></category>
		<category><![CDATA[Terminal Type]]></category>
		<category><![CDATA[Torrent]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Unallocated Space]]></category>
		<category><![CDATA[Windows Beta]]></category>
		<category><![CDATA[Windows Microsoft]]></category>

		<guid isPermaLink="false">http://webnesbay.com/?p=659</guid>
		<description><![CDATA[“How to” Dual boot Ubuntu and Windows 7 (Ubuntu installed first)
I have recently seen many posts from people trying to dual boot Ubuntu and Windows 7 beta, but not succeeding. So I tried it out myself and found a solution.

Index
1.	Obtain a copy of Windows7.
2.	Partition your disk with gparted.
3.	Install Windows7.
4.	Re-install Grub.
5.	Edit Grub to List Windows 7.
6.	Have Fun.
__________________________________________________  ________________________________
1.	Obtain a copy of windows 7.
Official Microsoft Link &#8211; No more link your time for the official download is out 
*You can also [...]


Related posts:<ol><li><a href='http://webnesbay.com/hack-windows-admin-password-using-ubuntu-linux/' rel='bookmark' title='Permanent Link: Hack Windows Admin Password using Ubuntu Linux'>Hack Windows Admin Password using Ubuntu Linux</a></li>
<li><a href='http://webnesbay.com/speed-up-windows-boot-time/' rel='bookmark' title='Permanent Link: Speed Up Windows Boot Time'>Speed Up Windows Boot Time</a></li>
<li><a href='http://webnesbay.com/how-to-repair-windows-using-linux/' rel='bookmark' title='Permanent Link: How to repair windows using linux'>How to repair windows using linux</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div id="post_message_6527371">“How to” Dual boot Ubuntu and Windows 7 (Ubuntu installed first)</p>
<p>I have recently seen many posts from people trying to dual boot Ubuntu and Windows 7 beta, but not succeeding. So I tried it out myself and found a solution.</p></div>
<div></div>
<div>Index<br />
1.	Obtain a copy of Windows7.<br />
2.	Partition your disk with gparted.<br />
3.	Install Windows7.<br />
4.	Re-install Grub.<br />
5.	Edit Grub to List Windows 7.<br />
6.	Have Fun.<br />
__________________________________________________  ________________________________</p>
<p>1.	Obtain a copy of windows 7.</p>
<p>Official Microsoft Link &#8211; No more link your time for the official download is out <img title="Sad" src="http://ubuntuforums.org/images/smilies/icon_sad.gif" border="0" alt="" /></p>
<p>*You can also find a torrent of this but for legal reasons I cannot provide a link. *</p>
<p>2.	Partition your disk</p>
<p>**This does go wrong in some cases, if in doubt back up your valuable data.**</p>
<p>Boot from a Ubuntu live cd or a gparted live cd.<br />
Start up gparted, If ubuntu is on the whole disk you need to re-size it by at least 8 gb for Windows 7. (Make sure windows 7 is on the second partition to make it easier for grub) You will be left with some unallocated space on your hard disk if you want you can partition it to NTFS or you can do it later on the windows install.</p>
<p>3.	Install Windows 7</p>
<p>Follow the on screen instructions, Select the un-partitioned space to format and install windows on, or if you already made it NTFS choose your NTFS partition.</p>
<p>**It will ask for a product key but you have 30 days to do that. Note: Beta keys will work with the RC**</p>
<p>4.	Re-install GRUB</p>
<p>Now you have windows 7 but it has completely eaten your boot loader so you need to re-install grub.<br />
Boot from the ubuntu live cd and go to terminal.<br />
Type in terminal:</p>
<p>&#8220;sudo grub&#8221;<br />
&#8220;grub&gt; find /boot/grub/stage1&#8243;</p>
<p>That should return your Ubuntu partition in the form of (hdX,Y), use that:</p>
<p>grub&gt; root (hdX,Y)<br />
grub&gt; setup (hd0)<br />
grub&gt; quit</p>
<p>(you don’t need to type the grub&gt; bit)</p>
<p>That has re-installed grub but you can no longer see windows7</p>
<p>5.	Edit grub.<br />
Go to terminal from normal ubuntu and type :</p>
<p>“sudo gedit /boot/grub/menu.lst”</p>
<p>A large text file will open and at the bottom leave a line and add this:</p>
<p>title		windows 7 beta (Loader)<br />
root		(hd0,1)<br />
savedefault<br />
makeactive<br />
chainloader	+1</p>
<p>(Do not type this line but if that does not work on re-boot try “hdo,0 or hd0,2” and so on until it works.)</p>
<p>Now that is done you can re-boot  into windows 7 and ubuntu happily <img title="Smile" src="http://ubuntuforums.org/images/smilies/icon_smile.gif" border="0" alt="" /></div>
<p>Reference: <a href="http://ubuntuforums.org/showthread.php?t=1035999&amp;highlight=howto">ubuntuforums.org</a></p>
<hr style="color: #ffffff; background-color: #ffffff;" size="1" />


<p>Related posts:<ol><li><a href='http://webnesbay.com/hack-windows-admin-password-using-ubuntu-linux/' rel='bookmark' title='Permanent Link: Hack Windows Admin Password using Ubuntu Linux'>Hack Windows Admin Password using Ubuntu Linux</a></li>
<li><a href='http://webnesbay.com/speed-up-windows-boot-time/' rel='bookmark' title='Permanent Link: Speed Up Windows Boot Time'>Speed Up Windows Boot Time</a></li>
<li><a href='http://webnesbay.com/how-to-repair-windows-using-linux/' rel='bookmark' title='Permanent Link: How to repair windows using linux'>How to repair windows using linux</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://webnesbay.com/tip-dual-boot-ubuntu-and-windows-7/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Install a Linux Wacom Kernel Driver for Tablet PC&#8217;s</title>
		<link>http://webnesbay.com/install-a-linux-wacom-kernel-driver-for-tablet-pcs/</link>
		<comments>http://webnesbay.com/install-a-linux-wacom-kernel-driver-for-tablet-pcs/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 07:12:46 +0000</pubDate>
		<dc:creator>WEBNESBAY</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PC Tips]]></category>
		<category><![CDATA[Directory Code]]></category>
		<category><![CDATA[Generic Kernel]]></category>
		<category><![CDATA[Install Linux]]></category>
		<category><![CDATA[Kernel Code]]></category>
		<category><![CDATA[Kernel Driver]]></category>
		<category><![CDATA[Kernel Version]]></category>
		<category><![CDATA[Libraries]]></category>
		<category><![CDATA[Linux Driver]]></category>
		<category><![CDATA[Linux Drivers]]></category>
		<category><![CDATA[Linux Kernel]]></category>
		<category><![CDATA[Linux Pc]]></category>
		<category><![CDATA[Rt Kernel]]></category>
		<category><![CDATA[Source Code Directory]]></category>
		<category><![CDATA[Source Code Tar]]></category>
		<category><![CDATA[Sudo]]></category>
		<category><![CDATA[Tablet Pc]]></category>
		<category><![CDATA[Tar Bz2]]></category>
		<category><![CDATA[Terminal Type]]></category>
		<category><![CDATA[Uname]]></category>
		<category><![CDATA[Wget]]></category>

		<guid isPermaLink="false">http://webnesbay.com/?p=118</guid>
		<description><![CDATA[In this HOW TO we will download the source code from the Linux Wacom Project site, compile it, and then copy the driver to the correct module section. Then we will add the appropriate entries to xorg.conf to detect the tablet inputs. Next using wacomcpl we calibrate the tablet inputs to configure a .xinitrc file. This will give us a working Tablet PC.
Section 1:  Download source code, compile, and install linuxwacom kernel driver/module.
Currently at Linux Wacom Project the drivers [...]


Related posts:<ol><li><a href='http://webnesbay.com/new-intel-graphics-drivers-for-ubuntu-9-04-jaunty/' rel='bookmark' title='Permanent Link: New Intel Graphics Drivers for Ubuntu 9.04 (Jaunty)'>New Intel Graphics Drivers for Ubuntu 9.04 (Jaunty)</a></li>
<li><a href='http://webnesbay.com/install-google-gears-for-firefox-3-5-in-jaunty-linux/' rel='bookmark' title='Permanent Link: Install Google gears for firefox 3.5 in Jaunty Linux'>Install Google gears for firefox 3.5 in Jaunty Linux</a></li>
<li><a href='http://webnesbay.com/how-to-setup-a-dns-server-with-bind-in-ubuntu-linux/' rel='bookmark' title='Permanent Link: How to setup a DNS server with bind in Ubuntu linux'>How to setup a DNS server with bind in Ubuntu linux</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>In this HOW TO we will download the source code from the Linux Wacom Project site, compile it, and then copy the driver to the correct module section. Then we will add the appropriate entries to xorg.conf to detect the tablet inputs. Next using wacomcpl we calibrate the tablet inputs to configure a .xinitrc file. This will give us a working Tablet PC.</p>
<p><strong><span style="text-decoration: underline;">Section 1:  Download source code, compile, and install linuxwacom kernel driver/module.</span></strong></p>
<p>Currently at Linux Wacom Project the drivers available are:<br />
&#8230; Production:  0.8.2-2 &#8230;.. Development:  0.8.3-5<br />
(Just substitute the driver # you want in the following commands. It is better to copy and paste the commands into a terminal rather than type them.)</p>
<p>1) First download the source code tar onto the desktop.  In a terminal type:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 66px; text-align: left;" dir="ltr">cd ./Desktop

wget http://prdownloads.sourceforge.net/linuxwacom/linuxwacom-0.8.2-2.tar.bz2</pre>
</div>
<p>2) Next install the needed libraries, packages and updates using the following apt-get commands.</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 162px; text-align: left;" dir="ltr">sudo apt-get update

sudo apt-get install build-essential libx11-dev libxi-dev x11proto-input-dev xserver-xorg-dev tk8.4-dev tcl8.4-dev libncurses5-dev

sudo apt-get upgrade

sudo apt-get install wacom-tools xserver-xorg-input-wacom

sudo apt-get purge wacom-tools xserver-xorg-input-wacom</pre>
</div>
<p>3) Now the kernel headers for your kernel are needed.  To determine your kernel version:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;" dir="ltr">uname -r</pre>
</div>
<p>If you have the generic kernel:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;" dir="ltr">sudo apt-get install linux-headers-generic</pre>
</div>
<p>If you have the rt kernel:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;" dir="ltr">sudo apt-get install linux-headers-rt</pre>
</div>
<p>(Remember <strong>if you update to a newer kernel</strong>, then <strong>the module won&#8217;t work</strong> on restart because the module is compiled for a specific kernel.  You will have to recompile the module for the newer kernel.)</p>
<p>4) Okay now unpack the source code tar and go into the unpacked source code directory.</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 66px; text-align: left;" dir="ltr">tar xjvf linuxwacom-0.8.2-2.tar.bz2

cd linuxwacom-0.8.2-2</pre>
</div>
<p>5) Then we compile and install the linuxwacom kernel module.<br />
(To see the options the linuxwacom configure script offers you type &#8220;./configure &#8211;help | less&#8221;.)</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 66px; text-align: left;" dir="ltr">./configure --enable-wacom --prefix=/usr

make</pre>
</div>
<p>(using &#8211;prefix=/usr installs to /usr instead of the default /usr/local)</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;" dir="ltr">sudo make install</pre>
</div>
<p>(Don&#8217;t worry if this returns an error saying &#8220;wacom&#8221; is not loaded.  It just means you&#8217;ve never installed wacom before.)</p>
<p>6) Next we copy the module to the appropriate directory:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;" dir="ltr">sudo cp ./src/2.6.27/wacom.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet/wacom.ko</pre>
</div>
<p>For Jaunty use:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;" dir="ltr">sudo cp ./src/2.6.28/wacom.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet/wacom.ko</pre>
</div>
<p>(The driver (wacom.ko) inside the kernel translates the raw data into system data and sends that to Xinput/Xserver where XFree86&#8217;s Wacom X driver (wacom_drv.o) takes control.)</p>
<p>7) You now need to restart.  The kernel module should then be installed.  You may need to restart several times.<br />
(If after more than a few restarts it still isn&#8217;t working try repeating step 6) again. In other words go back into the unpacked source code directory and repeat the &#8220;sudo cp etc.&#8221; command and then restart. Or try martinjochimsen&#8217;s fix in post #3 below.)</p>
<p>8] To verify the linuxwacom kernel module is present:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 66px; text-align: left;" dir="ltr">lsmod

modinfo -d wacom</pre>
</div>
<p>(The module is called “wacom”, not “linuxwacom”.)</p>
<p><strong><span style="text-decoration: underline;">Section 2:  Configure xorg.conf</span></strong></p>
<p>In order to tell Xserver you have a Tablet PC you need to add input sections to your xorg.conf, which is located in “/etc/X11/”. Wacom entries used to be included in the xorg.conf of previous versions of Ubuntu before Intrepid. Sample xorg.conf&#8217;s are attached below. Either add the relevant sections to your xorg.conf or replace your xorg.conf completely. If you decide to replace your xorg.conf with one of the attached ones be sure it is the one for your laptop. Please study the sample xorg.conf and compare it carefully to your xorg.conf before making any changes. And be sure to back up your xorg.conf first!<br />
To edit xorg.conf you have to be administrator so in a terminal:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;" dir="ltr">gksudo gedit /etc/X11/xorg.conf</pre>
</div>
<p>Let&#8217;s look at an example (one that uses all of linuxwacom&#8217;s Tablet PC features). For a HP TX2000 you need to add the following InputDevice Sections.</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 498px; text-align: left;" dir="ltr">Section "InputDevice"
      Identifier        "stylus"
      Driver            "wacom"
      Option "Device" "/dev/input/by-path/pci-0000:00:0b.1-usb-0:2.3:1.0-event-mouse"
      Option            "Type"           "stylus"
      Option            "USB"            "on"
      Option            "Button2"        "3"  # make side-switch a right button
      Option            "TopX"           "225"
      Option            "TopY"           "225"
      Option            "BottomX"        "26300"
      Option            "BottomY"        "16375"
EndSection 

Section "InputDevice"
      Identifier        "eraser"
      Driver            "wacom"
      Option "Device" "/dev/input/by-path/pci-0000:00:0b.1-usb-0:2.3:1.0-event-mouse"
      Option            "Type"           "eraser"
      Option            "USB"            "on"
EndSection 

Section "InputDevice"
      Identifier        "touch"
      Driver            "wacom"
      Option "Device" "/dev/input/by-path/pci-0000:00:0b.1-usb-0:2.3:1.1-event-"
      Option            "Type"           "touch"
      Option            "USB"            "on"
      Option            "TopX"           "200"
      Option            "TopY"           "225"
      Option            "BottomX"        "4000"
      Option            "BottomY"        "3875"
EndSection</pre>
</div>
<p>(The four options ( TopX to BottomY) in the stylus and touch sections are there to provide crude calibration. Once you have calibrated your tablet through wacomcpl (generating a .xinitrc) you can comment them out or remove them. When the user logs in the .xinitrc settings replace the tablet calibration settings in xorg.conf. But if you want all users to have the same calibration settings you can convert your .xinitrc settings to xorg.conf settings. Appendix 2 below explains how.)</p>
<p>You also need to add the following three lines:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 66px; text-align: left;" dir="ltr">      Inputdevice       "stylus"         "SendCoreEvents"
      Inputdevice       "eraser"         "SendCoreEvents"
      Inputdevice       "touch"          "SendCoreEvents"</pre>
</div>
<p>To the &#8220;ServerLayout&#8221; Section which should be at the bottom of xorg.conf.</p>
<p>Since synaptic touch pad part has the word “touch” in it, it will confuse X and be incorrectly detected.  Change the name from:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;" dir="ltr">      Identifier       "Synaptics Touchpad"</pre>
</div>
<p>to:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;" dir="ltr">      Identifier       "Synaptics Pad"</pre>
</div>
<p>Also do not forget to rename it in the server layout section! (Renaming is unnecessary starting with Intrepid since HAL comments out the Synaptics Touchpad in xorg.conf and does fine handling it. But if for some reason you want to reactivate the Touchpad in xorg.conf keep this in mind.)</p>
<p>If you want to learn how the “Device” input paths were determined please look at appendix 1 below.</p>
<p>If you are trying to use <strong>&#8220;/dev/input/wacom&#8221;</strong> in your xorg.conf and it is not working then there may be a problem with your Wacom symlinks. Please check to see if you have a file called “50-xserver-xorg-input-wacom.rules” (or something similar) located in “/etc/udev/rules.d/”. If not see Appendix 3.</p>
<p>Hopefully this example is illustrative of what is necessary to configure a xorg.conf. Once you have the proper or properly configured xorg.conf restart the Xserver with &lt;ctrl&gt;&lt;alt&gt;&lt;backspace&gt;.<br />
After you restart the stylus and touch should work, although probably not very calibrated. If it does not, restart again. Make sure you cover the entire screen to see if the pointer moves to the stylus.</p>
<p><strong><span style="text-decoration: underline;">Section 3:  Calibrating your Tablet PC.</span></strong></p>
<p>The next step is to calibrate your tablet  with the Linux Wacom Project&#8217;s calibration gui, wacomcpl.<br />
In a terminal type:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;" dir="ltr">wacomcpl</pre>
</div>
<p>In the gui click on stylus and calibrate it. Repeat for any other features present (like touch). The gui is straightforward and self-explanatory.</p>
<p>The wacomcpl settings are stored in a .xinitrc file. They only apply during the current session. You can also change your settings on the fly using the xsetwacom parameters in a terminal. To enable the .xinitrc file to apply to Xserver through a reboot you need to:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;" dir="ltr">chmod +x ~/.xinitrc</pre>
</div>
<p>Then go to System-&gt;Preferences-&gt;Sessions and click on add and for the command write &#8220;~/.xinitrc&#8221; (without the quotes). And title it “Wacom Tablet Calibration Settings” or whatever you like.</p>
<p>In Jaunty go to System-&gt;Preferences-&gt;Startup Applications and click on add and for the command write<br />
&#8220;sh /home/yourusername/.xinitrc&#8221; (without the quotes).</p>
<p>Now check the file &#8220;xinitrc&#8221; in &#8220;/etc/X11/xinit/&#8221;. Everything in it should be commented out. If you see:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;" dir="ltr"># invoke global X session script
. /etc/X11/Xsession</pre>
</div>
<p>comment it out like so:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;" dir="ltr"># invoke global X session script
#. /etc/X11/Xsession</pre>
</div>
<p>This will prevent a &#8220;loop&#8221; or other oddities when you reboot or restart X.</p>
<p>You should now have functioning Wacom on your tablet pc!  Congratulations!</p>
<p>Next to get a completely functioning Tablet PC (the ability to rotate your screen from laptop to tablet mode) please proceed to the <strong>Rotation HOW TO</strong> at:  <a href="http://ubuntuforums.org/showthread.php?p=6274392#post6274392" target="_blank">http://ubuntuforums.org/showthread.p&#8230;92#post6274392</a></p>
<p><strong><span style="text-decoration: underline;">Appendix 1:  How to Determine Device Input for xorg.conf<br />
</span></strong><br />
The following steps will determine USB input for xorg.conf. First we need to query the kernel buffer for tablet input. In a terminal type:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;" dir="ltr">dmesg | grep Wacom</pre>
</div>
<p>There should be two lines similar to this.</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;" dir="ltr">[ 45.460644] input: Wacom ISDv4 93 as /devices/pci0000:00/0000:00:0b.1/usb2/2-2/2-2.3/2-2.3:1.0/input/input9
[ 45.478030] input: Wacom ISDv4 93 as /devices/pci0000:00/0000:00:0b.1/usb2/2-2/2-2.3/2-2.3:1.1/input/input10</pre>
</div>
<p>Next we list the USB input files in “/dev/input/by-path” using the long listing format.  Type:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;" dir="ltr">Code:
ls -l /dev/input/by-path</pre>
</div>
<p>Which should give you something similar to.</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 146px; text-align: left;" dir="ltr">lrwxrwxrwx 1 root root 9 2008-07-27 12:07 pci-0000:00:0b.1-usb-0:2.3:1.0-event-mouse -&gt; ../event9
lrwxrwxrwx 1 root root 9 2008-07-27 12:07 pci-0000:00:0b.1-usb-0:2.3:1.0-mouse -&gt; ../mouse1
lrwxrwxrwx 1 root root 9 2008-07-27 12:07 pci-0000:00:0b.1-usb-0:2.3:1.1- -&gt; ../mouse2
lrwxrwxrwx 1 root root 10 2008-07-27 12:07 pci-0000:00:0b.1-usb-0:2.3:1.1-event- -&gt; ../event10
lrwxrwxrwx 1 root root 9 2008-07-27 12:07 platform-i8042-serio-0-event-kbd -&gt; ../event1
lrwxrwxrwx 1 root root 10 2008-07-27 12:07 platform-i8042-serio-1-event-mouse -&gt; ../event11
lrwxrwxrwx 1 root root 9 2008-07-27 12:07 platform-i8042-serio-1-mouse -&gt; ../mouse3
lrwxrwxrwx 1 root root 9 2008-07-27 12:07 platform-pcspkr-event-spkr -&gt; ../event2</pre>
</div>
<p>Now we need to find the device input file that matches the output of dmesg. Notice that input9 (from dmesg) matches with event9 (in the ls command). So the USB input file [pci-0000:00:0b.1-usb-0:2.3:1.0-event-mouse] is the one needed for the stylus. And input10 (from dmesg) matches with event10 (in the ls command). So the USB input file [pci-0000:00:0b.1-usb-0:2.3:1.1-event-] is touch.</p>
<p>Now you can just amend your xorg.conf with the two input files that you just determined. The one ending with &#8220;mouse&#8221; should be in the stylus and eraser sections and the one ending in &#8220;event-&#8221; should be in the touch section.</p>
<p><strong><span style="text-decoration: underline;">Appendix 2:  To Make Calibration Available to All Users<br />
</span></strong><br />
To make the calibrations in .xinitrc system wide they can be installed in xorg.conf.  Open up .xinitrc and xorg.conf:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;" dir="ltr">gedit ~/.xinitrc &amp; gksudo gedit /etc/X11/xorg.conf</pre>
</div>
<p>And transfer the .xinitrc settings over to xorg.conf. For example if the line in .xinitrc is [xsetwacom set touch bottomy "3951"] you can use xsetwacom to figure out how to translate it for the xorg.conf. In a terminal type:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;" dir="ltr">Code:
xsetwacom -x get touch bottomy</pre>
</div>
<p>Giving an output of:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;" dir="ltr">Option "BottomY" "3951"</pre>
</div>
<p>which can be put into xorg.conf under the touch section.  Just repeat the &#8220;translations&#8221; as needed.</p>
<p>Another method would be to copy the lines starting with xsetwacom in ~/.xinitrc to /etc/X11/xinit/xinitrc. This should also make the calibration, etc. settings available to all users.</p>
<p><strong><span style="text-decoration: underline;">Appendix 3:  Add Wacom Symlinks to “/etc/udev/rules.d”.</span></strong></p>
<p>First we&#8217;ll download the most recent “50-xserver-xorg-input-wacom.rules” dated 3-29-09 from Ron&#8217;s Debian git repository onto your desktop. Open a terminal and type:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 66px; text-align: left;" dir="ltr">cd ./Desktop

wget -O 50-xserver-xorg-input-wacom.rules "http://git.debian.org/?p=users/ron/wacom-tools.git;a=blob_plain;f=debian/xserver-xorg-input-wacom.udev;hb=e110b046292d6aff63b489c9b1aecec25d470cdb"</pre>
</div>
<p>This file contains the Wacom symlinks.  Then copy “50-xserver-xorg-input-wacom.rules” to “/etc/udev/rules.d/”.</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;" dir="ltr">sudo cp ./50-xserver-xorg-input-wacom.rules /etc/udev/rules.d/50-xserver-xorg-input-wacom.rules</pre>
</div>
<p>In your xorg.conf for “stylus” and “eraser” &#8220;InputDevice&#8221; sections you would use:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;" dir="ltr">	Option		"Device"	"/dev/input/wacom"</pre>
</div>
<p>In your “touch” section (if you have it) you&#8217;d use:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;" dir="ltr">	Option		"Device"	"/dev/input/wacom-touch"</pre>
</div>
<p>If the symlink is still not working, perhaps your device is not in the symlink wacom.rules.  In a terminal type:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;" dir="ltr">more /proc/bus/input/devices</pre>
</div>
<p>In the output should be at least one section labeled Wacom. Your vendor and product ID should be in it. The vendor ID for Wacom is Vendor=056a.<br />
If your device is not in the table you may be able to construct a symlink. Using the symlinks in the large “table” as a template construct one using your vendor and product ID. Add it to the end of the table, before “# Convenience links for the common case etc.”. To edit the table use:</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Code:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;" dir="ltr">gksudo gedit /etc/udev/rules.d/50-xserver-xorg-input-wacom.rules</pre>
</div>
<p>Or you may want to add a “simpler” symlink to the end of &#8220;/etc/udev/rules.d/60-symlinks.rules&#8221; (after deleting 50-xserver-xorg-input-wacom.rules?) as in post #9 below.</p>
<p><!-- / message --> <!-- attachments --><br />
<fieldset>
<legend>Attached Files</legend>
<table border="0" cellspacing="3" cellpadding="0">
<tbody>
<tr>
<td><img style="vertical-align: baseline;" title="File Type: txt" src="http://ubuntuforums.org/images/attach/txt.gif" border="0" alt="File Type: txt" width="16" height="16" /></td>
<td><a href="http://ubuntuforums.org/attachment.php?attachmentid=99735&amp;d=1231921614">Favux_Generic_Tablet_PC_xorg.conf.txt</a> (1.8 KB)</td>
</tr>
<tr>
<td><img style="vertical-align: baseline;" title="File Type: txt" src="http://ubuntuforums.org/images/attach/txt.gif" border="0" alt="File Type: txt" width="16" height="16" /></td>
<td><a href="http://ubuntuforums.org/attachment.php?attachmentid=99736&amp;d=1231921614">Favux_TX2000_xorg.conf.txt</a> (2.9 KB)</td>
</tr>
<tr>
<td><img style="vertical-align: baseline;" title="File Type: txt" src="http://ubuntuforums.org/images/attach/txt.gif" border="0" alt="File Type: txt" width="16" height="16" /></td>
<td><a href="http://ubuntuforums.org/attachment.php?attachmentid=99737&amp;d=1231921614">Favux_TX2500_xorg.conf.txt</a> (2.8 KB)</td>
</tr>
</tbody>
</table>
</fieldset>


<p>Related posts:<ol><li><a href='http://webnesbay.com/new-intel-graphics-drivers-for-ubuntu-9-04-jaunty/' rel='bookmark' title='Permanent Link: New Intel Graphics Drivers for Ubuntu 9.04 (Jaunty)'>New Intel Graphics Drivers for Ubuntu 9.04 (Jaunty)</a></li>
<li><a href='http://webnesbay.com/install-google-gears-for-firefox-3-5-in-jaunty-linux/' rel='bookmark' title='Permanent Link: Install Google gears for firefox 3.5 in Jaunty Linux'>Install Google gears for firefox 3.5 in Jaunty Linux</a></li>
<li><a href='http://webnesbay.com/how-to-setup-a-dns-server-with-bind-in-ubuntu-linux/' rel='bookmark' title='Permanent Link: How to setup a DNS server with bind in Ubuntu linux'>How to setup a DNS server with bind in Ubuntu linux</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://webnesbay.com/install-a-linux-wacom-kernel-driver-for-tablet-pcs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
