Project

General

Profile

"scan no data, failed" with otherwise working HDHomeRun [resolved]

Added by Asko Soukka over 8 years ago

I'm new to tvandhead and cannot get my HDHomeRun to discover services.

I tried the latest release and then with the latest master from github. I have HDHomeRun Connect (hdhomerun4_dvbt) for DVB-T with the lastest firmaware.

hdhomerun_config FFFFFFFF scan /tuner0 finds channels properly

SCANNING: 546000000 (eu-bcast:30)
LOCK: t8qam64 (ss=100 snq=100 seq=100)
TSID: 0x1001
PROGRAM 17: 0 Yle TV1
...

and works properly with independent streaming apps.

Corresponding mux configuration screenshot is attached.

Yet, tvheadend fails to discover services, but just logs "scan no data, failed" over and over again.

2016-03-13 07:10:27.671 mpegts: 546MHz in HDHomeRun - tuning on HDHomeRun DVB-T Tuner #0 (192.168.1.5)
2016-03-13 07:10:27.671 tvhdhomerun: tuning to t8qam64:546000000
2016-03-13 07:10:27.701 subscription: 0412: "scan" subscribing to mux "546MHz", weight: 2, adapter: "HDHomeRun DVB-T Tuner #0 (192.168.1.5)", network: "HDHomeRun", service: "Raw PID Subscription" 
2016-03-13 07:10:42.694 mpegts: 546MHz in HDHomeRun - scan no data, failed

What could I have missed and should I proceed / debug further?

Trace looks like:

