Talk:Hauppauge WinTV-HVR-2200: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
(Additional steps to get the driver make process to work in Mythdora 10.)
 
No edit summary
Line 19: Line 19:
This doesn't work because hg is a Mercurial command that is not installed with Mythdora.
This doesn't work because hg is a Mercurial command that is not installed with Mythdora.
Solution:
Solution:
# yum install mercurial.
<nowiki>#</nowiki> 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.
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:
That's because you don't have the kernel source files installed. Again, also easily fixed:
# yum install kernel-devel
<nowiki>#</nowiki> 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.
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?
It stands to reason that a C compiler would be needed to recompile the kernel. Linux lives on gcc, right?
# yum install gcc
<nowiki>#</nowiki> 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).
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
<nowiki>#</nowiki> 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:
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
<nowiki>#</nowiki> yum install rpmdevtools yum-utils
I would skip the above unless you still can't compile the driver.
I would skip the above unless you still can't compile the driver.


Line 40: Line 40:


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

2009-12-09:
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? I had a pesky "mythstreams" plug-in installed that was below 0.22, so I removed it:
<nowiki>#</nowiki> 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:
<nowiki>#</nowiki> 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.

Revision as of 18:36, 5 December 2009

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

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.

2009-12-09: 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? 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.