From 2805db5ffcb5d4022d6bd797e58b97400ecad2d7 Mon Sep 17 00:00:00 2001 From: Ulf Hofemeier Date: Fri, 21 Mar 2014 11:16:04 -0700 Subject: [PATCH] Load kernel module for MPX-885 card fixing TIVI-2713 With no PCI subsystem ID we tell the cx23885 driver the MPX-885 video caputuring card is used. Change-Id: I2cf1b81d3085b9da106cce598f854e45e290363d --- packaging/hwdata.spec | 22 ++++++++++++++++++---- video.conf | 1 + 2 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 video.conf diff --git a/packaging/hwdata.spec b/packaging/hwdata.spec index 735b59e..b56de98 100644 --- a/packaging/hwdata.spec +++ b/packaging/hwdata.spec @@ -11,16 +11,24 @@ BuildArch: noarch Provides: pciutils-ids Source1001: hwdata.manifest -%description -hwdata contains various hardware identification and configuration data, -such as the pci.ids database and MonitorsDb databases. +%package ivi +Summary: IVI platform specific configurations files +Requires: %{name} + + +%description +This package contains various platform specific configuration files. + +%description ivi +This package contains various IVI specific configuration files. %prep %setup -q -n hwdata-%{version}-1 -cp %{SOURCE1001} . %build %configure +cp %{SOURCE1001} . + %install %make_install @@ -28,6 +36,9 @@ cp %{SOURCE1001} . mv %{buildroot}%{_libdir}/modprobe.d/dist-blacklist.conf \ %{buildroot}%{_sysconfdir}/modprobe.d/blacklist.conf rm -rf %{buildroot}%{_libdir} +install -m644 blacklist.conf %{buildroot}/%{_sysconfdir}/modprobe.d +install -m644 video.conf %{buildroot}/%{_sysconfdir}/modprobe.d + %files %manifest %{name}.manifest @@ -35,3 +46,6 @@ rm -rf %{buildroot}%{_libdir} %config(noreplace) %{_sysconfdir}/modprobe.d/blacklist.conf %dir %{_datadir}/%{name} %{_datadir}/%{name}/* + +%files ivi +%config(noreplace)%{_sysconfdir}/modprobe.d/video.conf diff --git a/video.conf b/video.conf new file mode 100644 index 0000000..36dbfb9 --- /dev/null +++ b/video.conf @@ -0,0 +1 @@ +options cx23885 card=32 -- 2.7.4