]> git.baikalelectronics.ru Git - kernel.git/commit
[media] firedtv: fix remote control with newer Xorg evdev
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 16 Jan 2011 08:39:21 +0000 (05:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 Jan 2011 13:45:59 +0000 (11:45 -0200)
commitf8147771bbee9387afc3992d4300c47fa32e4f9a
tree71a386c2419d0c9204fc0f79a658bf39ae46dec1
parentfa1cc59a3c596666ad4cba5453b7586bc403e1ee
[media] firedtv: fix remote control with newer Xorg evdev

After a recent update of xf86-input-evdev and xorg-server, I noticed
that X11 applications did not receive keypresses from the FireDTV
infrared remote control anymore.  Instead, the Xorg log featured lots of

    "FireDTV remote control: dropping event due to full queue!"

exclamations.  The Linux console did not have an issue with the
FireDTV's RC though.

The fix is to insert EV_SYN events after the key-down/-up events.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/firewire/firedtv-rc.c