Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - egalax touchscreen on panda board: (3 Items)
   
egalax touchscreen on panda board  
Hi

could you please tell me how to configure panda board in order to use egalax usb touchscreen with screen:
graphics.conf ? hid drivers ?

Thanks
Re: egalax touchscreen on panda board  
> Hi
> 
> could you please tell me how to configure panda board in order to use egalax 
> usb touchscreen with screen:
> graphics.conf ? hid drivers ?
> 
> Thanks


Hi,

Assuming you are using a regular egalax USB screen, you will need to run:

io-hid -degalax
devi-hid -Pr touch

You can confirm if this is working by running devi-hid with lots of verbosity (devi-hid -Prvvvvvv touch)

If you don't get any touch events then try the following:

io-hid -dusb
devi-hid -Pr touch  (you can do the same thing with the verbosity -v to test it).

One of the above should work depending on the touch screen.

Next edit your graphics.conf file make sure you have the following:

begin mtouch
  driver = devi
end mtouch

Next make certain you have a scaling.conf file in /etc/system/config, there should be one there you can use as a 
starting point.  Add an entry for the resolution you are using and use "direct".

Once you have that start screen and check the output from sloginfo to ensure that things have started happily.

Calibrating the screen is something else, I am not sure what sort of stuff we have made publicly available for 
calibrating those screens.  You can try gf-calib to see if that works, alot depends on the version of screen you are 
using.

Best regards,

Erick
Re: egalax touchscreen on panda board  
Hi Eric,

thank you for your answer

Actually I got no calib.(hostname), so I created a fictive one (hope it is the proper format) with default value
# cat /etc/system/config/calib.EA0073 
0x0:-1x-1:10 10 FFF FFF 0
#

I launched hid driver
# io-hid -degalax

I could see eGalax and event when I touched the screen
# hidview -a
HIDD v1.00, v1.00 DDK

Device Address       : 0
Vendor               : 0x0eef (eGalax Inc.)
Product              : 0x0001 (USB TouchController)
Version              : r1.10
Usage                : Pointer

Report Data          :
00 : 
00 : 81 90 03 51 02 
00 : 81 8d 03 51 02
...

I tried to attach it to devi drivers and it failed
# devi-hid -Prvvvvvv touch
Looking up touch in module table
Calibration filename: /etc/system/config/calib.EA0073
Resetting module touch
Resetting module abs
Did not find calib info for [639x479].  Attempting to use calculated transformation.
Calibration Matrix An: 0, Bn: 0, Cn: 0, Dn: 0, En: 0, Fn: 0, Divider: 0
InpDuetv:i cset airntsienrgt inoonn:  Pdheovtiocne  iinntsetrafnaccee 
= 1270d0, device no = 0
interrogate bus, returning abs
Attached touch screen report
gf_dev_attach(): error = 2
# 
Process 122900 (devi-hid) terminated SIGSEGV code=1 fltno=11 ip=78008428(/proc/boot/libgf.so.1@gf_display_attach+0x18) 
ma
paddr=00008428. ref=00000000

I got the same error with usb driver.

Best Regards