[mythtv-users] TechnoTrend S2-1600 ubuntu 8.10 mythtv 0.22

David Knight dlknight at sdf.lonestar.org
Sat Nov 21 12:37:41 UTC 2009


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 tv:/usr/local/src/scan-s2# uname -r
> 2.6.27-7-generic
>
> root at tv:/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 tv:/usr/local/src/scan-s2# lsmod | grep dvb
> dvb_core               99336  2 budget,budget_core
>
> root at tv:/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 tv:/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 tv:/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.




More information about the mythtv-users mailing list