Hauppauge WinTV-HVR-1600 – Configuration under Mythbuntu

I wanted to get more put together on this, but in the interest of something that may be useful to others immediately I’d like to get it posted ASAP.  This (mostly) details my experience getting the HVR-1600 working under Mythbuntu 9.10.  There are a few things remaining to get functioning the way I’d like (primarily the TV/Music/etc. keys at the top of the remote, but for the most part it is working.  Specifically, I’d like to build out some scripts and patch files to make it easier for those with a bit less shell experience than myself, but we shall see if I get around to that or not.  If it helps you, please let me know.  Also, please be aware that I have proceeded with the kernel upgrade to 2.6.3-.17.

The links highlighted below were of huge help to me, so sincere kudos to those folks.

In step #2, found lines to be commented in <working directory>/v4l-dvb/v4l/Makefile.media, starting at line 825, commented out all lines for “firedtv*”, about 5 lines.  Tried to run setup.sh in the lirc sources, needed to ‘apt-get install dialog’ on mythbuntu.  Did that, ran setup.sh, saw absolutely nothing that apperaed relevant to my IR (a couple of different Hauppauge models, but nothing that I had been able to get working before with lirc… granted, I never had a device in /dev for my IR hardware before).  Skipped it for now since I already have a current version of lirc installed.
Built & installed OK, but got a “BUG: unable to handle kernel paging request at 72727563” when trying to modprobe.  Ran across an article at http://www.mail-archive.com/linux-media@vger.kernel.org/msg13962.html describing a fix for that particular bug.
Saved the patch off to the myth box in <working directory> as ir_null_fix.patch.  Located the file to be patched in the v4l-dvb directory I had extracted previously.  cd’ed to <working directory>/v4l-dvb/linux/drivers/media/IR and ran ‘patch -i <working directory>/ir_null_fix.patch’.  Command completed successfully.
Changed back to <working directory>/v4l-dvb and started midway through Step 2 from http://www.uluga.ubuntuforums.org/showpost.php?p=8257616&postcount=27, with a minor exception.  Once in the dir, issued a ‘make clean’, then resumed with ‘make’ and ‘make install’.
Once ‘make install’ completed, tried to modprobe ir-kbd-i2c, but experienced the same behavior I had exerienced previously (that is to say, BUG message thrown when viewing dmesg output and unable to rmmod ir-kbd-i2c).  Rebooted to clear out modules and start fresh, and after the reboot retried the modprobe.  No errors, and dmesg shows “Creating IR device irrcv0!
Edited /etc/lirc/lircd.conf and added an “include /usr/share/lirc/extras/more_remotes/hauppauge/lircd.conf.hauppauge”.  Remarked the existing line for the “devinput” remote configuration.  Ran ‘irw’ and noted that the codes were showing for the HVR-1100.  Unfortunately, upon starting mythfrontend the remote no longer worked.
Went through myth control center, set back to Linux devinput.  Corrected the device and load modules in hardware.conf, added the more_remotes hauppauge under lircd.conf.  Then ran mythbuntu-lirc-generator.

2 Comments

  1. Comment by Chris:

    Much of the text in the Mythbuntu/HVR-1600 narrative you posted is duplicated — the duplication appears to be instead of the conclusion of the post. If so could you repost the whole text, please?
    Thanks,
    C

  2. Comment by LandisV:

    I see what you’re saying, looks like I double-pasted what I had typed up in vim. That’s the full text of what I did, after running the mythbuntu-lirc-generator, it took off and started working. I’ll see if I can at least clean up the formatting a bit and eliminate the duplicate stuff – thanks for catching it.

Leave a Reply

Your email address will not be published. Required fields are marked *