> On Sun, 2009-03-15 at 13:44 +0100, Hans Verkuil wrote: >> Hi Mauro, Jean, >> >> When converting the bttv driver to v4l2_subdev I found one probing >> conflict >> between tvaudio and ir-kbd-i2c: address 0x96 (or 0x4b in 7-bit >> notation). >> >> It turns out that this is one and the same PIC16C54 device used on the >> ProVideo PV951 board. This chip is used for both audio input selection >> and >> for IR handling. > > > Hans, > > Just a thought: have you confirmed with i2cdetect that the PIC16C54 > microcontroller code only responds at one I2C address? I don't have this board, so I can't test it. Everything points to this being a multifunction device responding to one i2c address. It's one of those programmable devices, so that seems perfectly reasonably to me. In general I'm not inclined to worry about this case. As Jean said, the core problem is not so much the perceived lack of i2c support for such devices, but that the IR and (to a lesser extent) tvaudio modules are badly designed. The IR module should really become a v4l2_subdev as well, loaded on command by the adapter driver, and v4l2_subdev should acquire one or more ops to handle IR stuff. With that in place it is easy to move the pic support from tvaudio and the IR module into a module of its own. Simple and effective it solves this whole issue elegantly. Regards, Hans -- Hans Verkuil - video4linux developer - sponsored by TANDBERG -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html