LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Howto write XF86 Input Module? (https://www.linuxquestions.org/questions/programming-9/howto-write-xf86-input-module-322365/)

ZX_SA 05-11-2005 09:11 AM

Howto write XF86 Input Module?
 
Hi all,

I'm trying to get an ELO 1229L USB touchscreen to work in linux. The USB part works fine, but I'm having problems with the X driver. The supplied driver (binary + some source) doesn't read the axes data correctly - it reads the Y-axis but expects to find the X-axis data elsewhere and thus never gets it.

So I've been looking at either correcting that driver or to write my own. The problem with correcting the existing driver is that that I can't compile it. It's already got this 1000-line Makefile generated by imake which contains settings that doesn't match my system. Also, the c source file tries to include xf86 headers which I don't know where to find! So I figured rewriting may be the easier option. But, I've been searching all day for some info on how to go about writing an Xserver Input Module (the modules typically in /usr/X11R6/lib/modules/input/) but couldn't find anything! If anybody has any info on what I could look at, which packages I need to have installed, which header files I will need, ANYTHING, please let me know!!

Thanks
ZX_SA


All times are GMT -5. The time now is 03:10 AM.