Package Details: vendor-reset-dkms-git r94.6140e2f-1

Git Clone URL: https://aur.archlinux.org/vendor-reset-dkms-git.git (read-only, click to copy)
Package Base: vendor-reset-dkms-git
Description: Kernel module for vendor-specific hardware reset routines.
Upstream URL: https://github.com/gnif/vendor-reset
Licenses: GPL2
Conflicts: vendor-reset-git
Submitter: zaszi
Maintainer: zaszi
Last Packager: zaszi
Votes: 9
Popularity: 0.000000
First Submitted: 2020-11-18 08:54 (UTC)
Last Updated: 2024-09-07 14:53 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

solloron1 commented on 2024-12-11 13:47 (UTC)

@VoodaGod something seems to be off with that patch. After I apply it and run makepkg -si it keeps asking me for the patch file.

VoodaGod commented on 2024-11-27 16:23 (UTC) (edited on 2024-11-27 16:25 (UTC) by VoodaGod)

to build on kernel 6.12 apply patch from this PR https://github.com/gnif/vendor-reset/pull/86

diff --git a/PKGBUILD b/PKGBUILD
index d3331e0..b7af362 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,8 +11,19 @@ license=('GPL2')
 depends=('dkms')
 makedepends=('git')
 conflicts=('vendor-reset-git')
-source=('git+https://github.com/gnif/vendor-reset.git')
-md5sums=('SKIP')
+source=(
+   'git+https://github.com/gnif/vendor-reset.git'
+   'https://github.com/gnif/vendor-reset/pull/86.patch'
+)
+md5sums=(
+   'SKIP'
+   'SKIP'
+)
+
+prepare() {
+    cd "${srcdir}/vendor-reset/"
+    patch --forward --strip=1 --input="${srcdir}/86.patch"
+}

 pkgver() {
     cd "${_pkgbase}"

zaszi commented on 2024-09-07 14:54 (UTC)

Updated. Cheers for the suggestion, @VoodaGod.

VoodaGod commented on 2024-08-15 09:58 (UTC)

this package should also install the udev rules to work out of the box with kernel >= 5.15

diff --git a/PKGBUILD b/PKGBUILD
index bf3b2b3..3af45a2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -28,4 +28,7 @@ package() {

     install -d "${pkgdir}/usr/src/${_pkgbase}-${pkgver}"/
     cp -r "${srcdir}/${_pkgbase}"/* "${pkgdir}/usr/src/${_pkgbase}-${pkgver}"/
+
+    install -d "${pkgdir}/etc/udev/rules.d"/
+    cp "${srcdir}/${_pkgbase}/udev/99-vendor-reset.rules" "${pkgdir}/etc/udev/rules.d"/
 }

VoodaGod commented on 2024-04-17 12:35 (UTC) (edited on 2024-04-17 12:35 (UTC) by VoodaGod)

build with kernel >=6.8 was just fixed upstream

VoodaGod commented on 2024-03-28 09:15 (UTC)

to build with kernel >=6.8 using this PR: https://github.com/gnif/vendor-reset/pull/77

diff --git a/PKGBUILD b/PKGBUILD
index bf3b2b3..5ea5e53 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@

 _pkgbase=vendor-reset
 pkgname=vendor-reset-dkms-git
-pkgver=r94.6140e2f
+pkgver=r114.4b466e9
 pkgrel=1
 pkgdesc="Kernel module for vendor-specific hardware reset routines."
 arch=('any')
@@ -11,8 +11,14 @@ license=('GPL2')
 depends=('dkms')
 makedepends=('git')
 conflicts=('vendor-reset-git')
-source=('git+https://github.com/gnif/vendor-reset.git')
-md5sums=('SKIP')
+source=(
+    'git+https://github.com/gnif/vendor-reset.git'
+    'https://github.com/gnif/vendor-reset/pull/77.patch'
+)
+md5sums=(
+    'SKIP'
+    'SKIP'
+)

 pkgver() {
     cd "${_pkgbase}"
@@ -23,6 +29,11 @@ pkgver() {
     )
 }

+prepare() {
+    cd "${srcdir}/vendor-reset/"
+    patch --forward --strip=1 --input="${srcdir}/77.patch"
+}
+
 package() {
     cd "$srcdir/$_pkgbase"

johno commented on 2022-01-14 13:25 (UTC) (edited on 2022-01-14 15:28 (UTC) by johno)

hm, with kernel 5.10.x it works perfectly! Now with the 5.15 LTS kernel it doesn't work anymore. Any suggestions?

EDIT: i have found a solution: https://github.com/gnif/vendor-reset/issues/46#issuecomment-1013220284

tachyon_84 commented on 2021-12-21 22:17 (UTC)

Seems like this has stopped working.