C.Y.M wrote: > Has anyone noticed that when doing connecting LIRC to /dev/input/eventX and > reading the Nexus-S IR, that there is a nasty key repeat issue? When I press a > single key, i get two responses from irw. I saw this patch posted about a year > ago, has there been any interest in finding out whats wrong here? The bug does > not appear to be in LIRC. > > --- v4l-dvb/linux/drivers/media/dvb/ttpci/av7110_ir.c.orig 2006-05-01 > 17:32:01.000000000 -0700 > +++ v4l-dvb/linux/drivers/media/dvb/ttpci/av7110_ir.c 2006-05-01 > 17:43:16.000000000 -0700 > @@ -45,10 +45,10 @@ > > static void av7110_emit_keyup(unsigned long data) > { > - if (!data || !test_bit(data, input_dev->key)) > - return; > - > - input_event(input_dev, EV_KEY, data, !!0); > +// if (!data || !test_bit(data, input_dev->key)) > +// return; > +// > +// input_event(input_dev, EV_KEY, data, !!0); > } This patch is bogus. If LIRC cannot handle key-up events from the input layer, it has to be fixed... FYI, av7110 driver output (using evtest): 1) single keypress (no repeat) Event: time 1146610246.858510, type 1 (Key), code 47 (V), value 1 Event: time 1146610247.250670, type 1 (Key), code 47 (V), value 0 2) single keypress (repeat) Event: time 1146610286.940451, type 1 (Key), code 47 (V), value 1 Event: time 1146610287.281208, type 1 (Key), code 47 (V), value 2 Event: time 1146610287.394769, type 1 (Key), code 47 (V), value 2 Event: time 1146610287.508293, type 1 (Key), code 47 (V), value 2 Event: time 1146610287.621878, type 1 (Key), code 47 (V), value 2 Event: time 1146610287.735405, type 1 (Key), code 47 (V), value 2 Event: time 1146610288.013218, type 1 (Key), code 47 (V), value 0 Imho correct. Oliver -- -------------------------------------------------------- VDR Remote Plugin available at http://www.escape-edv.de/endriss/vdr/ -------------------------------------------------------- _______________________________________________ linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb