From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephan Hoffmann Date: Tue, 27 Nov 2012 16:27:37 +0100 Subject: [Buildroot] Qt mouse, keyboard, touchscreen In-Reply-To: <1354002375.96935.YahooMailNeo@web164604.mail.gq1.yahoo.com> References: <1353748764.40553.YahooMailNeo@web164602.mail.gq1.yahoo.com> <50B09888.9000907@relinux.de> <1353916198.97471.YahooMailNeo@web164601.mail.gq1.yahoo.com> <50B3210E.2010806@relinux.de> <1353917395.39625.YahooMailNeo@web164603.mail.gq1.yahoo.com> <50B32588.7010800@relinux.de> <1354002375.96935.YahooMailNeo@web164604.mail.gq1.yahoo.com> Message-ID: <50B4DBE9.8000504@relinux.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Am 27.11.2012 08:46, schrieb Zoran Djordjevic: > I recompiled my RFS. This is what I checked in Buildroot menues: > for mouse: tslib, linux input, qvfb (what qvfb means ?) > for keyboard: linux input, qvfb > My /dev/input node has event0, event1, mouse0 and mice. > When I give: export QWS_MOUSE_PROTO=tslib:/dev/input/event0, > touch screen works fine. However, tried different options for USB mouse, > and neither one works (cat /dev/input/mouse0 or mice gives terminal > "garbage"). > Regarding keyboard, I gave: export > QWS_KEYBOARD=linuxinput:/dev/input/event1 > Keyboard (USB) does work, but from that moment my terminal connected > keyboard (via COM port) - doesn't work (Ctrl-C). When exiting application, > I can't give commands via terminal. Any help ? Sorry, but I do not have any idea. It seems odd that trying to use a USB keyboard breaks the serial console. Maybe someone else can give some advice. Stephan > > Regards > > *From:* Stephan Hoffmann > *To:* Zoran Djordjevic > *Cc:* buildroot at busybox.net > *Sent:* Monday, November 26, 2012 9:17 AM > *Subject:* Re: [Buildroot] Qt mouse, keyboard, touchscreen > > Am 26.11.2012 09:09, schrieb Zoran Djordjevic: >> I didn't go that way - with make clean (rather tried with deleting >> .stamp files). >> It is because building process is so lengthy. But I will probably try >> that. > My experience is that often "make xxx-reconfigure" is enough. But when > there are strange error messages "make clean" often is worth the waiting. >> What else is left for me to do. >> >> Regards >> >> *From:* Stephan Hoffmann mailto:sho at relinux.de >> *To:* Zoran Djordjevic mailto:djdjdjole at yahoo.com >> *Sent:* Monday, November 26, 2012 8:58 AM >> *Subject:* Re: [Buildroot] Qt mouse, keyboard, touchscreen >> >> Am 26.11.2012 08:49, schrieb Zoran Djordjevic: >>> OK - now I checked few options regarding Qt drivers in Buildroot >>> menu and try rebuilding, but got error: >>> The tslib functionality test failed! >> Did you try "make clean"? >>> You might need to modify the indluce and library search paths by editing >>> QMAKE_INCDIR and QMAKE_LIBDIR in ....... (name of the config folder). >>> I don't see either of those ones in qmake.conf in folder quoted, and >>> also >>> if I add them, don't know what to quote ? >>> >>> Regards >>> >>> *From:* Stephan Hoffmann mailto:sho at relinux.de >>> *To:* buildroot at busybox.net >>> *Sent:* Saturday, November 24, 2012 10:51 AM >>> *Subject:* Re: [Buildroot] Qt mouse, keyboard, touchscreen >>> >>> Am 24.11.2012 10:19, schrieb Zoran Djordjevic: >>>> Thanks to helpful information you provided, I managed to built >>>> simple Qt application on my ARM board and it works - meaning >>>> I got some window and some simple effect inside. I am using >>>> framebuffer so started program with -qws option. >>>> However mouse, keyboard and touchscreen are dead. In fact they >>>> are probably visible by kernel (ts_calibrate and ts_test for example, >>>> works OK and cat /dev/input/event0 shows "usuall" garbage on >>>> terminal) however I don't know how to start them to work with Qt. >>>> I successfully started them earlier while using TinyX and GTK, by >>>> simply quoting them with xinit command parameters. >>>> But don't know how to do the same with Qt. >>> Hi, >>> >>> there are two things to consider: >>> >>> 1. Check if there are drivers enabled in buildroot config. The >>> default configuration does not include any drivers. I stepped in >>> this trap when I started to use QT. >>> >>> BTW: Shouldn't we change this to some useful default? >>> >>> 2. QT needs environment variables to configure input devices. >>> >>> http://doc.qt.digia.com/4.7/qt-embedded-envvars.html >>> >>> Hope this helps >>> >>> Stephan >>> >>>> >>>> Regards >>>> >>>> >>>> _______________________________________________ >>>> buildroot mailing list >>>> buildroot at busybox.net >>>> http://lists.busybox.net/mailman/listinfo/buildroot >>> >>> >>> -- >>> reLinux - Stephan Hoffmann >>> Am Schmidtgrund 124 50765 K?ln >>> Tel. +49.221.95595-19 Fax: -64 >>> http://www.relinux.de/ sho at reLinux.de >>> >>> >>> _______________________________________________ >>> buildroot mailing list >>> buildroot at busybox.net >>> http://lists.busybox.net/mailman/listinfo/buildroot >>> >> >> >> -- >> reLinux - Stephan Hoffmann >> Am Schmidtgrund 124 50765 K?ln >> Tel. +49.221.95595-19 Fax: -64 >> http://www.relinux.de/ sho at reLinux.de >> >> >> > > > -- > reLinux - Stephan Hoffmann > Am Schmidtgrund 124 50765 K?ln > Tel. +49.221.95595-19 Fax: -64 > http://www.relinux.de/ sho at reLinux.de > > > -- reLinux - Stephan Hoffmann Am Schmidtgrund 124 50765 K?ln Tel. +49.221.95595-19 Fax: -64 www.reLinux.de sho at reLinux.de -------------- next part -------------- An HTML attachment was scrubbed... URL: