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

Harry Orenstein holists at verizon.net
Mon Mar 15 01:50:53 UTC 2010


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.   ;-)

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?


-- Harry O.


More information about the mythtv-users mailing list