Hi<br><br>I am on at91sam9263 SBC, filesystem from BR ,uClibc-0.9.31 and Qt-4.6.2. <br><br>I run the Qt app on framebuffer device , using -qws server. <br><br>Many a times the Qt Gui application &#39;looses&#39; the keyboard and whatever one types goes to the background shell ,rather than the input text boxes or dialog boxes. The typed characters are visible on the black screen after quitting from the Qt App. <br>
<br>I have been able to duplicate this problem by doing a hardware reset of USB hub.<br><br>A Usb reset re-enumerates a /dev/input/event1 which is the Usb keyboard device,<br>but a Qt app does&#39;nt recongnise the keyboard after the reset and whatever is typed goes to the background shell, always. Once I restart the App, input returns to normal.<br>
<br>I   export QWS_KEYBOARD=&quot;USB:/dev/input/event1&quot;.<br><br>How come the qws server loose the keyboard even though it simply uses:-<br><br>qkbdlinuxinput_qws.cpp:103:    QString dev = QLatin1String(&quot;/dev/input/event1&quot;);<br>
<br>Does this have anything to do with uclibc ? Any functions that differ very much from libc, which QT calls ?<br><br>My .config:-<br><br>BR2_PACKAGE_QT=y<br>BR2_PACKAGE_QT_SHARED=y<br>BR2_PACKAGE_QT_LICENSE_APPROVED=y<br>
BR2_PACKAGE_QT_GUI_MODULE=y<br>BR2_PACKAGE_QT_PIXEL_DEPTH_1=y<br>BR2_PACKAGE_QT_PIXEL_DEPTH_4=y<br>BR2_PACKAGE_QT_PIXEL_DEPTH_8=y<br>BR2_PACKAGE_QT_PIXEL_DEPTH_12=y<br>BR2_PACKAGE_QT_PIXEL_DEPTH_15=y<br>BR2_PACKAGE_QT_PIXEL_DEPTH_16=y<br>
BR2_PACKAGE_QT_PIXEL_DEPTH_18=y<br>BR2_PACKAGE_QT_PIXEL_DEPTH_24=y<br>BR2_PACKAGE_QT_PIXEL_DEPTH_32=y<br>BR2_PACKAGE_QT_FONT_MICRO=y<br>BR2_PACKAGE_QT_FONT_FIXED=y<br>BR2_PACKAGE_QT_FONT_HELVETICA=y<br>BR2_PACKAGE_QT_FONT_UNIFONT=y<br>
BR2_PACKAGE_QT_QTFREETYPE=y<br>BR2_PACKAGE_QT_GIF=y<br>BR2_PACKAGE_QT_LIBMNG=y<br>BR2_PACKAGE_QT_QTJPEG=y<br>BR2_PACKAGE_QT_QTPNG=y<br>BR2_PACKAGE_QT_QTTIFF=y<br>BR2_PACKAGE_QT_QTZLIB=y<br>BR2_PACKAGE_QT_SQL_MODULE=y<br>BR2_PACKAGE_QT_MYSQL=y<br>
BR2_PACKAGE_QT_SQLITE=y<br>BR2_PACKAGE_QT_GFX_LINUXFB=y<br>BR2_PACKAGE_QT_MOUSE_LINUXINPUT=y<br>BR2_PACKAGE_QT_MOUSE_TSLIB=y<br>BR2_PACKAGE_QT_KEYBOARD_LINUXINPUT=y<br>BR2_PACKAGE_QT_DBUS=y<br>BR2_PACKAGE_QT_XML=y<br>BR2_PACKAGE_QT_NETWORK=y<br>
BR2_PACKAGE_QT_JAVASCRIPTCORE=y<br>BR2_PACKAGE_QT_OPENSSL=y<br>BR2_PACKAGE_QT_SCRIPT=y<br><br>Plz note that I keyboard driver is LINUXINPUT and not TTY.<br><br><br>regards<br><br>Nataraj<br><br><br><br><br>