Re: Input Driver for USB-based ELO Touchscreens
On Mon, 27 Dec 2004, Fred Gleason wrote: Howdy Folks: I have recently written an input driver for XFree86 4.3.x for the USB-based touchscreens made by ELO Graphics (2500U-series controllers). At present, I have successfully tested the driver on several systems using Linux with XFree86 4.3.0. The sources can be found here: ftp://ftp.salemradiolabs.com/pub/srlabs/eloinput/ This I have integrated into our sources. I have a couple of questions on how to proceed that perhaps some of the more knowledgeable folks who hang out here could help me with: 1) LINUX DEPENDENCIES The driver depends upon the Linux USB HID layer for proper operation. What is the proper way to include system specific headers (just 'linux/input.h', really) without breaking other platforms? 2) BUILD SYSTEM At present, I am getting the driver to build by putting it into a 'programs/Xserver/hw/xfree86/input/eloinput/' directory and then simply adding an 'eloinput' to the 'SUBDIRS =' line in 'programs/Xserver/hw/xfree86/input/ Imakefile'. This is clearly incorrect, but I am not enough of an Imake expert (a complete beginner, in fact) to be able to find the 'correct' location. Where should this go? I have added eloinput to xc/config/cf/linux.cf's setting of OSXInputDrivers2, which then becomes part of OSXInputDrivers, itself a part of XInputDrivers. Thus this driver will only build on systems with . Thanks for your patch submission. Marc. +--+---+ | Marc Aurele La France | work: 1-780-492-9310 | | Computing and Network Services | fax:1-780-492-1729 | | 352 General Services Building | email: [EMAIL PROTECTED] | | University of Alberta +---+ | Edmonton, Alberta | | | T6G 2H1 | Standard disclaimers apply| | CANADA | | +--+---+ XFree86 developer and VP. ATI driver and X server internals. ___ Devel mailing list Devel@XFree86.Org http://XFree86.Org/mailman/listinfo/devel
Input Driver for USB-based ELO Touchscreens
Howdy Folks: I have recently written an input driver for XFree86 4.3.x for the USB-based touchscreens made by ELO Graphics (2500U-series controllers). At present, I have successfully tested the driver on several systems using Linux with XFree86 4.3.0. The sources can be found here: ftp://ftp.salemradiolabs.com/pub/srlabs/eloinput/ I have a couple of questions on how to proceed that perhaps some of the more knowledgeable folks who hang out here could help me with: 1) LINUX DEPENDENCIES The driver depends upon the Linux USB HID layer for proper operation. What is the proper way to include system specific headers (just 'linux/input.h', really) without breaking other platforms? 2) BUILD SYSTEM At present, I am getting the driver to build by putting it into a 'programs/Xserver/hw/xfree86/input/eloinput/' directory and then simply adding an 'eloinput' to the 'SUBDIRS =' line in 'programs/Xserver/hw/xfree86/input/ Imakefile'. This is clearly incorrect, but I am not enough of an Imake expert (a complete beginner, in fact) to be able to find the 'correct' location. Where should this go? Any help would be appreciated. For those interested, I have also written a small touchscreen calibration utility (requires Qt 3.x). This utility has been successfully tested with both serial (2500S controller) and USB (2500U controller) ELO models. The sources can be found at: ftp://ftp.salemradiolabs.com/pub/srlabs/elocal/ Cheers! |-| | Frederick F. Gleason, Jr. | Director of Broadcast Software Development | | | Salem Radio Labs| |-| | ...one of the main causes of the fall of the Roman Empire was that,| | lacking zero, they had no way to indicate successful termination of| | their C programs. | |-- Robert Firth | |-| ___ Devel mailing list Devel@XFree86.Org http://XFree86.Org/mailman/listinfo/devel