RE: Enable IR on hdpvr

Andy Walls
2011-01-13T05:31:33Z

On Thu, 2011-01-13 at 02:16 +0000, Jason Gauthier wrote:
> >> I've got two hdpvrs. Whenever you're ready to extend your testing,
> >> I'm happy to extend that functional testing. I didn't get a chance to
> >> look at the FC14 patch yet (busy couple of days), but I will hold off
> >> now, anyway!
>
> >If all goes well, with Jarrod's change, you should be able to test the
> >hdpvr module with the ir-kbd-i2c module and test IR Rx.
>
> >Strictly speaking, lirc_zilog needs some rework to use the kernel
> >internal interfaces properly. It might still work, but don't be
> >surprised if it doesn't.
>
> >I might get to working on lirc_zilog tonight, but otherwise not until
> >this weekend.
>
> Sounds good. Will give any feedback I can! Is Tx completely a no show
> at this point?

No, it might work. It's hard to tell, but you best course of action is
to load the hdpvr driver and then load the lirc_zilog module and *do
not* unload it.

The major lirc_zilog problem is *double* registration of the Tx and Rx
interfaces due to an old design in lirc_zilog.c:ir_probe(). Other
subtle problems I noticed were pointer use after kfree() and not
deallocating everything properly on module unload.

How will those affect you? I don't know...

Regards,
Andy