All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephan Hoffmann <sho@relinux.de>
To: buildroot@busybox.net
Subject: [Buildroot] Qt mouse, keyboard, touchscreen
Date: Tue, 27 Nov 2012 16:27:37 +0100	[thread overview]
Message-ID: <50B4DBE9.8000504@relinux.de> (raw)
In-Reply-To: <1354002375.96935.YahooMailNeo@web164604.mail.gq1.yahoo.com>

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 <sho@relinux.de>
> *To:* Zoran Djordjevic <djdjdjole@yahoo.com>
> *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 <mailto:buildroot@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 <mailto:buildroot@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 <mailto:sho@reLinux.de>
>>>
>>>
>>> _______________________________________________
>>> buildroot mailing list
>>> buildroot at busybox.net <mailto:buildroot@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 <mailto:sho@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 <mailto:sho@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: <http://lists.busybox.net/pipermail/buildroot/attachments/20121127/d0859568/attachment-0001.html>

  reply	other threads:[~2012-11-27 15:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-24  9:19 [Buildroot] Qt mouse, keyboard, touchscreen Zoran Djordjevic
2012-11-24  9:51 ` Stephan Hoffmann
2012-11-26  7:49   ` Zoran Djordjevic
2012-11-26  8:00     ` Stephan Hoffmann
     [not found]     ` <50B3210E.2010806@relinux.de>
     [not found]       ` <1353917395.39625.YahooMailNeo@web164603.mail.gq1.yahoo.com>
2012-11-26  8:17         ` Stephan Hoffmann
2012-11-27  7:46           ` Zoran Djordjevic
2012-11-27 15:27             ` Stephan Hoffmann [this message]
2012-11-27 15:30             ` Thomas Petazzoni
2012-11-28 11:36               ` Zoran Djordjevic
2012-11-28 13:00                 ` Thomas Petazzoni
2012-11-28 17:11                   ` Zoran Djordjevic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50B4DBE9.8000504@relinux.de \
    --to=sho@relinux.de \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.