Differences between version 3 and predecessor to the previous major change of HowToXFree86TouchScreenHOWTO.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 3 | Last edited on Saturday, December 20, 2003 9:10:26 am | by DithiDitih | Revert |
Older page: | version 2 | Last edited on Friday, June 7, 2002 1:07:51 am | by perry | Revert |
@@ -1,7 +1,4 @@
-
-
-
Linux Touch Screen HOWTO
@@ -56,12 +53,26 @@
This HOWTO concentrates on devices connected via the serial port
i.e. /dev/ttyS0 or /dev/ttyS1.
+Some Usb support
----
!!2. How to configure the device
+For USB%%%
+If you have a USB touch screen you will need to insert the module
+with modprobe or insmod and create the device with mknod (if not
+using devfs) before the device is available.%%%
+Ex. For egalax drivers%%%
+modprobe tkusb (this creates /dev/usb/tkpanel0 and /dev/usb/tkpanel1)
+Other usb drivers for microtouch and elo are similar.%%%
+Note: this is *NOT* the device name to put in XF86Config, that would
+be /dev/tkpanel0 or something simliar. You can check to see if it exists
+and if it is correct if it has permissions crw--w--w-, the world writeable
+device is for XF86Config, the world readable device is for the usb panel daemon
+(in this case, tpaneld) to use in it's conf file.%%%
+You will probably also need to be running a usb pnp daemon such as usbpnpd.
Touch screen devices are configured in the Xinput section in the XF86Config
file (mostly /etc/X11/XF86Config or /etc/XF86Config).
At first verify that the device driver modules exist. They are located in
@@ -197,13 +208,14 @@
!!5. Configuration under XFree86 4
-(from Lee Monamy)
+(from Lee Monamy, modified by dithi
)
Example XF86Config-4 for an ELO touch screen:
-
+(Many distros now ship with XF86Config-4 named simply XF86Config.
+The syntax is the same.)
Section "!InputDevice"
@@ -241,8 +253,18 @@
...
!InputDevice "ELO touchscreen"
!EndSection
+----
+For egalax touch screen users
+!InputDevice "TKPANEL"
+
+Section "!InputDevice"
+Identifier "TKPANEL"
+Driver "touchkit"
+Option "Device" "/dev/tkpanel0"
+Option "!SendCoreEvents" "yes"
+!EndSection
----
!!6. Suggested reading