Page 1 of 1

linux 5.14 (opensuse 15.4)

PostPosted: Fri Aug 26, 2022 12:53 am
by MrEd
Hi,

I start from tbs-open-linux-drivers_v20220424.zip/media_build-2022-04-24.tar.bz2 and have some issues.
I tar x then run ./build (of course build download last code version ;-))

- compiling error in
+ v4l/msi001.c
+ v4l/cxd2880-spi.c
+ v4l/gs1662.c
where remove type mismatch
I patched on the fly and remove changes from void to int

- compiling error in
+ v4l/videobuf2-dma-contig.c
+ v4l/videobuf2-dma-sg.c
+ videobuf2-vmalloc.c
where storage size of 'map' isn't known
this may be due to my concern about proposed kernel patches :oops:

I agree opensuse is usually late about kernel version... But I found the system more stable than some others :lol:

Especially for the remove issue, I don't understand how it works with other distributions...
I'll dig a bit trying to find the best place to add patches but if somebody already did it, I'll pleased to use patches already done :)

Thanx,
MrEd

Re: linux 5.14 (opensuse 15.4)

PostPosted: Mon Aug 29, 2022 2:13 am
by MrEd
Hi,

Woaw it's worst than I though :cry: ... After compilation and installation I lost usb audio (cheap device) and even a part of my screen (because of cec). The good thing is TBS is now working :) .
So I hope TBS drivers will be included a day in standard systems. Especially because I use my TBS6820 for years and it works well. Also, I didn't found any equivalent (some others, like cineS2, are EOL) for 2 tuners DVBT2.
Well I'm afraid the only working solution for today is to recompile the full kernel (things I'll certainly not do :? ).
If you have a better solution, I'm still candidate :geek:

KR,
MrEd

NB: to fix compiling error, I use source files from my current system sources, I just add a copy of theses sources to media_build between git upgrade and general make by editing the build file.

Re: linux 5.14 (opensuse 15.4)

PostPosted: Tue Aug 30, 2022 3:00 am
by crazycat
use current tbsdtv/media_build and install.sh script for configure/build/install

Re: linux 5.14 (opensuse 15.4)

PostPosted: Tue Dec 20, 2022 4:57 pm
by Delta
For Red Hat Enterprise Linux 9.1 (Kernel version 5.14.0-162.6.1):

Red Hat Enterprise Linux users will also encounter similar issues after upgrading their operating systems to the latest 9.1 release.

Some functions in the "videobuf2" source code need to be renamed due to kernel function updates.

A developer has submitted a patch to address this issue.

https://patchwork.kernel.org/project/linux-media/patch/20220128083626.3012259-5-lucas.demarchi%40intel.com/

However, when you use the "TBS Open Source Linux Driver Offline Package v20220424" for your driver installation, you will have to manually modify these 3 files (videobuf2-*.c) to pass the compilation.

It has been verified that Red Hat Enterprise Linux 9.1 (Kernel version 5.14.0-162.6.1) supports the installation with the "TBS Open Source Linux Driver Offline Package v20220424", and everything works fine, as long as you have manually patched the "videobuf2-*.c" files.

Re: linux 5.14 (opensuse 15.4)

PostPosted: Mon Jan 09, 2023 11:24 am
by zhangchao
hi ,

please add skype jack_2431. i will help you with opensusu .

best regards!