[mythtv] Another CVS compile error with DVB

Daniel Thor Kristjansson danielk at mrl.nyu.edu
Wed Jan 26 09:07:42 EST 2005


On Tue, 25 Jan 2005, Taylor Jacob wrote:
]Quoting Daniel Thor Kristjansson <danielk at mrl.nyu.edu>:
]> Wait, so you must use the CVS version of DVB?
]
]No any version works unless you want to use the Air2PC sicne it required the 3.1
]API..
]
]> Well if you need to install the DVB from CVS and can't use the standard
]> kernel drivers this should be well documented in the install guide
]> before 0.17. But if we can use DVB, but just not ATSC over DVB without
]
]Unless you are using the air2pc there is no need.. for this..  This is well know
]when you are attempting to use the air2pc..

Ok, so from the MythTV source directory... If you are not using the 
Air2PC, the procedure is something like:
 pushd ~
 wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.10.tar.bz2
 tar xvfj linux-2.6.10
 mkdir dvb-include
 mkdir dvb-include/linux
 ln -s linux-2.6.9/include/linux/dvb dvb-include/linux/dvb
 popd
 sed "s/\/usr\/src\/linuxtv-dvb-1.0.1\/include/~\/dvb-include/" settings.pro
 # follow directions at http://www.mythtv.org/docs/
 # follow directions at http://www.digitalregime.com/mythdvb/setup/

If you are using the Air2PC, the procedure is:
 pushd ~
 wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.10.tar.bz2
 tar xvfj linux-2.6.10
 cvs -d :pserver:anonymous at linuxtv.org:/cvs/linuxtv login
 # press return for password
 cvs -d :pserver:anonymous at linuxtv.org:/cvs/linuxtv co dvb-kernel 
 cd dvb-kernel
 ./makelinks ~/linux-2.6.10
 cd ~/linux-2.6.10
 make oldconfig
 make menuconfig # add DVB driver
 make
 make modules
 su
 # type root password
 make modules_install
 mount -orw,remount /boot
 make install
 vi /etc/lilo.conf # add new kernel
 lilo
 mount -oro,remount /boot
 exit # from su
 popd
 sed "s/\/usr\/src\/linuxtv-dvb-1.0.1\/include/~\/dvb-kernel/include/"
 # follow directions at http://www.mythtv.org/docs/
 # follow directions at http://www.digitalregime.com/mythdvb/setup/
 su
 # type root password
 shutdown -r -t 600

]> BTW MythTV compiles fine with the 3.0 API headers, and we test for 3.0
]> not 3.1 API headers in dvbtypes.h...
]
]No.. In dvbtypes.h DVB_VERSION_MINOR is set to 0 if it isn't defined.  The 3.0
]API doesn't include the MINOR version number.. DVB_MINOR_VERSION 1 is checked
]in DVBChannel where it is necessary..

ok I see it, all over dvbchannel.
#if (DVB_API_VERSION_MINOR == 1)

This is for the FE_ATSC, VSB_8, and VSB_16 defines right? 

Presumably the ioctl in TuneATSC would fail gracefully if a 
3.0 DVB driver got a request to use a VSB_8 demodulator.

-- Daniel


More information about the mythtv-dev mailing list