egalax touchscreen

Tony Lill ajlill at ajlc.waterloo.on.ca
Mon Feb 25 20:05:15 UTC 2008


The egalax driver has been rollen into usbtouchscreen for a while now,
however, I seem to recall that I had to edit the
drivers/usb/input/usbtouchscreen.c to recognize the touchscreen
specifically as an eGalax. Just add the line

{USB_DEVICE(0x0eef, 0x0001), .driver_info = DEVTYPE_EGALAX},

to the appropriate structure. My /proc/bus/input/devices shows

I: Bus=0003 Vendor=0eef Product=0001 Version=0100
N: Name="eGalax Inc. USB TouchController"
P: Phys=/input0
S: Sysfs=/class/input/input2
U: Uniq=
H: Handlers=mouse0 event2 ts0 
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=3

The latest kernel from debian sid (2.6.22-3-686) already has this. So
try a newer kernel or compile your own.

The other thing is I picked up a udev rules file that make a symlink
to the correct input? file. You will need this because the touchscreen
will pop up as a different input? file every time it comes up. Oh, and
in case you haven't noticed yet, if you have dpms enabled and the
screen blanks, the touchpad turns off.

Other than that, I think I had to compile my own xorg evtouch driver,
but I guess you've already done this.

I assume that this line from your x config file is a typo, since it's
missing a /

	Option	"Device"	"dev/input/event1"


Here's my /etc/udev/rules.d/69-touchscreen.rules

# Evtouch udev.rules
#
# Because Evtouch can't autoprobe devices we assume that we only
# Have one device so we can make it like this :P
#
# List here your touchscreen, check if it works  and send it to lifebook_AT_cona
n_DOT_de
# Name can be found in /proc/bus/input/devices ('cat /proc/bus/input/devices')
#

# These are the touchscreens supported by kernel's "usbtouchscreen" module

# eGalax Inc. USB TouchController)
KERNEL=="event*", SUBSYSTEM=="input", ATTRS{idVendor}=="3823", ATTRS{idProduct}=="0001", SYMLINK+="input/evtouch_event"
# eGalax Inc. USB TouchController)
KERNEL=="event*", SUBSYSTEM=="input", ATTRS{idVendor}=="3823", ATTRS{idProduct}=="0002", SYMLINK+="input/evtouch_event"
# eGalax Inc. USB TouchController)
KERNEL=="event*", SUBSYSTEM=="input", ATTRS{idVendor}=="0123", ATTRS{idProduct}=="0001", SYMLINK+="input/evtouch_event"
# eGalax Inc. USB TouchController)
KERNEL=="event*", SUBSYSTEM=="input", ATTRS{idVendor}=="0123", ATTRS{idProduct}=="0001", SYMLINK+="input/evtouch_event"
# eGalax Inc. USB TouchController)
KERNEL=="event*", SUBSYSTEM=="input", ATTRS{idVendor}=="0eef", ATTRS{idProduct}=="0001", SYMLINK+="input/evtouch_event"
# eGalax Inc. USB TouchController)
KERNEL=="event*", SUBSYSTEM=="input", ATTRS{idVendor}=="0eef", ATTRS{idProduct}=="0002", SYMLINK+="input/evtouch_event"
# eGalax Inc. USB TouchController)
KERNEL=="event*", SUBSYSTEM=="input", ATTRS{idVendor}=="1234", ATTRS{idProduct}=="0001", SYMLINK+="input/evtouch_event"
# eGalax Inc. USB TouchController)
KERNEL=="event*", SUBSYSTEM=="input", ATTRS{idVendor}=="1234", ATTRS{idProduct}=="0002", SYMLINK+="input/evtouch_event"
# eTurboTouch
KERNEL=="event*", SUBSYSTEM=="input", ATTRS{idVendor}=="1234", ATTRS{idProduct}=="5678", SYMLINK+="input/evtouch_event"
# PanJit Touchset
KERNEL=="event*", SUBSYSTEM=="input", ATTRS{idVendor}=="134C", ATTRS{idProduct}=="0001", SYMLINK+="input/evtouch_event"
# PanJit Touchset
KERNEL=="event*", SUBSYSTEM=="input", ATTRS{idVendor}=="134C", ATTRS{idProduct}=="0002", SYMLINK+="input/evtouch_event"
# PanJit Touchset
KERNEL=="event*", SUBSYSTEM=="input", ATTRS{idVendor}=="134C", ATTRS{idProduct}=="0003", SYMLINK+="input/evtouch_event"
# PanJit Touchset
KERNEL=="event*", SUBSYSTEM=="input", ATTRS{idVendor}=="134C", ATTRS{idProduct}=="0004", SYMLINK+="input/evtouch_event"
# 3M Microtouch EX II
KERNEL=="event*", SUBSYSTEM=="input", ATTRS{idVendor}=="0596", ATTRS{idProduct}=="0001", SYMLINK+="input/evtouch_event"
# ITM Touchscreens
KERNEL=="event*", SUBSYSTEM=="input", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="F9E9", SYMLINK+="input/evtouch_event"
# Gunze AHL61
KERNEL=="event*", SUBSYSTEM=="input", ATTRS{idVendor}=="0637", ATTRS{idProduct}=="0001", SYMLINK+="input/evtouch_event"
# DMC TSC-10/25
KERNEL=="event*", SUBSYSTEM=="input", ATTRS{idVendor}=="0AFA", ATTRS{idProduct}=="03E8", SYMLINK+="input/evtouch_event"
# Lifebook B-Series
KERNEL=="event*", SUBSYSTEM=="input", ATTRS{name}=="LBPS/2 Fujitsu Lifebook TouchScreen", SYMLINK+="input/evtouch_event"




More information about the ubuntu-users mailing list