[mythtv-users] Compile kernel for TeVii S482
Larry Finger
Larry.Finger at lwfinger.net
Sat Mar 21 18:03:58 UTC 2015
On 03/20/2015 03:44 PM, Josu Lazkano wrote:
> Hello,
>
> I created the wiki in linuxtv for the TeVii S482 DVB-S2 twin device:
> http://www.linuxtv.org/wiki/index.php?title=TeVii_S482
>
> Some update the page with a patch about how to compile it in recent
> kernels. I am using Debian Jessie but I can not get it working.
>
> Anyone could help with this issue?
>
> This is how I compile it:
>
> apt-get install linux-headers-`uname -r`
> apt-get install linux-source
> cd /usr/src/
> tar -xJf linux-source-3.16.tar.xz
> cd linux-source-3.16/
> patch -p1 < tevii.patch [http://paste.debian.net/162334/]
> cp /boot/config-`uname -r` .config
> cp ../linux-headers-`uname -r`/Module.symvers .
> make oldconfig
> make prepare
> make scripts
> make modules SUBDIRS=drivers/media/usb/dvb-usb/
>
> The last command give an error output: http://paste.debian.net/162335/
>
> How could I fix it? When executing "patch" there is a strange output,
> maybe it is not patching well.
As no one else seems to be replying, I'll take a stab.
First of all, the patch applied cleanly on my mainline 4.0-rc4 source. Patch
offsets are no problem, but if there is fuzz, you do need to check the patched
source around line 1409 to see if it differs from what the patch intended. If
you are not familiar with patches, any line that starts with a minus is to be
removed. Those with a plus are to be added, while those that start with a space
are left alone. Check that routine m88ds3103_frontend_attach() is OK.
After applying the patch cleanly, my source compiled with no errors. I'm not
sure what has happened to your kernel build, but I would find out what is wrong
with your patch.
Larry
More information about the mythtv-users
mailing list