Bug #5368
Sundtek DVB-C not working after update
0%
Description
After update on Tvheadend 4.3-1596 Sundtek DVB-C does not work
From Tvheadend log
2018-11-29 23:40:04.307 mpegts: 498MHz in DVB-C UPC - tuning on Sundtek DVB-C (III) #1 : DVB-C #0
2018-11-29 23:40:04.307 linuxdvb: Sundtek DVB-C (III) #1 : DVB-C #0 - DTV_CLEAR failed [e=Unpassender IOCTL (I/O-Control) für das Gerät]
Tvheadend 4.3-1596 is install on ubuntu 18.04
History
Updated by saen acro almost 6 years ago
Luis Alves wrote:
Looks like outdated drivers...
Too many outdated drivers Exactly on DVB-C
https://tvheadend.org/issues/5367
downgrade to 4.3-1550 or less magically fix problem
Updated by Luis Alves almost 6 years ago
Alister Kunga,
Try this (comment 1 line):
diff --git a/src/input/mpegts/linuxdvb/linuxdvb_frontend.c b/src/input/mpegts/linuxdvb/linuxdvb_frontend.c index f6fc20ce4..72bb7e9ee 100644 --- a/src/input/mpegts/linuxdvb/linuxdvb_frontend.c +++ b/src/input/mpegts/linuxdvb/linuxdvb_frontend.c @@ -1588,7 +1588,7 @@ linuxdvb_frontend_clear }; if ((ioctl(lfe->lfe_fe_fd, FE_SET_PROPERTY, &clear_cmdseq)) != 0) { tvherror(LS_LINUXDVB, "%s - DTV_CLEAR failed [e=%s]", buf1, strerror(errno)); - return -1; +// return -1; } if (mmi) {
You'll still get the error but should continue with tuning.
Updated by Luis Alves almost 6 years ago
Also, if your kernel is compiled with dynamic debug try this:
echo "func dtv_property_process_set +p" > /sys/kernel/debug/dynamic_debug/control
echo "func dvb_frontend_handle_ioctl +p" > /sys/kernel/debug/dynamic_debug/control
Then tune a channel and paste the kernel log here.
(use something like: "dmesg | grep DTV_CLEAR -A10 -B10").
Updated by Alister Kunga almost 6 years ago
nothing happens
echo "func dtv_property_process_set +p" > /sys/kernel/debug/dynamic_debug/control
echo "func dvb_frontend_handle_ioctl +p" > /sys/kernel/debug/dynamic_debug/control
2018-12-03 17:47:33.623 mpegts: 498MHz in DVB-C UPC - tuning on Sundtek DVB-C (III) #1 : DVB-C #0
2018-12-03 17:47:33.623 linuxdvb: Sundtek DVB-C (III) #1 : DVB-C #0 - DTV_CLEAR failed [e=Unpassender IOCTL (I/O-Control) für das Gerät]
2018-12-03 17:47:37.571 subscription: 001F: "HTTP" unsubscribing from "SRF 1 HD", hostname="192.168.178.34", username="admin", client="VLC/3.0.4 LibVLC/3.0.4"
Last login: Mon Dec 3 17:51:28 2018 from 192.168.178.34
root@ZBOX-ID91:~# dmesg | grep DTV_CLEAR -A10 -B10").
Last login: Mon Dec 3 17:51:28 2018 from 192.168.178.34
Updated by Luis Alves almost 6 years ago
Alister Kunga wrote:
nothing happens
Does dmesg have any reference to dvb_frontend.c ?
Also, did you try the hack? (comment 1 line)
I suspect that the installed dvb drivers are not DVBv5.
Updated by Luis Alves almost 6 years ago
Alister Kunga wrote:
root@ZBOX-ID91:~# dmesg | grep DTV_CLEAR -A10 -B10").
Did you include these chars on the command?? ............... ^^ ").
Updated by Markus Rechberger (Sundtek) almost 6 years ago
Alister Kunga wrote:
Yes i have
That's some other issue, I'll update the driver package within the next hour.
Another customer has told us about this issue today and I just had a look at it.
This issue can be closed and marked as resolved.
Updated by Luis Alves almost 6 years ago
Alister Kunga wrote:
Yes i have
You shouldn't... the command is just:
dmesg | grep DTV_CLEAR -A10 -B10
Markus Rechberger (Sundtek) wrote:
Another customer has told us about this issue today and I just had a look at it.
This issue can be closed and marked as resolved.
Nice to know. By the way, are the drivers closed source?
Updated by Markus Rechberger (Sundtek) almost 6 years ago
Luis Alves wrote:
Alister Kunga wrote:
Yes i have
You shouldn't... the command is just:
dmesg | grep DTV_CLEAR -A10 -B10Markus Rechberger (Sundtek) wrote:
Another customer has told us about this issue today and I just had a look at it.
This issue can be closed and marked as resolved.Nice to know. By the way, are the drivers closed source?
We have contracts with several suppliers (which make our life easier).
Drivers are updated.
Updated by Markus Rechberger (Sundtek) almost 6 years ago
Can you confirm that the latest driver solves your problem?
(please not the driver got updated just now... you might have to do it again the announcement was too early).
Updated by Luis Alves almost 6 years ago
Markus Rechberger (Sundtek) wrote:
Can you confirm that the latest driver solves your problem?
(please not the driver got updated just now... you might have to do it again the announcement was too early).
Can you post a link to the drivers here?
It will be useful to save for future reference.
Updated by Markus Rechberger (Sundtek) almost 6 years ago
This will install the latest drivers within a few seconds:
cd /tmp
wget http://sundtek.de/media/sundtek_netinst.sh
chmod 777 sundtek_netinst.sh
./sundtek_netinst.sh