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

Unreliable tuning with sundtek tuner #1145

Open andrewjw opened 2 weeks ago

andrewjw commented 2 weeks ago

Hi,

I am trying to use minisatip with a Sundtek USB DVB-S/S2 tuner. It works, but tuning is unreliable. I can reliably tune with the /opt/bin/mediaclient program supplied by Sundtek, so I am trying to work out what the difference is.

Is is a log file from the Sundtek driver show two attempts to tune to the 11567.5 multiple on one of the Astra 2 satellites.

2024-06-20 14:37:44 [702573] [FE1] Disabling High Tone (22khz)
2024-06-20 14:37:44 [702573] [FE1] Set Voltage 13V
2024-06-20 14:37:45 [702573] DISEQC> sending commands:
2024-06-20 14:37:45 [702573] DISEQC> e0
2024-06-20 14:37:45 [702573] DISEQC> 10
2024-06-20 14:37:45 [702573] DISEQC> 38
2024-06-20 14:37:45 [702573] DISEQC> f0
2024-06-20 14:37:45 [702573] DISEQC> done
2024-06-20 14:37:45 [702573] [FE1] Disabling High Tone (22khz)
2024-06-20 14:37:45 [702573] Diseqc execution time: 82 ms
2024-06-20 14:37:45 [702573] [FE1] Disabling High Tone (22khz)
2024-06-20 14:37:45 [702573] diseqc send burst Unmodulated (SEC_MINI_A)
2024-06-20 14:37:45 [702573] [FE1] Disabling High Tone (22khz)
2024-06-20 14:37:45 [702573] [FE1] Disabling High Tone (22khz)
2024-06-20 14:37:46 [702573] [FE1] Setting Frequency: 1817500
2024-06-20 14:37:46 [702573] [FE1] Setting DVB-S
2024-06-20 14:37:46 [702573] [FE1] Frequency: 1817
2024-06-20 14:37:46 [702573] [FE1] Symbolrate: 22000
2024-06-20 14:39:00 [702573] [FE1] . o ( Enabling Standby ) o .
2024-06-20 14:39:00 [702573] [FE1] Set Voltage off
2024-06-20 14:41:55 [702573] [FE1] . o ( Waking up from standby ) o .
2024-06-20 14:41:55 [702573] [FE1] Set Voltage 13V
2024-06-20 14:41:55 [702573] [FE1] Set Voltage 13V
2024-06-20 14:41:55 [702573] [FE1] Disabling High Tone (22khz)
2024-06-20 14:41:55 [702573] [FE1] Setting Frequency: 1817500
2024-06-20 14:41:55 [702573] [FE1] Setting DVB-S
2024-06-20 14:41:55 [702573] [FE1] Frequency: 1817
2024-06-20 14:41:55 [702573] [FE1] Symbolrate: 22000
2024-06-20 14:41:55 [702573] [FE1] Frontend has locked
2024-06-20 14:42:16 [702573] [FE1] . o ( Enabling Standby ) o .
2024-06-20 14:42:16 [702573] [FE1] Set Voltage off

The first tuning attempt is from minisatip, and there is no "Frontend has locked" line. The second attempt is using the mediaclient command, and it is successful. The only difference appears to be that minisatip sends some diseqc commands. My knowledge in this area is not good, but I don't have a diseqc device - the tuner is wired directly into a universal LNB. Could this be causing issues? How do I disable the diseqc commands. I've tried using the -d parameter, both -d *:*0-0 and -d *:.0-0 and neither appeared to stop the commands from being sent.

Any help you could provide would be appreciated.

Many thanks, Andrew