Ville Aakko wrote:
> Hi,
>
> I have an Octopus DDBridge with dual DVB C/T (might be T2 but I don't remember for sure) tuners. I only watch and record DVB-C broadcasts.
>
> Usually (without any module loading parameters) there will be two subdirectories created:
>
>
> $ ls /dev/dvb/*
>
>
/dev/dvb/adapter0:
>
demux0 dvr0 frontend0 net0
>
>
/dev/dvb/adapter1:
>
demux0 dvr0 frontend0 net0
>
> The ddbridge module has preliminary support for a hardware CAM (which I don't care for now actually since the service / channels available here are c*ap, overprized and require a CI+ for anything worth watching, if it wasn't overprized). However, the recommended way to use these devices with the hardware CAM is to use the adapter_alloc=3 module parameter, which will result in all frontends residing in the same adapter subdirectory (along with redirecting the stream trough the CAM):
>
>
$ ls /dev/dvb/*
> demux0 demux1 dvr0 dvr1 frontend0 frontend1 net0 net1
>
>
> (obviosly I have not connected the CAM to the octopus at the moment).
>
> However, it seems that with all frontends in one directory, tvheadend does not seem to like this setup:
>
>
maalis 05 00:29:00 ArkkiVille tvheadend[28551]: linuxdvb: adapter 0 has multiple tuners 2 for type DVB-T, only one can be used at a time
> maalis 05 00:29:00 ArkkiVille tvheadend[28551]: linuxdvb: adapter 0 has multiple tuners 2 for type DVB-C, only one can be used at a time
>
> In any case, recording channels from two different muxes fails.
>
> However, without the adapter_alloc parameter (or with the right given for it value), with frontend device nodes in their own adapter directories, recording channels from different muxes succeeds.
>
> But with Linuxdvb tools, tuning is possible even in the case of multiple frontends in the same adapter dir, simultaneously. Probably zapping etc. also, but haven't acttually tried it.
>
> From 'modinfo ddbridge':
>
>
parm: adapter_alloc:0-one adapter per io, 1-one per tab with io, 2-one per tab, 3-one for all (int)
>
> AFAICT, tvheadend just silently gives up. According to status view and logs, it doesn't even try to use the tuners in the configuration case.
>
>
+The question is:+Is tvheadends behaviour intentional, or just unnecessarily restrictive? Or, perhaps the ddbridge module is doing something that is not according to the linux-dvb spec?
>
> I believe that in an earlier tvheadend version, using both tuners simultaneously was possible with adapter_alloc=3, but I may be mistaken.
>
> I'm using tvheadend-4.0.8-1 (from Arch Linuxs AUR) - there is a git PKGBUILD available, too, if you think I should try current GIT.
>
> Cheers!
Most cards/devices only allow one frontend per tuner to be used at a time looks like your card is an exception to the "rule".