Project

General

Profile

Bug #4365

Getting "No input source available for subscription" on DVB-S channels despite all DVB-S adapters are idle

Added by Jozef M over 7 years ago. Updated over 7 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-05-11
Due date:
% Done:

100%

Estimated time:
Found in version:
rev. a488b5d or 633744d
Affected Versions:

Description

Was about to update to commit 6833091 or beyond, however it seems commit a488b5d or 633744d broke DVB-S adapter selection.
After TVH is started with rev. 633744d, EPG grabber starts grabbing DVB-T muxes however is not grabbing DVB-S muxes - all DVB-S adapters are idling.
When channel from any DVB-S mux is selected, in TVH log "No input source available for subscription" is displayed.
All DVB-S adapters are showing idle, all have green dots next to them.
Reverting back to rev. 2261fd6 solves the problem and all adapters are used either for grabbing EPG or for subscriptions.
The machine is running single tuner DVB-S2 adapters.
Was also checking settings in the rev. 633744d to see if maybe some new options were added to adapter settings or if maybe the adapters were not assigned to networks, however all seems to be fine.
If something else will be needed please let me know.
Thanks.

History

#1

Updated by Jaroslav Kysela over 7 years ago

What's your satellite setup exactly? 4-port switch or advanced?

#2

Updated by Alfred Zastrow over 7 years ago

Same here. The Kodi client says "no free adapter"

conf: several "Universal LNB only"

#3

Updated by g siviero over 7 years ago

maybe a problem with Revision a488b5d4 src/input/mpegts/linuxdvb/linuxdvb_satconf.c ?
I don't understand for example the change at lines :

1156

(void)linuxdvb_satconf_ele_create0(htsmsg_get_str(e, "uuid"), e, ls);

-> 1188 - 1190:

lse = linuxdvb_satconf_ele_create0(htsmsg_get_str(e, "uuid"), e, ls);
if (lst->enable)
lse->lse_enabled = 1;

#4

Updated by Jozef M over 7 years ago

Universal LNB only on all DVB-S adapters.

Jaroslav Kysela wrote:

What's your satellite setup exactly? 4-port switch or advanced?

#5

Updated by Jaroslav Kysela over 7 years ago

The only change which may affect the network selection is:

@@ -1274,9 +1308,11 @@ linuxdvb_satconf_ele_class_network_set( void *o, const void *p )
     linuxdvb_satconf_t *sc = ls->lse_parent;
     linuxdvb_satconf_ele_t *lse;
     TAILQ_FOREACH(lse, &sc->ls_elements, lse_link) {
-      for (i = 0; i < lse->lse_networks->is_count; i++)
+      for (i = 0; i < lse->lse_networks->is_count; i++) {
+        if (!lse->lse_enabled) continue;
         htsmsg_add_str(l, NULL,
                        idnode_uuid_as_str(lse->lse_networks->is_array[i], ubuf));
+      }
     }
     mpegts_input_class_network_set(ls->lse_parent->ls_frontend, l);
     htsmsg_destroy(l);

All other code was added to set lse_enabled for obvious configs, but not for the rotor etc..

The satconf part in the config file in TVH_CONFIG_DIR/input/linuxdvb/UUIDHASH should be like:

            "satconf": {
                "type": "simple",
                "early_tune": true,
                "diseqc_repeats": 0,
                "diseqc_full": true,
                "lnb_poweroff": false,
                "elements": [
                    {
                        "enabled": true,
                        "priority": 0,
                        "networks": [
                            "e31d7c516ac5f7f913a16c72cb5d6405" 
                        ],
                        "lnb_type": "Universal",
                        "uuid": "874a01519c3caf53500d768a7b0cc675",
                        "lnb_conf": {
                        }
                    }
                ],
                "uuid": "a67963958de5061b621744ff8e8dae41" 
            }

Do you have '"enabled": false' in your configs ?

#6

Updated by Alfred Zastrow over 7 years ago

one example from me:

"satconf": {
"type": "simple",
"early_tune": false,
"diseqc_repeats": 0,
"diseqc_full": false,
"lnb_poweroff": false,
"elements": [ {
"enabled": false,
"priority": 0,
"networks": [
"cbd4cc87da71a7ce8b91a7caa90f7ed9"
],
"lnb_type": "Universal",
"uuid": "c2e4ede55a6e8167d51b9b03cf6bd51e",
"lnb_conf": {
}
}
],
#7

Updated by Alfred Zastrow over 7 years ago

Adapter0 ist enabled:

"rootpath": "/dev/dvb/adapter0",
"frontends": {
"DVB-S #0": {
"pids_max": 32,
"powersave": true,
"tune_repeats": 0,
"skip_bytes": 0,
"ibuf_size": 18800,
"status_period": 1000,
"old_status": false,
"enabled": true,
"priority": 10,
"spriority": 0,
"displayname": "Adapter0",
"ota_epg": true,
"initscan": false,
"idlescan": false,
"free_weight": 0,
"networks": [
"cbd4cc87da71a7ce8b91a7caa90f7ed9"
],
"linked": "",
"type": "DVB-S",
"uuid": "707c1874d3e1dae7da1c250d6f58a83c",
"satconf": {
"type": "simple",
"early_tune": false,
"diseqc_repeats": 0,
"diseqc_full": false,
"lnb_poweroff": false,
"elements": [ {
"enabled": false,
"priority": 0,
"networks": [
"cbd4cc87da71a7ce8b91a7caa90f7ed9"
],
"lnb_type": "Universal",
"uuid": "601831014bc0f95941d6e182fbb80887",
"lnb_conf": {
}
}
],
"uuid": "3932092ad838d28e4a64b787670e84fb"
}
}
}

adapter8 is disabled, because a lack of cables.

{
"rootpath": "/dev/dvb/adapter8",
"frontends": {
"DVB-S #0": {
"pids_max": 32,
"powersave": true,
"tune_repeats": 0,
"skip_bytes": 0,
"ibuf_size": 188000,
"status_period": 1000,
"old_status": false,
"enabled": false,
"priority": 0,
"spriority": 0,
"displayname": "Adapter8",
"ota_epg": false,
"initscan": false,
"idlescan": false,
"networks": [
],
"linked": "",
"type": "DVB-S",
"uuid": "248e9c9af8d89529912e2c99e80d68bf",
"satconf": {
"type": "simple",
"early_tune": true,
"diseqc_repeats": 0,
"diseqc_full": false,
"lnb_poweroff": true,
"switch_rotor": false,
"max_rotor_move": 120,
"min_rotor_move": 0,
"site_lat": 0,
"site_lon": 0,
"site_lat_south": false,
"site_lon_west": false,
"site_altitude": 0,
"motor_rate": 0,
"elements": [ {
"enabled": false,
"priority": 0,
"networks": [
],
"lnb_type": "Universal",
"uuid": "bd1b774262ea36a559e5f1ccb510cbb3",
"lnb_conf": {
}

#8

Updated by Jaroslav Kysela over 7 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|c7eac514de0dc3125304b547adc97aaadd212321.

#9

Updated by Jaroslav Kysela over 7 years ago

Fixed in v4.3-59-gc7eac51 .

Also available in: Atom PDF