htcpen: HTC Shift Touchscreen Driver for Linux

Here’s my first attempt to make the HTC Shift touchscreen working under Linux :D

To use it you must boot Windows Vista first, then reboot to Linux and the touchscreen will work.

If someone knows how to initialize the hardware properly (hint: disassemble htcpen.sys and ecdrv.sys) please let me know.

Feel free to send me patches and ideas to improve the driver :)

Download

htcpen version 0.3
htcpen-0.3.tar.gz
eGalax Xorg driver + TouchKit version 2.03
TouchKit-2.03.172.tar.gz

Install instructions

Download the tarball, extract it to some temporary directory, compile and install it:

# tar zxvf htcpen-0.3.tar.gz
# cd htcpen-0.3
# make
# make install

Load the module:

# modprobe htcpen

X.org configuration:

   # tar zxvf TouchKit-2.03.172.tar.gz
   # cd TouchKit
   # cp egalax_drv.so /usr/lib/xorg/modules/input/

Edit /etc/X11/xorg.conf and configure the following:

   Section \"InputDevice\"
         Identifier \"htcpen\"
         Driver \"egalax\"
         Option \"Device\" \"/dev/input/event8\"
         Option \"Parameters\" \"/var/lib/egalax.cal\"
         Option \"ScreenNo\" \"0\"
   Endsection
	
   Section \"ServerLayout\"
         InputDevice \"htcpen\" \"CorePointer\"
   EndSection

Restart your X session and run “TouchKit”, then do the 25 point calibration and enjoy :)

htcpen demonstration video



meneame del.icio.us | Technorati tags: , , , , , , ,

Deixa el teu comentari...