Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

TechnoTrend S2-1600 ubuntu 8.10 mythtv 0.22

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


michael at maymann

Nov 21, 2009, 3:49 AM

Post #1 of 7 (1291 views)
Permalink
TechnoTrend S2-1600 ubuntu 8.10 mythtv 0.22

Hi,

I need to use opensasc-ng and therefore can't just upgrade to the latest
mythbuntu 9.10.

I'm following this guide:
http://www.closetothewind.net/tt-budget-s2-3200-mythtv

everything works fine uptill scan-s2:
root [at] t:/usr/local/src/scan-s2# uname -r
2.6.27-7-generic

root [at] t:/usr/local/src/scan-s2# lspci
04:01.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
04:02.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)

root [at] t:/usr/local/src/scan-s2# lsmod | grep dvb
dvb_core 99336 2 budget,budget_core

root [at] t:/usr/local/src/scan-s2# ls -l /dev/dvb/*
/dev/dvb/adapter0:
total 0
crw-rw---- 1 root video 212, 0 2009-11-21 12:15 demux0
crw-rw---- 1 root video 212, 1 2009-11-21 12:15 dvr0
crw-rw---- 1 root video 212, 3 2009-11-21 12:15 frontend0
crw-rw---- 1 root video 212, 2 2009-11-21 12:15 net0

/dev/dvb/adapter1:
total 0
crw-rw---- 1 root video 212, 4 2009-11-21 12:15 demux0
crw-rw---- 1 root video 212, 5 2009-11-21 12:15 dvr0
crw-rw---- 1 root video 212, 7 2009-11-21 12:15 frontend0
crw-rw---- 1 root video 212, 6 2009-11-21 12:15 net0

but i can't get scan-s2 to compile:
root [at] t:/usr/local/src/scan-s2# make
--include-dir=/usr/local/src/v4l-dvb/linux/include
gcc -I../s2/linux/include -c scan.c -o scan.o
scan.c:51:2: error: #error scan-s2 requires Linux DVB driver API version
5.0!
make: *** [scan.o] Error 1

I then tried s2-liplianin but no luck there either...

root [at] t:/usr/local/src/scan-s2# make
--include-dir=/usr/local/src/s2-liplianin/linux/include
gcc -I../s2/linux/include -c scan.c -o scan.o
scan.c:51:2: error: #error scan-s2 requires Linux DVB driver API version
5.0!
make: *** [scan.o] Error 1

~Mammoth


dlknight at sdf

Nov 21, 2009, 4:37 AM

Post #2 of 7 (1255 views)
Permalink
Re: TechnoTrend S2-1600 ubuntu 8.10 mythtv 0.22 [In reply to]

On Sat, November 21, 2009 11:49 am, Michael Lemstad Maymann wrote:
> Hi,
>
> I need to use opensasc-ng and therefore can't just upgrade to the latest
> mythbuntu 9.10.
>
> I'm following this guide:
> http://www.closetothewind.net/tt-budget-s2-3200-mythtv
>
> everything works fine uptill scan-s2:
> root [at] t:/usr/local/src/scan-s2# uname -r
> 2.6.27-7-generic
>
> root [at] t:/usr/local/src/scan-s2# lspci
> 04:01.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
> 04:02.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
>
> root [at] t:/usr/local/src/scan-s2# lsmod | grep dvb
> dvb_core 99336 2 budget,budget_core
>
> root [at] t:/usr/local/src/scan-s2# ls -l /dev/dvb/*
> /dev/dvb/adapter0:
> total 0
> crw-rw---- 1 root video 212, 0 2009-11-21 12:15 demux0
> crw-rw---- 1 root video 212, 1 2009-11-21 12:15 dvr0
> crw-rw---- 1 root video 212, 3 2009-11-21 12:15 frontend0
> crw-rw---- 1 root video 212, 2 2009-11-21 12:15 net0
>
> /dev/dvb/adapter1:
> total 0
> crw-rw---- 1 root video 212, 4 2009-11-21 12:15 demux0
> crw-rw---- 1 root video 212, 5 2009-11-21 12:15 dvr0
> crw-rw---- 1 root video 212, 7 2009-11-21 12:15 frontend0
> crw-rw---- 1 root video 212, 6 2009-11-21 12:15 net0
>
> but i can't get scan-s2 to compile:
> root [at] t:/usr/local/src/scan-s2# make
> --include-dir=/usr/local/src/v4l-dvb/linux/include
> gcc -I../s2/linux/include -c scan.c -o scan.o
> scan.c:51:2: error: #error scan-s2 requires Linux DVB driver API version
> 5.0!
> make: *** [scan.o] Error 1
>
> I then tried s2-liplianin but no luck there either...
>
> root [at] t:/usr/local/src/scan-s2# make
> --include-dir=/usr/local/src/s2-liplianin/linux/include
> gcc -I../s2/linux/include -c scan.c -o scan.o
> scan.c:51:2: error: #error scan-s2 requires Linux DVB driver API version
> 5.0!
> make: *** [scan.o] Error 1
>
> ~Mammoth
>

