LinHES Forums
http://forum.linhes.org/

script to update ivtv automatically
http://forum.linhes.org/viewtopic.php?f=6&t=5931
Page 1 of 1

Author:  lynchaj [ Mon Sep 05, 2005 4:52 pm ]
Post subject:  script to update ivtv automatically

Hi,
With all the problems the PVR-250's, etc are having keeping up with the latest chipsets, I thought a useful contribution to KnoppMyth would be a simple script to automate the downloading, compiling, and installing the ivtv modules.

Here is my script, based on the knoppmythwiki.org HauppaugeOneFiftyHowTo page.

I call it install-ivtv-0.3.8-knoppmyth.sh and it should be put in the /usr/local/bin directory with the other install* scripts.

Quote:

cd /root
wget http://www.ivtv.tv/releases/ivtv-0.3/ivtv-0.3.8.tgz
tar zxvf ivtv-0.3.8.tgz
cd /usr/src
tar jxvf kernel-source-2.6.11.9-chw-2.tar.bz2
cd /root/ivtv-0.3.8/driver
make
make install
cd ../utils
make
make install
echo you still have to edit /etc/mythtv/modules/ivtv to set modules options
echo reboot when finished!



OK? Is there a formal submissions process to add things to KnoppMyth or do we just post here?

Thanks!

Andrew Lynch

Author:  cesman [ Tue Sep 06, 2005 12:08 am ]
Post subject: 

Contacting me would be the best way. Sorry, I don't see the value in including a script to automate IvyTV compliation (at this time).

Author:  gummybear [ Tue Sep 06, 2005 10:14 am ]
Post subject: 

I like the idea, but there's lots of problems because the ivtv driver is constantly changing. You've got a hard coded URL in the script, too. Is that 0.3.8 a final release or something?

Would probably be better as an apt-get if that's possible.

If it were a menu based dealio where you could select/configure your card that would be a very significant improvement, IMO.

BTW, it looks like ivtv is changing it's domain (ivtvdriver.org) ?

Author:  lynchaj [ Tue Sep 06, 2005 11:56 am ]
Post subject: 

The script is hardcoded and the URL changes pretty often which is definitely a weakness in the design. It could definitely be improved to be more robust with the changing conditions with the ivtv team. For just me, its easy enough to just edit in the changes and run. Any improvements are welcome, just post a new version here in this thread. If there is any interest I will open a knoppmythwiki page so people could just cut'n paste the script into their systems.

Often I see knoppmyth users with hauppauge cards struggling to get them to work properly and having to recompile ivtv is becoming a common task. It seems to me that the time has come for a method to automate updating the ivtv modules similar to getting the nvidia driver.

KnoppMyth is almost totally free / open source software so rather than just complain about the complicated fixes necessary to get PVR-250 model 980's to work properly I suggested a script. Posting a prototype would be helpful as a starting point for more development if there is a need. If not, no big deal. I'll use it myself and anyone who wants it can search the forum to get it.

Thanks!

Andrew Lynch

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/