Hi all,
I can't get the mouse working on my board and I ran out of ideas.
I configured qt with
-qt-mouse-pc -qt-mouse-bus -qt-mouse-linuxtp -qt-mouse-yopy -qt-mouse-vr41xx -qt-mouse-qvfb
-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)
mainwindow -qws
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
/dev/input/event2
/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
export QWS_MOUSE_PROTO 'Intellimouse:/dev/input/event2'
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:
open("/dev/input/event2", O_RDWR|O_NONBLOCK) = 10
ioctl(10, TCFLSH, 0x2) = -1 EINVAL (Invalid argument)
write(10, "\363\310\363d\363P"..., 6) = 16
read(10, 0xbecd1528, 8) = -1 EINVAL (Invalid argument)
close(10)
open("/dev/input/event2", O_RDWR|O_NONBLOCK) = 10
ioctl(10, TCFLSH, 0x2) = -1 EINVAL (Invalid argument)
write(10, "\363\310\363d\363P"..., 6) = 16
read(10, 0xbecd1528, 8) = -1 EINVAL (Invalid argument)
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!
Bookmarks