[mythtv-users] How to patch LIRC for HD-PVR150

Greg Oliver oliver.greg at gmail.com
Wed Nov 3 00:30:30 UTC 2010


On Tue, Nov 2, 2010 at 7:01 PM, Jeff Cranmer <jeff at lotussevencars.com> wrote:
> On Tue, 2010-11-02 at 18:43 -0500, Greg Oliver wrote:
>> On Tue, Nov 2, 2010 at 5:56 PM, Jeff Cranmer <jeff at lotussevencars.com> wrote:
>> > On Tue, 2010-11-02 at 10:07 -0400, Jarod Wilson wrote:
>> >> >> > You have lirc_mceusb's debug param set. Unset it. But your real problem is all the stray infrared that its picking up.
>> >> >> >
>> >> >> Where do I unset this?  The lirc 'debug' use flag wasn't set when I
>> >> >> compiled lirc, so I assume you don't mean this.
>> >>
>> >> Module option, like Greg said. Either in /etc/modprobe.conf or
>> >> /etc/modprobe.d/<something>.conf, typically.
>> >
>> > There is an /etc/modprobe.d folder, but I've reviewed every file in
>> > there without any luck.  There is a lirc.conf file in there, but every
>> > line is commented out by prefixing with #
>>
>> There might also be an /etc/modules.conf
>>
>> If not, can you paste some more of the debug output to seee if it is
>> from a module or from lircd.  It seems that the program was compiled
>> with debug on by default or something (or a start script is setting
>> it)..
>
> no /etc/modules.conf, or anything similar
>
> here's the dmesg data
> [ 4485.890732] lirc_mceusb[2]: rx data: 90 b0 0b 8d 0a 8c 0b 8d 0a 99 0b
> 8d 0a 8d 0a 99 0b  (length=17)
> [ 4485.925730] lirc_mceusb[2]: rx data: 90 97 0b 8d 0b 8d 0b 8d 0b 8d 7f
> 7f 7f 7f 0b b1 0a  (length=17)
> [ 4485.937728] lirc_mceusb[2]: rx data: 90 8c 0a 8d 0a 8d 0b 99 0a 8d 0a
> 8d 0a 99 0a 98 0b  (length=17)
> [ 4485.971675] lirc_mceusb[2]: rx data: 90 8c 0b 8d 0a 8d 0a 8d 7f 7f 7f
> 7f 0b b1 0a 8d 0a  (length=17)
> [ 4485.982674] lirc_mceusb[2]: rx data: 90 8c 0b 8d 0b 98 0a 8d 0b 8d 0b
> 99 0a 99 0b 8d 0a  (length=17)
> [ 4486.017725] lirc_mceusb[2]: rx data: 90 8c 0a 8d 0a 8d 7f 7f 7f 7f 0c
> b0 0b 8d 0b 8d 0b  (length=17)
> [ 4486.028724] lirc_mceusb[2]: rx data: 90 8c 0b 98 0b 8d 0b 8d 0b 98 0b
> 99 0a 8e 0a 8d 0a  (length=17)
> [ 4486.063724] lirc_mceusb[2]: rx data: 90 8c 0b 8d 7f 7f 7f 7f 0c b0 0b
> 8d 0b 8d 0b 8d 0a  (length=17)
> [ 4486.074723] lirc_mceusb[2]: rx data: 90 97 0b 8d 0b 8d 0b 98 0b 98 0a
> 8d 0b 8d 0b 8d 0b  (length=17)
> [ 4486.109680] lirc_mceusb[2]: rx data: 90 8c 7f 7f 7f 7f 0c b0 0b 8d 0b
> 8d 0a 8d 0a 99 0b  (length=17)
> [ 4486.126722] lirc_mceusb[2]: rx data: 90 8c 0b 8d 0a 98 0b 98 0b 8d 0b
> 8d 0b 8d 0b 8d 7f  (length=17)
> [ 4486.228719] lirc_mceusb[2]: rx data: 90 7f 7f 7f 7f 7f 7f 7f 7f 7f 7f
> 7f 7f 7f 7f 7f 7f  (length=17)
> [ 4486.323719] lirc_mceusb[2]: rx data: 8f 7f 7f 7f 7f 7f 7f 7f 7f 7f 7f
> 7f 7f 7f 7f 7f 9f 14 01 9f 15 00 00 80  (length=24)
> [ 4486.323727] lirc_mceusb[2] mceusb_process_ir_data: found control
> header

OK, so it's the module.  You should be able to create /etc/modprobe.d/lirc.conf
options lirc_dev debug=0
options lirc_mceusb debug=0

run:
depmod -ae
service lirc stop (or whatever your distro has)
rmmod lirc_mceusb
rmmod lirc_dev
lsmod | grep lirc (make sure they are unloaded
service lirc start

The debugs should be gone..


More information about the mythtv-users mailing list