{"id":512,"date":"2017-07-29T23:34:49","date_gmt":"2017-07-29T21:34:49","guid":{"rendered":"https:\/\/www.anginf.de\/?p=512"},"modified":"2017-07-30T00:43:57","modified_gmt":"2017-07-29T22:43:57","slug":"using-hybrid-dvb-tdvb-c-stick-under-linux-disabling-the-first-frontend-frontend0","status":"publish","type":"post","link":"https:\/\/www.anginf.de\/?p=512","title":{"rendered":"Using hybrid DVB-T\/DVB-C-Stick with Linux, disabling the first frontend (frontend0)"},"content":{"rendered":"<p>I only wanted the DVB-C-Part of my stick (<code>dvb_usb_rtl28xxu<\/code>), but after VDR access the first frontend of this device (<code>\/dev\/dvb\/adapter0\/frontend0<\/code>), the device won&#8217;t be accessible on its other frontend (<code>\/dev\/dvb\/adapter0\/frontend1<\/code>), so I had to find a way to disable the first frontend.<\/p>\n<p>If you have trouble scanning any channels, please take a look at you dmesg whether there was a problem loading the correct firmware. For me it looked like this:<\/p>\n<pre lang=\"bash\">\r\nuser@host:~# dmesg | grep firmware\r\n[23945257.415086] mn88473 7-0018: Direct firmware load for dvb-demod-mn88473-01.fw failed with error -2\r\n<\/pre>\n<p>Your firmware is most certainly somewhere in the github directory of OpenELEC: <a href=\"https:\/\/github.com\/OpenELEC\/dvb-firmware\/tree\/master\/firmware\">https:\/\/github.com\/OpenELEC\/dvb-firmware\/tree\/master\/firmware<\/a><\/p>\n<p>For example, I had to copy the dvb-demod-mn88473-01.fw to <code>\/lib\/firmware\/<\/code>:<\/p>\n<pre lang=\"bash\">\r\nsudo wget https:\/\/github.com\/OpenELEC\/dvb-firmware\/raw\/master\/firmware\/dvb-demod-mn88473-01.fw -O \/lib\/firmware\/dvb-demod-mn88473-01.fw\r\n<\/pre>\n<p>Check whether w_scan works:<\/p>\n<pre lang=\"bash\">\r\nsudo w_scan -fc -c DE >>dvb-c-channels.conf\r\n<\/pre>\n<p>Search for the DEVPATH of the frontend which you want to disable (for me it was adapter0\/frontend0):<\/p>\n<pre lang=\"bash\">\r\nuser@host:~# udevadm info --query=all --name=\/dev\/dvb\/adapter0\/frontend0 | grep DEVPATH\r\nE: DEVPATH=\/devices\/pci0000:00\/0000:00:14.0\/usb3\/3-4\/dvb\/dvb0.frontend0\r\n<\/pre>\n<p>Then add a new udev-rule as a new file <code>\/etc\/udev\/rules.d\/11-disable-frontend0.rules<\/code>:<\/p>\n<pre lang=\"bash\">\r\nACTION==\"add\", SUBSYSTEM==\"dvb\", ENV{DVB_DEVICE_TYPE}==\"frontend\", DEVPATH==\"\/devices\/pci0000:00\/0000:00:14.0\/usb3\/3-4\/dvb\/dvb0.frontend0\", ENV{dynamite_attach}=\"no\"\r\n<\/pre>\n<p>I must admit that this didn&#8217;t work for me. I had to move the frontend0 manually to a higher number, disabling it by this for vdr:<\/p>\n<pre lang=\"bash\">\r\nuser@host:~# mv \/dev\/dvb\/adapter0\/frontend0 \/dev\/dvb\/adapter0\/frontend9\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I only wanted the DVB-C-Part of my stick (dvb_usb_rtl28xxu), but after VDR access the first frontend of this device (\/dev\/dvb\/adapter0\/frontend0), the device won&#8217;t be accessible on its other frontend (\/dev\/dvb\/adapter0\/frontend1), so I had to find a way to disable the first frontend. If you have trouble scanning any channels, please take a look at you &hellip; <a href=\"https:\/\/www.anginf.de\/?p=512\" class=\"more-link\"><span class=\"screen-reader-text\">Using hybrid DVB-T\/DVB-C-Stick with Linux, disabling the first frontend (frontend0)<\/span> weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,6],"tags":[],"class_list":["post-512","post","type-post","status-publish","format-standard","hentry","category-allgemein","category-vdr"],"_links":{"self":[{"href":"https:\/\/www.anginf.de\/index.php?rest_route=\/wp\/v2\/posts\/512","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.anginf.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.anginf.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.anginf.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.anginf.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=512"}],"version-history":[{"count":5,"href":"https:\/\/www.anginf.de\/index.php?rest_route=\/wp\/v2\/posts\/512\/revisions"}],"predecessor-version":[{"id":522,"href":"https:\/\/www.anginf.de\/index.php?rest_route=\/wp\/v2\/posts\/512\/revisions\/522"}],"wp:attachment":[{"href":"https:\/\/www.anginf.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.anginf.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.anginf.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}