Moderator Control Panel ]

Driver and 6981 (CX23885) kernel 5.3.0-26 (Ubuntu 18.04)

Driver and 6981 (CX23885) kernel 5.3.0-26 (Ubuntu 18.04)

Postby nicks272 » Mon Jan 20, 2020 11:55 pm

I have an existing PC with two PCIe cards:
TBS6280 Dual DVB-T2
TBS6981 Dual DVB-S2
that has been working fine with Mythbuntu 14.04 and the proprietary TBS drivers.

Now I have a fresh install of Xubuntu 18.04.3 amd64 on this machine (with all the Ubuntu updates) but I cannot get both of the cards to be registered at the same time.

Code: Select All Code
$ uname -a
Linux htpc 5.3.0-26-generic #28~18.04.1-Ubuntu SMP Wed Dec 18 16:40:14 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux


With the default kernel modules, only the 6981 card is registered, with the cx23885 kernel driver in use:

Code: Select All Code
$ sudo lspci -v | grep -A10 "Multimedia"
02:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder (rev 04)
   Subsystem: Device 6981:8888
   Flags: bus master, fast devsel, latency 0, IRQ 17, NUMA node 0
   Memory at fe800000 (64-bit, non-prefetchable) [size=2M]
   Capabilities: [40] Express Endpoint, MSI 00
   Capabilities: [80] Power Management version 2
   Capabilities: [90] Vital Product Data
   Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
   Capabilities: [100] Advanced Error Reporting
   Capabilities: [200] Virtual Channel
   Kernel driver in use: cx23885
--
03:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 03)
   Subsystem: Device 6280:0011
   Flags: bus master, fast devsel, latency 0, IRQ 11, NUMA node 0
   Memory at fea00000 (64-bit, non-prefetchable) [size=1M]
   Capabilities: [40] MSI: Enable- Count=1/32 Maskable- 64bit+
   Capabilities: [50] Express Endpoint, MSI 00
   Capabilities: [74] Power Management version 2
   Capabilities: [80] Vendor Specific Information: Len=50 <?>
   Capabilities: [100] Vendor Specific Information: ID=0000 Rev=0 Len=088 <?>
   Kernel modules: saa716x_tbs_dvb


After downloading and building the driver as described at https://github.com/tbsdtv/linux_media/wiki the opposite happens... the 6280 card is now registered with the "SAA716x Budget" kernel driver in use, but the 6981 card ceases to be registered:

Code: Select All Code
$ sudo lspci -v | grep -A10 "Multimedia"
[sudo] password for nick:
02:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder (rev 04)
   Subsystem: Device 6981:8888
   Flags: bus master, fast devsel, latency 0, IRQ 10, NUMA node 0
   Memory at fe800000 (64-bit, non-prefetchable) [size=2M]
   Capabilities: [40] Express Endpoint, MSI 00
   Capabilities: [80] Power Management version 2
   Capabilities: [90] Vital Product Data
   Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
   Capabilities: [100] Advanced Error Reporting
   Capabilities: [200] Virtual Channel
   Kernel modules: cx23885
--
03:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 03)
   Subsystem: Device 6280:0011
   Flags: bus master, fast devsel, latency 0, IRQ 18, NUMA node 0
   Memory at fea00000 (64-bit, non-prefetchable) [size=1M]
   Capabilities: [40] MSI: Enable- Count=1/32 Maskable- 64bit+
   Capabilities: [50] Express Endpoint, MSI 00
   Capabilities: [74] Power Management version 2
   Capabilities: [80] Vendor Specific Information: Len=50 <?>
   Capabilities: [100] Vendor Specific Information: ID=0000 Rev=0 Len=088 <?>
   Kernel driver in use: SAA716x Budget
   Kernel modules: saa716x_tbs_dvb


Code: Select All Code
$ sudo modprobe -v cx23885
insmod /lib/modules/5.3.0-26-generic/kernel/drivers/media/v4l2-core/v4l2-common.ko
modprobe: ERROR: could not insert 'cx23885': Exec format error


This remains the same even after installing the tbs-tuner-firmwares_v1.0.tar.bz2 as described at the link above, and additionally installing the cx24117 firmware, as described at https://github.com/tbsdtv/linux_media/wiki/CX24117-firmware .

When I reinstall the linux kernel packages (headers, image, modules) the behaviour reverts back to the first situation, with the 6981 card registered but the 6280 card not registered.

Please can you advise how to fix this so that both cards are correctly registered.
nicks272
 
Posts: 8
Joined: Tue May 15, 2012 11:47 pm

Re: Driver and 6981 (CX23885) kernel 5.3.0-26 (Ubuntu 18.04

Postby steven » Wed Jan 22, 2020 7:00 pm

Hi Sir

Maybe you can think about using kernel blow 4.10 and use this pacakge :
1.wget http://www.tbsiptv.com/download/common/tbs-linux-drivers_v170330.zip
2.unzip tbs-linux-drivers_v170330.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

Thanks

Kind Regards

steven
steven
 
Posts: 2074
Joined: Fri Aug 06, 2010 3:23 pm


Return to Linux

Who is online

Users browsing this forum: No registered users and 2 guests

cron