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
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
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
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
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
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
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 =
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
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.