Talk:Hauppauge WinTV-HVR-2200

From LinuxTVWiki
Revision as of 21:48, 4 December 2009 by Ntsc525 (talk | contribs) (Additional steps to get the driver make process to work in Mythdora 10.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

2009-12-04

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:

  1. 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:

  1. 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?

  1. 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).

  1. 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:

  1. 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.

Because I didn't want to forget what I did, I've jotted all this down before my final reboot, so I still don't even know if the driver works! I've got to go now, but I'll play some more and update you later.