Messages in this thread | | | From | (Dick Streefland) | Subject | Re: plz help fixing lirc_igorplugusb kernel module | Date | Thu, 22 Jan 2009 14:36:56 -0000 |
| |
gsmd <gsmdib@gmail.com> 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@altium.nl (@ @) http://www.altium.com --------------------------------oOO--(_)--OOo---------------------------
| |