Joerg Ostertags Mini HowTo Seite

Mini/Micro HowTo Seiten

Configure a eGalax TouchScreen

# create a file /etc/udev/rules.d/001_aGalaxy.rules
      SYSFS{idVendor}=="0eef", SYSFS{idProduct}=="0001", KERNEL=="event*",SYMLINK+="input/touchscreen_eGalaxy3"

# restart udev:
      /etc/init.d/udev restart

# replugin the usb cable of the TouchScreen

# If you 're interested: Get the device Number
     grep -B 2 -A 6 'Galax' /proc/bus/input/devices
# and check if the link exists
     ls -l /dev/input/touchscreen_eGalaxy3

wget http://www.timekiller.org/carpc/files/calibrator.c
gcc -L/usr/X11R6/lib/ -lX11 -o calibrator calibrator.c

# Calibrate the screen
./calibrator /dev/input/touchscreen_eGalaxy3

ftp://ftp.debian.org/debian/pool/main/x/xf86-input-evtouch/xserver-xorg-input-evtouch_0.8.6-1_i386.deb
dpkg --install xserver-xorg-input-evtouch 0.8.6-1

# Edit /etx/X11/xorg.conf:
Section "InputDevice"
	Identifier "touchscreen0"
	Driver "evtouch"
	Option "CorePointer"
	Option "Device" "/dev/input/touchscreen_eGalaxy3"
	Option "DeviceName" "touchscreen"
	Option "MinX" "98"
	Option "MaxX" "1940"
	Option "MinY" "43"
	Option "MaxY" "1925"
	#Option "Emulate3Buttons"
	#Option "Emulate3Timeout" "50"
	Option "SwapX"
	Option "Rotate" "CW"
	# Use the following Option while calibrating only
	#Option "Calibrate" "1"
	Option "SendCoreEvents" "On"
	Option "ReportingMode" "Raw"
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice     "dummy"
	InputDevice	"touchscreen0"
EndSection

This is for a Touchscreen where lsusb tells me:
Bus 002 Device 004: ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen
  idVendor           0x0eef D-WAV Scientific Co., Ltd
  idProduct          0x0001 eGalax TouchScreen
  iConfiguration          4 USB TouchScreen
The above configuration is used fot the following Touchscreen. I bought it at Reichelt; a german Electronmic Shop. It's a
  • CAR-DP 1040T
  • 10,4´´ TFT VGA Touchscreen, schwarz, mit VGA-INPUT (4:3)
  • Physical Resolution: 800*600 RGB
  • 229,90 Euros
The detailed description of the display (in German)
  • Hochwertiges und zuverlässiges TFT LCD Display mit VGA-Eingang für Ihren HTPC und viele andere Anwendungsmöglichkeiten als Überwachungsmonitor, TV-Monitor oder zum Einbau in Ihr Auto.
  • Vollständig mit Anleitung, Fernbedienung, Befestigungsarm, Touch-Stift und Kabeln.
  • 10,4 Zoll Touch-Display TFT-LCD Monitor
  • geeignet fur den Einsatz im Auto
  • Eingebaute Lautsprecher mit Verstarker und Kopfhörerausgang
  • Display-Größe: 10,4 Zoll (4:3)
  • Physische Auflösung: 800*600 RGB
  • Max. Auflösung: 1024*768
  • Blickwinkel: 150
  • Helligkeit: 300
  • Kontrast: 320
  • TV/Video-Unterstützung: NTSC/PAL/SECOM (auto switch)
  • Betriebsspannung: DC11.5V-13V (900mA)
  • Leistungsaufnahme:10W(max)
  • Betriebstemperatur: -20 - 60°C
  • Eingangsquellen: 1x Video-Cinch, 1x TV (analog), 1x Audio, 1x VGA, 1 USB, 1x Stromversorgung
  • Funktionen: OSD-Menü, Touch Screen fur PC, eingebauter Audio-Verstärker, AV(kompatibel mit CD,VCD,DVD,GPS,Kamera)
  • PC Betriebssystem: Windows XP, CE/UNIX, ME and 2000
  • Netto-Gewicht: 2kg
  • Zubehör: Fernbedienung, deutsche- und englische Bedienungsanleitung, Befestigungsarm, Treiber-CD, Touch-Stift, Kabel, Zigarettenanzünder-Stromadapter (für den Betrieb im Auto), 220V-Stromanschluss
  • Abmessungen (BxHxT): 268 x 194 x 37 mm
  • Verpackungsgewicht: 2.229kg