2016-03-29 22:58:31.218 [  DEBUG]:mpegts: HDHomeRun - adding mux 546MHz in HDHomeRun to scan queue weight 6 flags 4000
2016-03-29 22:58:31.218 [  DEBUG]:mpegts: 546MHz in HDHomeRun - add raw service
2016-03-29 22:58:31.218 [   INFO]:mpegts: 546MHz in HDHomeRun - tuning on HDHomeRun DVB-T Tuner #0 (192.168.1.5)
2016-03-29 22:58:31.218 [  DEBUG]:tvhdhomerun: HDHomeRun DVB-T Tuner #0 (192.168.1.5) - starting 546MHz in HDHomeRun
2016-03-29 22:58:31.218 [   INFO]:tvhdhomerun: tuning to t8qam64:546000000
2016-03-29 22:58:31.246 [  DEBUG]:mpegts: 546MHz in HDHomeRun - started
2016-03-29 22:58:31.246 [  TRACE]:mpegts: table: mux 0x7f734c003770 add eit 00/00 (0) pid 0012 (18)
2016-03-29 22:58:31.246 [  DEBUG]:mpegts: 546MHz in HDHomeRun - open PID 0012 (18) [20/0x7f7360003380]
2016-03-29 22:58:31.246 [  TRACE]:mpegts: table: mux 0x7f734c003770 add bat 00/00 (0) pid 0BBA (3002)
2016-03-29 22:58:31.246 [  DEBUG]:mpegts: 546MHz in HDHomeRun - open PID 0BBA (3002) [16/0x7f7360004bd0]
2016-03-29 22:58:31.246 [  TRACE]:mpegts: table: mux 0x7f734c003770 add uk_freesat 00/00 (0) pid 0BBB (3003)
2016-03-29 22:58:31.246 [  DEBUG]:mpegts: 546MHz in HDHomeRun - open PID 0BBB (3003) [16/0x7f7360006040]
2016-03-29 22:58:31.246 [  TRACE]:mpegts: table: mux 0x7f734c003770 add viasat_baltic 00/00 (0) pid 0039 (57)
2016-03-29 22:58:31.246 [  DEBUG]:mpegts: 546MHz in HDHomeRun - open PID 0039 (57) [16/0x7f73600074b0]
2016-03-29 22:58:31.246 [  TRACE]:mpegts: table: mux 0x7f734c003770 add Bulsatcom_39E 00/00 (0) pid 012B (299)
2016-03-29 22:58:31.246 [  DEBUG]:mpegts: 546MHz in HDHomeRun - open PID 012B (299) [16/0x7f7360008920]
2016-03-29 22:58:31.246 [  TRACE]:mpegts: table: mux 0x7f734c003770 add mgt C7/FF (199) pid 1FFB (8187)
2016-03-29 22:58:31.246 [  DEBUG]:mpegts: 546MHz in HDHomeRun - open PID 1FFB (8187) [20/0x7f736000bb20]
2016-03-29 22:58:31.246 [  DEBUG]:mpegts: 546MHz in HDHomeRun - open PID tables subscription [0042/0x7f7360001100]
2016-03-29 22:58:31.246 [   INFO]:subscription: 0008: "scan" subscribing to mux "546MHz", weight: 6, adapter: "HDHomeRun DVB-T Tuner #0 (192.168.1.5)", network: "HDHomeRun", service: "Raw PID Subscription" 
2016-03-29 22:58:31.248 [  DEBUG]:tvhdhomerun: current pfilter: 0x0000
2016-03-29 22:58:31.248 [  DEBUG]:tvhdhomerun: setting pfilter to: 0x0000 0x0012
2016-03-29 22:58:31.251 [  DEBUG]:tvhdhomerun: current pfilter: 0x0000 0x0012
2016-03-29 22:58:31.251 [  DEBUG]:tvhdhomerun: setting pfilter to: 0x0000 0x0012 0x0039
2016-03-29 22:58:31.253 [  DEBUG]:tvhdhomerun: current pfilter: 0x0000 0x0012 0x0039
2016-03-29 22:58:31.253 [  DEBUG]:tvhdhomerun: setting pfilter to: 0x0000 0x0012 0x0039 0x012b
2016-03-29 22:58:31.256 [  DEBUG]:tvhdhomerun: current pfilter: 0x0000 0x0012 0x0039 0x012b
2016-03-29 22:58:31.256 [  DEBUG]:tvhdhomerun: setting pfilter to: 0x0000 0x0012 0x0039 0x012b 0x0bba
2016-03-29 22:58:31.259 [  DEBUG]:tvhdhomerun: current pfilter: 0x0000 0x0012 0x0039 0x012b 0x0bba
2016-03-29 22:58:31.259 [  DEBUG]:tvhdhomerun: setting pfilter to: 0x0000 0x0012 0x0039 0x012b 0x0bba 0x0bbb
2016-03-29 22:58:31.261 [  DEBUG]:tvhdhomerun: current pfilter: 0x0000 0x0012 0x0039 0x012b 0x0bba-0x0bbb
2016-03-29 22:58:31.261 [  DEBUG]:tvhdhomerun: setting pfilter to: 0x0000 0x0012 0x0039 0x012b 0x0bba-0x0bbb 0x1ffb
2016-03-29 22:58:31.271 [  DEBUG]:tvhdhomerun: locked
2016-03-29 22:58:31.272 [  DEBUG]:tvhdhomerun: starting input thread
2016-03-29 22:58:31.272 [  DEBUG]:tvhdhomerun: opening client socket
2016-03-29 22:58:31.272 [  TRACE]:mpegts: table: mux 0x7f734c003770 add pat 00/00 (0) pid 0000 (0)
2016-03-29 22:58:31.272 [  DEBUG]:mpegts: 546MHz in HDHomeRun - open PID 0000 (0) [20/0x7f736000cf90]
2016-03-29 22:58:31.272 [  TRACE]:mpegts: table: mux 0x7f734c003770 add cat 01/FF (1) pid 0001 (1)
2016-03-29 22:58:31.272 [  DEBUG]:tvhdhomerun: setting target to: udp://192.168.1.84:43111
2016-03-29 22:58:31.272 [  DEBUG]:mpegts: 546MHz in HDHomeRun - open PID 0001 (1) [16/0x7f736000e400]
2016-03-29 22:58:31.272 [  TRACE]:mpegts: table: mux 0x7f734c003770 add nit 00/00 (0) pid 0010 (16)
2016-03-29 22:58:31.272 [  DEBUG]:mpegts: 546MHz in HDHomeRun - open PID 0010 (16) [16/0x7f736000f870]
2016-03-29 22:58:31.272 [  TRACE]:mpegts: table: mux 0x7f734c003770 add sdt 40/F8 (64) pid 0011 (17)
2016-03-29 22:58:31.272 [  DEBUG]:mpegts: 546MHz in HDHomeRun - open PID 0011 (17) [20/0x7f7360010ce0]
2016-03-29 22:58:31.272 [  TRACE]:mpegts: table: mux 0x7f734c003770 add bat 48/F8 (72) pid 0011 (17)
2016-03-29 22:58:31.272 [  DEBUG]:mpegts: 546MHz in HDHomeRun - open PID 0011 (17) [16/0x7f73600160e0]
2016-03-29 22:58:31.274 [  DEBUG]:tvhdhomerun: current pfilter: 0x0000 0x0012 0x0039 0x012b 0x0bba-0x0bbb 0x1ffb
2016-03-29 22:58:31.276 [  DEBUG]:tvhdhomerun: current pfilter: 0x0000 0x0012 0x0039 0x012b 0x0bba-0x0bbb 0x1ffb
2016-03-29 22:58:31.276 [  DEBUG]:tvhdhomerun: setting pfilter to: 0x0000 0x0012 0x0039 0x012b 0x0bba-0x0bbb 0x1ffb 0x0001
2016-03-29 22:58:31.278 [  DEBUG]:tvhdhomerun: current pfilter: 0x0000-0x0001 0x0012 0x0039 0x012b 0x0bba-0x0bbb 0x1ffb
2016-03-29 22:58:31.278 [  DEBUG]:tvhdhomerun: setting pfilter to: 0x0000-0x0001 0x0012 0x0039 0x012b 0x0bba-0x0bbb 0x1ffb 0x0010
2016-03-29 22:58:31.281 [  DEBUG]:tvhdhomerun: current pfilter: 0x0000-0x0001 0x0010 0x0012 0x0039 0x012b 0x0bba-0x0bbb 0x1ffb
2016-03-29 22:58:31.281 [  DEBUG]:tvhdhomerun: setting pfilter to: 0x0000-0x0001 0x0010 0x0012 0x0039 0x012b 0x0bba-0x0bbb 0x1ffb 0x0011
2016-03-29 22:58:31.284 [  DEBUG]:tvhdhomerun: current pfilter: 0x0000-0x0001 0x0010-0x0012 0x0039 0x012b 0x0bba-0x0bbb 0x1ffb
2016-03-29 22:58:31.284 [  DEBUG]:tvhdhomerun: setting pfilter to: 0x0000-0x0001 0x0010-0x0012 0x0039 0x012b 0x0bba-0x0bbb 0x1ffb 0x0012
2016-03-29 22:58:31.287 [  DEBUG]:tvhdhomerun: current pfilter: 0x0000-0x0001 0x0010-0x0012 0x0039 0x012b 0x0bba-0x0bbb 0x1ffb
2016-03-29 22:58:31.287 [  DEBUG]:tvhdhomerun: setting pfilter to: 0x0000-0x0001 0x0010-0x0012 0x0039 0x012b 0x0bba-0x0bbb 0x1ffb 0x0039
2016-03-29 22:58:31.289 [  DEBUG]:tvhdhomerun: current pfilter: 0x0000-0x0001 0x0010-0x0012 0x0039 0x012b 0x0bba-0x0bbb 0x1ffb
2016-03-29 22:58:31.289 [  DEBUG]:tvhdhomerun: setting pfilter to: 0x0000-0x0001 0x0010-0x0012 0x0039 0x012b 0x0bba-0x0bbb 0x1ffb 0x012b
2016-03-29 22:58:31.292 [  DEBUG]:tvhdhomerun: current pfilter: 0x0000-0x0001 0x0010-0x0012 0x0039 0x012b 0x0bba-0x0bbb 0x1ffb
2016-03-29 22:58:31.292 [  DEBUG]:tvhdhomerun: setting pfilter to: 0x0000-0x0001 0x0010-0x0012 0x0039 0x012b 0x0bba-0x0bbb 0x1ffb 0x0bba
2016-03-29 22:58:31.295 [  DEBUG]:tvhdhomerun: current pfilter: 0x0000-0x0001 0x0010-0x0012 0x0039 0x012b 0x0bba-0x0bbb 0x1ffb
2016-03-29 22:58:31.295 [  DEBUG]:tvhdhomerun: setting pfilter to: 0x0000-0x0001 0x0010-0x0012 0x0039 0x012b 0x0bba-0x0bbb 0x1ffb 0x0bbb
2016-03-29 22:58:31.298 [  DEBUG]:tvhdhomerun: current pfilter: 0x0000-0x0001 0x0010-0x0012 0x0039 0x012b 0x0bba-0x0bbb 0x1ffb
2016-03-29 22:58:31.298 [  DEBUG]:tvhdhomerun: setting pfilter to: 0x0000-0x0001 0x0010-0x0012 0x0039 0x012b 0x0bba-0x0bbb 0x1ffb 0x1ffb
2016-03-29 22:58:31.606 [  TRACE]:mpegts: network-list: found input 'HDHomeRun DVB-T Tuner #1 (192.168.1.5)'
2016-03-29 22:58:46.220 [  TRACE]:mpegts: table: mux 0x7f734c003770 destroy sdt 40/F8 (64) pid 0011 (17)
2016-03-29 22:58:46.220 [  DEBUG]:mpegts: 546MHz in HDHomeRun - close PID 0011 (17) [20/0x7f7360010ce0]
2016-03-29 22:58:46.220 [  TRACE]:mpegts: table: mux 0x7f734c003770 free sdt 40/F8 (64) pid 0011 (17)
2016-03-29 22:58:46.220 [  TRACE]:mpegts: table: mux 0x7f734c003770 destroy nit 00/00 (0) pid 0010 (16)
2016-03-29 22:58:46.220 [  DEBUG]:mpegts: 546MHz in HDHomeRun - close PID 0010 (16) [16/0x7f736000f870]
2016-03-29 22:58:46.220 [  TRACE]:mpegts: table: mux 0x7f734c003770 free nit 00/00 (0) pid 0010 (16)
2016-03-29 22:58:46.220 [  TRACE]:mpegts: table: mux 0x7f734c003770 destroy cat 01/FF (1) pid 0001 (1)
2016-03-29 22:58:46.220 [  DEBUG]:mpegts: 546MHz in HDHomeRun - close PID 0001 (1) [16/0x7f736000e400]
2016-03-29 22:58:46.220 [  TRACE]:mpegts: table: mux 0x7f734c003770 free cat 01/FF (1) pid 0001 (1)
2016-03-29 22:58:46.220 [  TRACE]:mpegts: table: mux 0x7f734c003770 destroy pat 00/00 (0) pid 0000 (0)
2016-03-29 22:58:46.220 [  DEBUG]:mpegts: 546MHz in HDHomeRun - close PID 0000 (0) [20/0x7f736000cf90]
2016-03-29 22:58:46.220 [  TRACE]:mpegts: table: mux 0x7f734c003770 free pat 00/00 (0) pid 0000 (0)
2016-03-29 22:58:46.220 [  TRACE]:mpegts: table: mux 0x7f734c003770 destroy mgt C7/FF (199) pid 1FFB (8187)
2016-03-29 22:58:46.220 [  DEBUG]:mpegts: 546MHz in HDHomeRun - close PID 1FFB (8187) [20/0x7f736000bb20]
2016-03-29 22:58:46.220 [  TRACE]:mpegts: table: mux 0x7f734c003770 free mgt C7/FF (199) pid 1FFB (8187)
2016-03-29 22:58:46.220 [   INFO]:mpegts: 546MHz in HDHomeRun - scan no data, failed
2016-03-29 22:58:46.220 [   INFO]:subscription: 0008: "scan" unsubscribing
2016-03-29 22:58:46.220 [  DEBUG]:mpegts: 546MHz in HDHomeRun - close PID tables subscription [0042/0x7f7360001100]
2016-03-29 22:58:46.220 [  DEBUG]:mpegts: 546MHz in HDHomeRun - stopping mux
2016-03-29 22:58:46.220 [  DEBUG]:tvhdhomerun: HDHomeRun DVB-T Tuner #0 (192.168.1.5) - stopping 546MHz in HDHomeRun
2016-03-29 22:58:46.220 [  TRACE]:tvhdhomerun: HDHomeRun DVB-T Tuner #0 (192.168.1.5) - waiting for input thread
2016-03-29 22:58:46.220 [  DEBUG]:tvhdhomerun: setting target to none
2016-03-29 22:58:46.221 [  TRACE]:tvhdhomerun: HDHomeRun DVB-T Tuner #0 (192.168.1.5) - input thread stopped
2016-03-29 22:58:46.222 [  TRACE]:mpegts: HDHomeRun DVB-T Tuner #0 (192.168.1.5) - flush subscribers
2016-03-29 22:58:46.222 [  TRACE]:mpegts: 546MHz in HDHomeRun - flush tables
2016-03-29 22:58:46.222 [  TRACE]:mpegts: table: mux 0x7f734c003770 destroy bat 48/F8 (72) pid 0011 (17)
2016-03-29 22:58:46.222 [  TRACE]:mpegts: table: mux 0x7f734c003770 free bat 48/F8 (72) pid 0011 (17)
2016-03-29 22:58:46.222 [  TRACE]:mpegts: table: mux 0x7f734c003770 destroy Bulsatcom_39E 00/00 (0) pid 012B (299)
2016-03-29 22:58:46.222 [  TRACE]:mpegts: table: mux 0x7f734c003770 free Bulsatcom_39E 00/00 (0) pid 012B (299)
2016-03-29 22:58:46.222 [  TRACE]:mpegts: table: mux 0x7f734c003770 destroy viasat_baltic 00/00 (0) pid 0039 (57)
2016-03-29 22:58:46.222 [  TRACE]:mpegts: table: mux 0x7f734c003770 free viasat_baltic 00/00 (0) pid 0039 (57)
2016-03-29 22:58:46.222 [  TRACE]:mpegts: table: mux 0x7f734c003770 destroy uk_freesat 00/00 (0) pid 0BBB (3003)
2016-03-29 22:58:46.222 [  TRACE]:mpegts: table: mux 0x7f734c003770 free uk_freesat 00/00 (0) pid 0BBB (3003)
2016-03-29 22:58:46.222 [  TRACE]:mpegts: table: mux 0x7f734c003770 destroy bat 00/00 (0) pid 0BBA (3002)
2016-03-29 22:58:46.222 [  TRACE]:mpegts: table: mux 0x7f734c003770 free bat 00/00 (0) pid 0BBA (3002)
2016-03-29 22:58:46.222 [  TRACE]:mpegts: table: mux 0x7f734c003770 destroy eit 00/00 (0) pid 0012 (18)
2016-03-29 22:58:46.222 [  TRACE]:mpegts: table: mux 0x7f734c003770 free eit 00/00 (0) pid 0012 (18)
2016-03-29 22:58:46.222 [  TRACE]:mpegts: 546MHz in HDHomeRun - mi=0x7f7370000ac0
2016-03-29 22:58:46.222 [  DEBUG]:mpegts: 546MHz in HDHomeRun - close PID 0011 (17) [16/0x7f73600160e0]
2016-03-29 22:58:46.222 [  DEBUG]:mpegts: 546MHz in HDHomeRun - close PID 0012 (18) [20/0x7f7360003380]
2016-03-29 22:58:46.222 [  DEBUG]:mpegts: 546MHz in HDHomeRun - close PID 0039 (57) [16/0x7f73600074b0]
2016-03-29 22:58:46.222 [  DEBUG]:mpegts: 546MHz in HDHomeRun - close PID 012B (299) [16/0x7f7360008920]
2016-03-29 22:58:46.222 [  DEBUG]:mpegts: 546MHz in HDHomeRun - close PID 0BBA (3002) [16/0x7f7360004bd0]
2016-03-29 22:58:46.222 [  DEBUG]:mpegts: 546MHz in HDHomeRun - close PID 0BBB (3003) [16/0x7f7360006040]
2016-03-29 22:58:46.222 [  DEBUG]:mpegts: HDHomeRun - removing mux 546MHz in HDHomeRun from scan queue
2016-03-29 22:58:46.579 [  TRACE]:mpegts: network-list: found input 'HDHomeRun DVB-T Tuner #1 (192.168.1.5)'
configuration.png (64.8 KB) configuration.png mux configuration

