Talk:Hauppauge WinTV-HVR-2200

From LinuxTVWiki
Revision as of 18:56, 5 December 2009 by Ntsc525 (talk | contribs)
Jump to navigation Jump to search

2009-12-04

Sorry this page is kind of sloppy. It's my first Wiki, and I've only learned a couple of tags.

I had trouble getting Mythdora to work with my WinTV-HVR-2200, because I couldn't build the driver.

I kept getting Error 2 when running the make command.

I'm a relative Linux Newbie, and not a programmer, but I'm pretty good at deducing stuff and playing "detective" when it comes to computer stuff.

So, here's what I found out:

The latest Mythdora 10 release (see date above), is built on Fedora 10, which I use on another system, and like very much (especially once I've discovered yum!).

Google was my friend when researching the following problems, but I found the solutions in various, unrelated places relating to building drivers for other devices and versions of Linux.

The following steps do not work out of the box for Mythdora, but that can be fixed:

hg clone http://kernellabs.com/hg/saa7164-stable/

This doesn't work because hg is a Mercurial command that is not installed with Mythdora. Solution:

# yum install mercurial

All of the make commands failed with Error 2, which is pretty generic, but it appears the main problem is the directory /lib/modules/2.6.<KernelVersion>/build was an invalid link.

That's because you don't have the kernel source files installed. Again, also easily fixed:

# yum install kernel-devel

I tried some other things because Google told me to, and reason tells me they are required. However, I did these before installing the kernel source, so I don't know if these are really required. It stands to reason that a C compiler would be needed to recompile the kernel. Linux lives on gcc, right?

# yum install gcc

I'm not sure what ncurses is, but you may need ncurses (already installed on my Mythdora) and ncurses-devel (not installed in my case).

# yum install ncurses-devel

Another couple of packages I installed, but these were probably a "wild goose chase" because the command after these did not work, and I installed the kernel source and solved my problem right after this:

# yum install rpmdevtools yum-utils

I would skip the above unless you still can't compile the driver.

I welcome someone well versed in Linux to clean up my notes above, clarify things I don't have a good understanding of, and merge this information into the main page for this tuner.

During my struggles above, my system updated MythTV to 0.22 (Luckily, the kernel had already updated before I built the driver.) So, mythfrontend was not running, and I had to go before I could resolve that issue.

2009-12-05: I had some other problems keeping mythfrontend from running, mainly because in the middle of my struggles, I took an upgrade to Myth 0.22. Since I'm just starting out, I might as well get the latest version to work, right? It turns out, I had a pesky "mythstreams" plug-in installed that was below 0.22, so I removed it:

# yum list mythstreams

(Maybe it's been updated to 0.22 since I wrote this, in which case, take it or leave it.)

If mythstreams is below 0.22, then:

# yum remove mythstreams

I've got TV!

The rest of my problems appear to not be related to this driver, so that's all for now.