LinHES Forums http://forums.linhes.org/ |
|
Help updating to latest V4L drivers http://forums.linhes.org/viewtopic.php?f=6&t=18950 |
Page 1 of 1 |
Author: | marc.aronson [ Sun Sep 14, 2008 11:01 am ] |
Post subject: | Help updating to latest V4L drivers |
I built a mythtv system for my brother that successfully used a single Hauppauge HVR-950 tuner, but he ran into a problem when he tried to add a second HVR-950 tuner. Based on some threads I've read, it looks like this is a known problem that was fixed recently, so I want to help him update his R5.5 system to the latest V4L driver. He is currently using a V4L driver built using the following procedure: Code: apt-get update
apt-get install mercurial linux-headers-$(uname -r) linux-source build-essential cd /lib/firmware wget http://konstantin.filtschew.de/v4l-firmware/firmware_v4.tgz tar xvzf firmware_v4.tgz rm firmware_v4.tgz cd /myth/tmp hg clone http://mcentral.de/hg/~mrec/v4l-dvb-kernel cd v4l-dvb-kernel make kernel-links make make install I am now pondering how to do the update properly. I found these instructionsin the v4l wiki, which essentially suggest that the build should be done from http://linuxtv.org/hg/v4l-dvb . Another thread I read sugggests that the code I originally built from ( http://mcentral.de/hg/~mrec/v4l-dvb-kernel ) was a custom code branch created by a developer named Markus Rechberger, that this code branch is essentially a "dead end", and that support for the em28xx tuners has been merged into the main V4L code base, as documented in this changelog entry. All of this brings me to the following questions: 1. Where is the correct place to do a V4L build from: http://mcentral.de/hg/~mrec/v4l-dvb-kernel or http://linuxtv.org/hg/v4l-dvb ? 2. It looks like http://linuxtv.org/hg/v4l-dvb is updated continuously, and I don't see any clear way to identify a known-good version of this driver. In essence, it looks like when you do a build from this, you are taking a crap shoot on weather or not the most recent check in works or breaks things. Am I understanding the situation correctly? 3. Assuming the answer to # 2 is yes, any advise on how to best approach the situation and minimizing the odds of picking up a bad version? Answers to these questions and any other advise / guidance would be greatly appreciated. Thank you! Marc |
Author: | auttila [ Sun Sep 14, 2008 1:07 pm ] |
Post subject: | Re: Help updating to latest V4L drivers |
marc.aronson wrote: 1. Where is the correct place to do a V4L build from: http://mcentral.de/hg/~mrec/v4l-dvb-kernel or http://linuxtv.org/hg/v4l-dvb ? That would be linuxtv.org. However, some people might have done some tricks to their own brancs, which is not yet merged with the v4l trunk. That was te case with my Anysee tuner previously. I would still recommend usin the linuxtv.org version. marc.aronson wrote: 2. It looks like http://linuxtv.org/hg/v4l-dvb is updated continuously, and I don't see any clear way to identify a known-good version of this driver. In essence, it looks like when you do a build from this, you are taking a crap shoot on weather or not the most recent check in works or breaks things. Am I understanding the situation correctly? Unfortunately that seems to be the case. There was a loosely related topic which helped me through getting it to compile. marc.aronson wrote: 3. Assuming the answer to # 2 is yes, any advise on how to best approach the situation and minimizing the odds of picking up a bad version?
As far as I know (based on Google) there is not a list of revisions which do compile an which don't. Your best bet is to get the head revision, and if it doesn't compile, get the one before it... In a couple of years you should stumble to a working revision ![]() Hmm... I wonder if I made any sense. |
Author: | marc.aronson [ Sun Sep 14, 2008 5:41 pm ] |
Post subject: | Re: Help updating to latest V4L drivers |
auttila wrote: Hmm... I wonder if I made any sense.
Makes total sense -- thanks for taking the time to respond! I do have 1 more question -- is there an easy way I can save the drivers and DVB applications that are already installed, so that if the new version makes things worse, it will be easy to revert back to the version that is currently installed. Thanks! Marc |
Author: | auttila [ Sun Sep 14, 2008 11:26 pm ] |
Post subject: | |
Well, I guess you could rename the download folder with for example revision number. Besides from that, the only way would be to get a specified revision each with "hg clone". Code: ...
hg clone http://mcentral.de/hg/~mrec/v4l-dvb-kernel mv v4l-dvb-kernel v4l-dvb-kernel-8192 cd v4l-dvb-kernel-8192 ... There must be a better solution to this, but I've used this method, and it works for me. |
Author: | marc.aronson [ Mon Sep 15, 2008 12:34 am ] |
Post subject: | |
I see your point. As long as a retain the sources for the other driver I built, I can always re-install them if the new version doesn't work. That makes sense. Actually, I think I left the sources and the results of the build on his machine, so I don't need to re-fetch it from the on-line repository. Thanks for the idea. Marc |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |