Page 1 of 2

blindscan under GNU/Linux

PostPosted: Mon May 14, 2012 11:31 pm
by pace303
hello list,

I tried to have a blindscan with the 6925 under GNU/Linux. The only reference I found is this link:

viewtopic.php?f=22&t=110&start=100#p4560

I did a simple script, using szap-s2 to connect on the frequency. For that you need to create a dummy channel.conf such as:

test:12345:h:0:0:1:1:1
test:12345:v:0:0:1:1:1

where 12345 = frequency, h or v to check both polarization, 0 for adapter 0 and 0 for symbol rate (it should be found by the frontend). For PID, etc. just put the value 1, which means 1:1:1.

Then i simply check for a frequency using (for H and V polarization):

szap-s2 -c ./channel.conf -n 1 -x
szap-s2 -c ./channel.conf -n 2 -x

if I receive a FE_HAS_LOCK, (grep) I execute the command

dvbsnoop -s feinfo

to obtain the symbol rate.

However, szap-s2 by default executes 10 tests before quitting if nothing is received.

Obviously you can patch it to accept only 3 tests, but that's a bit "hacky"

The bad point is that szap-s2 is unstable, if you check for many frequencies without a lock. Indeed, he is not able to detect existing signals.

My hack is to connect on an existing frequency between two guess, but it does not work perfectly. At the end, I have the most ridiculous blindscan speed with the most efficient card.

So here is my question: is there a real blindscan tool for this product under GNU/Linux or, like the TBS 5925, the TB2 6925 must be considered as "MICROSOFT WINDOWS ONLY" products ? :evil: :evil:

To be honest I'm totally disappointed by the GNU/Linux support and I really regret to not have bought a PRO8000, which works under Linux

Regards,

pace303

Re: blindscan under GNU/Linux

PostPosted: Tue May 15, 2012 10:51 am
by SergioDanielG
Hi pace303.
Did you read this post viewtopic.php?p=4995#p4995 ?
There are same modification to better scan, maybe it's util for you.

Best regards.

Re: blindscan under GNU/Linux

PostPosted: Tue May 15, 2012 9:49 pm
by pace303
SergioDanielG Wrote:Hi pace303.
Did you read this post viewtopic.php?p=4995#p4995 ?
There are same modification to better scan, maybe it's util for you.

Best regards.


Hi Sergio,

yes I patched the driver and I tried the blindscan-s2 tool. When I scan an existing frequency blindscan-s2 finds nothing. Moreover, szap-s2 is not more stable...

I saw that you are working on a python script for that... Can you provide some working example ?

Regards,

Re: blindscan under GNU/Linux

PostPosted: Tue May 15, 2012 11:24 pm
by SergioDanielG
pace303 Wrote:Hi Sergio,

yes I patched the driver and I tried the blindscan-s2 tool. When I scan an existing frequency blindscan-s2 finds nothing. Moreover, szap-s2 is not more stable...

I saw that you are working on a python script for that... Can you provide some working example ?

Regards,


