Re: vdr not working in Raspbian 10

Timo Helkiƶ <[email protected]> Sun, 29 Nov 2020 16:09:28 +0200
Newsgroups gmane.linux.vdr
Message-ID <[email protected]>
Helmut Binder kirjoitti 29.11.2020 klo 15.11:
> On Sat, 28 Nov 2020 17:44:32 +0100
> Narcis Garcia <[email protected]> wrote:
> 
>> _________
>> I'm using this dedicated address because personal addresses aren't
>> masked enough at this mail public archive. Public archive administrator
>> should fix this against automated addresses collectors.
>> El 28/11/20 a les 17:33, Klaus Schmidinger ha escrit:
>>> On 28.11.20 17:30, Narcis Garcia wrote:
>>>> Hello,
>>>>
>>>> I've installed vdr from Raspbian packages, to use it with Kodi.
>>>> I've updated channels.conf by using w_scan2 for a DVB-T2 dongle. TV
>>>> channels are found.
>>>>
>>>> But I try to watch some channel and I get no data.
>>>
>>> Does the user id under which you run VDR have access to the
>>> DVB devices?
>>>
>>> Klaus
>>>
>>
>> $ ls -la /dev/dvb/adapter0/
>> total 0
>> drwxr-xr-x  2 root root      140 de nov.  28 15:57 .
>> drwxr-xr-x  3 root root       60 de nov.  28 15:57 ..
>> crw-rw----+ 1 root video 212,  4 de nov.  28 15:57 demux0
>> crw-rw----+ 1 root video 212,  5 de nov.  28 15:57 dvr0
>> crw-rw----+ 1 root video 212,  3 de nov.  28 15:57 frontend0
>> crw-rw----+ 1 root video 212, 19 de nov.  28 15:57 frontend1
>> crw-rw----+ 1 root video 212,  7 de nov.  28 15:57 net0
>>
> 
> This is a multi-frontend device. You need VDR-2.4.1 or newer - or at least this patch from here:
> https://www.vdr-portal.de/forum/index.php?thread/132190-patch-f%C3%BCr-multi-frontend-devices/&postID=1308966#post1308966
> 
> Helmut
> 
>> $ ps -A -o user,group,cmd | grep -ie vdr
>> vdradmi+ vdradmi+ vdradmind
>> pi       pi       grep --color=auto -ie vdr
>> vdr      vdr      /usr/bin/vdr
>>
>> $ groups vdr
>> vdr : vdr video
>>
>> I'm trying now with vdr-plugin-live : Same unsuccess result.
>>
>> _______________________________________________
>> vdr mailing list
>> [email protected]
>> https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
> 
> _______________________________________________
> vdr mailing list
> [email protected]
> https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
> 


You need to select correct frontend like this:

#!/bin/bash

var=$(dvb-fe-tool -a0 -f1 | grep 'Device' | awk '{print $3}')

echo 'A0 Second frontend is ' $var

if [ $var == 'MN88473' ]; then

echo 'A0 frontend is ' $var

mv /dev/dvb/adapter0/frontend0 /dev/dvb/adapter0/frontend2
mv /dev/dvb/adapter0/frontend1 /dev/dvb/adapter0/frontend0
mv /dev/dvb/adapter0/frontend2 /dev/dvb/adapter0/frontend1

fi

var=$(dvb-fe-tool -a0 -f0 | grep 'Device' | awk '{print $3}')

if [ $var == 'MN88473' ]; then

dvb-fe-tool -a0 -f0 -d DVBT2

dvb-fe-tool -a0 -f0 -g |grep DELIVERY

fi

************************
Second frontend with this adapter can handle DVBC/ANNEX_A too.

Vdr should know both frontends and use correct one and setup delivery 
system either by setup parameter or trying which one is working and 
prefer DVBT2. With satelite channnels it knows when to use S2. W_scan 
can handle this too.

Other version of this device can have CXD2837ER as second frontend name.

Timo

_______________________________________________
vdr mailing list
[email protected]
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr