Hi all,
I can't get the mouse working on my board and I ran out of ideas.
I configured qt with
Qt Code:
  1. -qt-mouse-pc -qt-mouse-bus -qt-mouse-linuxtp -qt-mouse-yopy -qt-mouse-vr41xx -qt-mouse-qvfb
To copy to clipboard, switch view to plain text mode 
Cross-compiled it for ARM, trying to run mainwindow demo on the board (omap3evm)
Qt Code:
  1. mainwindow -qws
To copy to clipboard, switch view to plain text mode 
The program starts, I see the cursor, but mouse is not working.
I have USB Intellimouse. It does get recognized and becomes
Qt Code:
  1. /dev/input/event2
To copy to clipboard, switch view to plain text mode 
when I cat the device onto stdout, I see output when I move the mouse. So the mouse does work.
I tried setting QWS_MOUSE_PROTO to different settings, including
Qt Code:
  1. export QWS_MOUSE_PROTO 'Intellimouse:/dev/input/event2'
To copy to clipboard, switch view to plain text mode 
but no result.
Tried running the demo with strace, the here's the output:
Qt Code:
  1. open("/dev/input/event2", O_RDWR|O_NONBLOCK) = 10
  2. ioctl(10, TCFLSH, 0x2) = -1 EINVAL (Invalid argument)
  3. write(10, "\363\310\363d\363P"..., 6) = 16
  4. read(10, 0xbecd1528, 8) = -1 EINVAL (Invalid argument)
  5. close(10)
To copy to clipboard, switch view to plain text mode 
Could someone enlighten me, why the mouse is not seen by a QT app?
Thanks!