Problem with mouse: No such device
-
Hi,
I have successfully cross-compiled Qt5 RC1 for the Raspberry Pi and succeeded to load an GUI application onto the linux framebuffer. The keyboard is handled correctly, not the mouse.
This error is repeated forever in the console : Could not read from input device: No such device
I have found a source file (plugins/generic/linuxinput/qlinuxinput.cpp) containing that error string, but I don't understand why it fails to read "/dev/input/event0" (except if a &specification is provided, I don't know where to check/change that)
cat /dev/input/mouse1 | hexdump
0000000 ff18 3800 fefe e838 38f5 f9f3 ec38 38fb
0000010 fef3 e738 38fb fcf0 e038 18fa 00ec d618
0000020 1800 05df f118 1804 08eb f918 1805 06f6
0000030 fe18 1802 03ff 0008 0805 0300 0008 080ecat /dev/input/event0 | hexdump
-> nothingI tried playing with QWS_MOUSE_PROTO, without results.
Is there someone who can save me here ?
Thanks !
Moved to embedded forum, Gerolf
-
By the way, here is the Qt5 configuration :
./configure -opengl es2 -device linux-rasp-pi-g++ -device-option CROSS_COMPILE=/home/guillaume/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/rasp-pi-rootfs -opensource -confirm-license -optimized-qmake -reduce-relocations -reduce-exports -release -make libs -prefix /usr/local/qt5pi
Build .................. libs
Configuration .......... cross_compile qpa largefile precompile_header neon pcre minimal-config small-config medium-config large-config full-config evdev linuxfb c++11 accessibility egl eglfs opengl opengles2 shared qpa reduce_exports reduce_relocations clock-gettime clock-monotonic mremap getaddrinfo ipv6ifname getifaddrs inotify png freetype system-zlib nis iconv rpath concurrent audio-backend v8 release
Debug .................. no
C++11 support .......... yes
pkg-config ............. yes
QtDBus module .......... no
QtConcurrent code ...... yes
QtGui module ........... yes
QtWidgets module ....... yes
JavaScriptCore JIT ..... To be decided by JavaScriptCore
QML debugging .......... yes
PCH support ............ yes
iWMMXt support ......... no
NEON support ........... yes
IPv6 ifname support .... yes
getaddrinfo support .... yes
getifaddrs support ..... yes
Accessibility .......... yes
NIS support ............ yes
CUPS support ........... no
Iconv support .......... yes
Glib support ........... no
GStreamer support ...... no
PulseAudio support ..... no
Large File support ..... yes
GIF support ............ plugin
JPEG support ........... plugin (qt)
PNG support ............ yes (qt)
zlib support ........... system
Session management ..... auto
libudev support ........ no
Use system proxies ..... no
OpenGL support ......... yes (OpenGL ES 2.x)
OpenVG support ......... no
XShape support ......... auto
XVideo support ......... auto
XSync support .......... auto
Xinerama support ....... runtime
Xcursor support ........ runtime
Xfixes support ......... runtime
Xrandr support ......... runtime
Xi support ............. runtime
Xi2 support ............ auto
MIT-SHM support ........ auto
FontConfig support ..... no
XKB Support ............ auto
GTK theme support ...... no
SQLite support ......... plugin (qt)
OpenSSL support ........ no
Alsa support ........... no
libICU support ......... no
PCRE support ........... qt
Xcb support ............ no
Xrender support ........ no
EGLFS support .......... yes
DirectFB support ....... no
LinuxFB support ........ yes
KMS support ............ no