by SergioDanielG » Mon Sep 12, 2011 9:11 pm
Hi Zbabbir.
I was talking with "tbs" euro-support about blind scan for linux with tbs6925, and they give me a little tip to active it.
Reading your post, I think, maybe it's util for you because only need frequency and polarisation to lock signals.
I was working in a python script to do a simple blind scan but not end it yet.
Ok, look this:
You need recomplile TBS driver, from the source...
Open 'linux-tbs-drivers/linux/drivers/media/dvb/frontends/stv090x.c' with your prefered editor.
Search and found the function 'dvbfe_search stv090x_search()'
go to 'state->algo = STV090x_COLD_SEARCH;' line
and change to 'state->algo = STV090x_BLIND_SEARCH;'
In the same function, go to
if (state->srate > 10000000) {
dprintk(FE_DEBUG, 1, "Search range: 10 MHz");
state->search_range = 10000000;
} else {
dprintk(FE_DEBUG, 1, "Search range: 5 MHz");
state->search_range = 5000000;
}
and comment this lines and add 'state->search_range = 2000000;'
It like
--------------------------
/*
if (state->srate > 10000000) {
dprintk(FE_DEBUG, 1, "Search range: 10 MHz");
state->search_range = 10000000;
} else {
dprintk(FE_DEBUG, 1, "Search range: 5 MHz");
state->search_range = 5000000;
}
*/
state->search_range = 2000000;
--------------------------
Close and save the file, compile and install the driver, reboot and prove lock the TP with szap-s2, then with dvbsnoop prove obtain the pids y other data.
e.g.
$ szap-s2 -x -c yourChannelsFile "yourChannel"
With '-x' parameter, szap-s2 lock the TP and exit. Then
$ dvbsnoop -s pidscan
This is to obtain pids of the locked signal
$ dvbsnoop -n 1 - nph 0x10
This is to obtain network information table data.
Well, I hope that information will help you.
Best regards