[mythtv-users] How to patch LIRC for HD-PVR150

Jarod Wilson jarod at wilsonet.com
Mon Oct 25 04:00:59 UTC 2010


On Sun, Oct 24, 2010 at 8:22 PM, Jeff Cranmer <jeff at lotussevencars.com> wrote:
> Hi All,
>
> I now have the HD-PVR 150 successfully recording programs, but I have to
> separately set up the Satellite box and the record settings within
> MythTV, so the obvious next step is to get the built-in IR blaster
> working.

Um. What? "HD-PVR 150" does not add up. The Hauppauge WinTV PVR-150
and Hauppauge HD-PVR are two different products, I presume you're
actually referring to the latter.

> I used the PC-based configuration utility to set up the IR blaster and I
> know that I can control the Dish box from the PC using that
> configuration in Windows.
>
> I'm not sure if the Hauppauge remote control unit that came with the box
> is useful for anything.  It doesn't seem to do anything even after
> configuring the IR blaster using the PC software, so I'm going to ignore
> that for now.

It does work, but that remote, imo, is trash.

> I found a couple of links related to configuring the IR remote.
>
> This link indicates that the LIRC program that is current does not have
> necessary code for the HD-PVR, so I need to apply a patch.
> http://www.mythtv.org/wiki/Hauppauge_HD-PVR#Possible_Countermeasures

The "LIRC program" doesn't need to be patched at all. You need an
hdpvr driver that has the i2c-connected IR part enabled, and an lirc
kernel driver (lirc_zilog) to talk to it. The lirc userspace remains
unchanged.

> The version of lirc I have installed at the moment is lirc-0.8.7_pre1,
> with LIRC_DEVICES="hauppauge" and every USE flag but "debug" turned on

No clue what the LIRC_DEVICES="hauppauge" part actually does, or why
your distro is apparently still providing a pre1 snapshot, given that
pre2, pre3 and final have all since shipped too... But at least the
version issue should be neither here nor there in this case.

> I also found this thread at
> http://www.gossamerthreads.com/lists/mythtv/users/445141
> which makes the original patch link invalid, since I'm presently running
> 2.6.34-gentoo-r6 kernel.
>
> My question is, I could lirc_zilog.c from
> http://git.kernel.org/?p=linux/kernel/git/jarod/linux-2.6-lirc.git;a=tree;f=drivers/staging/lirc;hb=HEAD and copy over the file in the original zipfile quoted in the patch above, but this would probably be mixing revisions too much.  Is there a more recent version of this package that I can download from somewhere?

The lirc_zilog kernel driver is provided directly in kernel 2.6.36.
The above referenced tree is a fair bit outdated now. Though, there
hasn't been much churn in lirc_zilog.c of late, so that may not be
relevant. Of course, I should also note that lirc 0.8.7 probably won't
work right away with the in-kernel lirc bits, as the ioctl interface
has changed, and the lirc maintainer is slacking on putting out a
0.9.0-pre1 release with the necessary ioctl changes incorporated...
Hm, maybe I should get that done tomorrow.

-- 
Jarod Wilson
jarod at wilsonet.com


More information about the mythtv-users mailing list