EGalaxyTouchScreen

From DrewWiki
Revision as of 00:45, 25 January 2018 by Drew (talk | contribs) (syntax for EGalaxyTouchScreen)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Intsall evtouch;

# sudo apt-get install xserver-xorg-input-evtouch

Modify /etc/X11/xorg.conf;

Add to Section "ServerLayout"
        InputDevice "touchscreen" "CorePointer"

Add new section;
Section "InputDevice"
    Identifier "touchscreen"
    Driver "evtouch"
    Option "Device" "/dev/input/event10"
    Option "DeviceName" "touchscreen"
    Option "MinX" "98"
    Option "MinY" "43"
    Option "MaxX" "940"
    Option "MaxY" "925"
#    Option "ReportingMode" "Raw"
#    Option "Emulate3Buttons"
#   Option "Emulate3Timeout" "50"
    Option "SendCoreEvents" "On"
    Option "SwapY" "true
EndSection

Had to;

# rmmod usbhid
# insmod usbtouchscreen

Restart X;

# sudo restart gdm

Unable to get ev_calibrate to work

How to use egalax driver; DL latest driver from eeti.com

tar zxvf 
cd USBSrc
vi tkusb.h

change asm/semaphore.h to linux/semphore.h

make
cp tkusb.ko /lib/modules 
vi /etc/rc.local
rmmod usbhid
insmod /lib/modules/tkusb.ko
vi /usr/share/hal/fdi/policy/20thirdparty/50-eGalaxy.fdi
evtouch -> egalax
Xorg -configure
cp -i ~/xorg.conf.new /etc/X11/xorg.conf
sudo sh setup.sh
sudo restart gdm