Goga777 schreef:
๐าษืลิำิืีภ, Michel

but cx24116 based cards don't work with fec=auto for dvb-s2 

I'm not sure - may be for cx24116 cards the parameters roll off & modulation are obligatory (not optional)



  
      
Tested your scan-s2 with a Technisat HD2 card.

Scanning works. But some channels are reported twice with different 
frequency. I found an error which is fixed by the patch file named 
scan.c.diff1.

I would also like to propose the following change (see file scan.c.diff2 
or scan.c.diff which includes both patches). This change makes it 
possible to only scan for DVB-S channels or DVB-S2 channels or both. 
This is done by specifying lines starting with S or S2 in the input file.

example input file:
# Astra 19.2E SDT info service transponder
# freq pol sr fec
S 12522000 H 22000000 2/3       <only DVB-S channels are scanned>
S 11914000 H 27500000 AUTO
S 10743750 H 22000000 5/6
S 12187500 H 27500000 3/4
S 12343500 H 27500000 3/4
S 12515250 H 22000000 5/6
S 12574250 H 22000000 5/6
S2 12522000 H 22000000 AUTO    <only DVB-S2 channels are scanned>
S2 11914000 H 27500000 AUTO

I hope this is usefull.

Regards,

Michel.
    
        
  
      
Goga,

AUTO fec does work because the following is the result for the DVB-S2 
channels I get with the above input:

PREMIERE HD:11914:h:0:27500:767:772:129:6
DISCOVERY HD:11914:h:0:27500:1023:1027:130:6
ASTRA HD+:11914:h:0:27500:1279:1283:131:6
ANIXE HD:11914:h:0:27500:1535:1539:132:6
    

you have stb0899 based card, but I have mean cx24116 based card.

Goga

  
Goga,

Sorry I mis understood you. I used AUTO fec because the DVB-S2 channel on Astra 19.2 and frequency 11914 use FEC 9/10 according to the webpage kingofsat (http://nl.kingofsat.net/pos-19.2E.php). Because current scan-s2 does not handle this I changed it to AUTO.

fec table according to scan.c
struct strtab fectab[] = {
ššššššš { "NONE", FEC_NONE },
ššššššš { "1/2",š FEC_1_2 },
ššššššš { "2/3",š FEC_2_3 },
ššššššš { "3/4",š FEC_3_4 },
ššššššš { "4/5",š FEC_4_5 },
ššššššš { "5/6",š FEC_5_6 },
ššššššš { "6/7",š FEC_6_7 },
ššššššš { "7/8",š FEC_7_8 },
ššššššš { "8/9",š FEC_8_9 },
ššššššš { "AUTO", FEC_AUTO },
ššššššš { NULL, 0 }
};

New DVB API can handle FEC 9/10 (include/linux/dvb/frontend.h)
typedef enum fe_code_rate {
ššššššš FEC_NONE = 0,
ššššššš FEC_1_2,
ššššššš FEC_2_3,
ššššššš FEC_3_4,
ššššššš FEC_4_5,
ššššššš FEC_5_6,
ššššššš FEC_6_7,
ššššššš FEC_7_8,
ššššššš FEC_8_9,
ššššššš FEC_AUTO,
ššššššš FEC_3_5,
ššššššš FEC_9_10,
} fe_code_rate_t;

Will create a patch for this as soon as possible.

Regards

Michel.