Comment 19 for bug 364699

Revision history for this message
RK (kubuntu-rk) wrote :

All previously mentioned patches are in the lirc version shipped with maverick.

However, in maverick, lirc_igorplugusb still does not work with remotes causing a buffer overflow. The reason is that the ring buffer of the driver is too small, causing events to get lost. (In my case, it sufficed reproducibly for 13 out of 16 bits of actual information, meaning 15 out of 18 pulses.) As that is no integer factor, it seems some timing changed that now causes the buffer to be full (and writing failing), while it didn't before. Anyway, the buffer needs to be 36 (DEVICE_BUFLEN) codes (=18 pulses) plus one pulse for the gap since the last signal, instead of the same in bytes. Increasing the buffer fixes it.