<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 01/12/2022 21:46, Klaas de Waal
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANcAQaMhnb7ntLqjOGAhMmsw8b4eTLWzYuUXCNGB5fuZKvdHxg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>After a new install of Fedora 37 with Linux kernel
6.something I found that the Linux drivers for the TBSDTV
cards are not updated anymore. According to the Wiki <a
href="https://github.com/tbsdtv/linux_media/wiki"
moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/tbsdtv/linux_media/wiki</a>
up to kernel 5.18 is supported. The last update of that page
is from 13 October.</div>
<div>The way TBSDTV does support Linux drivers is to let you
download, build and install a media_build tree patched with
support for the TBSDTV cards.</div>
<div>The media_build tree is from <a href="http://linuxtv.org"
moz-do-not-send="true">linuxtv.org</a>.</div>
<div>However, the media_build tree is removed from <a
href="http://linuxtv.org" moz-do-not-send="true">linuxtv.org</a>
as of 28 October because it is not supported anymore. See <a
href="https://git.linuxtv.org/media_build.git/commit/?id=67539ba78bf2c2f0f5cf46a1cab412e6487cbaec"
moz-do-not-send="true" class="moz-txt-link-freetext">https://git.linuxtv.org/media_build.git/commit/?id=67539ba78bf2c2f0f5cf46a1cab412e6487cbaec</a></div>
<div>This means that for the time being it is NOT a good idea to
upgrade beyond kernel 5.18 if you use TBSDTV cards.</div>
<div>Other than that I do not know anything but it could be that
there is a brand new project just around the corner... Has
been at least 15 years since I did anything in LInux
drivers....</div>
<div><br>
</div>
<div>Klaas.</div>
<div><br>
</div>
</div>
</blockquote>
<p>Hi Klaas,</p>
<p>I don't yet have Fedora 37, but it is still possible to compile
the drivers. After the 'make allyesconfig' I do the additional
commands:</p>
<p>sed -i -r 's/(^CONFIG.*_RC.*=)./\1n/g' v4l/.config<br>
sed -i -r 's/(^CONFIG.*_IR.*=)./\1n/g' v4l/.config<br>
sed -i -r 's/(^CONFIG_VIDEO_TDA1997X=)./\1n/g' v4l/.config<br>
sed -i -r 's/(^CONFIG_VIDEO_TM6000.*=)./\1n/g' v4l/.config</p>
<p>This lets the TBS drivers build successfully on
6.0.9-100.fc35.x86_64. I just removed any modules that didn't
compile and so far no critical module has failed. I don't know how
long this method will keep working for.</p>
<p>Andy</p>
<p><br>
</p>
</body>
</html>