Hi Mammoth,

I found this error to, if you edit scan.c and change the following it
should resolve the compile error:

Replace all occurences of "if DVB_API_VERSION != 5 ||
DVB_API_VERSION_MINOR != 0" with "if DVB_API_VERSION !=5 ||
DVB_API_VERSION_MINOR != 1".

Should be line 50 only.

Cheers

Dave K.


_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


michael at maymann

Nov 21, 2009, 4:45 AM

Post #3 of 7 (1254 views)
Permalink
Re: TechnoTrend S2-1600 ubuntu 8.10 mythtv 0.22 [In reply to]

Hi David,

thanks for your quick reply :-)

it came a little further, but still exits with errors:
root [at] t:/usr/local/src/scan-s2# make
--include-dir=/usr/local/src/s2-liplianin/linux/include
gcc -I../s2/linux/include -c scan.c -o scan.o
scan.c:50: error: expected identifier or ‘(’ before ‘if’
scan.c:51:2: error: #error scan-s2 requires Linux DVB driver API version
5.0!
scan.c:52:2: error: #endif without #if
scan.c:156: error: field ‘pid’ has incomplete type
scan.c: In function ‘parse_pat’:
scan.c:892: error: type of formal parameter 3 is incomplete
scan.c: At top level:
scan.c:1541: error: parameter 3 (‘pid’) has incomplete type
scan.c: In function ‘scan_tp_atsc’:
scan.c:2494: error: ‘PID_PAT’ undeclared (first use in this function)
scan.c:2494: error: (Each undeclared identifier is reported only once
scan.c:2494: error: for each function it appears in.)
scan.c:2494: error: type of formal parameter 3 is incomplete
scan.c:2498: error: type of formal parameter 3 is incomplete
scan.c:2502: error: type of formal parameter 3 is incomplete
scan.c:2505: error: type of formal parameter 3 is incomplete
scan.c: In function ‘scan_tp_dvb’:
scan.c:2525: error: ‘PID_PAT’ undeclared (first use in this function)
scan.c:2525: error: type of formal parameter 3 is incomplete
scan.c:2526: error: ‘PID_SDT_BAT_ST’ undeclared (first use in this
function)
scan.c:2526: error: type of formal parameter 3 is incomplete
scan.c:2532: error: ‘PID_NIT_ST’ undeclared (first use in this function)
scan.c:2532: error: type of formal parameter 3 is incomplete
scan.c:2539: error: type of formal parameter 3 is incomplete
make: *** [scan.o] Error 1
root [at] t:/usr/local/src/scan-s2# echo $?
2

~Mammoth

On Sat, 2009-11-21 at 12:37 +0000, David Knight wrote:
> On Sat, November 21, 2009 11:49 am, Michael Lemstad Maymann wrote:
> > Hi,
> >
> > I need to use opensasc-ng and therefore can't just upgrade to the latest
> > mythbuntu 9.10.
> >
> > I'm following this guide:
> > http://www.closetothewind.net/tt-budget-s2-3200-mythtv
> >
> > everything works fine uptill scan-s2:
> > root [at] t:/usr/local/src/scan-s2# uname -r
> > 2.6.27-7-generic
> >
> > root [at] t:/usr/local/src/scan-s2# lspci
> > 04:01.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
> > 04:02.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
> >
> > root [at] t:/usr/local/src/scan-s2# lsmod | grep dvb
> > dvb_core 99336 2 budget,budget_core
> >
> > root [at] t:/usr/local/src/scan-s2# ls -l /dev/dvb/*
> > /dev/dvb/adapter0:
> > total 0
> > crw-rw---- 1 root video 212, 0 2009-11-21 12:15 demux0
> > crw-rw---- 1 root video 212, 1 2009-11-21 12:15 dvr0
> > crw-rw---- 1 root video 212, 3 2009-11-21 12:15 frontend0
> > crw-rw---- 1 root video 212, 2 2009-11-21 12:15 net0
> >
> > /dev/dvb/adapter1:
> > total 0
> > crw-rw---- 1 root video 212, 4 2009-11-21 12:15 demux0
> > crw-rw---- 1 root video 212, 5 2009-11-21 12:15 dvr0
> > crw-rw---- 1 root video 212, 7 2009-11-21 12:15 frontend0
> > crw-rw---- 1 root video 212, 6 2009-11-21 12:15 net0
> >
> > but i can't get scan-s2 to compile:
> > root [at] t:/usr/local/src/scan-s2# make
> > --include-dir=/usr/local/src/v4l-dvb/linux/include
> > gcc -I../s2/linux/include -c scan.c -o scan.o
> > scan.c:51:2: error: #error scan-s2 requires Linux DVB driver API version
> > 5.0!
> > make: *** [scan.o] Error 1
> >
> > I then tried s2-liplianin but no luck there either...
> >
> > root [at] t:/usr/local/src/scan-s2# make
> > --include-dir=/usr/local/src/s2-liplianin/linux/include
> > gcc -I../s2/linux/include -c scan.c -o scan.o
> > scan.c:51:2: error: #error scan-s2 requires Linux DVB driver API version
> > 5.0!
> > make: *** [scan.o] Error 1
> >
> > ~Mammoth
> >
>
> Hi Mammoth,
>
> I found this error to, if you edit scan.c and change the following it
> should resolve the compile error:
>
> Replace all occurences of "if DVB_API_VERSION != 5 ||
> DVB_API_VERSION_MINOR != 0" with "if DVB_API_VERSION !=5 ||
> DVB_API_VERSION_MINOR != 1".
>
> Should be line 50 only.
>
> Cheers
>
> Dave K.
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Nov 21, 2009, 6:15 AM

Post #4 of 7 (1254 views)
Permalink
Re: TechnoTrend S2-1600 ubuntu 8.10 mythtv 0.22 [In reply to]

On 11/21/2009 06:49 AM, Michael Lemstad Maymann wrote:
> I need to use opensasc-ng and therefore can't just upgrade to the
> latest mythbuntu 9.10.

The discussion of software CAM is forbidden on this list:
http://www.mythtv.org/wiki/Mailing_List_etiquette#Anything_else_I_should_be_aware_of.3F

Please take your discussion somewhere else not associated with MythTV or
get a legitimate hardware CAM.

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


dlknight at sdf

Nov 21, 2009, 7:44 AM

Post #5 of 7 (1254 views)
Permalink
Re: TechnoTrend S2-1600 ubuntu 8.10 mythtv 0.22 [In reply to]

On Sat, November 21, 2009 12:45 pm, Michael Lemstad Maymann wrote:
> Hi David,
>
> thanks for your quick reply :-)
>
> it came a little further, but still exits with errors:
> root [at] t:/usr/local/src/scan-s2# make
> --include-dir=/usr/local/src/s2-liplianin/linux/include
> gcc -I../s2/linux/include -c scan.c -o scan.o
> scan.c:50: error: expected identifier or ‘(’ before ‘if’
> scan.c:51:2: error: #error scan-s2 requires Linux DVB driver API version
> 5.0!
> scan.c:52:2: error: #endif without #if
> scan.c:156: error: field ‘pid’ has incomplete type
> scan.c: In function ‘parse_pat’:
> scan.c:892: error: type of formal parameter 3 is incomplete
> scan.c: At top level:
> scan.c:1541: error: parameter 3 (‘pid’) has incomplete type
> scan.c: In function ‘scan_tp_atsc’:
> scan.c:2494: error: ‘PID_PAT’ undeclared (first use in this function)
> scan.c:2494: error: (Each undeclared identifier is reported only once
> scan.c:2494: error: for each function it appears in.)
> scan.c:2494: error: type of formal parameter 3 is incomplete
> scan.c:2498: error: type of formal parameter 3 is incomplete
> scan.c:2502: error: type of formal parameter 3 is incomplete
> scan.c:2505: error: type of formal parameter 3 is incomplete
> scan.c: In function ‘scan_tp_dvb’:
> scan.c:2525: error: ‘PID_PAT’ undeclared (first use in this function)
> scan.c:2525: error: type of formal parameter 3 is incomplete
> scan.c:2526: error: ‘PID_SDT_BAT_ST’ undeclared (first use in this
> function)
> scan.c:2526: error: type of formal parameter 3 is incomplete
> scan.c:2532: error: ‘PID_NIT_ST’ undeclared (first use in this function)
> scan.c:2532: error: type of formal parameter 3 is incomplete
> scan.c:2539: error: type of formal parameter 3 is incomplete
> make: *** [scan.o] Error 1
> root [at] t:/usr/local/src/scan-s2# echo $?
> 2
>
> ~Mammoth
>

Hi Mammoth,

Looks like you've broken the if statement, it should look like this:

#if DVB_API_VERSION != 5 || DVB_API_VERSION_MINOR != 1
#error scan-s2 requires Linux DVB driver API version 5.0!
#endif

Note that the hash symbols should be there :)

