mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 14:37:59 +00:00
driver.dvb: initial hauppauge package
This commit is contained in:
parent
b807b84ad0
commit
6d1d830638
@ -17,8 +17,8 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="media_tree"
|
||||
PKG_VERSION="2017-11-14-f2ecc3d0787e"
|
||||
PKG_SHA256="54aaa4cb2ab34804f42410dd461e587ecae36bd808c6e4accb3bcdae8c04579b"
|
||||
PKG_VERSION="2017-12-06-b32a2b42f76c"
|
||||
PKG_SHA256="90a6b5b015bbb5583a6c72880f8b89ed8b3671ca64c713a00ec3467fbb84cdc4"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://git.linuxtv.org/media_tree.git"
|
||||
|
2
packages/linux-driver-addons/dvb/hauppauge/changelog.txt
Executable file
2
packages/linux-driver-addons/dvb/hauppauge/changelog.txt
Executable file
@ -0,0 +1,2 @@
|
||||
100
|
||||
- Initial add-on
|
BIN
packages/linux-driver-addons/dvb/hauppauge/icon/icon.png
Normal file
BIN
packages/linux-driver-addons/dvb/hauppauge/icon/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
51
packages/linux-driver-addons/dvb/hauppauge/package.mk
Normal file
51
packages/linux-driver-addons/dvb/hauppauge/package.mk
Normal file
@ -0,0 +1,51 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016-present Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="hauppauge"
|
||||
PKG_VERSION="f5a5e5e"
|
||||
PKG_SHA256="6a3167c9990fa96838f4746861edb4d4e656739ea08d4f993e54becb9f2e9ab2"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://git.linuxtv.org/media_build.git"
|
||||
PKG_URL="https://git.linuxtv.org/media_build.git/snapshot/${PKG_VERSION}.tar.gz"
|
||||
PKG_SOURCE_DIR="${PKG_VERSION}"
|
||||
PKG_DEPENDS_TARGET="toolchain linux media_tree"
|
||||
PKG_NEED_UNPACK="$LINUX_DEPENDS media_tree"
|
||||
PKG_SECTION="driver.dvb"
|
||||
PKG_LONGDESC="DVB drivers for Hauppauge"
|
||||
|
||||
PKG_IS_ADDON="yes"
|
||||
PKG_ADDON_IS_STANDALONE="yes"
|
||||
PKG_ADDON_NAME="DVB drivers for Hauppauge"
|
||||
PKG_ADDON_TYPE="xbmc.service"
|
||||
PKG_ADDON_VERSION="${ADDON_VERSION}.${PKG_REV}"
|
||||
|
||||
pre_make_target() {
|
||||
export KERNEL_VER=$(get_module_dir)
|
||||
export LDFLAGS=""
|
||||
}
|
||||
|
||||
make_target() {
|
||||
cp -RP $(get_build_dir media_tree)/* $PKG_BUILD/linux
|
||||
make VER=$KERNEL_VER SRCDIR=$(kernel_path) stagingconfig
|
||||
make VER=$KERNEL_VER SRCDIR=$(kernel_path)
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
install_driver_addon_files "$PKG_BUILD/v4l/"
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
diff --git a/v4l/Makefile b/v4l/Makefile
|
||||
--- a/v4l/Makefile
|
||||
+++ b/v4l/Makefile
|
||||
@@ -51,7 +51,6 @@ default:: prepare firmware
|
||||
@echo Kernel build directory is $(OUTDIR)
|
||||
$(MAKE) -C ../linux apply_patches
|
||||
$(MAKE) -C $(OUTDIR) SUBDIRS=$(PWD) $(MYCFLAGS) modules
|
||||
- ./scripts/rmmod.pl check
|
||||
# $(MAKE) checkpatch
|
||||
|
||||
mismatch:: prepare firmware
|
@ -0,0 +1,11 @@
|
||||
--- a/backports/backports.txt
|
||||
+++ b/backports/backports.txt
|
||||
@@ -25,6 +25,8 @@ add api_version.patch
|
||||
add pr_fmt.patch
|
||||
add debug.patch
|
||||
add drx39xxj.patch
|
||||
+add temp_revert.patch
|
||||
+add hauppauge.patch
|
||||
|
||||
[4.10.255]
|
||||
add v4.10_sched_signal.patch
|
17
packages/linux-driver-addons/dvb/hauppauge/source/default.py
Normal file
17
packages/linux-driver-addons/dvb/hauppauge/source/default.py
Normal file
@ -0,0 +1,17 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2017-present Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,30 @@
|
||||
reverted: pvrusb2: properly check endpoint types
|
||||
|
||||
--- b/drivers/media/usb/pvrusb2/pvrusb2-hdw.c
|
||||
+++ a/drivers/media/usb/pvrusb2/pvrusb2-hdw.c
|
||||
@@ -3648,12 +3648,6 @@
|
||||
hdw);
|
||||
hdw->ctl_write_urb->actual_length = 0;
|
||||
hdw->ctl_write_pend_flag = !0;
|
||||
- if (usb_urb_ep_type_check(hdw->ctl_write_urb)) {
|
||||
- pvr2_trace(
|
||||
- PVR2_TRACE_ERROR_LEGS,
|
||||
- "Invalid write control endpoint");
|
||||
- return -EINVAL;
|
||||
- }
|
||||
status = usb_submit_urb(hdw->ctl_write_urb,GFP_KERNEL);
|
||||
if (status < 0) {
|
||||
pvr2_trace(PVR2_TRACE_ERROR_LEGS,
|
||||
@@ -3678,12 +3672,6 @@
|
||||
hdw);
|
||||
hdw->ctl_read_urb->actual_length = 0;
|
||||
hdw->ctl_read_pend_flag = !0;
|
||||
- if (usb_urb_ep_type_check(hdw->ctl_read_urb)) {
|
||||
- pvr2_trace(
|
||||
- PVR2_TRACE_ERROR_LEGS,
|
||||
- "Invalid read control endpoint");
|
||||
- return -EINVAL;
|
||||
- }
|
||||
status = usb_submit_urb(hdw->ctl_read_urb,GFP_KERNEL);
|
||||
if (status < 0) {
|
||||
pvr2_trace(PVR2_TRACE_ERROR_LEGS,
|
Loading…
x
Reference in New Issue
Block a user