Re: lirc key reading to slow ? Buffer overflow ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux