WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Update from 4.7 70 5.2 missing xvtouch  (Read 2650 times)

Offline duane

  • Newbie
  • *
  • Posts: 16
Update from 4.7 70 5.2 missing xvtouch
« on: March 12, 2014, 09:12:41 AM »
We use xvtouch which doesn't seem to be available on the current version of TC?  There is a apparently a dependency on an older xorg.   Any suggestions?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11631
Re: Update from 4.7 70 5.2 missing xvtouch
« Reply #1 on: March 12, 2014, 10:32:13 AM »
Hi duane
Try using the version from TC4. Change the .dep file to read  Xorg-7.7-lib.tcz  and see if it works. If it works, it can be copied
to the TC5.x repository.

Offline duane

  • Newbie
  • *
  • Posts: 16
Re: Update from 4.7 70 5.2 missing xvtouch
« Reply #2 on: March 12, 2014, 03:17:11 PM »
Thanks.  That seems to load and run, at least I can see it using ps x.  But the calibration is out of whack and the motion is backwards.  I will look into it further. 

« Last Edit: March 12, 2014, 03:51:12 PM by duane »

Offline duane

  • Newbie
  • *
  • Posts: 16
Re: Update from 4.7 70 5.2 missing xvtouch
« Reply #3 on: March 12, 2014, 03:52:41 PM »
No, it doesn't seem to be working.  I get some random behavior and thought that maybe it was a calibration issue or something.  But I have the same behavior as I do on one of the controllers running 4.77 when I disable xvtouch.

Offline dspence

  • Newbie
  • *
  • Posts: 25
Re: Update from 4.7 70 5.2 missing xvtouch
« Reply #4 on: October 07, 2014, 12:06:25 PM »
Output from xvtouch looks like this on my box (with TCL 5.4):

open /dev/input/touchscreen
Device /dev/input/touchscreen = Hampshire Company TSHARC Analog Resistive
Input device ID: bus 0x3 vendor 0x7dd product 0x1 version 0x101
XOpenDisplay(':0')
calib(X,Y) (4038,4023)min (101,207)max
Screen 640x480
select: Resource temporarily unavailable

It repeats this over and over, approx. every 5 seconds.

I'm giving up on this path for now.  Trying Xorg with xinput-calibrator.

Offline dspence

  • Newbie
  • *
  • Posts: 25
Re: Update from 4.7 70 5.2 missing xvtouch
« Reply #5 on: October 10, 2014, 04:15:39 PM »
The xvtouch program does work for me now with TCL 5.4.  I changed a couple of "if (errno)" checks to "if ((errno != 0) && (errno != EAGAIN))" and recompiled it.  I don't know if I have changed something during the upgrade of TCL that makes /dev/input/touchscreen (a link to event2) busy sometimes.

I have sent an e-mail to the author of xvtouch about this.