RE: zilog and IR

2011-01-08 Thread Jason Gauthier
On Sat, 2011-01-08 at 10:44 -0500, Jason Gauthier wrote: Andy, Firstly, I apologize for reaching out to you directly. The list could have answered this, so I adding the Cc:. At the time of my searches, and the results, it was not apparent to me there was any mailing list associated

RE: Enable IR on hdpvr

2011-01-10 Thread Jason Gauthier
I did simply try changing: /* until i2c is working properly */ retval = 0; /* hdpvr_register_i2c_ir(dev); */ if (retval 0) so that it would register with i2c. Doing so returns a positive registration with I2C, but the lirc_zilog driver doesn't see the chip when it

RE: Enable IR on hdpvr

2011-01-12 Thread Jason Gauthier
Bah. Yeah, sorry, that wasn't the current patch in Fedora 14. This is: http://wilsonet.com/jarod/lirc_misc/hdpvr-ir/hdpvr-ir-enable-2.patch Its atop the F14 2.6.35.10 kernel, which has a fairly recent v4l/dvb backport on top of it, so it should be pretty close to matching the current

RE: Enable IR on hdpvr

2011-01-12 Thread Jason Gauthier
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

RE: Enable IR on hdpvr

2011-05-21 Thread Jason Gauthier
All, 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

RE: Enable IR on hdpvr

2011-05-21 Thread Jason Gauthier
Admittedly, I do not understand exactly what I am reading. It seems to probe the IR Tx (i2c-1) successfully: May 21 12:51:06 jgauthier-mythtv kernel: [ 43.088265] lirc_zilog: probe of IR Tx on Hauppage HD PVR I2C (i2c-1) done. IR unit ready. But, then below on (i2c-2) is failed: May 21

RE: [SOLVED] Enable IR on hdpvr

2011-05-21 Thread Jason Gauthier
All, Okay, so I emailed a little too quickly. The messages above got me thinking. One of them is successful the other is not. I verified with irsend. So, this may be an issue with multiple hdpvrs. I believe I've tracked this down. In lirc_zilog.c: At 1307: ret =

RE: [SOLVED (not really)] Enable IR on hdpvr

2011-05-21 Thread Jason Gauthier
So, simply changing the check to if (ret0) seems to resolve this. Then if -ENOMEM is returned it will fail, and otherwise succeed. Sorry, this is not an official patch. The maintainer (Jarod?) should be able to see what I am talking about and correct this. Thanks! Last email on this topic

RE: [SOLVED] Enable IR on hdpvr

2011-05-21 Thread Jason Gauthier
I think you're using a borken version. Are you using this one with all the ref counting fixes? http://git.linuxtv.org/media_tree.git?a=blob;f=drivers/staging/lirc/lirc_zilog.c;h=dd6a57c3c3a3149bac53eb36fd4ddeabed804050;hb=HEAD Well, you were right. I was using the one right out of 2.6.38.