← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 364699] Re: [PATCH] IR doesn`t work (lirc_igorplugusb)

 

I tried:

root@ubuntu:~# dmesg | grep lirc
[    9.758490] lirc_dev: IR Remote Control driver registered, major 61 
[    9.792655] lirc_igorplugusb: USB remote driver for LIRC v0.2
[    9.792665] lirc_igorplugusb: Jan M. Hochstein <hochstein@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
[    9.792722] lirc_dev: lirc_register_driver: sample_rate: 100
[    9.839989] lirc_igorplugusb[2]: Ing. Igor Cesko, Copyright(c) 2003 IgorPlug-USB (AVR) on usb2:2
[    9.846907] usbcore: registered new interface driver lirc_igorplugusb
[  125.223573] lirc_igorplugusb[2]: Device buffer overrun.
[  132.520765] lirc_igorplugusb[2]: Device buffer overrun.
[  134.299833] lirc_igorplugusb[2]: GET_INFRACODE: error 0
[  141.535051] lirc_igorplugusb[2]: GET_INFRACODE: error 0
[  170.029157] lirc_igorplugusb[2]: Device buffer overrun.
[  186.567516] lirc_igorplugusb[2]: Device buffer overrun.
[  188.742372] lirc_igorplugusb[2]: Device buffer overrun.
[  201.152886] lirc_igorplugusb[2]: Device buffer overrun.
[  201.743577] lirc_igorplugusb[2]: GET_INFRACODE: error 0
[  202.283294] lirc_igorplugusb[2]: GET_INFRACODE: error 0
[  206.891885] lirc_igorplugusb[2]: Device buffer overrun.
[  207.325664] lirc_igorplugusb[2]: Device buffer overrun.
[  207.548542] lirc_igorplugusb[2]: Device buffer overrun.
[  207.716455] lirc_igorplugusb[2]: Device buffer overrun.
[  207.941338] lirc_igorplugusb[2]: Device buffer overrun.
[  208.149226] lirc_igorplugusb[2]: Device buffer overrun.
[  208.352126] lirc_igorplugusb[2]: Device buffer overrun.
[  208.568021] lirc_igorplugusb[2]: Device buffer overrun.
[  208.738920] lirc_igorplugusb[2]: Device buffer overrun.
[  208.969798] lirc_igorplugusb[2]: Device buffer overrun.

The author of lirc replied me in mail:

Hi Adrián,

This is a hardware issue. The signal of your remote is too long for the  
interal hardware buffer. You should use a RC-5 remote with the Igor  
device. That should work.

Christoph

So maybe it is can't be fixed in driver? I am trying to use with an
Apple Remote.

mode2 works OK:

root@ubuntu:~# mode2 -d /dev/lirc0
space 14005907
pulse 597
space 512
pulse 597
space 1621
pulse 597
space 1621
pulse 597
space 512
pulse 597
space 1621
pulse 597
space 1621
pulse 597
space 597
pulse 597
space 426
pulse 597
space 597

at this time, while I press a button on the remote I get the error
message in dmesg,

I hope it is can be fixed...!

-- 
[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