Open filipsPL opened 5 years ago
For me also dongle shift is not working. It is not even finding new dongle shift and later when I checked in detail, the kal is not finding any frequencies many times. I tried on debian and also on raspberry 3 b+ both same thing happening.
and what is the output of the kal
itself? Does it work for you?
There are two problems. One is Kal itself doesn't work at times which only its author can solve.
Our problem is calibrate.sh is only run and not the calibrate_full.sh. So there is no dongleshift.txt or gsm_channel.txt files to start with.
channel=$(cat $channelFile) is empty as in autowx2 config file only calibrate is run and calibrate_full is commented by default.
Kal doesn't find anything if the -c $channel is empty. Hence calibrate.sh fails to find the shift.
$ kal -s GSM900 -e 74 -g 49.6 2 Found 1 device(s): 0: Generic RTL2832U OEM
So this is what calibrate_full will get if we remove the comment. But calibrate_full won't have entered anything on to dongshift.txt($shiftfile) anyway so even if we run calibrate_full.sh still it won't work.
timeout 100 kal -c 27 -g 49.6 -e 0 2 Found 1 device(s): 0: Generic RTL2832U OEM
Hence calibrate.sh fails as there is no value given for -e $recentShift (which will be zero).