All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Question: exporting QWS_KEYBOARD=LinuxInput:/dev/input/event0" hang application
@ 2012-09-10  9:08 Belisko Marek
  2012-09-10 12:34 ` Thomas Petazzoni
  0 siblings, 1 reply; 5+ messages in thread
From: Belisko Marek @ 2012-09-10  9:08 UTC (permalink / raw)
  To: buildroot

Hi,

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?

Thanks.

Marek



-- 
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] Question: exporting QWS_KEYBOARD=LinuxInput:/dev/input/event0" hang application
  2012-09-10  9:08 [Buildroot] Question: exporting QWS_KEYBOARD=LinuxInput:/dev/input/event0" hang application Belisko Marek
@ 2012-09-10 12:34 ` Thomas Petazzoni
  2012-09-10 20:13   ` Belisko Marek
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2012-09-10 12:34 UTC (permalink / raw)
  To: buildroot

Le Mon, 10 Sep 2012 11:08:54 +0200,
Belisko Marek <marek.belisko@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.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qt-4.7.3-remove-ioctl.patch
Type: text/x-patch
Size: 721 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120910/685f2bd7/attachment.bin>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] Question: exporting QWS_KEYBOARD=LinuxInput:/dev/input/event0" hang application
  2012-09-10 12:34 ` Thomas Petazzoni
@ 2012-09-10 20:13   ` Belisko Marek
  2012-09-11  7:28     ` Thomas Petazzoni
  0 siblings, 1 reply; 5+ messages in thread
From: Belisko Marek @ 2012-09-10 20:13 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

On Mon, Sep 10, 2012 at 2:34 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Le Mon, 10 Sep 2012 11:08:54 +0200,
> Belisko Marek <marek.belisko@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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] Question: exporting QWS_KEYBOARD=LinuxInput:/dev/input/event0" hang application
  2012-09-10 20:13   ` Belisko Marek
@ 2012-09-11  7:28     ` Thomas Petazzoni
  2012-09-11  7:43       ` Belisko Marek
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2012-09-11  7:28 UTC (permalink / raw)
  To: buildroot

Le Mon, 10 Sep 2012 22:13:57 +0200,
Belisko Marek <marek.belisko@gmail.com> a ?crit :

> > 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.

Great. The patch is more a workaround than a real bug, but it would be
nice to implement a real fix and submit it upstream.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] Question: exporting QWS_KEYBOARD=LinuxInput:/dev/input/event0" hang application
  2012-09-11  7:28     ` Thomas Petazzoni
@ 2012-09-11  7:43       ` Belisko Marek
  0 siblings, 0 replies; 5+ messages in thread
From: Belisko Marek @ 2012-09-11  7:43 UTC (permalink / raw)
  To: buildroot

On Tue, Sep 11, 2012 at 9:28 AM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Le Mon, 10 Sep 2012 22:13:57 +0200,
> Belisko Marek <marek.belisko@gmail.com> a ?crit :
>
>> > 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.
>
> Great. The patch is more a workaround than a real bug, but it would be
> nice to implement a real fix and submit it upstream.
When finish project I'll try to work on it and post proper patch upstream.
Thanks again.
>
> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-09-11  7:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-10  9:08 [Buildroot] Question: exporting QWS_KEYBOARD=LinuxInput:/dev/input/event0" hang application Belisko Marek
2012-09-10 12:34 ` Thomas Petazzoni
2012-09-10 20:13   ` Belisko Marek
2012-09-11  7:28     ` Thomas Petazzoni
2012-09-11  7:43       ` Belisko Marek

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.