debug scan issues
Added by Dagg Stompler almost 6 years ago
Greetings, I have two dvb usb dongles, an Mygica T230 DVB-T/T2/C and Hauppauge dualHD 1590.
I've tried both with tvheadend and windows10 + vlc when trying to view T2, both devices are able to detect and stream T2 broadcasting while tvheadend isn't.
a few months ago I was able to detect and stream T2 broadcasting with tvheadend without any problems.
I'm able to detect and stream T broadcasting without any issues.
the server sits on a debian 9.6 machine with kernel 4.18 and Tvheadend 4.2.7-34~g036b9cbab.
any ideas how to debug this issue?
Thanks,
Dagg.
Replies (14)
RE: debug scan issues - Added by Mark Clarkstone almost 6 years ago
- Checked dmesg?
- Are you using any AUTO values for freq info (in muxes)?
- With tvh stopped, does w_scan scan work?
RE: debug scan issues - Added by Dagg Stompler almost 6 years ago
- yes, only download firmware prints.
- no, the frequency is set manually, the rest I've tried with both auto and specific values.
- no, w_scan doesn't find something useful.
it is weird, now I actually got no channels at all. can this be a fw issue?
RE: debug scan issues - Added by Dagg Stompler almost 6 years ago
- no dmesg errors, only prints are fw download related (successful)
- tvheadend finds only radio channels in the T2.
- w_scan find nothing on T2 at all, here is the output: https://paste.pound-python.org/show/uzTZt6juQ6koSMbQufI1/
also, the T broadcasting sometimes looses the sound.
ideas?
RE: debug scan issues - Added by Mark Clarkstone almost 6 years ago
Dagg Stompler wrote:
ok, to sum it up more clearly:
- no dmesg errors, only prints are fw download related (successful)
- tvheadend finds only radio channels in the T2.
- w_scan find nothing on T2 at all, here is the output: https://paste.pound-python.org/show/uzTZt6juQ6koSMbQufI1/
also, the T broadcasting sometimes looses the sound.ideas?
- Where in the world are you?
- Can you go into the muxes tab, copy a play link and capture a T2 mux sample (about a minute) using wget, then upload it here?
- You might want to open an issue with as much detail as possible. Include the mux sample and perhaps traces (set to tbl,parser).
RE: debug scan issues - Added by Joe User almost 6 years ago
Can you post your dmesg output?
Have you tried plugging in just one dongle at a time - testing individually?
RE: debug scan issues - Added by Dagg Stompler almost 6 years ago
Greetings,
here is the dmesg: https://paste.pound-python.org/show/IPZ1IdEXymRydQdMaeoU/
all my tests are with only one device now, the Hauppauge dualHD 1590.
RE: debug scan issues - Added by Dagg Stompler almost 6 years ago
Mark Clarkstone wrote:
Dagg Stompler wrote:
ok, to sum it up more clearly:
- no dmesg errors, only prints are fw download related (successful)
- tvheadend finds only radio channels in the T2.
- w_scan find nothing on T2 at all, here is the output: https://paste.pound-python.org/show/uzTZt6juQ6koSMbQufI1/
also, the T broadcasting sometimes looses the sound.ideas?
- Where in the world are you?
Israel
- Can you go into the muxes tab, copy a play link and capture a T2 mux sample (about a minute) using wget, then upload it here?
I don't see any links under config->DVB inputs->Muxes tab, I've might haven't understood you correctly.
- You might want to open an issue with as much detail as possible. Include the mux sample and perhaps traces (set to tbl,parser).
here? at tvheadend's bug tracker? if so, what is a mux sample?
btw, when I click force scan on a network, I see these in syslog:
Nov 30 16:23:30 utils_server tvheadend5210: linuxdvb: Unable to provide BER value.
Nov 30 16:23:30 utils_server tvheadend5210: linuxdvb: Unhandled ERROR_BLOCK_COUNT scale: 0
Nov 30 16:23:30 utils_server tvheadend5210: linuxdvb: Unable to provide UNC value.
Nov 30 16:23:30 utils_server tvheadend5210: linuxdvb: Unable to provide BER value.
Nov 30 16:23:30 utils_server tvheadend5210: linuxdvb: Unhandled ERROR_BLOCK_COUNT scale: 0
Nov 30 16:23:30 utils_server tvheadend5210: linuxdvb: Unable to provide UNC value.
here are all the tvheadend related entries in syslog: https://paste.pound-python.org/show/VM19tki9x1zmvn32ebec/
RE: debug scan issues - Added by Mark Clarkstone almost 6 years ago
Dagg Stompler wrote:
Mark Clarkstone wrote:
Dagg Stompler wrote:
ok, to sum it up more clearly:
- no dmesg errors, only prints are fw download related (successful)
- tvheadend finds only radio channels in the T2.
- w_scan find nothing on T2 at all, here is the output: https://paste.pound-python.org/show/uzTZt6juQ6koSMbQufI1/
also, the T broadcasting sometimes looses the sound.ideas?
- Where in the world are you?
Israel
- Can you go into the muxes tab, copy a play link and capture a T2 mux sample (about a minute) using wget, then upload it here?
I don't see any links under config->DVB inputs->Muxes tab, I've might haven't understood you correctly.
If you go into the muxes tab there should be a play icon, right click that icon & select copy, then in a terminal type wget -O /tmp/tvhmux.ts http://ip:port/stream_url
replace (paste) the URL with the copied one.
- You might want to open an issue with as much detail as possible. Include the mux sample and perhaps traces (set to tbl,parser).
here? at tvheadend's bug tracker? if so, what is a mux sample?
btw, when I click force scan on a network, I see these in syslog:
Nov 30 16:23:30 utils_server tvheadend5210: linuxdvb: Unable to provide BER value.
Nov 30 16:23:30 utils_server tvheadend5210: linuxdvb: Unhandled ERROR_BLOCK_COUNT scale: 0
Nov 30 16:23:30 utils_server tvheadend5210: linuxdvb: Unable to provide UNC value.
Nov 30 16:23:30 utils_server tvheadend5210: linuxdvb: Unable to provide BER value.
Nov 30 16:23:30 utils_server tvheadend5210: linuxdvb: Unhandled ERROR_BLOCK_COUNT scale: 0
Nov 30 16:23:30 utils_server tvheadend5210: linuxdvb: Unable to provide UNC value.here are all the tvheadend related entries in syslog: https://paste.pound-python.org/show/VM19tki9x1zmvn32ebec/
Looking at this log it seems the signal is weak, as noted by "poll TIMEOUT".
RE: debug scan issues - Added by Dagg Stompler almost 6 years ago
Greetings Mark,
Mark Clarkstone wrote:
Dagg Stompler wrote:
Mark Clarkstone wrote:
Dagg Stompler wrote:
ok, to sum it up more clearly:
- no dmesg errors, only prints are fw download related (successful)
- tvheadend finds only radio channels in the T2.
- w_scan find nothing on T2 at all, here is the output: https://paste.pound-python.org/show/uzTZt6juQ6koSMbQufI1/
also, the T broadcasting sometimes looses the sound.ideas?
- Where in the world are you?
Israel
- Can you go into the muxes tab, copy a play link and capture a T2 mux sample (about a minute) using wget, then upload it here?
I don't see any links under config->DVB inputs->Muxes tab, I've might haven't understood you correctly.
If you go into the muxes tab there should be a play icon, right click that icon & select copy, then in a terminal type wget -O /tmp/tvhmux.ts http://ip:port/stream_url
replace (paste) the URL with the copied one.
ahh, now I see it, will try later today.
so based on the assuption that the device and antenna are ok (it works without any issue on windows), it must be either the driver or the fw. my bet is the fw.
- You might want to open an issue with as much detail as possible. Include the mux sample and perhaps traces (set to tbl,parser).
here? at tvheadend's bug tracker? if so, what is a mux sample?
btw, when I click force scan on a network, I see these in syslog:
Nov 30 16:23:30 utils_server tvheadend5210: linuxdvb: Unable to provide BER value.
Nov 30 16:23:30 utils_server tvheadend5210: linuxdvb: Unhandled ERROR_BLOCK_COUNT scale: 0
Nov 30 16:23:30 utils_server tvheadend5210: linuxdvb: Unable to provide UNC value.
Nov 30 16:23:30 utils_server tvheadend5210: linuxdvb: Unable to provide BER value.
Nov 30 16:23:30 utils_server tvheadend5210: linuxdvb: Unhandled ERROR_BLOCK_COUNT scale: 0
Nov 30 16:23:30 utils_server tvheadend5210: linuxdvb: Unable to provide UNC value.here are all the tvheadend related entries in syslog: https://paste.pound-python.org/show/VM19tki9x1zmvn32ebec/
Looking at this log it seems the signal is weak, as noted by "poll TIMEOUT".
I'll try to see if there is another fw which differs from the one I use.
I do wonder:
- is there a way to extract the vendor's fw from the windows driver?
- if so, is it compatible with linux.
- last but not least, is there a way to get tvheadend working on windows?
Thanks
RE: debug scan issues - Added by Dagg Stompler almost 6 years ago
I'm trying the wget method and I'm getting error:
dagg@NCC-5001-D ~ $ wget -O /tmp/tvhmux.ts http://tvheadend_server:9981/play/stream/mux/311921b44fdaa0aaad78f0a534276879?title=562MHz%20%2F%20Idan%2B
--2018-12-01 09:47:38-- http://tvheadend_server:9981/play/stream/mux/311921b44fdaa0aaad78f0a534276879?title=562MHz%20%2F%20Idan%2B
Resolving tvheadend_server... 10.0.0.3
Connecting to tvheadend_server|10.0.0.3|:9981... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Username/Password Authentication Failed.
how can I workaround it?
also, I've downloaded a fw from the ubuntu repo of the vendor, it differs from the one in libreelec, will test it later on.
RE: debug scan issues - Added by saen acro almost 6 years ago
replace
http://tvheadend_server:9981
with
http://user:pass@tvheadend_server:9981
or
--http-user=user --http-password=pass http://tvheadend_server:9981
Or use Curl command
curl --user="user:pass" http://a.com/somefile.txt --digest -o somefile.txt
RE: debug scan issues - Added by Dagg Stompler almost 6 years ago
saen acro wrote:
replace
[...]
with
[...]
or
[...]Or use Curl command
[...]
thanks!
file uploaded.
RE: debug scan issues - Added by Dagg Stompler almost 6 years ago
- there is no diff in scan between the community fw and the vendor's fw when it comes to w_scan
- on tvheadend however, the issue differs, I get constant poll timeouts with the dualhd while the Mygica works.
any ideas?
RE: debug scan issues - Added by Mark Clarkstone almost 6 years ago
Dagg Stompler wrote:
I've done more testings:
- there is no diff in scan between the community fw and the vendor's fw when it comes to w_scan
- on tvheadend however, the issue differs, I get constant poll timeouts with the dualhd while the Mygica works.
any ideas?
Have you tried unticking "Allow all PIDs" in the Tuner options?