EGalaxyTouchScreen: Difference between revisions

From DrewWiki
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;
<pre>
<syntaxhighlight lang=bash>
# sudo apt-get install xserver-xorg-input-evtouch
# sudo apt-get install xserver-xorg-input-evtouch
</pre>
</syntaxhighlight>


Modify /etc/X11/xorg.conf;
Modify /etc/X11/xorg.conf;
<pre>
<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
</pre>
</syntaxhighlight>


Had to;
Had to;
<pre>
<syntaxhighlight lang=bash>
# rmmod usbhid
# rmmod usbhid
# insmod usbtouchscreen
# insmod usbtouchscreen
</pre>
</syntaxhighlight>


Restart X;
Restart X;
<pre>
<syntaxhighlight lang=bash>
# sudo restart gdm
# sudo restart gdm
</pre>
</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
<pre>
<syntaxhighlight lang=bash>
tar zxvf  
tar zxvf  
cd USBSrc
cd USBSrc
vi tkusb.h
vi tkusb.h
</pre>
</syntaxhighlight>
 
change asm/semaphore.h to linux/semphore.h
change asm/semaphore.h to linux/semphore.h
<pre>
<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
</pre>
</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