Re: [mythtv-users] Compiling Mythtv with DVB

2005-09-07 Thread Kevin Saenz
Which kernel version are you using? The kernel's DVB code is reasonably
up-to-date, so if you're using a fairly recent 2.6 kernel, you probablydon't need to compile in linux-dvb separately.
I was using 2.6.12-r9 I think, and linuxtv and dvico would not patch the kernel
I would experience errors. So I ended up using the vanilla kernel. The problem
I found was that when I loaded mythtvsetup and selected dvb, I got a message 
saying it could not locate the directory or file. I ran ls in /dev and foud the 
following structure

/dev/dvb.adapter0.frontend0
/dev/dvb.adapter0.audio0
etc

There was no /dev/dvb directory.

> I have had success with Mandrake 10.0 community and linuxtv-dvb-1.1.1.> So I reinstalled 
Mandrake10.0 and recompiled linuxtv-dvb against the> kernel. I downloaded, and extracted mythtv-0.18, ran ./configure> --enable-dvb --dvb-path=/usr/src/linuxtv-1.1.1/ then ran qmake> 
mythtv.pro  then make and make install.The DVB path should be the path to the linux include files. I don'tthink that's the same as the linux-dvb source files. If your kernel is
2.6.12 or later, you can (and ./configure will) point to the kernelsource tree: /usr/src/linux/include. If your kernel is earlier, youmustn't include the kernel source directly - copy just the dvb stuffsomewhere else, and include that.

I found out that ./configure --enable-dvb --dvb-path=/usr/src/linuxtv-1.1.1
would not add the dvb instruction set. I modified settings.pro

# DVB supportCONFIG += using_dvbDEFINES += USING_DVBINCLUDEPATH +=/usr/src/linuxtv-1.1.1
and now I can watch HDTV :) 

> as a standard user I ran mythtv-setup and configured the capture card> I selected dvb and the message I get is recompile with dvb support.
> Where have I gone wrong?Have you tried doing this as root? Also, have you confirmed that yourDVB card is working using e.g. tzap? Check out Martin Smith's Myth/DVBset-up guide at:

I don't like running applications as root, and prefer not to. I have reset the security
settings to allow all users to run or access DVB
Kevin

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Compiling Mythtv with DVB

2005-09-07 Thread Jon Whitear

Kevin Saenz wrote:

I have given up building a gentoo mythtv box, the version of kernel 
and linuxtv-dvb-1.1.1 didn't work happily together. 


Which kernel version are you using? The kernel's DVB code is reasonably 
up-to-date, so if you're using a fairly recent 2.6 kernel, you probably 
don't need to compile in linux-dvb separately.


I have had success with Mandrake 10.0 community and linuxtv-dvb-1.1.1. 
So I reinstalled Mandrake10.0 and recompiled linuxtv-dvb against the 
kernel. I downloaded, and extracted mythtv-0.18, ran ./configure 
--enable-dvb --dvb-path=/usr/src/linuxtv-1.1.1/ then ran qmake 
mythtv.pro  then make and make install.


The DVB path should be the path to the linux include files. I don't 
think that's the same as the linux-dvb source files. If your kernel is 
2.6.12 or later, you can (and ./configure will) point to the kernel 
source tree: /usr/src/linux/include. If your kernel is earlier, you 
mustn't include the kernel source directly - copy just the dvb stuff 
somewhere else, and include that.


as a standard user I ran mythtv-setup and configured the capture card 
I selected dvb and the message I get is recompile with dvb support.

Where have I gone wrong?


Have you tried doing this as root? Also, have you confirmed that your 
DVB card is working using e.g. tzap? Check out Martin Smith's Myth/DVB 
set-up guide at:


http://www.ethics-gradient.net/myth/mythdvb.html

Cheers,

Jon
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


[mythtv-users] Compiling Mythtv with DVB

2005-09-06 Thread Kevin Saenz
I have given up building a gentoo mythtv box, the version of kernel and
linuxtv-dvb-1.1.1 didn't work happily together. I have had success with
Mandrake 10.0 community and linuxtv-dvb-1.1.1. So I reinstalled
Mandrake10.0 and recompiled linuxtv-dvb against the kernel. I
downloaded, and extracted mythtv-0.18, ran ./configure --enable-dvb
--dvb-path=/usr/src/linuxtv-1.1.1/ then ran qmake mythtv.pro then make
and make install.
as a standard user I ran mythtv-setup and configured the capture card I
selected dvb and the message I get is recompile with dvb support.
Where have I gone wrong?

Thanks

Kevin
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Compiling Mythtv with DVB...

2004-12-17 Thread Richie Jarvis
Those look like functions from math.h.  Maybe try including that 
somewhere in that source file.

Kevin
Thanks Kevin.  After investigating the source file some more, I 
discovered that these lines are relevant to DVB-S anyway, so have 
removed the offending functions, and it works fine.

Not the best solution in the world (and would obviously bugger up anyone 
who uses DVB-S), but for me it has got my MythTV back up and running 
after a 4 day outage.

I don't quite understand why math.h would be missing though - this code 
compiled successfully prior to the upgrade, when I was using just 1 
DVB-T card - this is an FC1 box, upgraded this week to FC3 to allow me 
to use the 2.6 kernel with the correct DVB-T drivers in.  Strange.

Anyway, its all working now, and I have 3 DVB-T cards working in harmony 
- anyone want to purchase a second hand UK PVR-250?

Richie
___
mythtv-users mailing list
[EMAIL PROTECTED]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Compiling Mythtv with DVB...