Replies (4)

RE: "scan no data, failed" with otherwise working HDHomeRun - Added by Asko Soukka over 8 years ago

Not sure what happened, but after letting hdheadend to scan the whole day, suddenly the channels started to discover.
So, fixed.

RE: "scan no data, failed" with otherwise working HDHomeRun [resolved] - Added by Asko Soukka over 8 years ago

Well, a week ago I ended up resetting my tvheadend configuration, and have not been able to get successful scan ever since. HDHomeRun's own scanner still works perfectly. I was hoping it to "magically" start working againg, but not yet.

RE: "scan no data, failed" with otherwise working HDHomeRun [resolved] - Added by Asko Soukka over 8 years ago

Possibly a firewall issue after all. I though, I already had proper firewall rules, because the hdhomerun CLI client worked.

This seems to work:

iptables -I INPUT 4 -s 192.168.1.5 -p udp -m state --state NEW -m udp --sport 65001 -j ACCEPT

RE: "scan no data, failed" with otherwise working HDHomeRun [resolved] - Added by Ryan Abraham about 6 years ago

I'm having the same issue. Plex DVR can find all the over the air channels but for some reason it can't find NBC. I've tried changing the mhz value and it doesn't help. CBS, FOX, and ABC all work fine in tvheadend, just not NBC. that iptables command doesn't work for some reason. Can you explain how a firewall issue could limit 1 channel?

    (1-4/4)