[vdr] lirc key reading to slow ? Buffer overflow ?
Klaus Schmidinger
Klaus.Schmidinger at tvdr.de
Wed Dec 29 12:14:48 CET 2010
On 04.12.2010 12:13, Steffen Barszus wrote:
> Hi !
>
> i get these errors, once my remote is doing key repeats:
>
> Dec 3 23:33:13 vdr vdr: [24629] ERROR: unparseable lirc command:
> gy_Receiver-event-kbd#012b-Gyration_Gyration_RF_Technology_Receiver-event-kbd#01272
> 0 KEY_VOLUMEDOWN usb-Gyration_Gyration_RF_TechnoloKEY_VOLUMEDOWN Dec 3
> 23:34:14 vdr vdr: last message repeated 583 times
>
> especially note the
> usb-Gyration_Gyration_RF_TechnoloKEY_VOLUMEDOWN
> and ...kbd#012b-.... (this should read usb-...)
>
> is there anything forgot to reset ? A buffer to small ?
> Just wrong how it is read ? In irw and xbmc there
> seems no such issue, means the repeat just works.
>
> i increased the buffers to:
>
> private:
> enum { LIRC_KEY_BUF = 500, LIRC_BUFFER_SIZE = 4096 };
>
> which seems to make the error disappear, but its still incredible slow
> (compared to other applications) in accept the keys. Can this be
> improved ?
You may want to add some debug outputs to cLircRemote::Action() to
see what's going on. From the (garbled ;-) log entry you posted I
guess there is some buffer overflow.
Klaus
More information about the vdr
mailing list