[mythtv-users] Implementing HD-PVR IR Blaster

Jarod Wilson jarod at wilsonet.com
Wed Dec 2 16:58:32 UTC 2009


On Dec 2, 2009, at 9:53 AM, Bobby Schwartz wrote:

>>>>> I retrieved the firmware last night.  I'm back in Ubuntu land now.
>>>>> Fedora was able to pick up the zilog chip but Ubuntu still
> doesn't.
>>>> The
>>>>> zilog module initializes then it just kinda sits there and looks
> at
>>>> me.
>>>>> I picked apart the HD-PVR V4L and Lirc drivers trying to find
>> what's
>>>>> broken.  It looks like the ir_probe() method in lirc_zilog.c never
>>>> runs.
>>>>> Conversely by watching dmesg I can see it runs after the init
>> method
>>>> in
>>>>> Fedora.  As best I can tell something deeper in lirc is
> responsible
>>>> for
>>>>> calling that.  I'm not sure where to look next.
>>>> 
>>>> I can't rightly recall... What exactly are you running for a
> kernel,
>>> an
>>>> hdpvr driver and an lirc_zilog driver? Daniel K. has this working
> on
>>> an
>>>> Ubuntu system, and you've now proven that it works with your
>> hardware
>>>> under Fedora. So it seems you're probably missing a patch to either
>>> the
>>>> hdpvr driver or the lirc_zilog driver.
>>> 
>>> I'm running the stock Mythbuntu Kernel 2.6.31.  For the HDPVR I
>>> downloaded V4L trunk from Hg and applied your patch to it.
>> 
>> Which one? :)
>> 
>> Daniel had success using the exact patches that are in the Fedora
>> kernel tree.
> 
> For lirc bits
> http://git.wilsonet.com//linux-2.6-lirc.git?a=snapshot;h=d58c0c8000b4f59
> e09b5e88398389fe4561dc32c;sf=tgz
> For HD-PVR http://wilsonet.com/jarod/junk/hdpvr-ir/hdpvr-ir-enable.patch

Wrong patch. That's for 2.6.30 and earlier. There are significant i2c changes in 2.6.31 that have to be accounted for. Use...

http://wilsonet.com/jarod/junk/hdpvr-ir/hdpvr-ir-2.6.31.patch
...or...
http://cvs.fedoraproject.org/viewvc/F-12/kernel/hdpvr-ir-enable.patch?view=markup
...instead.

That'd be why lirc_zilog isn't binding.

-- 
Jarod Wilson
jarod at wilsonet.com





More information about the mythtv-users mailing list