mythbuntu-bugs team mailing list archive
-
mythbuntu-bugs team
-
Mailing list archive
-
Message #01695
[Bug 364699] Re: [PATCH] IR doesn`t work (lirc_igorplugusb)
Hi guys, can we please re-close the bug? There's nothing anymore on the
software side that can be fixed. The Igorplug has a ring buffer of
limited length. If your remote control sends sequences that are longer
than that (e.g. like my Onkyo RC 242S), then the buffer overrun is bound
to happen each time the remote sends a button press. My proposed patch
thus removed the error message (because it doesn't provide any further
help), but the author of lirc decided to leave it in. My proposed patch
also removed the message if the device said "dude actually on second
thought I don't have data for you" (the "GET_INFRACODE: error 0"
message). The author accepted that on second try (that's what's in
r1.35). So the original fix for this bug only made sure as much
information as available would be returned, just as in the w32 driver
(it previously returned only the part that was neither overwritten nor
overwrote something, the part that overwrote something was missing).
tl;dr: the driver is as good as it gets except for useless messages.
If the recording tool doesn't work for you, then you still can use mode2
to get the pattern for each key press and then manually derive an
lircd.conf file from it.
--
[PATCH] IR doesn`t work (lirc_igorplugusb)
https://bugs.launchpad.net/bugs/364699
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to lirc in ubuntu.
Status in “lirc” package in Ubuntu: Confirmed
Bug description:
Binary package hint: lirc
Hi, I have IgorPlug-USB(AVR) receiver, it works on Windows fine with 4-5 transmitters I have tested.
I have installed generic Jaunty (Intrepid, some other custom kernels.. with no luck too).
I have Installed lirc package and chose from the list Igor Cesko USB receiver.
On boot I see that appropriate kernel module loaded without errors:
$ dmesg | grep lirc
[ 21.824130] lirc_dev: IR Remote Control driver registered, major 61
[ 21.868206] lirc_igorplugusb: USB remote driver for LIRC v0.1
[ 21.868218] lirc_igorplugusb: Jan M. Hochstein <hochstein@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
[ 21.944392] lirc_dev: lirc_register_plugin: sample_rate: 100
[ 21.993818] lirc_igorplugusb[3]: Ing. Igor Cesko, Copyright(c) 2003 IgorPlug-USB (AVR) on usb3:3
[ 21.997883] usbcore: registered new interface driver lirc_igorplugusb
So I run irw utility to test the system and press buttons on transmitter, irw gives no output instead of received characters.
$ irw
In dmesg output I see buffer overrun error on each keypress:
$ dmesg | grep lirc
[ 21.824130] lirc_dev: IR Remote Control driver registered, major 61
[ 21.868206] lirc_igorplugusb: USB remote driver for LIRC v0.1
[ 21.868218] lirc_igorplugusb: Jan M. Hochstein <hochstein@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
[ 21.944392] lirc_dev: lirc_register_plugin: sample_rate: 100
[ 21.993818] lirc_igorplugusb[3]: Ing. Igor Cesko, Copyright(c) 2003 IgorPlug-USB (AVR) on usb3:3
[ 21.997883] usbcore: registered new interface driver lirc_igorplugusb
[ 165.356078] lirc_igorplugusb[3]: Device buffer overrun.
[ 165.700094] lirc_igorplugusb[3]: Device buffer overrun.
The same story with all transmitters I tested. All of them work in Windows. I think the problem is in lirc_igorplugusb kernel module, almost the same code in all distributions.
I have now skills in IR technology so.. reported this bug to you. Any help will be appreciated.
Thanks, Denis