<pre>I've been trying to test the IR blaster functionality on my HD-PVR with this patch,<br>unfortunately I'm running into some issues. First I tried option 1, the prebuilt<br>Fedora kernel package, and using that lirc_zilog recognizes the hd-pvr's ir <br>
<br>chip perfectly and I've been able to successfully use it to change channels on my<br>cable box. However, using that version causes the hd-pvr to lock up randomly 5-10<br>minutes into a recording, and attempting to modprobe -r either the hdpvr or<br>
<br>lirc_zilog modules hangs and eventually leads to a kernel oops after a minute or<br>so.<br><br>I decided to try to follow your 2nd suggestion and pull your 2.6.31 git tree by cloning<br>Linus' and then adding you as a remote to see if it was any more stable. I also applied<br>
<br>the <i><a href="http://wilsonet.com/jarod/junk/hdpvr-ir/hdpvr-ir-enable.patch" target="_blank">http://wilsonet.com/jarod/junk/hdpvr-ir/hdpvr-ir-enable.patch</a></i> as you said to.<br>The kernel compiles and boots fine and the hdpvr records without any of the instability<br>
<br>I observed with your precompiled Fedora kernel, however the lirc_zilog module no longer<br>recognizes the IR chip. When I run modprobe lirc_zilog debug=1 I get:<br><br>lirc_dev: IR Remote Control driver registered, major 248 <br>
<br>lirc_zilog: Zilog/Hauppauge IR driver initializing<br>lirc_zilog: initialization complete<br><br>but no mention of it probing for the device. I've looked through lirc_zilog.c a bit and<br>it seems that in 2.6.31 the ir_probe function is never getting run, whereas it is in 2.6.30,<br>
<br>but I haven't been able to figure out why. I've checked to make sure that the hdpvr i2c adapter<br>is still being created using i2cdetect and it shows:<br><br>i2c-0        i2c         Hauppauge HD PVR I2C         I2C adapter<br>
<br><br>which is the same as for the 2.6.30 kernel. Any idea what I'm doing wrong? Thanks for all<br>the work you've already put in to getting the driver working.<br><br>Victor<br><br><br>On Sep 12, 2009, at 4:06 PM, greg pryzby wrote:<br>
<br><br>><i> On 09/01/2009 09:54 AM, Jarod Wilson wrote:<br></i>>><i> On Sep 1, 2009, at 9:40 AM, greg pryzby wrote:<br></i>>><i><br></i>>>><i> Jarod Wilson wrote:<br></i>>>>><i> On Sunday 30 August 2009 13:35:02 Jack Perveiler wrote:<br>
<br></i>>>>>><i> On Sun, Aug 30, 2009 at 1:06 PM, Jarod Wilson <<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">jarod at wilsonet.com</a>><br></i>>>>>><i> wrote:<br>
</i>>>>>><i><br><br></i>>>>>>><i> On Sunday 30 August 2009 12:40:19 Jack Perveiler wrote:<br></i>>>>>>>><i> On Sat, Aug 29, 2009 at 11:09 PM, Jarod Wilson <<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">jarod at wilsonet.com</a> <br>
<br></i>>>>>>>><i> ><br></i>>>>>>><i> wrote:<br></i>>>>>>>>><i> On Saturday 29 August 2009 21:39:42 Oz wrote:<br></i>>>><i> <SNIP><br></i>>>><i><br>
<br></i>>>>>>><i> Could be later today, could be a few weeks, depends on how <br></i>>>>>>><i> messy the<br></i>>>>>>><i> final details are and how much free time I have to work on it. <br>
<br></i>>>>>>><i> Its a<br></i>>>>>>><i> bit further complicated by some major i2c changes in 2.6.31, <br></i>>>>>>><i> and the<br></i>>>>>>><i> fact that I've got another neat project I'm working on that's <br>
<br></i>>>>>>><i> quite<br></i>>>>>>><i> honestly a whole lot cooler than making yet another IR part <br></i>>>>>>><i> work... :)<br></i>>>>>>><i><br>
</i>>>>>><i> Sure, I can understand that :)<br><br></i>>>>><i> Or maybe tonight. Both transmit and receive are working perfectly <br></i>>>>><i> on my<br></i>>>>><i> own hdpvr now, and I've pushed the bits for this into my git <br>
<br></i>>>>><i> tree. I'm<br></i>>>>><i> also about to add them all to a new Fedora 11 2.6.30.x kernel <br></i>>>>><i> build, as<br></i>>>>><i> well as tack them onto rawhide (current Fedora 12 devel tree).<br>
<br></i>>>><i><br></i>>>><i> Sounds like in the next day or two (if not already) it is possible <br></i>>>><i> to<br></i>>>><i> pull the bits, build a kernel and test?<br></i>>><i><br>
<br></i>>><i> Its possible to pull the bits now (including a pre-build kernel for<br></i>>><i> Fedora 11).<br></i>><i><br></i>><i> Pick one of the 4 below and they the last item (hdpvr-ir- <br></i>><i> enable.patch).<br>
<br></i>><i><br></i>><i> Or has this stuff been moved upstream now?<br></i><br>For some value of, yes. All the hdpvr driver bits are in Janne's hdpvr <br>tree, but I don't believe they've been pulled over to the main v4l-dvb <br>
<br>tree, and definitely didn't go into kernel 2.6.31. The lirc bits are <br>in my lirc git tree. I suppose I should forward a copy of things over <br>to Mark Weaver, the originator of lirc_pvr150, but at this point, its <br>
<br>quite different from lirc_zilog, I believe (2.6.31 i2c changes, hdpvr <br>support additions, other cleanups)...<br><br><br>><i> THANKS for all the work. Finally have some free time to get this <br></i>><i> ironed out.<br>
<br></i>><i><br></i>><i><br></i>>><i> In thinking about this some more, the assorted options are currently:<br></i>>><i><br></i>>><i> 1) run Fedora 11, download the kernel I built last night from Fedora<br>
<br></i>>><i> build system:<br></i>>><i><br></i>>><i> <a href="http://kojipkgs.fedoraproject.org/packages/kernel/2.6.30.5/45.fc11/" target="_blank">http://kojipkgs.fedoraproject.org/packages/kernel/2.6.30.5/45.fc11/</a><br>
<br></i>>><i><br></i>>><i><br></i>>><i> 2) git clone my lirc driver git tree, build a 2.6.31-rcX kernel <br></i>>><i> (best to<br></i>>><i> git clone linus' tree off <a href="http://git.kernel.org/" target="_blank">git.kernel.org</a>, then add me as a remote, I<br>
<br></i>>><i> only have 5Mbps outbound).<br></i>>><i><br></i>>><i><br></i>>><i> 3) grab just the lirc bits from git, using gitweb's snapshot <br></i>>><i> capability,<br></i>>><i> i.e.<br>
<br></i>>><i><br></i>>><i> <a href="http://git.wilsonet.com//linux-2.6-lirc.git?a=snapshot;h=d58c0c8000b4f59e09b5e88398389fe4561dc32c;sf=tgz" target="_blank">http://git.wilsonet.com//linux-2.6-lirc.git?a=snapshot;h=d58c0c8000b4f59e09b5e88398389fe4561dc32c;sf=tgz</a><br>
<br></i>>><i><br></i>>><i><br></i>>><i> Unpack them, then 'make -C /path/to/kernel/source M=$PWD modules'<br></i>>><i> (assumes you have the config vars for lirc properly set, I think).<br>
</i>>><i><br><br></i>>><i> If running on pre-2.6.31, you'll want to back out the 2.6.31-specific<br></i>>><i> i2c changes, which this patch will do:<br></i>>><i><br></i>>><i> <a href="http://wilsonet.com/jarod/junk/hdpvr-ir/lirc-revert-2.6.31-i2c-changes.patch" target="_blank">http://wilsonet.com/jarod/junk/hdpvr-ir/lirc-revert-2.6.31-i2c-changes.patch</a><br>
<br></i>>><i><br></i>>><i><br></i>>><i><br></i>>><i> 4) grab the lirc patches that are in my Fedora kernel build directly:<br></i>>><i><br></i>>><i> <a href="http://wilsonet.com/jarod/junk/hdpvr-ir/lirc-2.6.31.patch" target="_blank">http://wilsonet.com/jarod/junk/hdpvr-ir/lirc-2.6.31.patch</a><br>
<br></i>>><i> <a href="http://wilsonet.com/jarod/junk/hdpvr-ir/lirc-revert-2.6.31-i2c-changes.patch" target="_blank">http://wilsonet.com/jarod/junk/hdpvr-ir/lirc-revert-2.6.31-i2c-changes.patch</a><br></i>>><i><br>
</i>>><i><br><br></i>>><i> The second is only needed for pre-2.6.31.<br></i>>><i><br></i>>><i><br></i>>><i> All of the above also require some patching of the hdpvr driver as it<br></i>>><i> exists in kernel 2.6.30, using this:<br>
<br></i>>><i><br></i>>><i> <a href="http://wilsonet.com/jarod/junk/hdpvr-ir/hdpvr-ir-enable.patch" target="_blank">http://wilsonet.com/jarod/junk/hdpvr-ir/hdpvr-ir-enable.patch</a><br></i>>><i><br></i>>><i> That's now a roll-up of things in Janne's hdpvr hg tree that aren't <br>
<br></i>>><i> in<br></i>>><i> the upstream kernel yet, and a few minor additional tweaks that I <br></i>>><i> need<br></i>>><i> to send over to Janne still.<br></i>><i><br></i>><i> _______________________________________________<br>
<br></i>><i> mythtv-users mailing list<br></i>><i> <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">mythtv-users at mythtv.org</a><br></i>><i> <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
<br></i><br>-- <br>Jarod Wilson<br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">jarod at wilsonet.com</a><br></pre>