Package Details: magewell-pro-capture-dkms 1.3.0.4285-1

Git Clone URL: https://aur.archlinux.org/magewell-pro-capture-dkms.git (read-only, click to copy)
Package Base: magewell-pro-capture-dkms
Description: Driver for Magewell Pro Capture Family
Upstream URL: https://www.magewell.com/downloads/pro-capture#/driver/linux-x86
Licenses: unknown
Conflicts: magewell-pro-capture
Submitter: Jat
Maintainer: Jat
Last Packager: Jat
Votes: 2
Popularity: 0.000001
First Submitted: 2020-06-10 04:41 (UTC)
Last Updated: 2022-06-28 17:27 (UTC)

Latest Comments

Retro64XYZ commented on 2022-07-06 05:16 (UTC)

When installing I get the following error -

==> ERROR: Missing 5.9.16-1-MANJARO kernel modules tree for module magewell-pro-capture/4285.

Trying to install the headers does not work as they appear unavailable. Any tips?

Currently running 5.15.50-1-MANJARO

Jost commented on 2022-06-28 13:07 (UTC) (edited on 2022-06-28 13:42 (UTC) by Jost)

kernel module build fails for new version: Pakete (1) magewell-pro-capture-dkms-1.3.0.4236-1

Deprecated feature: REMAKE_INITRD

Building module: cleaning build area... make -j4 KERNELRELEASE=5.18.5-arch1-1......(bad exit status: 2) Error! Bad return status for module build on kernel: 5.18.5-arch1-1 (x86_64) Consult /var/lib/dkms/magewell-pro-capture/4236/build/make.log for more information.

Edit: The deprecation error can be fixed by manually editing /var/lib/dkms/magewell-pro-capture/4236/source/dkms.conf and simply deleting the offending line (since "no" is the default anyway).

Unfortunately, the build still fails, with gcc complaining about implicitly declared functions:

/var/lib/dkms/magewell-pro-capture/4236/build/sources/avstream/capture.c:291:14: Fehler: Implizite Deklaration der Funktion »pci_set_dma_mask« [-Werror=implicit-function-declaration] 291 | !pci_set_dma_mask(pdev, DMA_BIT_MASK(64))) {

ariaverge commented on 2022-06-14 02:21 (UTC)

I contacted support to get a new version that works with 5.18.1 is here, hopefully it is listed on their website as a stable release soon.

Version 4285: http://www.magewell.com/files/firmware/ProCaptureForLinux_4285.tar.gz

Arndroid commented on 2021-04-23 12:03 (UTC)

Working wonders, thank you! (Manjaro on 5.10)

goldensuneur commented on 2021-01-12 10:19 (UTC)

Yes, it is backward compatible with older kernels (the patch only apply for kernels 5.10+). I don't have time to test it extensively right now but it worked fine for the 5-10 min I used it yesterday.

Jat commented on 2021-01-12 09:26 (UTC)

@goldensuneur Is it backward compatible with kernel 5.9, 5.4, etc? Does it work fine on kernel 5.10? I have not upgraded the kernel to 5.10 and really do not want to waste time to test it.

goldensuneur commented on 2021-01-11 09:31 (UTC)

Latest available version of the module does not build with kernel 5.10+ due to removal of get_fs and set_fs functions.

I contacted Magewell support and they gave me a link to a fixed version (4227): http://www.magewell.com/files/drivers/ProCaptureForLinux_4227.tar.gz

It builds fine on kernel 5.10+ however I'm not able to reboot to test it right now.

I also modified your PKGBUILD to directly use the archive from Magewell instead of a github repository.

Here is the patch:

diff --git a/PKGBUILD b/PKGBUILD
index 11615f1..17ac4ca 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
 # Maintainer: Jat <chat@jat.email>

 _pkgname=magewell-pro-capture
+pkgrev=4227
 pkgname=${_pkgname}-dkms
-pkgver=1.3.0.4186
+pkgver=1.3.0.${pkgrev}
 pkgrel=3
 pkgdesc='Driver for Magewell Pro Capture Family'
 arch=('x86_64')
@@ -10,11 +11,13 @@ url='https://www.magewell.com/downloads/pro-capture#/driver/linux-x86'
 license=('unknown')
 conflicts=("${_pkgname}")
 depends=('dkms' 'alsa-lib')
-source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/jat001/${_pkgname}/archive/${pkgver}.tar.gz")
-sha256sums=('ce333ff3274e92852f6a874c4a8c866530cc7bcfddf36545bf82f7ee8489fc4b')
+source=("http://www.magewell.com/files/drivers/ProCaptureForLinux_${pkgrev}.tar.gz"
+        "dkms.conf")
+sha256sums=('99538dd7c76408d85ccf71a02137484cfb3abcf610c0881ba8c61deaac3465e2'
+            'cc61510331f14af3898cacfe2ef37b6e12164bb2e9418b3c40e000c8548a914b')

 package() {
-    cd ${_pkgname}-${pkgver}
+    cd ProCaptureForLinux_${pkgrev}

     install -Dm644 src/res/* -t ${pkgdir}/usr/share/ProCapture/res
     sed -i 's#/usr/local/share/ProCapture/src/res#/usr/share/ProCapture/res#g' scripts/ProCapture.conf
@@ -25,6 +28,6 @@ package() {
     install -Dm755 bin/mwcap-info_64 ${pkgdir}/usr/bin/mwcap-info

     srcdir=${pkgdir}/usr/src/${_pkgname}-${pkgver}
-    install -Dm644 scripts/dkms.conf src/Makefile src/ProCaptureLib_64.lib -t ${srcdir}
+    install -Dm644 ../dkms.conf src/Makefile src/ProCaptureLib_64.lib -t ${srcdir}
     cp -r src/public src/sources ${srcdir}
 }