[mythtv-users] OT: lirc broken in kernel-2.6.32.9-70.fc12

Jarod Wilson jarod at wilsonet.com
Mon Mar 15 14:36:32 UTC 2010


On Sun, Mar 14, 2010 at 8:50 PM, Harry Orenstein <holists at verizon.net> wrote:
> This message will probably have limited interest for most people.  I am hoping
> to get Jarod Wilson's attention.  But please let me know if anyone else is
> experiencing this problem.   ;-)

Attention gotted. ;)

> After upgrading to 2.6.32.9-70.fc12 kernel I find that my Hauppauge WinTV that
> I am using just as an IR receiver at this point no longer works.  Doing a bit
> of research on Google, I found that it looks like Jarod patched this problem
> in 2.6.32.7.  This is the applicable part of my dmesg:
>
> # dmesg | grep lir
> lirc_dev: IR Remote Control driver registered, major 249
> lirc_i2c: chip 0x0 found @ 0x18 (Leadtek IR)
> i2c ir driver 1-0018: lirc_dev: driver lirc_i2c registered at minor = 0
>
>
> I believe the fix before was to reverse the detection of Leadtek IR and
> Hauppauge IR in lirc_i2c.c in this code (the pre-fix version):
>
> case 0x1a:
>        if (adap->id == I2C_HW_B_BT848 ||
>            adap->id == I2C_HW_B_CX2341X) {
>                strlcpy(ir->c.name, "Hauppauge IR", I2C_NAME_SIZE);
>                ir->l.code_length = 13;
>                ir->l.add_to_buf = add_to_buf_haup;
>        } else { /* I2C_HW_B_CX2388x */
>                strlcpy(ir->c.name, "Leadtek IR", I2C_NAME_SIZE);
>                ir->l.code_length = 8;
>                ir->l.add_to_buf = add_to_buf_pvr2000;
>        }
>        break;
>
> Jarod, is it possible that this fix was dropped from the later kernel somehow?

Yeah, its possible. I thought I had indeed fixed this, but you're not
the first to report lirc_i2c not working. Working on an updated lirc
patchset for the Fedora kernels right, hope to have a build people can
test out in the next day or two...

-- 
Jarod Wilson
jarod at wilsonet.com


More information about the mythtv-users mailing list