Hi pace303.
Yes, I tried same examples, but nothing good because is very slow. Then I tried with python + ctypes, but there are some problems in wrapper implementation and don't work.
Last month, I start development with C++ when I bought a dish rotor with very good results. I did an app to config and manage rotor ( you see it in http://www.youtube.com/watch?v=rfkJ1mBSjck ) there, I can lock TP using really only frequency and polarization, the rest of parameters are not used.
Well, this is my base to do a blindscan utility for linux, I need more time to end it, maybe one month more, not really sure because this is my hobbye. I'm not doing a commitment, because I'm not fully working on it, but I hope you can wait.

Best regards.

Re: blindscan under GNU/Linux

PostPosted: Sat Jul 23, 2016 6:52 am
by eelstrebor
Has there been any further development for this? I tried blindscan-s2 but found it useless.

Re: blindscan under GNU/Linux

PostPosted: Sat Jul 23, 2016 8:40 am
by Alfredo

Re: blindscan under GNU/Linux

PostPosted: Sun Jul 24, 2016 6:36 am
by eelstrebor
Alfredo Wrote:Hi

See: https://bitbucket.org/updatelee/updatedvb

Regards


Thanks. I'm aware of his project but I haven't been able to use the kernel so I can't get to the other DVB projects such as updatedvb. I tried to build updatedvb on kernel 4.4.0-28-generic (Ubuntu 14.04.4 64 bit). The last issue was a missing qwt_plot.h. locate found the file but it's not in the build path. The info from a web search had a fix but it was too cryptic for me. I've tried to get help at satelliteguys.us for the updatelee project but I'm not getting anywhere there. So, I gave up.

I've been trying to figure out how to generate a channels.conf file using szap-s2 but I can't get locks on known in-service transponders. For example, Kaffeine finds Galaxy 16 4000 H but szap-s2 doesn't find anything there. The TBS card I'm using is a 6922SE. Here's some dmesg output:

user@server2:~$ dmesg | grep Turbo
[ 10.978730] tbs6290fe: module license 'TurboSight Proprietary' taints kernel.
[ 11.812247] input: saa716x IR (TurboSight TBS 6923) as /devices/pci0000:00/0000:00:06.0/0000:07:00.0/rc/rc0/input7
[ 11.812331] rc0: saa716x IR (TurboSight TBS 6923) as /devices/pci0000:00/0000:00:06.0/0000:07:00.0/rc/rc0
[ 12.292016] TurboSight TBS 6923 Frontend Attaching...
[ 12.389610] TurboSight TBS6923 DVB-S2 card MAC=00:22:ab:e0:58:04
[ 12.389614] DVB: registering adapter 0 frontend 0 (TurboSight TBS 6923 DVBS/S2 frontend)...
[23519.332201] TurboSight TBS 6923 Frontend:
user@server2:~$ szap-s2 -c initial.conf -n 1 -x -l 5150 -H
reading channels from file 'initial.conf'
zapping to 1 'test':
delivery DVB-S, modulation QPSK
sat 0, frequency 4000 MHz H, symbolrate 0, coderate auto, rolloff 0.35
mis -1, vpid 0x0001, apid 0x0001, sid 0x0001
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
FE_SET_PROPERTY failed: Invalid argument
status 00 | signal 46% | snr 100% | ber 67108863 | unc 0 |
status 00 | signal 77% | snr 100% | ber 67108863 | unc 0 |
status 00 | signal 77% | snr 100% | ber 67108863 | unc 0 |
status 00 | signal 77% | snr 100% | ber 67108863 | unc 0 |
status 00 | signal 77% | snr 100% | ber 67108863 | unc 0 |
status 00 | signal 77% | snr 100% | ber 67108863 | unc 0 |
status 00 | signal 77% | snr 100% | ber 67108863 | unc 0 |
status 00 | signal 77% | snr 100% | ber 67108863 | unc 0 |
status 00 | signal 77% | snr 100% | ber 67108863 | unc 0 |
status 00 | signal 77% | snr 100% | ber 67108863 | unc 0 |

Re: blindscan under GNU/Linux

PostPosted: Tue Jul 26, 2016 1:35 am
by Alfredo
Hi
For using UdateDVB is necessary to use kernel provided by Chris Lee. With another kernel will not work unless you apply the changes that made Chris Lee.
This kernel is designed for use with Debian or a derivative of this distribution. I use it with Debian 8.
My card is a TBS6922 and works sometimes well and sometimes not. Possibly with a TBS6922SE may also work.
Regards

Re: blindscan under GNU/Linux

PostPosted: Tue Jul 26, 2016 2:10 am
by eelstrebor
Alfredo Wrote:Hi
For using UdateDVB is necessary to use kernel provided by Chris Lee. With another kernel will not work unless you apply the changes that made Chris Lee.
This kernel is designed for use with Debian or a derivative of this distribution. I use it with Debian 8.
My card is a TBS6922 and works sometimes well and sometimes not. Possibly with a TBS6922SE may also work.
Regards


I don't understand why it will work only on his kernel. If updatedvb will build on a stock kernel I would expect that it will work. Anyway, for some reason, when I build and install his custom kernel the computer doesn't boot properly. When I boot to his kernel, vmlinuz and initrd.img are linked to the stock kernel, not his. I uninstalled his kernel and tried again with the same results. Besides, what would happen if a newer kernel is released by Ubuntu and replaces his custom kernel?

Anyway, I had to make changes to updateDVB.pro and scan.cpp just to get the source code to compile. But, I need to figure out why I get errors with the linker. I'm not a professional programmer but I'm sure I'll figure this out.

It would be great if the TBS developers would release a blindscan package that can be built against any linux kernel. It certainly would be helpful for anyone running linux. Oh well........

Re: blindscan under GNU/Linux

PostPosted: Wed Jul 27, 2016 11:59 am
by Alfredo
Hi

eelstrebor Wrote:I don't understand why it will work only on his kernel.


Because it has added lines that enable hardware functions, to make a blindscan.

Try a partition to install Debian 8. Worked for me.

Regards