Fedora Linux Support Community & Resources Center
Old 11th October 2017, 07:02 AM
Witgetsteinsbee Offline
Registered User
Join Date: Aug 2010
Posts: 85
Patching the TBS proprietary driver

Hi all,

This is actually quite a basic question about how to apply a patch to a directory, but it's probably best posted here

I'm running a TBS 6205 video card on Fedora 26 x86_64

After upgrading Fedora 26, I've had some problems getting the TBS proprietary drivers to compile in kernel 4.12.x

After some searching I came across this thread, the top post of which contains a patch to fix the problem in archlinux https://aur.archlinux.org/packages/tbs-dvb-drivers/

Applying the changes fixes the problem, and I'm hoping to post this information on the linuxtv website, however the patch changes many files and I'm not sure how to apply it using "patch" - I made the changes it requests manually, but it changes a lot of files, and it's quite laborious.

How can this patch be applied using the patch command?

Many thanks.
Reply With Quote
Old 11th October 2017, 07:59 AM
srakitnican Offline
Registered User
Join Date: Oct 2011
Posts: 1,577
Re: Patching the TBS proprietary driver

Go to the root directory that contains linux/, from the Arch page it is `linux-tbs-drivers`

$ cd linux-tbs-drivers
Apply the patch with

$ patch -p1 < /path/to/patch.diff
`-p1` tells patch to strip the leading directory so the path effectively becomes `linux/drivers/media...`. This should also be the default, so leaving it out should achieve the same. This way directory containing the sources can be named with a different name.
Reply With Quote
Old 11th October 2017, 03:55 PM
Witgetsteinsbee Offline
Registered User
Join Date: Aug 2010
Posts: 85
Re: Patching the TBS proprietary driver

Great, many thanks for this info
Reply With Quote

driver , patching , proprietary , tbs

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ati proprietary driver..... davfel Hardware & Laptops 3 25th November 2013 12:21 AM
ati proprietary driver nemesisinfinity Using Fedora 15 7th June 2009 05:20 AM
Fedora 6 ATI driver and livna proprietary driver jonathonp Using Fedora 1 14th May 2007 08:59 PM
patching a driver Ludicrous Hardware & Laptops 9 18th February 2006 01:33 AM
Patching C-Media 3837 sound driver module SilverWizardry Hardware & Laptops 0 7th April 2005 02:49 PM

Current GMT-time: 12:59 (Wednesday, 18-10-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat