Hi,

I yesterday debugged this driver. While I cannot fix the actual buffer
overrun, I can do the best possible to recover from it. The Igor USB
device internally provides a circular buffer of a limited length. In
case the buffer overrun happens, the driver would only report back to
lirc_dev the data that was not yet overwritten - but not the data that
overwrote older data. Fixing this (and adding some sanity checks to make
sure not to cause illegal reads) causes as much of the received data to
be sent to lirc as had been received in the ring buffer. This is enough
to make my Onkyo remote work (though mode2 and my old serial lirc
keycodes proved helpful configuring the remote), as the relevant bits
are at the end of the sequence.

** Attachment added: "Fix buffer overrun issues."
   http://launchpadlibrarian.net/27549998/LP364699-fix-buffer-overrun

** Summary changed:

- IR doesn`t work (lirc_igorplugusb)
+ [PATCH] IR doesn`t work (lirc_igorplugusb)

** Tags added: patch

-- 
[PATCH] IR doesn`t work (lirc_igorplugusb)
https://bugs.launchpad.net/bugs/364699
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to