From: <li...@ba...> - 2010-04-26 19:52:45
|
Hi! Krzysztof Cichocki "rnd...@gm..." wrote: > I'm using "AVerMedia TVPhone 98 [card=41,autodetected]" with bttv kernel > driver. > > With revision=1.62 of drivers/lirc_dev/lirc_dev.c > a statement: "buffer overflow must be checked by client add_to_buf > function" was made. > > So far lirc_gpio ( lirc_gpio.c ) does not check the buffer, making > lirc_dev loop until key is released. > ( In other words repeat does not work with lirc_gpio ) > > With that little patch below, my problem is gone. With this patch lirc_dev will still loop unnecessarily until the buffer is full. Setting the soft_gap module parameter to a reasonable default value makes more sense to me. Christoph |