Project

General

Profile

Two twin cards in system but only two frontends (wording correct?) available

Added by Gerd Hildebrand almost 8 years ago

I am using tvheadend for quite some time now (thanks for this great piece of software) on a Ubuntu 16.04-LTS box with a DigitalDevices Cine V5 card.
Recently, I added a DigitalDevices Cine V7 card. Both cards have twin inputs, so I should be able to record 4 channels at the same time. When trying to record the 3rd channel I get a an error message that there is no adapter available.
I have the impression that the tvheadend configuration was not updated correctly.

Here is what I see:

from lspci:
02:00.0 Multimedia video controller: Micronas Semiconductor Holding AG nGene PCI-Express Multimedia Controller
03:00.0 Multimedia controller: Digital Devices GmbH Cine V7

-> both cards are recognized

root@tvh:/dev/dvb$ ls lR
./adapter0:
insgesamt 0
crw-rw----+ 1 root video 212, 0 Feb 12 18:42 demux0
crw-rw----+ 1 root video 212, 1 Feb 12 18:42 dvr0
crw-rw----+ 1 root video 212, 3 Feb 12 18:42 frontend0
crw-rw----+ 1 root video 212, 2 Feb 12 18:42 net0

./adapter1:
insgesamt 0
crw-rw----+ 1 root video 212, 4 Feb 12 18:42 demux0
crw-rw----+ 1 root video 212, 5 Feb 12 18:42 dvr0
crw-rw----+ 1 root video 212, 7 Feb 12 18:42 frontend0
crw-rw----+ 1 root video 212, 6 Feb 12 18:42 net0

-> there are two adapaters with 1 frontend each, not sure if there should be two frontends associated with each adapter

In the tvheadend configuration page I see both cards, but with one item only, see snapshot attached.

Any recommendation? Should I reinstall tvheadend from scratch? I would like to avoid the effort to remove all the junk channels that are found but not needed.

Thanks for your help.


Replies (7)

RE: Two twin cards in system but only two frontends (wording correct?) available - Added by Joe User almost 8 years ago

Were there two tuners when you had just one card?
With just one card, were there two frontends?
What is the dmesg output?

RE: Two twin cards in system but only two frontends (wording correct?) available - Added by Gerd Hildebrand almost 8 years ago

When I just had one TV card with two tuners I remember that I could watch a TV channel and record another one at the same time.
I'm not sure, though, if there were two frontends visible.

The (relevant) output of dmesg is attached.

Thanks for your help.

dmesg.out (13.1 KB) dmesg.out

RE: Two twin cards in system but only two frontends (wording correct?) available - Added by Joe User almost 8 years ago

[    2.579189] ngene: disagrees about version of symbol dvb_dmxdev_init
[    2.579193] ngene: Unknown symbol dvb_dmxdev_init (err -22)
[    2.579208] ngene: disagrees about version of symbol dvb_ca_en50221_init
[    2.579209] ngene: Unknown symbol dvb_ca_en50221_init (err -22)
[    2.579258] ngene: disagrees about version of symbol dvb_dmx_release
[    2.579260] ngene: Unknown symbol dvb_dmx_release (err -22)
[    2.579266] ngene: disagrees about version of symbol dvb_ca_en50221_release
[    2.579268] ngene: Unknown symbol dvb_ca_en50221_release (err -22)
[    2.579291] ngene: Unknown symbol dvb_ringbuffer_write_user (err 0)
[    2.579294] ngene: disagrees about version of symbol dvb_net_init
[    2.579296] ngene: Unknown symbol dvb_net_init (err -22)
[    2.579298] ngene: disagrees about version of symbol dvb_dmx_swfilter
[    2.579299] ngene: Unknown symbol dvb_dmx_swfilter (err -22)
[    2.579304] ngene: disagrees about version of symbol dvb_dmxdev_release
[    2.579305] ngene: Unknown symbol dvb_dmxdev_release (err -22)
[    2.579313] ngene: disagrees about version of symbol dvb_frontend_detach
[    2.579314] ngene: Unknown symbol dvb_frontend_detach (err -22)
[    2.579317] ngene: disagrees about version of symbol dvb_net_release
[    2.579319] ngene: Unknown symbol dvb_net_release (err -22)
[    2.579321] ngene: disagrees about version of symbol dvb_unregister_frontend
[    2.579323] ngene: Unknown symbol dvb_unregister_frontend (err -22)
[    2.579328] ngene: disagrees about version of symbol dvb_register_frontend
[    2.579329] ngene: Unknown symbol dvb_register_frontend (err -22)
[    2.579332] ngene: disagrees about version of symbol dvb_dmx_init
[    2.579333] ngene: Unknown symbol dvb_dmx_init (err -22)
[    2.579340] ngene: disagrees about version of symbol cxd2099_attach
[    2.579341] ngene: Unknown symbol cxd2099_attach (err -22)

Looks like driver is not matched to your linux kernel. Not sure if that is the problem, but might be a good idea to update drivers. I never played with these cards, but here is a link to someone else's instructions for drivers:[[https://tvheadend.org/boards/5/topics/15440?r=15720#message-15720]]

RE: Two twin cards in system but only two frontends (wording correct?) available - Added by Gerd Hildebrand almost 8 years ago

Thanks for this hint.

I do have the newest drivers installed. And I noticed that the new V7 card is registered, not the old one. Furthermore, when I remove my old V5 card the error messages are gone.
So, I guess it has something to do with the mixed setup of two different types of cards. I contacted the manufacturer.

RE: Two twin cards in system but only two frontends (wording correct?) available - Added by Michael Stellmacher over 7 years ago

Hi Gerd,

I have exactly the same Problem.

An DD cine s2 v5.5
An DD cine S2 v6.5

Newest driver an the v6.5 is working, but the 5.5(ngene) gives me the same error.

Did you came further with help from the Manufacturer?

I tried the DKMS drivers an also the drivers build from source.

RE: Two twin cards in system but only two frontends (wording correct?) available - Added by Gerd Hildebrand over 7 years ago

Here's the recommendation from Digital Devices

Please try to use the media_build_experimental driver that was built by the user mango in the easyVDR forum. It is built for Ubuntu 14.04 (trusty) but should work for 16.04 as well:

https://launchpad.net/~mango-vdr/+archive/ubuntu/my-others

Prior to installation, please remove the dddvb driver and the extra.conf file:

sudo rm -rf /lib/modules/KERNELVERSION/extra
sudo rm /etc/depmod.d/extra.conf

With these drivers, both cards were recognized successfully, tvheadend showed 4 adapters. Everything looked fine, however, signal quality was so low on the new card (V7) that it could not be used. I could only watch TV with the old card.

I went back to the newest driver to be able to use the v7 card, and I'm still waiting for an answer from DD.

You could give this driver a try and let us know if it works for you.

RE: Two twin cards in system but only two frontends (wording correct?) available - Added by Michael Stellmacher over 7 years ago

I tried it, but doesnt work for me.

Iam thinking about to change my Kernel to an older one, maybe 3.16, in that case the driver for the 5.5 isnt already in Kernel.
maybe it works. I try it maybe this evening.

    (1-7/7)