[vdr] VDR tuning

Marx acc.for.news at gmail.com
Sun Jun 10 06:23:07 CEST 2012


W dniu 2012-06-09 18:42, Klaus Schmidinger pisze:
> On 09.06.2012 16:18, Marx wrote:
>> What can be wrong if I can tune chanel with szap, but I can't it watch
>> via streamdev because VDR can't tune it? Is it driver fault?
>
> I don't think it's a driver thing if you can tune with szap.
> Maybe your DiSEqC setup needs to be adjusted.

I did but no I don't use Diseqc, so in setup.conf it's: DiSEqC = 0
So is it important that in diseqc.conf I still have Astra and Hotbird 
defined?
Strange is I have only 3 channels on the list:
:sat TV
TVP 1;CYFRA 
+:10892:h:S13.0E:27500:166=2:104=pol at 4:503:100,1813,500,B00,B01,1803,1861:4807:318:11900:0
TVP 2;CYFRA 
+:10892:h:S13.0E:27500:167=2:108=pol at 4:508:100,1813,500,B00,B01,1803,1861:4808:318:11900:0
Polsat;Cyfrowy Polsat 
S.A.:11158:v:S13.0E:27500:257=2:258=pol at 4:264:0:13101:113:13200:0

and while first two works via streamdev, the last one don't.
What's strange too - VDR reads EPG from all channels so probably it can 
tune but something is wrong with my setup and the last one can't be played.

Here's szap output:
wuwek:/etc/vdr# szap -n 4 -r
reading channels from file '/root/.szap/channels.conf'
zapping to 4 'Polsat;Cyfrowy Polsat S.A.':
sat 0, frequency = 11158 MHz V, symbolrate 27500000, vpid = 0x0101, apid 
= 0x0102 sid = 0x0108
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
status 1e | signal ea00 | snr ffff | ber 00000000 | unc 00000000 | 
FE_HAS_LOCK
status 1e | signal ea00 | snr ffff | ber 00000000 | unc 00000000 | 
FE_HAS_LOCK
status 1e | signal ea00 | snr ffff | ber 00000000 | unc 00000000 | 
FE_HAS_LOCK
status 1e | signal ea00 | snr ffff | ber 00000000 | unc 00000000 | 
FE_HAS_LOCK
status 1e | signal ea00 | snr ffff | ber 00000000 | unc 00000000 | 
FE_HAS_LOCK

and here is user.log:
Jun 10 06:16:47 wuwek vdr: [11555] ERROR: no OSD provider available - 
using dummy OSD!
Jun 10 06:16:48 wuwek vdr: [11562] DVBAPI: 0.0: status 'ready'
Jun 10 06:16:48 wuwek vdr: [11562] CAM 1: module ready
Jun 10 06:16:48 wuwek vdr: [11562] DVBAPI: CaInfo: 0.0 sending CA info
Jun 10 06:16:48 wuwek vdr: [11564] EPGSearch: search timer update started
Jun 10 06:16:48 wuwek vdr: [11565] EPGSearch: timer conflict check started
Jun 10 06:16:48 wuwek vdr: [11565] EPGSearch: timer conflict check finished
Jun 10 06:16:48 wuwek vdr: [11564] EPGSearch: search timer update finished
Jun 10 06:16:49 wuwek vdr: [11562] CAM 1: replies to QUERY - multi 
channel decryption possible
Jun 10 06:16:53 wuwek vdr: [11555] max. latency time 1 seconds
Jun 10 06:17:10 wuwek vdr: [11563] Streamdev: Accepted new client (HTTP) 
192.168.1.10:3305
Jun 10 06:17:15 wuwek vdr: [11563] Streamdev: Accepted new client (VTP) 
127.0.0.1:58677
Jun 10 06:17:15 wuwek vdr: [11574] receiver on device 1 thread started 
(pid=11555, tid=11574)
Jun 10 06:17:15 wuwek vdr: [11572] streamdev-writer thread started 
(pid=11555, tid=11572)
Jun 10 06:17:15 wuwek vdr: [11575] TS buffer on device 1 thread started 
(pid=11555, tid=11575)
Jun 10 06:17:15 wuwek vdr: [11573] streamdev-livestreaming thread 
started (pid=11555, tid=11573)
Jun 10 06:17:15 wuwek vdr: [11563] streamdev-server: closing VTP 
connection to 127.0.0.1:58677
Jun 10 06:17:19 wuwek vdr: [11559] frontend 0/0 timed out while tuning 
to channel 3, tp 211158

