On Tue, Nov 30, 2010 at 12:01 AM, Jonathan C. Bailey < [email protected]> wrote:
> Murray- > > After the ELO_MAX_WAIT fix, it seems to be working very well (can calibrate > and use the screen). I did notice that it seems to be unable to open the > screen on every other run of elotouch (getting "EloOpen tcsetattr: Operation > not permitted" and "Could not initialise touchscreen on port: > /tmp/SUNWut/sessions/11/unit/dev/term/a"). I also noticed that it exited 0 > with that error, so I made the following changes: > > Yes, I get these errors. After closing the serial port Sun Ray seems to make it disappear for a while - usually a 5 second wait will be sufficient. > * In elotouch.c around line 75 (right after the "could not initialise" > error is printed), I added a "return 1;". > * In elotouch.c at the end, I changed the return for main to "return > result;" (so the return status from run_driver gets passed back out) > > With these changes, I should be able to script around problems. > > Thanks, I will make these changes in my code too. > I've also noticed a "Checksum error on Elographics touchscreen link" after > the first touch, but it seems to have no effect. > > Yes the first packet reply from the touchscreen always has checksum errors - something in the protocol I think. > Also, for your info, here is the ID printed by the program about my > specific setup: > > Elographics touchscreen is a Intellitouch, connected through a serial link. > The controller is a model E271-2200, firmware revision 1.12. > Additional features: > External A/D converter > Z axis active > > (odd thing is that the controller is really a 2701RSU - maybe it IDs > differently). > > The Z axis would be interesting to get working. > > Overall, it looks great! It looks like I owe you a round.. > > Next time you're in sunny Brisbane, Australia, sure! > > -Jon > > ----- Original Message ----- > From: "Murray Fraser" <[email protected]> > To: "SunRay-Users mailing list" <[email protected]>, "Jonathan C. > Bailey" <[email protected]> > Sent: Monday, November 29, 2010 4:28:16 AM > Subject: Re: [SunRay-Users] ELO Touchscreen > > Hi Jon / List > > I've been able to get the 1.21 driver working in OEL 5.5 64bit after > changing ELO_MAX_WAIT in touchscreen.h > > Change it from 100ms (100000) to 1000ms (1000000) and you should have > success. > > Please let me know how you go. > > - Murray > > > On Sun, Nov 28, 2010 at 9:16 PM, Murray Fraser < [email protected] > > wrote: > > > Hi Jon & SunRay-Users > > I've corrected a small pointer problem, code now compiles and runs on 64 > bit Linux. > > The new version is here, with changes to touchscreen.c and touchscreen.h > > > http://sourceforge.net/projects/elotouch/files/elotouch-1.2.1.tar.gz/download > > > I still can't get it to work correctly with the Sun Ray serial port > redirection on Linux. I'll do more testing on Monday but this seems to be > the same issue I've had before with Linux and serial port connection - seem > to get corrupt data. > > If I connect a USB-serial adapter to the server, and open /dev/ttyUSB0 > instead of $UTDEVROOT/dev/term/a the driver seems to work fine. > > - Murray > > > > On Tue, Nov 23, 2010 at 3:13 AM, Jonathan C. Bailey < > [email protected] > wrote: > > > > > > Hello, > > I'm currently trying to get an ELO touchscreen (with the 2701 controller > via serial) working on SRS5 running on OEL5. I did some research and saw the > elotouch ( http://sourceforge.net/projects/elotouch/ ) project mentioned > on the list before. Based on my reading, this seems like the perfect option. > > Anyway, I compiled/installed the software, but can't seem to get it > working. It's falling over doing tcsetattr on the serial port. > > I get one of two messages when trying to run it (elosetup -p > $UTDEVROOT/dev/term/a): > > System error while reading from Elographics touchscreen. > > ...or... > > EloOpen tcsetattr: Operation not permitted > Unable to configure Elographics touchscreen port > > > > Has anyone else set up this package and had similar issues? > > > > -Jon > _______________________________________________ > SunRay-Users mailing list > [email protected] > http://www.filibeto.org/mailman/listinfo/sunray-users > > >
_______________________________________________ SunRay-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/sunray-users
