Project

General

Profile

Only one out of two tv-cards is working

Added by Mr Johnzered about 5 years ago

Hi,

My problem is not directly a problem in TVHeadend but rather more of a general setup error on my side. But as I'm new to both Linux and TVHeadend I thought I start here.

I've got a FloppyDTV-C and a TBS6618 card. The FloppyDTV driver is included in the kernel (firedtv.ko) and therefore worked out of the box. I have Ubuntu 16.04 LTS installed on my tv-server. However the TBS6618 needs to be manually installed.

I first followed this guide: https://www.tbsdtv.com/forum/viewtopic.php?f=77&t=25109#p54499
And I was able to install the driver for TBS6618 but once the driver for the TBS card was installed the FloppyDTV card disappeard. I thought it might have something todo with the removal of the media-folder so I then used an older driver which did not require the removal of the media-folder:

1. wget http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v160126.zip
2. unzip tbs-linux-drivers_v160126.zip
3. tar jxvf linux-tbs-drivers.tar.bz2
4. cd linux-tbs-drivers
5. ./v4l/tbs-x86_64.sh
6. make -j4
7. make install
8. restart

But the end result is the same, once I install the tbs-driver the floppydtv disappers.

I have tried "eveything" I can with my very basic Linux knowledge but feel that I've now come to the point that I need help.

Is there anybody here able to assist me on this case?


Replies (10)

RE: Only one out of two tv-cards is working - Added by saen acro about 5 years ago

Tbs destroy support to any else brand drivers
until they not start to make own modul and not destroying media tree result will be same

try HWE kernel
Desktop

sudo apt-get install --install-recommends linux-generic-hwe-16.04 xserver-xorg-hwe-16.04

Server
sudo apt-get install --install-recommends linux-generic-hwe-16.04

RE: Only one out of two tv-cards is working - Added by Mr Johnzered about 5 years ago

Thanks for your reply! I tested what you suggested but unfortunately it didn't have the outcome I was hoping for. Before running the command I had the TBS card installed as adapter0 after the installation of Linux-generic-hwe I lost the tbs card and the floppydtv was back.

Is it impossible to have both working simultaneously because of the way tbs is doing things?

RE: Only one out of two tv-cards is working - Added by saen acro about 5 years ago

The problem is when install tbs it delete drivers folder

/lib/modules/`uname -r`/kernel/drivers/media/*

including floppydtv driver
also not make copy in save place.

RE: Only one out of two tv-cards is working - Added by Joe User about 5 years ago

It is not clear whether the TBS driver install has removed the driver for the firedtv module or it has replaced it with one which is not working for your card.

With a stock kernel and modules (before TBS install) and the floppydtv device working, post the output of "dmesg" and "lsmod", and backup the "/lib/modules/`uname -r`/kernel/drivers/media/" directory. Then install the TBS drivers and again post the output of "dmesg" and "lsmod". This should give you a better idea of why it is failing. It might be possible to just restore the original firedtv.ko module, but it might be incompatible with other modules...

Note: BOTH methods of installing the TBS driver replaces the media directory tree.

RE: Only one out of two tv-cards is working - Added by Mr Johnzered about 5 years ago

Hi Joe,

I did as you proposed, attached are the output of "dmesg" and "lsmod". From the dmesg_after.log I see the following:

[   11.236982] Driver 'firedtv' needs updating - please use bus_type methods
[   11.236998] BUG: unable to handle kernel NULL pointer dereference at           (null)

Not really sure how to solve this? I did try to copy paste back the backed up firedtv.ko, but then I got this error (dmesg_after2.log):

firedtv: disagrees about version of symbol dvb_dmxdev_init

I noticed that the directory structure has changed as well. Before the tbs install most directories were in the "media" folder but now they are under a new sub folder under media named "dvb". But maybe that's just cosmetics?

My test today was with v170330 driver, should I do the same with v160126 or is there something else that can be done?

Any help is highly appreciated!

RE: Only one out of two tv-cards is working - Added by saen acro about 5 years ago

It's general TBS problen

One of cards I use have oposit polarization after TVS driver installed,
good that after newer kernels tbs card are in kernel and problem was fixed.

RE: Only one out of two tv-cards is working - Added by Joe User about 5 years ago

Sorry, but it looks like you are out of luck. From your dmesg error, I found this:
https://github.com/bas-t/descrambler/issues/12

Looks like a patch was attempted, but did not work to get the two working together. (unfortunately he also removed the patch)

Older drivers will probably be the same, but it might be worth a try. Other option is to try a newer kernel and latest TBS drivers???

RE: Only one out of two tv-cards is working - Added by Mr Johnzered almost 5 years ago

Hi Joe,

Thank you for your reply and sorry for not getting back to you until now.

Too bad it's not possible to get both cards working at the same time. And unfortunately as far as I can tell, 170330 is the latest driver version. There is also an open source driver initiative: https://github.com/tbsdtv/linux_media

Do you know if the that driver also "suffers" from the same issue? Currently the open source dirver doesn't even support the TBS 6618 (https://github.com/tbsdtv/linux_media/issues/139) but hopefully this will change in the future.

RE: Only one out of two tv-cards is working - Added by Joe User almost 5 years ago

Mr Johnzered wrote:

Do you know if the that driver also "suffers" from the same issue?

Unfortunately, yes, they both completely replace the "media" directory.

RE: Only one out of two tv-cards is working - Added by Mr Johnzered almost 5 years ago

Ok, thanks for the clarification. I will try to reach out to tbs and see if they can assist in some way.

    (1-10/10)