[Buildroot] Question: exporting QWS_KEYBOARD=LinuxInput:/dev/input/event0" hang application

Belisko Marek marek.belisko at gmail.com
Mon Sep 10 20:13:57 UTC 2012


Hi Thomas,

On Mon, Sep 10, 2012 at 2:34 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Le Mon, 10 Sep 2012 11:08:54 +0200,
> Belisko Marek <marek.belisko at gmail.com> a écrit :
>
>> I know this isn't related to buildroot but maybe somehow have same troubles.
>> I've build simple buildroot rootfs (2012.08 based) with QT4.8.2, my
>> small qt application
>> and dropbear.
>>
>> I can start my application and it is working fine. When need to add
>> keyboard handling
>> from USB keyboard application hang (with no useful data in console) that way:
>> export QWS_KEYBOARD="LinuxInput:/dev/input/event0" ./app -qws
>>
>> I've double check qt configuration and linuxinput is checked.
>> Anybody have same troubles?
>
> I remember having problems with Qt as soon as I started defining
> QWS_KEYBOARD, but I don't remember if the problem was exactly the one
> you had.
>
> Can you try to add the attached patch to the Qt package? It has been
> written for Qt 4.7.3, but since the patch is trivial, I guess it can be
> quickly adapted to Qt 4.8.2. It's the patch I had to fix the problem I
> encountered, but again I don't remember the exact problem, and I have
> been apparently too lazy to describe it in the patch description.
Thanks. It helps. It's not freezing with your patch.
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com

Cheers,

mbe

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com



More information about the buildroot mailing list