Project

General

Profile

scanning of most muxes fails

Added by Maurice de Laat almost 6 years ago

Hi, thank you for tvheadend. I had it working perfectly on a raspberry until yesterday when the sd card of the raspberry died. Of course, backup was way too old so I am installing it again, but failing.

Hardware is the same (except for a new sd card), but software is most likely a newer version. I am using a dvb-c adapter, TT-connect CT-3650 CI. I am using Trined, a Dutch dvb-c provider, and HTS Tvheadend 4.2.8-4~g9f7ab681a.

I create an initial mux:

(large picture @ https://ibb.co/dGdB9Qd)

This scans fine and other muxes are added automatically. However, the scan of these all fail:

(large picture @ https://ibb.co/w7SHB9G)

Only from the first inital mux services are being found:

(large picture @ https://ibb.co/rFfwnPX)

In syslog, I see a lot "scan no data, failed" reports:

Jan 25 11:42:39 raspberrypi tvheadend[1561]: mpegts: 268MHz in dvb-c - tuning on Philips TDA10023 DVB-C #0 : DVB-C #0
Jan 25 11:42:39 raspberrypi tvheadend[1561]: subscription: 020E: "scan" subscribing to mux "268MHz", weight: 2, adapter: "Philips TDA10023 DVB-C #0 : DVB-C #0", network: "dvb-c", service: "Raw PID Subscription" 
Jan 25 11:42:44 raspberrypi tvheadend[1561]: mpegts: 268MHz in dvb-c - scan no data, failed
Jan 25 11:42:44 raspberrypi tvheadend[1561]: subscription: 020E: "scan" unsubscribing
Jan 25 11:42:54 raspberrypi tvheadend[1561]: mpegts: 268MHz in dvb-c - tuning on Philips TDA10023 DVB-C #0 : DVB-C #0
Jan 25 11:42:54 raspberrypi tvheadend[1561]: subscription: 0210: "scan" subscribing to mux "268MHz", weight: 2, adapter: "Philips TDA10023 DVB-C #0 : DVB-C #0", network: "dvb-c", service: "Raw PID Subscription" 

I have rebooted the dvb-c adapter, tvheadend and the raspberry but with the same results.

If someone could point me to some extra steps, that would be awesome.
Thank you.


Replies (13)

RE: scanning of most muxes fails - Added by Mark Clarkstone almost 6 years ago

Have you checked dmesg for errors?

RE: scanning of most muxes fails - Added by Maurice de Laat almost 6 years ago

Hello Mark, thank you for the quick response.

No, I did not. Thank you for pointing that out.

It shows:

[28369.119100] usb 1-1.5: new high-speed USB device number 7 using dwc_otg
[28369.640078] usb 1-1.5: New USB device found, idVendor=0b48, idProduct=300d
[28369.640091] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[28369.640101] usb 1-1.5: Product: TT-USB2.0
[28369.640110] usb 1-1.5: Manufacturer: TechnoTrend
[28369.640118] usb 1-1.5: SerialNumber: LHKOBG
[28369.640864] dvb-usb: found a 'Technotrend TT-connect CT-3650' in warm state.
[28369.641452] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[28369.641459] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[28369.641736] dvbdev: DVB: registering new adapter (Technotrend TT-connect CT-3650)
[28369.645036] ttusb2: CI initialized.
[28369.645065] usb 1-1.5: DVB: registering adapter 0 frontend 0 (Philips TDA10023 DVB-C)...
[28369.652220] usb 1-1.5: DVB: registering adapter 0 frontend 1 (NXP TDA10048HN DVB-T)...
[28369.652854] Registered IR keymap rc-tt-1500
[28369.653009] rc rc0: IR-receiver inside an USB DVB receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/rc/rc0
[28369.653245] input: IR-receiver inside an USB DVB receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/rc/rc0/input4
[28369.653475] dvb-usb: schedule remote query interval to 150 msecs.
[28369.653796] dvb-usb: Technotrend TT-connect CT-3650 successfully initialized and connected.
[28412.961750] usb 1-1.5: DVB: adapter 0 frontend 0 frequency 0 out of range (47000000..862000000)
[28413.522278] usb 1-1.5: DVB: adapter 0 frontend 1 frequency 0 out of range (177000000..858000000)
[28675.990537] usb 1-1.5: DVB: adapter 0 frontend 0 symbol rate 0 out of range (458333..7333333)
[37325.469122] fuse init (API version 7.26)

I assume this is only from the initial state of the dvb-c adapter?

RE: scanning of most muxes fails - Added by Mark Clarkstone almost 6 years ago

Set the symbol rate to 6875, if that doesn't work set PLP id to 1.

RE: scanning of most muxes fails - Added by Maurice de Laat almost 6 years ago

Thank you, but unfortunately that doesn't work.

Setting symbol rate to 6875 gives errors in syslog:

[55746.465624] usb 1-1.5: DVB: adapter 0 frontend 0 symbol rate 6875 out of range (458333..7333333)

Setting a (or all) mux PLP id to 1 still gives a failed scan, but leads to an new automatically added mux with the same settings except for PLP set to -1, which also fails to scan.

RE: scanning of most muxes fails - Added by Joe User almost 6 years ago

Did you compare the "found" muxes to the manually inputted mux? ie. frequency and symbol rate have the same number of zeroes, qam mode, fec, plp (probably -1).

RE: scanning of most muxes fails - Added by Maurice de Laat almost 6 years ago

Hi Joe, thank you for your reply.

Yes, I do have compared them. Frequency is different (which seems logical to me, only one mux per frequency I guess?), symbol rate (6875000), fec (3/5) & plp (-1) are the same. Of the found muxes some of them are QAM/256, some of them are QAM/64. But changing one of these settings doesn't do much: scan will fail.

After one night 2 of the found muxes scan well, the rest fails. Comparing these 2 to the other ones is like described above.

RE: scanning of most muxes fails - Added by Joe User almost 6 years ago

Have you tries setting FEC to "auto"

You can try to "play" an entire mux (play button on left side of mux entries) and then look at dmesg (maybe "dmesg -T" if your system supports it.)

Other than that you will have to enable debug logging and see what is happening...

RE: scanning of most muxes fails - Added by Maurice de Laat almost 6 years ago

Hi Joe, thank you for your reply.

Setting FEC to auto gives the same result; scan failed

play a mux gives no new messages in dmesg, but gives some new info in syslog:

Jan 26 19:12:39 raspberrypi tvheadend[1561]: mpegts: 292MHz in dvb-c - scan no data, failed
Jan 26 19:12:41 raspberrypi tvheadend[1561]: subscription: 3AAB: service instance is bad, reason: No input detected
Jan 26 19:12:43 raspberrypi tvheadend[1561]: subscription: 3AAB: No input source available for subscription "HTTP" to mux "292MHz in dvb-c" 
Jan 26 19:12:43 raspberrypi tvheadend[1561]: webui: Couldn't start streaming /stream/mux/84b3ee3c75a9e21fdf65e91bbbe5a0b4?ticket=B56A8F6705D09B8E21086E762334221C253EE209, No input detected
Jan 26 19:12:43 raspberrypi tvheadend[1561]: subscription: 3AAB: "HTTP" unsubscribing, hostname="192.168.254.66", client="NSPlayer/7.10.0.3059" 
Jan 26 19:12:43 raspberrypi tvheadend[1561]: http: 192.168.254.66: using ticket B56A8F6705D09B8E21086E762334221C253EE209 for /stream/mux/84b3ee3c75a9e21fdf65e91bbbe5a0b4

I enabled debugging on mpegts, this is the result. I do not understand this info, someone does?

Jan 26 19:40:24 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - tuning on Philips TDA10023 DVB-C #0 : DVB-C #0
Jan 26 19:40:24 raspberrypi tvheadend[605]: subscription: 0071: "scan" subscribing to mux "554MHz", weight: 2, adapter: "Philips TDA10023 DVB-C #0 : DVB-C #0", network: "dvb-c", service: "Raw PID Subscription" 
Jan 26 19:40:29 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - scan no data, failed
Jan 26 19:40:29 raspberrypi tvheadend[605]: subscription: 0071: "scan" unsubscribing
Jan 26 19:40:39 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - tuning on Philips TDA10023 DVB-C #0 : DVB-C #0
Jan 26 19:40:39 raspberrypi tvheadend[605]: subscription: 0073: "scan" subscribing to mux "554MHz", weight: 2, adapter: "Philips TDA10023 DVB-C #0 : DVB-C #0", network: "dvb-c", service: "Raw PID Subscription" 
Jan 26 19:40:44 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - scan no data, failed
Jan 26 19:40:44 raspberrypi tvheadend[605]: subscription: 0073: "scan" unsubscribing
Jan 26 19:40:54 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - tuning on Philips TDA10023 DVB-C #0 : DVB-C #0
Jan 26 19:40:54 raspberrypi tvheadend[605]: subscription: 0075: "scan" subscribing to mux "554MHz", weight: 2, adapter: "Philips TDA10023 DVB-C #0 : DVB-C #0", network: "dvb-c", service: "Raw PID Subscription" 
Jan 26 19:40:59 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - scan no data, failed
Jan 26 19:40:59 raspberrypi tvheadend[605]: subscription: 0075: "scan" unsubscribing
Jan 26 19:41:09 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - add raw service
Jan 26 19:41:09 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - tuning on Philips TDA10023 DVB-C #0 : DVB-C #0
Jan 26 19:41:09 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - started
Jan 26 19:41:09 raspberrypi tvheadend[605]: mpegts: table: mux 0x206ae78 add mgt C7/FF (199) pid 1FFB (8187)
Jan 26 19:41:09 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - open PID 1FFB (8187) [20/0x73102a48]
Jan 26 19:41:09 raspberrypi tvheadend[605]: mpegts: table: mux 0x206ae78 add eit 00/00 (0) pid 0012 (18)
Jan 26 19:41:09 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - open PID 0012 (18) [20/0x73107670]
Jan 26 19:41:09 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - open PID tables subscription [0042/0x7310a678]
Jan 26 19:41:09 raspberrypi tvheadend[605]: subscription: 0077: "scan" subscribing to mux "554MHz", weight: 2, adapter: "Philips TDA10023 DVB-C #0 : DVB-C #0", network: "dvb-c", service: "Raw PID Subscription" 
Jan 26 19:41:09 raspberrypi tvheadend[605]: mpegts: 532MHz in dvb-c - add raw service
Jan 26 19:41:15 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - scan no data, failed
Jan 26 19:41:15 raspberrypi tvheadend[605]: subscription: 0077: "scan" unsubscribing
Jan 26 19:41:15 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - close PID tables subscription [0042/0x7310a678]
Jan 26 19:41:15 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - stopping mux
Jan 26 19:41:15 raspberrypi tvheadend[605]: mpegts: Philips TDA10023 DVB-C #0 : DVB-C #0 - flush subscribers
Jan 26 19:41:15 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - flush tables
Jan 26 19:41:15 raspberrypi tvheadend[605]: mpegts: table: mux 0x206ae78 destroy eit 00/00 (0) pid 0012 (18)
Jan 26 19:41:15 raspberrypi tvheadend[605]: mpegts: table: mux 0x206ae78 free eit 00/00 (0) pid 0012 (18)
Jan 26 19:41:15 raspberrypi tvheadend[605]: mpegts: table: mux 0x206ae78 destroy mgt C7/FF (199) pid 1FFB (8187)
Jan 26 19:41:15 raspberrypi tvheadend[605]: mpegts: table: mux 0x206ae78 free mgt C7/FF (199) pid 1FFB (8187)
Jan 26 19:41:15 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - mi=0x20457a0
Jan 26 19:41:15 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - close PID 0012 (18) [20/0x73107670]
Jan 26 19:41:15 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - close PID 1FFB (8187) [20/0x73102a48]
Jan 26 19:41:15 raspberrypi tvheadend[605]: mpegts: removing mux 554MHz in dvb-c from scan queue
Jan 26 19:41:15 raspberrypi tvheadend[605]: mpegts: adding mux 554MHz in dvb-c to scan queue weight 2 flags 1000
Jan 26 19:41:25 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - add raw service
Jan 26 19:41:25 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - tuning on Philips TDA10023 DVB-C #0 : DVB-C #0
Jan 26 19:41:25 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - started
Jan 26 19:41:25 raspberrypi tvheadend[605]: mpegts: table: mux 0x206ae78 add mgt C7/FF (199) pid 1FFB (8187)
Jan 26 19:41:25 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - open PID 1FFB (8187) [20/0x73102a48]
Jan 26 19:41:25 raspberrypi tvheadend[605]: mpegts: table: mux 0x206ae78 add eit 00/00 (0) pid 0012 (18)
Jan 26 19:41:25 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - open PID 0012 (18) [20/0x73107670]
Jan 26 19:41:25 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - open PID tables subscription [0042/0x7310a678]
Jan 26 19:41:25 raspberrypi tvheadend[605]: subscription: 0079: "scan" subscribing to mux "554MHz", weight: 2, adapter: "Philips TDA10023 DVB-C #0 : DVB-C #0", network: "dvb-c", service: "Raw PID Subscription" 
Jan 26 19:41:25 raspberrypi tvheadend[605]: mpegts: 532MHz in dvb-c - add raw service
Jan 26 19:41:30 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - scan no data, failed
Jan 26 19:41:30 raspberrypi tvheadend[605]: subscription: 0079: "scan" unsubscribing
Jan 26 19:41:30 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - close PID tables subscription [0042/0x7310a678]
Jan 26 19:41:30 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - stopping mux
Jan 26 19:41:30 raspberrypi tvheadend[605]: mpegts: Philips TDA10023 DVB-C #0 : DVB-C #0 - flush subscribers
Jan 26 19:41:30 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - flush tables
Jan 26 19:41:30 raspberrypi tvheadend[605]: mpegts: table: mux 0x206ae78 destroy eit 00/00 (0) pid 0012 (18)
Jan 26 19:41:30 raspberrypi tvheadend[605]: mpegts: table: mux 0x206ae78 free eit 00/00 (0) pid 0012 (18)
Jan 26 19:41:30 raspberrypi tvheadend[605]: mpegts: table: mux 0x206ae78 destroy mgt C7/FF (199) pid 1FFB (8187)
Jan 26 19:41:30 raspberrypi tvheadend[605]: mpegts: table: mux 0x206ae78 free mgt C7/FF (199) pid 1FFB (8187)
Jan 26 19:41:30 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - mi=0x20457a0
Jan 26 19:41:30 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - close PID 0012 (18) [20/0x73107670]
Jan 26 19:41:30 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - close PID 1FFB (8187) [20/0x73102a48]
Jan 26 19:41:30 raspberrypi tvheadend[605]: mpegts: removing mux 554MHz in dvb-c from scan queue
Jan 26 19:41:30 raspberrypi tvheadend[605]: mpegts: adding mux 554MHz in dvb-c to scan queue weight 2 flags 1000
Jan 26 19:41:40 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - add raw service
Jan 26 19:41:40 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - tuning on Philips TDA10023 DVB-C #0 : DVB-C #0
Jan 26 19:41:40 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - started
Jan 26 19:41:40 raspberrypi tvheadend[605]: mpegts: table: mux 0x206ae78 add mgt C7/FF (199) pid 1FFB (8187)
Jan 26 19:41:40 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - open PID 1FFB (8187) [20/0x731012c8]
Jan 26 19:41:40 raspberrypi tvheadend[605]: mpegts: table: mux 0x206ae78 add eit 00/00 (0) pid 0012 (18)
Jan 26 19:41:40 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - open PID 0012 (18) [20/0x73102a48]
Jan 26 19:41:40 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - open PID tables subscription [0042/0x73100ae8]
Jan 26 19:41:40 raspberrypi tvheadend[605]: subscription: 007B: "scan" subscribing to mux "554MHz", weight: 2, adapter: "Philips TDA10023 DVB-C #0 : DVB-C #0", network: "dvb-c", service: "Raw PID Subscription" 
Jan 26 19:41:40 raspberrypi tvheadend[605]: mpegts: 532MHz in dvb-c - add raw service
Jan 26 19:41:45 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - scan no data, failed
Jan 26 19:41:45 raspberrypi tvheadend[605]: subscription: 007B: "scan" unsubscribing
Jan 26 19:41:45 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - close PID tables subscription [0042/0x73100ae8]
Jan 26 19:41:45 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - stopping mux
Jan 26 19:41:45 raspberrypi tvheadend[605]: mpegts: Philips TDA10023 DVB-C #0 : DVB-C #0 - flush subscribers
Jan 26 19:41:45 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - flush tables
Jan 26 19:41:45 raspberrypi tvheadend[605]: mpegts: table: mux 0x206ae78 destroy eit 00/00 (0) pid 0012 (18)
Jan 26 19:41:45 raspberrypi tvheadend[605]: mpegts: table: mux 0x206ae78 free eit 00/00 (0) pid 0012 (18)
Jan 26 19:41:45 raspberrypi tvheadend[605]: mpegts: table: mux 0x206ae78 destroy mgt C7/FF (199) pid 1FFB (8187)
Jan 26 19:41:45 raspberrypi tvheadend[605]: mpegts: table: mux 0x206ae78 free mgt C7/FF (199) pid 1FFB (8187)
Jan 26 19:41:45 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - mi=0x20457a0
Jan 26 19:41:45 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - close PID 0012 (18) [20/0x73102a48]
Jan 26 19:41:45 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - close PID 1FFB (8187) [20/0x731012c8]
Jan 26 19:41:45 raspberrypi tvheadend[605]: mpegts: removing mux 554MHz in dvb-c from scan queue
Jan 26 19:41:45 raspberrypi tvheadend[605]: mpegts: adding mux 554MHz in dvb-c to scan queue weight 2 flags 1000
Jan 26 19:41:55 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - add raw service
Jan 26 19:41:55 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - tuning on Philips TDA10023 DVB-C #0 : DVB-C #0
Jan 26 19:41:55 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - started
Jan 26 19:41:55 raspberrypi tvheadend[605]: mpegts: table: mux 0x206ae78 add mgt C7/FF (199) pid 1FFB (8187)
Jan 26 19:41:55 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - open PID 1FFB (8187) [20/0x73102a48]
Jan 26 19:41:55 raspberrypi tvheadend[605]: mpegts: table: mux 0x206ae78 add eit 00/00 (0) pid 0012 (18)
Jan 26 19:41:55 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - open PID 0012 (18) [20/0x73107670]
Jan 26 19:41:55 raspberrypi tvheadend[605]: mpegts: 554MHz in dvb-c - open PID tables subscription [0042/0x7310a678]
Jan 26 19:41:55 raspberrypi tvheadend[605]: subscription: 007D: "scan" subscribing to mux "554MHz", weight: 2, adapter: "Philips TDA10023 DVB-C #0 : DVB-C #0", network: "dvb-c", service: "Raw PID Subscription" 
Jan 26 19:41:55 raspberrypi tvheadend[605]: mpegts: 532MHz in dvb-c - add raw service

RE: scanning of most muxes fails - Added by Maurice de Laat almost 6 years ago

Finally nailed it.

For anyone who is interested or was send to this by Google:

The solution was not in the muxes, but in the configuration of the network. Filling "Network ID (limit scanning)" with the network id of the provider was enough. Oddly enough, that does not match the network id that is listed in the muxes, but who cares, it works :-)

RE: scanning of most muxes fails - Added by Robin None almost 3 years ago

I am still trying to figure this one out. Is it still working for you?

RE: scanning of most muxes fails - Added by Maurice de Laat almost 3 years ago

Yes, the same configuration is still working for me.

RE: scanning of most muxes fails - Added by Robin None almost 3 years ago

Thank you for the fast response. So only doing the following in my image network settings should work? Do I still need to setup any muxes?

Trined Network.png (62.8 KB) Trined Network.png Network settings

RE: scanning of most muxes fails - Added by Maurice de Laat almost 3 years ago

I only have the trined setup without smartcard, so not encrypted.

See my screenshots for the network setup and another one for one mux. I believe you have to create this mux manually, after that do a force scan to have tvheadend find the rest of the muxes.

    (1-13/13)