<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Mon May 20, 2013 8:47 pm by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Mon May 20, 2013 8:47 pm</pubDate>
  <lastBuildDate>Mon May 20, 2013 8:47 pm</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>Touch screens and Linux</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=107549#107549</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=14187'&gt;Dutch_Master&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Aug 23, 2012 3:29 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      For a time now I have a touch screen. And in the beginning I struggled to get it working. Nowadays, it's quite easy. First, examine your system. Your kernel should be at least 2.6.34:&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;uname -r&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;If it isn't update your system or install a new kernel, compiling it from scratch. Sources are at the &lt;a href=&quot;http://www.kernel.org/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;kernel.org&lt;/a&gt; website. Grab the latest stable version (3.x.x). If you use a kernel from your distro, install the kernel sources corresponding to your kernel. Either way, it needs some special attention during configuration, more on that later.&lt;br /&gt;
&lt;br /&gt;
Next, look up your touch screen in the list here, to see if it's supported:&lt;br /&gt;
&lt;a href=&quot;http://lii-enac.fr/en/architecture/linux-input/multitouch-devices.html&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://lii-enac.fr/en/architecture/linux-input/multitouch-devices.html&lt;/a&gt;&lt;br /&gt;
If the field is green, you're in luck. I was lucky &lt;img src=&quot;images/smiles/icon_wink.gif&quot; alt=&quot;Wink&quot; border=&quot;0&quot; /&gt; The driver for my device (Quanta) was included into the kernel from version 2.6.34.&lt;br /&gt;
&lt;br /&gt;
For the kernel to know what to do with the input it gets from the driver, it needs some rules. Quoting from an Ubuntu Forum thread on it:&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;Create a file /etc/udev/rules.d/99-touch.rules with the following content&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTRS&amp;#123;idVendor&amp;#125;==&amp;quot;0408&amp;quot;, ATTRS&amp;#123;idProduct&amp;#125;==&amp;quot;3000&amp;quot;, SYMLINK+=&amp;quot;usb/quanta_touch&amp;quot;&lt;br /&gt;
SUBSYSTEM==&amp;quot;input&amp;quot;, KERNEL==&amp;quot;event*&amp;quot;, ATTRS&amp;#123;idVendor&amp;#125;==&amp;quot;0408&amp;quot;, ATTRS&amp;#123;idProduct&amp;#125;==&amp;quot;3000&amp;quot;, SYMLINK+=&amp;quot;input/quanta_touch&amp;quot;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;This is for the quanta driver I have, your rules should reflect the device you use. The lsusb command gives you the vendor and product ID's to use in the rules.&lt;br /&gt;
&lt;br /&gt;
Now it's time to revisit the configuration of the (new) kernel. Go to &amp;quot;Device Drivers&amp;quot; -&amp;gt; &amp;quot;HID Devices&amp;quot; -&amp;gt; &amp;quot;Special HID drivers&amp;quot; -&amp;gt; &amp;quot;Quanta Optical Touch panels&amp;quot; and enter &amp;quot;M&amp;quot; into the field. Again, this is for my Quanta screen, your particular device may be noted there too, just look around for it. Have your driver compile as a module too. If you have installed this new kernel already, there's no need to compile it all over, it just needs the modules rebuilding:&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;make modules &amp;amp;&amp;amp; make modules_install&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;Let it finish. Note that if you haven't installed the kernel yet, you need to issue the full install command:&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;make &amp;amp;&amp;amp; make install &amp;amp;&amp;amp; make modules &amp;amp;&amp;amp; make modules_install&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;The proof of the pudding is in the eating, so insert the new module into the kernel:&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;modprobe hid-quanta&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;Obviously replace the driver name with the correct one for your hardware. Now try moving the cursor with your finger on the screen &lt;img src=&quot;images/smiles/icon_smile.gif&quot; alt=&quot;Smile&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Mind that if you use the proprietary nVidia driver you'd need to re-install it before rebooting. Otherwise the X-server will crash on the next boot (yeah, that's experience &lt;img src=&quot;images/smiles/icon_razz.gif&quot; alt=&quot;Razz&quot; border=&quot;0&quot; /&gt; &lt;img src=&quot;images/smiles/icon_wink.gif&quot; alt=&quot;Wink&quot; border=&quot;0&quot; /&gt;)&lt;br /&gt;
&lt;br /&gt;
Best of luck!&lt;br /&gt;
&lt;br /&gt;
(this Howto was correct using Debian Stable and a 3.1.3 kernel, YMMV!)</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=107549#107549</comments>
                                        <author>Dutch_Master</author>
                                        <pubDate>Thu Aug 23, 2012 3:29 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=107549#107549</guid>
                                      </item></channel></rss>