LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   What's built-in for touchscreens with 2.6.24? (https://www.linuxquestions.org/questions/linux-hardware-18/whats-built-in-for-touchscreens-with-2-6-24-a-622864/)

jesmith 02-21-2008 01:54 PM

What's built-in for touchscreens with 2.6.24?
 
I'm working with SLAX 6, which is based on the very latest (7.3) xorg and uses a 2.6.24 kernel (derived from Slackware 12.1). I'm trying to get a touch screen working. The vendor provides closed-source drivers, which need to be recompiled to work with the latest xorg (which he's promised to do for me, but I have no idea how long that will take). I had other problems getting the venerable evtouch_drv driver working.

The rub is that my touch screen actually almost works already! It seems that the usbtouchscreen driver in linux and the built-in mouse drivers in X pretty much know what to do. The only problem is that I don't know how to calibrate things. So my mouse cursor doesn't quite reach the left and right edges of the screen, and it goes a a little beyond the top and bottom.

It seems odd to me that Linux/Xorg would go this far providing touch screen support, but not take the extra step of giving me some way to calibrate.

I'm guessing that instead of using /dev/input/mice, I'd set up separate InputDevice sections in my xorg.conf for the real mouse, and for the touchscreen "mouse", and then I'd give the touchscreen "mouse" some extra options for calibration. But I can't find any documentation on what those options might be.

Or perhaps there is some way to push parameters down into the usbtouchscreen driver?

Any ideas?

-Joshua


All times are GMT -5. The time now is 08:39 PM.