and here is kern.log, the first part is from szap command and the second 
with vdr:
Jun 10 06:16:02 wuwek kernel: [50490.690106] stv0900_sleep
Jun 10 06:16:07 wuwek kernel: [50495.753241] stv0900_init
Jun 10 06:16:07 wuwek kernel: [50495.759754] stv0900_set_tone: Off
Jun 10 06:16:07 wuwek kernel: [50495.899732] stv0900_set_tone: Off
Jun 10 06:16:07 wuwek kernel: [50495.902844] stv0900_search:
Jun 10 06:16:07 wuwek kernel: [50495.902854] stv0900_algo
Jun 10 06:16:07 wuwek kernel: [50495.905971] stv0900_set_symbol_rate: 
Mclk 135000000, SR 1000000, Dmd 0
Jun 10 06:16:07 wuwek kernel: [50495.914557] stv0900_set_search_standard
Jun 10 06:16:07 wuwek kernel: [50495.914564] Search Standard = DVBS1
Jun 10 06:16:07 wuwek kernel: [50495.918958] stv0900_set_viterbi_acq
Jun 10 06:16:07 wuwek kernel: [50495.921613] 
stv0900_set_viterbi_standard: ViterbiStandard =
Jun 10 06:16:07 wuwek kernel: [50495.921617] DVBS1
Jun 10 06:16:07 wuwek kernel: [50495.922500] stv0900_blind_search_algo
Jun 10 06:16:07 wuwek kernel: [50495.922503] 
stv0900_blind_check_agc2_min_level
Jun 10 06:16:07 wuwek kernel: [50495.927456] stv0900_set_symbol_rate: 
Mclk 135000000, SR 1000000, Dmd 0
Jun 10 06:16:08 wuwek kernel: [50496.179589] stv0900_blind_search_algo 
agc2_int=224 agc2_th=700
Jun 10 06:16:08 wuwek kernel: [50496.269998] lock: srate=741605376 
r0=0x0 r1=0x0 r2=0x18 r3=0x2d
Jun 10 06:16:08 wuwek kernel: [50496.270006] lock: I2C_DEMOD_MODE_FIELD 
=0. Search started. tuner freq=1408000 agc2=0x6c1 srate_coarse=23310241 
tmg_cpt=10
Jun 10 06:16:08 wuwek kernel: [50496.274593] lock: srate=766246912 
r0=0x0 r1=0x0 r2=0x84 r3=0x2d
Jun 10 06:16:08 wuwek kernel: [50496.279170] lock: srate=763887616 
r0=0x0 r1=0x0 r2=0xb0 r3=0x2c
Jun 10 06:16:08 wuwek kernel: [50496.289401] Demod State = 0
Jun 10 06:16:08 wuwek kernel: [50496.304645] Demod State = 0
Jun 10 06:16:08 wuwek kernel: [50496.320635] Demod State = 0
Jun 10 06:16:08 wuwek kernel: [50496.336632] Demod State = 3
Jun 10 06:16:08 wuwek kernel: [50496.337214] DEMOD LOCK OK
Jun 10 06:16:08 wuwek kernel: [50496.385207] stv0900_get_standard: 
standard 0
Jun 10 06:16:08 wuwek kernel: [50496.394458] lock: srate=874945003 
r0=0xde r1=0x99 r2=0x26 r3=0x34
Jun 10 06:16:08 wuwek kernel: [50496.399087] stv0900_get_signal_params: 
modcode=0x9
Jun 10 06:16:08 wuwek kernel: [50496.402555] stv0900_get_signal_params: 
range 12
Jun 10 06:16:08 wuwek kernel: [50496.402559] stv0900_track_optimization
Jun 10 06:16:08 wuwek kernel: [50496.407128] lock: srate=874944886 
r0=0xcd r1=0x98 r2=0x26 r3=0x34
Jun 10 06:16:08 wuwek kernel: [50496.408841] stv0900_track_optimization: 
found DVB-S or DSS
Jun 10 06:16:08 wuwek kernel: [50496.415943] stv0900_set_symbol_rate: 
Mclk 135000000, SR 27499940, Dmd 0
Jun 10 06:16:08 wuwek kernel: [50496.480635] Demod State = 0
Jun 10 06:16:08 wuwek kernel: [50496.496635] Demod State = 0
Jun 10 06:16:08 wuwek kernel: [50496.512633] Demod State = 0
Jun 10 06:16:08 wuwek kernel: [50496.528632] Demod State = 0
Jun 10 06:16:08 wuwek kernel: [50496.544632] Demod State = 0
Jun 10 06:16:08 wuwek kernel: [50496.560633] Demod State = 0
Jun 10 06:16:08 wuwek kernel: [50496.576631] Demod State = 0
Jun 10 06:16:08 wuwek kernel: [50496.592633] Demod State = 0
Jun 10 06:16:08 wuwek kernel: [50496.608055] DEMOD LOCK FAIL
Jun 10 06:16:08 wuwek kernel: [50496.610404] Demod State = 0
Jun 10 06:16:08 wuwek kernel: [50496.624630] Demod State = 3
Jun 10 06:16:08 wuwek kernel: [50496.625211] DEMOD LOCK OK
Jun 10 06:16:08 wuwek kernel: [50496.625661] stv0900_set_viterbi_tracq
Jun 10 06:16:08 wuwek kernel: [50496.638092] stv0900_wait_for_lock
Jun 10 06:16:08 wuwek kernel: [50496.638677] Demod State = 3
Jun 10 06:16:08 wuwek kernel: [50496.639257] DEMOD LOCK OK
Jun 10 06:16:08 wuwek kernel: [50496.639263] stv0900_get_fec_lock
Jun 10 06:16:08 wuwek kernel: [50496.640439] stv0900_get_fec_lock: DEMOD 
FEC LOCK OK
Jun 10 06:16:08 wuwek kernel: [50496.640448] stv0900_wait_for_lock: 
Timer = 0, time_out = 100
Jun 10 06:16:08 wuwek kernel: [50496.648090] stv0900_wait_for_lock: 
DEMOD LOCK OK
Jun 10 06:16:08 wuwek kernel: [50496.649422] Search Success
Jun 10 06:16:08 wuwek kernel: [50496.649429] stv0900_read_status:
Jun 10 06:16:08 wuwek kernel: [50496.651725] stv0900_status: locked = 1
Jun 10 06:16:08 wuwek kernel: [50496.654028] stv0900_get_mclk_freq: 
Calculated Mclk = 135000000
Jun 10 06:16:08 wuwek kernel: [50496.654036] TS bitrate = 265 Mbit/sec
Jun 10 06:16:08 wuwek kernel: [50496.654041] DEMOD LOCK OK
(...)
Jun 10 06:17:10 wuwek kernel: [50558.257386] stb0900_set_property(..)
Jun 10 06:17:10 wuwek kernel: [50558.257401] stv0900_set_tone: Off
Jun 10 06:17:10 wuwek kernel: [50558.260513] stb0900_set_property(..)
Jun 10 06:17:10 wuwek kernel: [50558.260520] stb0900_set_property(..)
Jun 10 06:17:10 wuwek kernel: [50558.260526] stb0900_set_property(..)
Jun 10 06:17:10 wuwek kernel: [50558.260533] stb0900_set_property(..)
Jun 10 06:17:10 wuwek kernel: [50558.260539] stb0900_set_property(..)
Jun 10 06:17:10 wuwek kernel: [50558.260545] stb0900_set_property(..)
Jun 10 06:17:10 wuwek kernel: [50558.260550] stb0900_set_property(..)
Jun 10 06:17:10 wuwek kernel: [50558.260556] stb0900_set_property(..)
Jun 10 06:17:10 wuwek kernel: [50558.260609] stv0900_search:
Jun 10 06:17:10 wuwek kernel: [50558.260621] stv0900_algo
Jun 10 06:17:10 wuwek kernel: [50558.263419] stv0900_set_symbol_rate: 
Mclk 135000000, SR 1000000, Dmd 0
Jun 10 06:17:10 wuwek kernel: [50558.272046] stv0900_set_search_standard
Jun 10 06:17:10 wuwek kernel: [50558.272050] Search Standard = DVBS1
Jun 10 06:17:10 wuwek kernel: [50558.276428] stv0900_set_viterbi_acq
Jun 10 06:17:10 wuwek kernel: [50558.279067] 
stv0900_set_viterbi_standard: ViterbiStandard =
Jun 10 06:17:10 wuwek kernel: [50558.279070] DVBS1
Jun 10 06:17:10 wuwek kernel: [50558.279953] stv0900_blind_search_algo
Jun 10 06:17:10 wuwek kernel: [50558.279956] 
stv0900_blind_check_agc2_min_level
Jun 10 06:17:10 wuwek kernel: [50558.284930] stv0900_set_symbol_rate: 
Mclk 135000000, SR 1000000, Dmd 0
Jun 10 06:17:10 wuwek kernel: [50558.535610] stv0900_blind_search_algo 
agc2_int=625 agc2_th=700
Jun 10 06:17:10 wuwek kernel: [50558.625955] lock: srate=633077760 
r0=0x0 r1=0x0 r2=0x2c r3=0x27
Jun 10 06:17:10 wuwek kernel: [50558.625961] lock: I2C_DEMOD_MODE_FIELD 
=0. Search started. tuner freq=1408000 agc2=0x730 srate_coarse=19898986 
tmg_cpt=10
Jun 10 06:17:10 wuwek kernel: [50558.630569] lock: srate=638058496 
r0=0x0 r1=0x0 r2=0x4c r3=0x29
Jun 10 06:17:10 wuwek kernel: [50558.635168] lock: srate=657457152 
r0=0x0 r1=0x0 r2=0x5c r3=0x27
Jun 10 06:17:10 wuwek kernel: [50558.721973] lock: srate=785907712 
r0=0x0 r1=0x0 r2=0xc r3=0x2f
Jun 10 06:17:10 wuwek kernel: [50558.721981] lock: I2C_DEMOD_MODE_FIELD 
=0. Search started. tuner freq=1408000 agc2=0x816 srate_coarse=24702758 
tmg_cpt=10
Jun 10 06:17:10 wuwek kernel: [50558.726561] lock: srate=768344064 
r0=0x0 r1=0x0 r2=0x18 r3=0x2f
Jun 10 06:17:10 wuwek kernel: [50558.731175] lock: srate=794034176 
r0=0x0 r1=0x0 r2=0x38 r3=0x30
Jun 10 06:17:10 wuwek kernel: [50558.741407] Demod State = 0
Jun 10 06:17:10 wuwek kernel: [50558.756636] Demod State = 3
Jun 10 06:17:10 wuwek kernel: [50558.757218] DEMOD LOCK OK
Jun 10 06:17:10 wuwek kernel: [50558.770215] stv0900_get_standard: 
standard 0
Jun 10 06:17:10 wuwek kernel: [50558.779474] lock: srate=874837352 
r0=0x15 r1=0xf7 r2=0x24 r3=0x34
Jun 10 06:17:10 wuwek kernel: [50558.784089] stv0900_get_signal_params: 
modcode=0x7
Jun 10 06:17:10 wuwek kernel: [50558.787557] stv0900_get_signal_params: 
range 11
Jun 10 06:17:10 wuwek kernel: [50558.787561] Search Fail
Jun 10 06:17:10 wuwek kernel: [50558.787564] stv0900_read_status:
Jun 10 06:17:10 wuwek kernel: [50558.789880] stv0900_status: locked = 0
Jun 10 06:17:10 wuwek kernel: [50558.792192] stv0900_get_mclk_freq: 
Calculated Mclk = 135000000
Jun 10 06:17:10 wuwek kernel: [50558.792196] TS bitrate = 271 Mbit/sec
Jun 10 06:17:10 wuwek kernel: [50558.792199] DEMOD LOCK FAIL
Jun 10 06:17:10 wuwek kernel: [50558.792219] stv0900_read_status:
Jun 10 06:17:10 wuwek kernel: [50558.794534] stv0900_status: locked = 0
Jun 10 06:17:10 wuwek kernel: [50558.796862] stv0900_get_mclk_freq: 
Calculated Mclk = 135000000
Jun 10 06:17:10 wuwek kernel: [50558.796869] TS bitrate = 270 Mbit/sec
Jun 10 06:17:10 wuwek kernel: [50558.796875] DEMOD LOCK FAIL





More information about the vdr mailing list