eGalax touchscreen calibration
|
24th Apr, 2013, 04:40 PM
Post: #1
|
|||
|
|||
eGalax touchscreen calibration
Hi All!! I'm a new member and i like this forum
I ha ve an issue with xBian...i have a eGalax touchscreen usb and the touch is recognized by the xbian, but is not calibrated with my finger...how could calibrate it?? It was perfect for my carpc project! Thank you very much Luca |
|||
25th Apr, 2013, 07:32 AM
Post: #2
|
|||
|
|||
RE: eGalax touchscreen calibration
Hi Luca,
I have my egalax touch screen (car-pc project) working and calibrated with Xbian. I used the Xbian image, it has the kernel modules necessary for touchscreen support. The only thing I did was follow the guide to re-compile xbmc with the patched files from Andrei included. Follow this guide, it worked for me, then you can add the file: usr/share/eGalaxCalibration/touchscreen_axes_calib, with you data and modify the values to adjust your screen calibration (as Andrei describes) https://github.com/xbianonpi/xbian/wiki/Compiling-XBMC-&-XBMC-dependencies The only thing I needed to do was remove some coding (link below) as I have stated on Andrei's blog, so I could achieve a double click; I found I had no click just a constant mousedrag error in xbmc http://engineering-diy.blogspot.co.uk/2013/02/raspberry-pi-raspbian-xbmc-and-egalax-7.html?showComment=1364419629030#c8991511687109589988 Don' forget to make a swapfile, I needed to, to compile XBMC on 256mb pi For reference, I needed to play with the offset and scale values in the calib file for my 7" 1280x720 touchscreen, calib fle parameters are as follows: calib_x_d=1280;calib_x_fact=-0.625;calib_y_d=760;calib_y_fact=-0.374799606;swap_axes=0; (i scaled the values t fit within a bezel around the screen) Hope this helps mark |
|||
25th Apr, 2013, 07:38 AM
Post: #3
|
|||
|
|||
RE: eGalax touchscreen calibration
@Both, can you guys add some log files on how to recognize if this touchscreen is connected? That we can add a condition to stop executing that small piece of code.
pilight - modular domotica solution
|
|||
25th Apr, 2013, 08:07 AM
Post: #4
|
|||
|
|||
RE: eGalax touchscreen calibration
Thanks you very much!! Tomorrow i will try!
@CurlyMo where can i find the log? |
|||
25th Apr, 2013, 08:11 AM
Post: #5
|
|||
|
|||
RE: eGalax touchscreen calibration
Does this help, I compiled beta1 to get calib to work and removed some code to get double click back. I cut the file down to attach. If you want more let me know
|
|||
25th Apr, 2013, 08:19 AM
Post: #6
|
|||
|
|||
RE: eGalax touchscreen calibration
What is the output of cat /proc/bus/input/devices
pilight - modular domotica solution
|
|||
25th Apr, 2013, 08:26 AM
Post: #7
|
|||
|
|||
RE: eGalax touchscreen calibration
|
|||
25th Apr, 2013, 09:30 AM
Post: #8
|
|||
|
|||
RE: eGalax touchscreen calibration
I misunderstood you, so the post where totally irrelevant. So keep this thread clean i removed them.
pilight - modular domotica solution
|
|||
25th Apr, 2013, 09:37 AM
Post: #9
|
|||
|
|||
RE: eGalax touchscreen calibration
I can confirm this works for me. If you like i can email my MouseStat.cpp / LinuxInputDevices.cpp file so you can compare.
I appreciate you misunderstood, although I disagree that my post should be removed as being "irrelevant". It took me quite some time to make this work and any help I could provide to the OP should be considered as "relevant" to "his" problem until the beta can provide such fixes for all. Please reconsider, I don't like wasting my spare time Kind regards mark |
|||
25th Apr, 2013, 05:28 PM
Post: #10
|
|||
|
|||
RE: eGalax touchscreen calibration
@brantje, can you confirm that if we remove these lines, the device still works (and maybe a little better). That is essentially what Markamc suggested:
https://github.com/xbianonpi/xbian-patches/blob/master/xbmc/eGalaxTouchScreen.patch#L34-L40 pilight - modular domotica solution
|
|||
25th Apr, 2013, 05:39 PM
Post: #11
|
|||
|
|||
RE: eGalax touchscreen calibration
Note that that patch requires updating, @CurlyMo BTW the patch you commited didn't cause the compilation errors, it was a commit on the XBMC git.
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
25th Apr, 2013, 05:44 PM
Post: #12
|
|||
|
|||
RE: eGalax touchscreen calibration
I know, but what i already said, i was recreating a patch that already existed. So my suggestions where irrelevant because i didn't knew that yesterday.
pilight - modular domotica solution
|
|||
25th Apr, 2013, 05:48 PM
Post: #13
|
|||
|
|||
RE: eGalax touchscreen calibration
I see, but if I understand right, Markamc wants to help is with fixing the eGalaxTouchScreen.patch? (https://github.com/xbianonpi/xbian-patches/blob/master/xbmc/eGalaxTouchScreen.patch )
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
25th Apr, 2013, 05:51 PM
Post: #14
|
|||
|
|||
RE: eGalax touchscreen calibration
He suggests removing these lines: https://github.com/xbianonpi/xbian-patch...ch#L34-L40
pilight - modular domotica solution
|
|||
25th Apr, 2013, 06:31 PM
Post: #15
|
|||
|
|||
RE: eGalax touchscreen calibration
Then try it
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
[PROBLEM] Touchscreen calibration is wrong and i'm going crazy. | wash | 5 | 18,926 |
17th Jan, 2015 10:34 PM Last Post: wash |
|
Tutorial: Touchscreen calibration & extra features | Markamc | 0 | 7,301 |
2nd Jul, 2013 12:11 AM Last Post: Markamc |