BRUTSD
BRUTSD (BeRo Universal Touch Screen Daemon) is a touch screen daemon, which I've developed for the PenMount 6000 USB controller in my Gigabyte M912M with a Ubuntu 9.10 installation, but it should also work on other touch screen controllers and most all another linux distributions or at least with openSUSE and Debian.
Download
Installation
You do need root rights to do this!
-
Copy the brutsd binary into the /usr/local/bin directory ex. with cp -f ./brutsd /usr/local/bin/brutsd
-
Set root as UID and GID on the brutsd binary ex. with chown root:root /usr/local/bin/brutsd
-
Set chmod 06755 on the brutsd binary ex. with chmod 06755 /usr/local/bin/brutsd
-
Copy the brutsd.fdi file into the /etc/hal/fdi/policy/ directory ex. with cp -f ./brutsd.fdi /etc/hal/fdi/policy/brutsd.fdi
-
Set root as UID and GID on the brutsd.fdi file ex. with chown root:root /etc/hal/fdi/policy/brutsd.fdi
-
Set chmod 0644 on the brutsd.fdi ex. with chmod 0644 /etc/hal/fdi/policy/brutsd.fdi
-
Execute brutsd -c [youroptionaloptions] to calibrate your touch screen.
-
Execute brutsd -t [youroptionaloptions] to test your calibration, and if necessary (ex. when the calibration is not yet good enough), go back to previous step.
-
Now you have two possible ways, to use brutsd.
-
Way over XOrg libxtest mouse event injections
You can put here simply brutsd in your KDE/GNOME/whatever autostart programs. You need add brutsd -x [youroptions] in your autostart entry in your non-root user account.
-
Way over /dev/uinput, /dev/misc/uinput or /dev/input/uinput
Here is needed, that brutsd is started before Xorg starts. You need add brutsd -u [youroptions] in your Pre-XOrg bash init script.
-
YOU'RE DONE! :-)
Help
For this, execute brutsd -h
Contact
Drop me a mail at benjamin[at]rosseaux[dot]com for bug reports, questions, feature suggestions or whatever. :-)