Cheers

Dave K.


_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


dlknight at sdf

Nov 21, 2009, 7:46 AM

Post #6 of 7 (1249 views)
Permalink
Re: TechnoTrend S2-1600 ubuntu 8.10 mythtv 0.22 [In reply to]

On Sat, November 21, 2009 2:15 pm, Michael T. Dean wrote:
> On 11/21/2009 06:49 AM, Michael Lemstad Maymann wrote:
>> I need to use opensasc-ng and therefore can't just upgrade to the
>> latest mythbuntu 9.10.
>
> The discussion of software CAM is forbidden on this list:
> http://www.mythtv.org/wiki/Mailing_List_etiquette#Anything_else_I_should_be_aware_of.3F
>
> Please take your discussion somewhere else not associated with MythTV or
> get a legitimate hardware CAM.
>
> Mike
>
>

Here we go again, maybe we should discuss copying DVD's to ISO's instead...

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


michael at maymann

Nov 21, 2009, 7:55 AM

Post #7 of 7 (1242 views)
Permalink
Re: TechnoTrend S2-1600 ubuntu 8.10 mythtv 0.22 [In reply to]

Thanks that was it ;-)

On Sat, 2009-11-21 at 15:46 +0000, David Knight wrote:
> On Sat, November 21, 2009 2:15 pm, Michael T. Dean wrote:
> > On 11/21/2009 06:49 AM, Michael Lemstad Maymann wrote:
> >> I need to use opensasc-ng and therefore can't just upgrade to the
> >> latest mythbuntu 9.10.
> >
> > The discussion of software CAM is forbidden on this list:
> > http://www.mythtv.org/wiki/Mailing_List_etiquette#Anything_else_I_should_be_aware_of.3F
> >
> > Please take your discussion somewhere else not associated with MythTV or
> > get a legitimate hardware CAM.
> >
> > Mike
> >
> >
>
> Here we go again, maybe we should discuss copying DVD's to ISO's instead...
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.