kernel-hacking-2024-linux-s.../drivers/media
Jarod Wilson 3f5c4c7332 [media] rc: fix ghost keypresses with certain hw
With hardware that has to use ir_raw_event_store_edge to collect IR
sample durations, we were not doing an event reset unless
IR_MAX_DURATION had passed. That's around 4 seconds. So if someone
presses up, then down, with less than 4 seconds in between, they'd get
the initial up, then up and down upon pressing down.

To fix this, I've lowered the "send a reset event" logic's threshold to
the input device's REP_DELAY (defaults to 500ms), and with an
saa7134-based GPIO-driven IR receiver in a Hauppauge HVR-1150, I get
*much* better behavior out of the remote now. Special thanks to Devin
for providing the hardware to investigate this issue.

CC: stable@kernel.org
CC: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-07-01 16:33:01 -03:00
..
common [media] DVB: mxl5005s: handle new bandwidths by returning -EINVAL 2011-05-20 19:04:59 -03:00
dvb [media] anysee: return EOPNOTSUPP for unsupported I2C messages 2011-06-01 08:34:45 -03:00
radio Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2011-05-27 10:14:22 -07:00
rc [media] rc: fix ghost keypresses with certain hw 2011-07-01 16:33:01 -03:00
video [media] V4L: mx1-camera: fix uninitialized variable 2011-07-01 15:51:34 -03:00
Kconfig
Makefile
media-device.c
media-devnode.c [media] media: Fix media device minor registration 2011-06-01 13:24:23 -03:00
media-entity.c