Re: plz help fixing lirc_igorplugusb kernel module

From: Dick Streefland
Date: Thu Jan 22 2009 - 09:37:12 EST


gsmd <gsmdib@xxxxxxxxx> wrote:
| Here's the section from lirc_igorplugusb.c
| (ftp.gnu.org/tmp/linux-libre-fsf2_2.6.28/linux-2.6.28/ubuntu/lirc/lirc_igorplugusb/lirc_igorplugusb.c)
| that displays the message:
| --
| if (ir->buf_in[2] != 0) {
| printk(DRIVER_NAME "[%d]: Device buffer overrun.\n",
| ir->devnum);
| /* start at earliest byte */
| i = DEVICE_HEADERLEN + ir->buf_in[2];
| /* where are we now? space, gap or pulse? */
| }
| --
| With my limited C knowledge I don't see what would prevent displaying the
| key code (when I run irw) after the message. Haven't tried removing it
| though.

The variable 'i' is modified, which affects the amount of data that is
returned to LIRC. I suggest removing at least this line, to see if
that helps.

--
Dick Streefland //// Altium BV
dick.streefland@xxxxxxxxx (@ @) http://www.altium.com
--------------------------------oOO--(_)--OOo---------------------------

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/