Something else weird... If I disconnect the screen from the serial port on the Sun Ray and run elosetup, it gets much further (obviously doesn't see the screen). If I hook the screen back up, it complains it can't open the port.
[r...@srkiosk elotouch]# ./elosetup -p /tmp/SUNWut/units/IEEE802.00212812faaa/dev/term/a -d :11 Screen size: 1280x1024 Elographics touchscreen opening : /tmp/SUNWut/units/IEEE802.00212812faaa/dev/term/a Try to see if the link is at the specified rate Sending packet : 0x55 0x70 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x6F Waiting a 'P' reply Waiting 100 ms for data from port No answer from link for 'P' query: 0 Waiting 100 ms for data from port No answer from link for 'P' query: 0 Waiting 100 ms for data from port No answer from link for 'P' query: 0 Not at the specified rate or model 2310, will continue Sending packet : 0x55 0x69 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x68 Waiting a 'I' reply Waiting 100 ms for data from port No answer from link for 'I' query: 0 Waiting 100 ms for data from port No answer from link for 'I' query: 0 Waiting 100 ms for data from port No answer from link for 'I' query: 0 Unable to ask Elographics touchscreen identification -Jon ----- Original Message ----- From: "Jonathan C. Bailey" <[email protected]> To: "SunRay-Users mailing list" <[email protected]> Sent: Tuesday, November 23, 2010 7:49:16 AM Subject: Re: [SunRay-Users] ELO Touchscreen Sorry... Meant to send this to the list so everyone could benefit.. 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 _______________________________________________ SunRay-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/sunray-users
