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

IVTV and r5e50 (unable to compile)
http://forum.linhes.org/viewtopic.php?f=5&t=13458
Page 1 of 1

Author:  tuckie [ Fri Jan 12, 2007 8:33 am ]
Post subject:  IVTV and r5e50 (unable to compile)

While following this guide here: http://www.mysettopbox.tv/phpBB2/viewtopic.php?t=13108 on upgrading from R5C7

The part that is giving me trouble is:
Quote:
1) If you are upgrading from a version of KnoppMyth before R5D1, and you have a PVR card, you must drop all of your card definitions and recreate them! See steps 8-11 on the CompileIvtv page on the wiki for details. This is necessary because the version of the ivtv driver included in R5E50 uses different input names and numbering to conform to the standard V4L2 interface, and the DB configuration contains references to the obsolete names. If you do not do this, you will see all sorts of bizarre and mysterious errors.


After downloading the source in order to link the scripts, Makefile and arch, I still get this error when running make inside of the ivtv-0.8.2 folder:

Code:
make -C driver all
make[1]: Entering directory `/usr/src/ivtv-0.8.2/driver'
make -C /lib/modules/2.6.18-chw-13/build M=/usr/src/ivtv-0.8.2/driver modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.18-chw-13'

  WARNING: Symbol version dump /usr/src/linux-headers-2.6.18-chw-13/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /usr/src/ivtv-0.8.2/driver/ivtv-osd.o
/bin/sh: scripts/basic/fixdep: No such file or directory
make[3]: *** [/usr/src/ivtv-0.8.2/driver/ivtv-osd.o] Error 1
make[2]: *** [_module_/usr/src/ivtv-0.8.2/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.18-chw-13'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/ivtv-0.8.2/driver'
make: *** [all] Error 2


Does anyone have any ideas as to how to get this working?

Author:  tuckie [ Fri Jan 12, 2007 9:16 am ]
Post subject: 

well I got make to work thanks to http://www.lavrsen.dk/twiki/bin/view/PW ... _scripts_b Now onward to the rest of the IVTV install

Author:  tjc [ Fri Jan 12, 2007 6:17 pm ]
Post subject: 

Wow. :shock: You really went off in the weeds here. Steps 8-11 have nothing to do with recompiling the ivtv module. They are the post upgrade reconfiguration. I even numbered the steps on that wiki page because people seemed to get confused by an older version that just said "the last four steps". I'm not sure how it's possible to make this clearer.

Here is what you should have done. The really critical bit is step 11.

Quote:
8. Edit your /etc/mythtv/modules/ivtv file and remove the "simple=1" option for msp3400. If it has already been done, the following command is a harmless "no-op".

sed -i.orig -e '/options msp3400/s/simple=1//' /etc/mythtv/modules/ivtv


9. Edit your /etc/modules file and remove the line that says "ivtv" around line 45. If it has already been done, the following command is a harmless "no-op".

sed -i.orig -e '/ivtv/d' /etc/modules


10. Reboot the system. Do not skip this step!!!

11. After the system comes back up you will need to drop and recreate your cards definitions in mythtv-setup. See the directions for GettingBackIntoMytTVsetup for more detail. Do not skip this step!!!

    * Stop the backend (as root, /etc/init.d/mythtv-backend stop)
    * Run mythtv-setup
    * Clear all of your capture card settings by choosing the option to "(Delete all capture cards)" under "2. Capture cards"
    * Restablish them using the "(New capture card)" option under "2. Capture cards"
    * Setup the correct mappings from capture card input to video source under "4. Input connections".
    * Exit mythtv-setup
    * Restart the backend (as root, /etc/init.d/mythtv-backend start)

Note that because of the changes in the drivers you may see a different set of input names for your cards. The changes to the names and internal numbering of the inputs on each card are why you must do this after an upgrade, so that the DB isn't pointing to the old numbers.

Author:  tuckie [ Sat Jan 13, 2007 10:25 am ]
Post subject: 

wow I can't believe I missed that :oops: , I think the the link right next to the step numbers drew my attention away from that little bit :oops: . I guess I may still just try "updating" it again, since I'm having problems with lirc and I would rather just start with a clean slate.

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