[vdr] lirc key reading to slow ? Buffer overflow ?

Steffen Barszus steffenbpunkt at googlemail.com
Sat Dec 4 12:13:15 CET 2010


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 ? 




More information about the vdr mailing list