What is the easiest way to get this driver into OpenSUSe 42.1?
- Anders Gustafsson
The Aaland Islands (N60 E20)
What is the easiest way to get this driver into OpenSUSe 42.1?
Hi
The easiest way would be to add kernel:stable which is at 4.8.1, else use the 4.8.1 source and build in tree, or create a KMP? I would guess those commits missed 4.4?
Am Mon, 10 Oct 2016 12:16:02 GMT
schrieb malcolmlewis <malcolmlewis@no-mx.forums.microfocus.com>:
> else use the 4.8.1 source and build in tree, or create a KMP?
Just tested it with sources from 4.8.1 and it compiled for 4.1.X without adding
extra patches, you need
dvbdev.h
and
dvb_frontend.h
from drivers/media/dvb-core
and
mn88473.c
mn88473.h
mn88473_priv.h
from media/dvb-frontends
plus a very simple Makefile like this one
obj-m += mn88473.o
all in the same directory,
make -C /lib/modules/$(uname -r)/build M=$(pwd) clean modules
make: Entering directory /usr/src/linux-4.1.33-1.gdd1494b-obj/i386/pae' LD /tmp/mn88473-4.8.1/built-in.o CC [M] /tmp/mn88473-4.8.1/mn88473.o Building modules, stage 2. MODPOST 1 modules CC /tmp/mn88473-4.8.1/mn88473.mod.o LD [M] /tmp/mn88473-4.8.1/mn88473.ko make: Leaving directory
/usr/src/linux-4.1.33-1.gdd1494b-obj/i386/pae’
Works for me™
> I would guess
> those commits missed 4.4?
Yup, looks like it was added in 4.5.
Never attribute to malice that which can be adequately explained by stupidity.
(R.J. Hanlon)
Added “mn88473” kmp packages (plus a firmware package which is mandatory for
this driver) for openSUSE 13.1,13.2 and 42.1:
http://download.opensuse.org/repositories/home:/Akoellh:/Kernelmodules/
If it still does not work, don’t blame me and report bugs/problems upstream.
AK
–
Never attribute to malice that which can be adequately explained by stupidity.
(R.J. Hanlon)
Well I am running:
tvburk:~ # uname -a
Linux tvburk 4.1.15-8-default #1 SMP PREEMPT Wed Jan 20 16:41:00 UTC
2016 (0e3b3ab) x86_64 x86_64 x86_64 GNU/Linux
As the box will not even boot with the later kernel… Just hangs.
Thanks. Let me try.
Ak,
> Added “mn88473” kmp packages (plus a firmware package which is mandatory for
> this driver) for openSUSE 13.1,13.2 and 42.
Thanks!
You could also have installed the latest set of v4l-dvb drivers by using the media build (see the v4l-dvb wiki on linuxtv for details)