Hi Jon I think its good news that you managed to get the calibration to run on a laptop, it indicates to me that your touchscreen protocol is supported.
I think you are having the same issues I have had previously when using Linux. I use Ubuntu 8.04, which is unsupported on Sun Ray so I thought it was related to this. OEL5 should be supported so I don't know why you are getting this problem. Can you try connecting your Sun Ray to a normal serial device such as a Cisco switch or router, then open your serial port in minicom/picocom/gtkterm ? Set baud rate to 9600, 8n1 as is standard on Cisco devices, and can you communicate to the device correctly. When using Ubuntu on a Sun Ray I get corruption of the data and weird characters on the terminal, especially after a large amount of text (eg rebooting a cisco switch). - Murray On Tue, Nov 23, 2010 at 11:48 PM, Jonathan C. Bailey < [email protected]> wrote: > I just hooked the touch screen to my laptop (Ubuntu 10.04), compiled > elotouch and elosetup, and was able to "calibrate" the screen properly. I > say calibrate because I didn't actually have any video output to the touch > screen (I was just grabbing touch data on the laptop). > > Unfortunately, I can't test directly on the Sun Ray server since it's a VM. > I will try our Solaris environment later, however. > > Since I've never delt with the serial redirection before, can anyone > enlighten me on any limitations it may have (especially under Linux)? > > -Jon > > ----- Original Message ----- > From: "Jonathan C. Bailey" <[email protected]> > To: [email protected] > Sent: Monday, November 22, 2010 9:31:06 PM > Subject: Re: [SunRay-Users] ELO Touchscreen > > I'm running under Oracle Enterprise Linux 5. I'm seeing the messages when > logged in as root to a SR2 with the screen attached via serial. I also > noticed that minicom can't connect to the serial port, but od and another > utility (can't remember the name) work fine. > > Lets see what happens tomorrow... > > -Jon > > ----- Original Message ----- > From: "Murray Fraser" <[email protected]> > To: "Jonathan C. Bailey" <[email protected]> > Sent: Monday, November 22, 2010 8:10:01 PM > Subject: Re: [SunRay-Users] ELO Touchscreen > > Hi Jon > > Are you running elosetup as the user logged in on the Sun Ray? This error > looks more like a problem with access to the serial port, something I have > seen before when testing on Linux, but not on Solaris. This is definitely > before any touchscreen protocol is used. > > Unfortunately I don't have any screens to test with at this time, hopefully > by next week I will have a development one back. > > Good luck getting this working tomorrow. > > - Murray > > > On Tue, Nov 23, 2010 at 11:10 AM, Jonathan C. Bailey < > [email protected] > wrote: > > > Murray- > > Thanks for the information. I hope to take another look at things tomorrow > morning. The touch controller is sending data in the SmartSet format (not > sure if the format from an surface wave style screen differs from infrared). > As far as I can tell, it should speak the same SmartSet protocol (well, as > same as is required for this use). I turned debugging up and this is what I > get when running elosetup (no config file): > > Screen size: 1280x1024 > Elographics touchscreen opening: /tmp/SUNWut/sessions/11/unit/dev/term/a > Try to see if the link is at the specified rate > > EloOpen tcsetattr: Operation not permitted > Unable to configure Elographics touchscreen port > > I tried running elotouch with the example/dummy config file and still got > similar errors (couldn't catch them - apparently the server crashed while > the program was running). > > I'll have to spend some more time on it tomorrow. I also have a Solaris 10 > VDI environment I could test it in (and probably will). > > > -Jon > > > > > ----- Original Message ----- > From: "Murray Fraser" < [email protected] > > To: "SunRay-Users mailing list" < [email protected] > > Cc: [email protected] > Sent: Monday, November 22, 2010 5:44:04 PM > Subject: Re: [SunRay-Users] ELO Touchscreen > > Hi Jon > > I'm the one who put that code together. I am only aware of one other person > who was using it. > > I am running the code successfully on a Solaris environment. I did test on > an Ubuntu linux but not using a Sun Ray, as I have issues with Sun Ray > serial communication on Ubuntu 8.04. > > > > > > I get one of two messages when trying to run it (elosetup -p > $UTDEVROOT/dev/term/a): > > System error while reading from Elographics touchscreen. > > > > This might be that the touchscreen isn't replying the same way the ones I > have used are. What kind of screen is it? I've only tested with Infra-red > screens. > > > > ...or... > > EloOpen tcsetattr: Operation not permitted > Unable to configure Elographics touchscreen port > > > > This error is common if you try to start the driver after it has failed - > not closing the port correctly. You shouldn't get this the first time you > run the driver. > > > Can you try setting 'debug_level = 4' in touchscreen.h and recompiling. > > Also you could try putting these values in a calibration file on one line: > -20 3960 171 4079 0 0 1 > > The format is min-x max-x min-y min-x swap-axes flip-x flip-y > > Then use that as a configuration file for the main driver: elotouch -p > $UTDEVROOT/dev/term/a -f calibration.cfg > > - Murray > >
_______________________________________________ SunRay-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/sunray-users