2004-12-17 Thread Kevin Kuphal
Richie Jarvis wrote:
Hi Folks,
Having a slight problem atm with my MythTV 0.16 installation.  Its 
been working perfectly, 1xTT-DVB-T card, 1xPVR250 and a second backend 
with a BT878 card.

Anyway, I decided to switch fully over to DVB-T for all my tuners, and 
purchased 2 Nova-T cards.  Now, as some may know, the new cards are 
based on the Conexant chipset, and is very difficult to get going - 
took me 4 days of trying various kernels, drivers etc.

They are now installed, and working fine, along with my original DVB-T 
card - the 2 other cards are no longer in the system.

I am now trying to compile mythtv on the master backend.  During 
compilation, I get this error:

make[2]: Entering directory `/root/build/mythtv-0.16/libs/libmythtv'
g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer 
`freetype-config --cflags` -D_REENTRANT -fPIC  -D_GNU_SOURCE 
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX 
-DCONFIG_VIDEO4LINUX -DUSING_IVTV -DUSING_OSS -DUSING_DVB -DUSING_XV 
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED 
-I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/local/include 
-I../../../dvb -I../libmyth -I.. -Idvbdev -I../libavcodec 
-I/usr/lib/qt-3.3/include -o dvbdiseqc.o dvbdiseqc.cpp
dvbdiseqc.cpp: In member function `bool 
DVBDiSEqC::PositionerGotoAngular(dvb_tuning_t&, bool, bool&)':
dvbdiseqc.cpp:587: error: `M_PI' undeclared (first use this function)
dvbdiseqc.cpp:587: error: (Each undeclared identifier is reported only 
once for each function it appears in.)
dvbdiseqc.cpp:603: error: `tan' undeclared (first use this function)
dvbdiseqc.cpp:603: error: `sin' undeclared (first use this function)
dvbdiseqc.cpp:603: error: `atan2' undeclared (first use this function)
dvbdiseqc.cpp:631: error: `round' undeclared (first use this function)
make[2]: *** [dvbdiseqc.o] Error 1
make[2]: Leaving directory `/root/build/mythtv-0.16/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/root/build/mythtv-0.16/libs'
make: *** [sub-libs] Error 2

I have setup the settings.pro as follows:
# DVB support
CONFIG += using_dvb
DEFINES += USING_DVB
# Note: INCLUDEPATH should point to the directory with
#   'linux/dvb/frontend.h', not the directory with frontend.h
INCLUDEPATH += /root/build/dvb
and as per Martin Smith's excellant guide (thanks Martin) have copied 
the include files from the kernel dvb driver to the /root/build/dvb.

Those look like functions from math.h.  Maybe try including that 
somewhere in that source file.

Kevin
___
mythtv-users mailing list
[EMAIL PROTECTED]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


[mythtv-users] Compiling Mythtv with DVB...

2004-12-17 Thread Richie Jarvis
Hi Folks,
Having a slight problem atm with my MythTV 0.16 installation.  Its been 
working perfectly, 1xTT-DVB-T card, 1xPVR250 and a second backend with a 
BT878 card.

Anyway, I decided to switch fully over to DVB-T for all my tuners, and 
purchased 2 Nova-T cards.  Now, as some may know, the new cards are 
based on the Conexant chipset, and is very difficult to get going - took 
me 4 days of trying various kernels, drivers etc.

They are now installed, and working fine, along with my original DVB-T 
card - the 2 other cards are no longer in the system.

I am now trying to compile mythtv on the master backend.  During 
compilation, I get this error:

make[2]: Entering directory `/root/build/mythtv-0.16/libs/libmythtv'
g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer 
`freetype-config --cflags` -D_REENTRANT -fPIC  -D_GNU_SOURCE 
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX 
-DCONFIG_VIDEO4LINUX -DUSING_IVTV -DUSING_OSS -DUSING_DVB -DUSING_XV 
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED 
-I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/local/include 
-I../../../dvb -I../libmyth -I.. -Idvbdev -I../libavcodec 
-I/usr/lib/qt-3.3/include -o dvbdiseqc.o dvbdiseqc.cpp
dvbdiseqc.cpp: In member function `bool 
DVBDiSEqC::PositionerGotoAngular(dvb_tuning_t&, bool, bool&)':
dvbdiseqc.cpp:587: error: `M_PI' undeclared (first use this function)
dvbdiseqc.cpp:587: error: (Each undeclared identifier is reported only 
once for each function it appears in.)
dvbdiseqc.cpp:603: error: `tan' undeclared (first use this function)
dvbdiseqc.cpp:603: error: `sin' undeclared (first use this function)
dvbdiseqc.cpp:603: error: `atan2' undeclared (first use this function)
dvbdiseqc.cpp:631: error: `round' undeclared (first use this function)
make[2]: *** [dvbdiseqc.o] Error 1
make[2]: Leaving directory `/root/build/mythtv-0.16/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/root/build/mythtv-0.16/libs'
make: *** [sub-libs] Error 2

I have setup the settings.pro as follows:
# DVB support
CONFIG += using_dvb
DEFINES += USING_DVB
# Note: INCLUDEPATH should point to the directory with
#   'linux/dvb/frontend.h', not the directory with frontend.h
INCLUDEPATH += /root/build/dvb
and as per Martin Smith's excellant guide (thanks Martin) have copied 
the include files from the kernel dvb driver to the /root/build/dvb.

Googling doesn't reveal anything, nor does searching the list.  Can 
anyone help?

Thanks,
Richie
___
mythtv-users mailing list
[EMAIL PROTECTED]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users