DVB-T USB stick issue after installing pci-e dvb-s2 TBS card
Added by Lukasz Nowak almost 9 years ago
Dear All!
I've experienced issue with my DVB-T card for which I cannot google any answer Please advise, here it is:
I have USB DVB-T stick on IT9135 - dual tuner. It worked fine on lubuntu 15.10 with tvheadend.
Then I added PCI-E dvb-s2 card - also dual - TBS 6982. And it works fine too but with it dvb-t stop working.
It looks like it is removed and added in loop, dmesg returns:
[ 1695.360847] DVB: registering adapter 2 frontend 0 (ITE 9135(9006) Generic_2)...
[ 1696.218322] DVB: registering adapter 0 frontend 0 (ITE 9135(9006) Generic_1)...
[ 1697.100650] DVB: registering adapter 2 frontend 0 (ITE 9135(9006) Generic_2)...
[ 1697.939457] DVB: registering adapter 0 frontend 0 (ITE 9135(9006) Generic_1)...
[ 1698.805432] DVB: registering adapter 2 frontend 0 (ITE 9135(9006) Generic_2)...
[ 1699.666551] DVB: registering adapter 0 frontend 0 (ITE 9135(9006) Generic_1)...
[ 1700.516487] DVB: registering adapter 2 frontend 0 (ITE 9135(9006) Generic_2).
when log in tvheadend:
2015-11-26 22:14:54.677 linuxdvb: adapter removed /dev/dvb/adapter0
2015-11-26 22:14:54.681 linuxdvb: adapter removed /dev/dvb/adapter2
2015-11-26 22:14:55.266 linuxdvb: adapter added /dev/dvb/adapter0
2015-11-26 22:14:56.351 linuxdvb: adapter added /dev/dvb/adapter2
2015-11-26 22:14:56.407 linuxdvb: adapter removed /dev/dvb/adapter0
2015-11-26 22:14:56.413 linuxdvb: adapter removed /dev/dvb/adapter2
2015-11-26 22:14:56.952 linuxdvb: adapter added /dev/dvb/adapter0
2015-11-26 22:14:57.883 linuxdvb: adapter added /dev/dvb/adapter2
2015-11-26 22:14:58.133 linuxdvb: adapter removed /dev/dvb/adapter0
Adapter 0 and 2 are adapters for dvb-t. 1 and 3 are assigned to dvb-s and they work fine.
As I mentioned before installing dvb-s dvb-t worked fine on adapter 0 and 1. But they don't seem to be in conflict now, different number are assigned to particular tuner.
Could you please advise how can I handle that?
Many thanks!
Replies (5)
RE: DVB-T USB stick issue after installing pci-e dvb-s2 TBS card - Added by Mark Clarkstone almost 9 years ago
It could be a driver problem or a power one. To test if it's a power issue plug something else in and see if that screws up too, disconnect the DVB one first and use something other than a DVB USB tuner.
As for the possibility of it being a driver problem, I'm going to guess you've installed TBS' awful drivers. After you installed the card but BEFORE you installed the drivers was the DVB-T device okay?
If the latter is the case then it looks like the media_tree TBS uses for their drivers has a bug that's not present in your kernels version of media_tree (TBS uses old media_tree code, how old no one knows..).
The good news for you is you can use ljalves open source drivers for your TBS card, see https://github.com/ljalves/linux_media/wiki on how to install those (click the pages drop down on the right).
RE: DVB-T USB stick issue after installing pci-e dvb-s2 TBS card - Added by Lukasz Nowak almost 9 years ago
Thanks for advice, it can be a good track. Before install dvb-s card my dvb-t worked fine. Power maybe be the reason - dvb-s card has a socket for power supply but I didn't connect it (no free plug in my PSU, need to buy cluster). DVB-S still works fine without this power supply but maybe there is no enough power for DVB-T stick...
Apart of that is there any advantage of using open-source driver instead of the one provided by TBS?
RE: DVB-T USB stick issue after installing pci-e dvb-s2 TBS card - Added by Lukasz Nowak almost 9 years ago
I've tried to install open source driver according to:
https://github.com/ljalves/linux_media/wiki/Installating
but command "make" after minutes return me an error:
/home/lukasz/media_build/v4l/adp1653.c: In function 'adp1653_of_init':
/home/lukasz/media_build/v4l/adp1653.c:468:20: error: too few arguments to function 'devm_gpiod_get'
pd->enable_gpio = devm_gpiod_get(&client->dev, "enable");
^
In file included from /home/lukasz/media_build/v4l/adp1653.c:39:0:
include/linux/gpio/consumer.h:73:32: note: declared here
struct gpio_desc _must_check devm_gpiod_get(struct device *dev,
^
scripts/Makefile.build:264: recipe for target '/home/lukasz/media_build/v4l/adp1653.o' failed
make3: [/home/lukasz/media_build/v4l/adp1653.o] Error 1
Makefile:1378: recipe for target '_module_/home/lukasz/media_build/v4l' failed
make2: [_module_/home/lukasz/media_build/v4l] Error 2
make2: Leaving directory '/usr/src/linux-headers-4.3.0-040300-generic'
Makefile:51: recipe for target 'default' failed
make1: [default] Error 2
make1: Leaving directory '/home/lukasz/media_build/v4l'
Makefile:26: recipe for target 'all' failed
make: * [all] Error 2_
Could you please advise what am I doing wrong? My kernel is 4.3.
Thanks!
RE: DVB-T USB stick issue after installing pci-e dvb-s2 TBS card - Added by Mark Clarkstone almost 9 years ago
Lukasz Nowak wrote:
I've tried to install open source driver according to:
https://github.com/ljalves/linux_media/wiki/Installatingbut command "make" after minutes return me an error:
/home/lukasz/media_build/v4l/adp1653.c: In function 'adp1653_of_init':
/home/lukasz/media_build/v4l/adp1653.c:468:20: error: too few arguments to function 'devm_gpiod_get'
pd->enable_gpio = devm_gpiod_get(&client->dev, "enable");
In file included from /home/lukasz/media_build/v4l/adp1653.c:39:0:
include/linux/gpio/consumer.h:73:32: note: declared here
struct gpio_desc _must_check devm_gpiod_get(struct device *dev,
scripts/Makefile.build:264: recipe for target '/home/lukasz/media_build/v4l/adp1653.o' failed
make3: [/home/lukasz/media_build/v4l/adp1653.o] Error 1
Makefile:1378: recipe for target '_module_/home/lukasz/media_build/v4l' failed
make2: [_module_/home/lukasz/media_build/v4l] Error 2
make2: Leaving directory '/usr/src/linux-headers-4.3.0-040300-generic'
Makefile:51: recipe for target 'default' failed
make1: [default] Error 2
make1: Leaving directory '/home/lukasz/media_build/v4l'
Makefile:26: recipe for target 'all' failed
make: * [all] Error 2_Could you please advise what am I doing wrong? My kernel is 4.3.
Thanks!
Looks like you found a bug in the code with a newer kernel, I'd post that error on ljalves issue tracker, in the meantime try a longterm kernel instead 3.18.24 maybe.
RE: DVB-T USB stick issue after installing pci-e dvb-s2 TBS card - Added by Lukasz Nowak almost 9 years ago
Thanks!
I need a 4.3 kernel so need to use the original drivers, however out of curiosity I will check older kernel with opensource and check how it cooperate with dvb-t tuner.
BTW - when install original driver I have to run command ./v4l/tbs-x86_64.sh to setup target architecture. It is not necessary when make opensource driver, right?
EDIT: Confirm that on 4.2 kernel and open source drivers for TBS it works fine together with DVB-T stick, no extra power needed for TBS.