EGalaxyTouchScreen: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
 (Created page with 'Intsall evtouch; <pre> # sudo apt-get install xserver-xorg-input-evtouch </pre>  Modify /etc/X11/xorg.conf; <pre> Add to Section "ServerLayout"         InputDevice "touchscreen" …')  | 
				 (syntax for EGalaxyTouchScreen)  | 
				||
| Line 1: | Line 1: | ||
Intsall evtouch;  | Intsall evtouch;  | ||
<  | <syntaxhighlight lang=bash>  | ||
# sudo apt-get install xserver-xorg-input-evtouch  | # sudo apt-get install xserver-xorg-input-evtouch  | ||
</  | </syntaxhighlight>  | ||
Modify /etc/X11/xorg.conf;  | Modify /etc/X11/xorg.conf;  | ||
<  | <syntaxhighlight lang=bash>  | ||
Add to Section "ServerLayout"  | Add to Section "ServerLayout"  | ||
         InputDevice "touchscreen" "CorePointer"  |          InputDevice "touchscreen" "CorePointer"  | ||
| Line 25: | Line 25: | ||
     Option "SwapY" "true  |      Option "SwapY" "true  | ||
EndSection  | EndSection  | ||
</  | </syntaxhighlight>  | ||
Had to;  | Had to;  | ||
<  | <syntaxhighlight lang=bash>  | ||
# rmmod usbhid  | # rmmod usbhid  | ||
# insmod usbtouchscreen  | # insmod usbtouchscreen  | ||
</  | </syntaxhighlight>  | ||
Restart X;  | Restart X;  | ||
<  | <syntaxhighlight lang=bash>  | ||
# sudo restart gdm  | # sudo restart gdm  | ||
</  | </syntaxhighlight>  | ||
Unable to get ev_calibrate to work  | Unable to get ev_calibrate to work  | ||
| Line 42: | Line 42: | ||
How to use egalax driver;  | How to use egalax driver;  | ||
DL latest driver from eeti.com  | DL latest driver from eeti.com  | ||
<  | <syntaxhighlight lang=bash>  | ||
tar zxvf    | tar zxvf    | ||
cd USBSrc  | cd USBSrc  | ||
vi tkusb.h  | vi tkusb.h  | ||
</  | </syntaxhighlight>  | ||
change asm/semaphore.h to linux/semphore.h  | change asm/semaphore.h to linux/semphore.h  | ||
<  | <syntaxhighlight lang=bash>  | ||
make  | make  | ||
cp tkusb.ko /lib/modules    | cp tkusb.ko /lib/modules    | ||
| Line 60: | Line 61: | ||
sudo sh setup.sh  | sudo sh setup.sh  | ||
sudo restart gdm  | sudo restart gdm  | ||
</  | </syntaxhighlight>  | ||
Latest revision as of 00:45, 25 January 2018
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