On 10/28/07, <b class="gmail_sendername">David Sharp</b> <<a href="mailto:whereami@gmail.com">whereami@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 10/28/07, Nate Moseman <<a href="mailto:natemoseman@gmail.com">natemoseman@gmail.com</a>> wrote:<br>> On 10/27/07, Nate Moseman <<a href="mailto:natemoseman@gmail.com">natemoseman@gmail.com</a>> wrote:<br>
> > I've been banging my head against this one for a while now, but I can't<br>> figure out what I am suppose to be doing.<br>> ><br>> > I am using Debian Lenny/Sid with their Xorg packages. I've tried the
<br>> Elographics driver, but my thing is not serial; it's usb so I figured that<br>> it's not suppose to be used with my device. I've tried hacking a 'elousb'<br>> driver and was able to get it to compile and sorta get loaded in this
<br>> release... but I have absolutely know clue what I am doing. I can get the<br>> module to load but in it still complains that the driver is non-existant.<br>> ><br>> > I got it from:<br>> <a href="http://www.softcoded.net/eduard/elousb.html">
http://www.softcoded.net/eduard/elousb.html</a><br>> ><br>> > So I figured the evtouch seems to be the right driver.. but people only<br>> talk about Elo Intellitouch devices work which are accuostic devices, mine
<br>> is a accutouch and is resistive so I figure it's different and I don't know<br>> if it's supported. I can get it to respond to key presses and I can<br>> sometimes get the cursor to wiggle back and forth at the bottom of the
<br>> screen or the top of the screen and once sort a middle of the screen.<br>> > But I can't get it to move up and down any.<br>> ><br>> > When trying to run the calibration tool it'll respond to clicks, but it
<br>> doesn't seem to know that the cursor is moving around any. The minimal stays<br>> at '0' and the maximum stays at '2000' always for both X and Y no matter how<br>> much I move things around.
<br>> ><br>> ><br>><br>><br>><br>><br>><br>><br>> Ok.  PROBLEM SOLVED... Almost.<br>><br>> I am still curious about the evtouch stuff. But in fact I got it to work<br>> passably well through the JOYSTICK DRIVER INTERFACE?! Who in the hell would
<br>> think that would work. The only clue I had was the screwy *-event-joystick<br>> symbolic link that was created. Otherwise I would of never guessed to try<br>> the joystick driver.<br><br>This makes sense if you think about how events are reported to the
<br>Linux input subsystem. Mice report relative motion events, while<br>joysticks and touchpads report absolute position events. in addition<br>to the available buttons, this is all the input subsystem knows about<br>the device drivers that report events to it. Then it creates various
<br>event handlers (evdev, keybdev, mousedev, joydev) based partially on<br>the type of axes the device drivers report. relative axes? mousedev.<br>absolute axes? joydev. Everything gets an evdev handler as well.<br><br>You can read all about this in the kernel documentation. see
<br>Documentation/input/input.txt</blockquote><div><br><br>Cool. That makes it make a  bit more sense. I assumed that it was something Elo did (like emulating a joystick to make driver development simple once they moved away from a serial device).
<br><br>Still things are a bit goofy from a usability standpoint. For example when I log out of Gnome and GDM takes over it seems that it grabs the mouse pointer and places it into the center of the screen. Then when you touch the screen the mouse jumps away to some seemingly random point of the screen. Then you can sort of 'recenter' it by touching the far edges of the screen (far left, far right, very top, very bottom) and it's fine again. 
<br><br>Then you can also imagine that with things like Compiz 'spinning cube' were you drag windows to the edge of the screen and the cube 'flips' you have a similar issue.<br></div><br>Now I assume that evtouch would have a somewhat better way of dealing with these situations, but I have no real idea.
<br><br>At work we are making a few thousands of these machines. Maybe tens thousands if people like them. Think of a sort of 'single app, touch screen kiosk' sort of setup. Right now they use a nasty sort of proprietary Elo driver that I don't know much about that has it's own issues.
<br><br>For my purposes the joystick driver works good, but if it needs to be 'recalibrated' (which is what they'd call it) all the time then it's not going to be good enough for them.<br></div><br>Any further information would be very kick-ass. Thanks. I expect that 
input.txt is going to be helpful.<br><br>Oh, and for the record I figured out that the 3rd axis is generating mouse button events... or something like that. It makes scrolling windows very jerky, for example. Probably my fault on the jscal calibration, but the fix I used is:
<br><br>option "MapAxis3" "mode=none"<br><br>Maybe it would be usefull to disable buttons and use the axis? I donno. I have to end up 'triple clicking' double-click things on the nautilus desktop to open things up. (Not a big deal.)
<br><br>again, Thanks. <br>