catalinii / minisatip

minisatip is an SATIP server for linux using local DVB-S2, DVB-C, DVB-T or ATSC cards
https://minisatip.org
324 stars 78 forks source link

C-band LNB IF calculated incorrectly #1146

Closed j3dd4h closed 1 week ago

j3dd4h commented 1 week ago

We have a LNB known as C-Band with Freq specification (in Hz):

minisatip -f -l dvb --lnb *:5150-3700-4200 --delsys dvbs2

[22/06 08:38:03.691 main]: copy_dvb_param start -> src=0, fe=0, freq=0, fec=9, sr=0, pol=0, ro=3, msys=0, mtype=6, plts=2, bw=8000000, inv=2, pids=NULL, apids=NULL, dpids=NULL x_pmt=NULL
[22/06 08:38:03.691 main]: copy_dvb_parameters -> src=1, fe=0, freq=3773000, fec=5 sr=10280000, pol=2, ro=0, msys=6, mtype=9, plts=2, bw=8000000, inv=2, pids=0,17,18,1010,1011,1012, apids=NULL, dpids=NULL x_pmt=NULL
[22/06 08:38:03.691 main]: deleting pids on adapter 0, sid 0, pids=NULL
[22/06 08:38:03.691 main]: adding pids to adapter 0, sid 0, pids=0,17,18,1010,1011,1012
[22/06 08:38:03.691 main]: set_socket_thread: thread 7f89735c96c0 for sockets 10
[22/06 08:38:03.691 main]: send_diseqc fd 7, pos = 0 (c 0 u 0), pol = 1, hiband = 0
[22/06 08:38:04.245 main]: Frequency -1377000 is not within range 
[22/06 08:38:04.245 main]: Adding pid 1 to the list of pids as not explicitly added for adapter 0
[22/06 08:38:04.245 main]: Adding pid 16 to the list of pids as not explicitly added for adapter 0
[22/06 08:38:04.245 main]: new filter 0 added for adapter 0, pid 0, flags 20, mask_len 0, master_filter 0
[22/06 08:38:04.245 main]: new filter 1 added for adapter 0, pid 17, flags 20, mask_len 0, master_filter 1
[22/06 08:38:04.245 main]: deleting pids on adapter 0, sid 0, pids=NULL

What is the correct setting for C-Band LNB?

catalinii commented 1 week ago

The format of —lnb is low, high and switch frequency)l.

try 3700-4200-4200

j3dd4h commented 1 week ago

The similar error for --lnb *:3700-4200-4200


[24/06 08:52:10.690 main]: setting DVB parameters for adapter 1 - master_sid 0 sid 0 old f:0
[24/06 08:52:10.690 main]: deleting pids on adapter 1, sid -1, pids=NULL
[24/06 08:52:10.690 main]: copy_dvb_param start -> src=0, fe=0, freq=0, fec=9, sr=0, pol=0, ro=3, msys=0, mtype=6, plts=2, bw=8000000, inv=2, pids=NULL, apids=NULL, dpids=NULL x_pmt=NULL
[24/06 08:52:10.691 main]: copy_dvb_parameters -> src=1, fe=0, freq=3773000, fec=9 sr=10280000, pol=2, ro=0, msys=6, mtype=9, plts=1, bw=8000000, inv=2, pids=0,17,501,1500,1501, apids=NULL, dpids=NULL x_pmt=NULL
[24/06 08:52:10.691 main]: deleting pids on adapter 1, sid 0, pids=NULL
[24/06 08:52:10.691 main]: adding pids to adapter 1, sid 0, pids=0,17,501,1500,1501
[24/06 08:52:10.692 main]: set_socket_thread: thread b4bfe600 for sockets 11
[24/06 08:52:10.692 main]: send_diseqc fd 9, pos = 0 (c 0 u 0), pol = 1, hiband = 0
[24/06 08:52:10.995 main]: Frequency 73000 is not within range 
[24/06 08:52:10.996 main]: Adding pid 1 to the list of pids as not explicitly added for adapter 1
[24/06 08:52:10.996 main]: Adding pid 16 to the list of pids as not explicitly added for adapter 1
[24/06 08:52:10.997 main]: Adding pid 18 to the list of pids as not explicitly added for adapter 1
[24/06 08:52:10.998 main]: new filter 0 added for adapter 1, pid 0, flags 20, mask_len 0, master_filter 0
[24/06 08:52:10.998 main]: new filter 1 added for adapter 1, pid 17, flags 20, mask_len 0, master_filter 1
Jalle19 commented 1 week ago

This is a straight up bug, I'll see if I can fix it

Jalle19 commented 1 week ago

Nevermind, I was confusing C-band with circular. Either way let's see what we can do to get this to work.

j3dd4h commented 1 week ago

The problem was solved on the branch c-band with option -L *:5150-0-0 Thanks.

[24/06 20:08:44.727 main]: copy_dvb_param start -> src=0, fe=0, freq=0, fec=9, sr=0, pol=0, ro=3, msys=0, mtype=6, plts=2, bw=8000000, inv=2, pids=NULL, apids=NULL, dpids=NULL x_pmt=NULL
[24/06 20:08:44.727 main]: copy_dvb_parameters -> src=1, fe=2, freq=3773000, fec=9 sr=10280000, pol=2, ro=0, msys=6, mtype=9, plts=1, bw=8000000, inv=2, pids=0,17,501,1500,1501, apids=NULL, dpids=NULL x_pmt=NULL
[24/06 20:08:44.728 main]: deleting pids on adapter 1, sid 0, pids=NULL
[24/06 20:08:44.728 main]: adding pids to adapter 1, sid 0, pids=0,17,501,1500,1501
[24/06 20:08:44.731 main]: set_socket_thread: thread b53ff560 for sockets 10
[24/06 20:08:45.035 main]: tuning to 3773000(1377000) pol: h (2) sr:10280000 fec: delsys:dvbs2 mod:8psk rolloff:0.35 pilot:off, ts clear=10453, ts pol=10453
[24/06 20:08:45.036 main]: Adding pid 1 to the list of pids as not explicitly added for adapter 1
[24/06 20:08:45.036 main]: Adding pid 16 to the list of pids as not explicitly added for adapter 1
[24/06 20:08:45.036 main]: Adding pid 18 to the list of pids as not explicitly added for adapter 1
[24/06 20:08:45.037 main]: new filter 0 added for adapter 1, pid 0, flags 20, mask_len 0, master_filter 0
[24/06 20:08:45.037 main]: new filter 1 added for adapter 1, pid 17, flags 20, mask_len 0, master_filter 1
[24/06 20:08:45.037 main]: Dumping pids table for adapter 1, number of unknown pids: 0