Package Details: gasket-dkms-git r236.5815ee3-1

Git Clone URL: https://aur.archlinux.org/gasket-dkms-git.git (read-only, click to copy)
Package Base: gasket-dkms-git
Description: Google Coral driver for PCIe-based Edge TPU devices, such as the M.2 and Mini PCIe Accelerator, Git version
Upstream URL: https://coral.withgoogle.com/
Licenses: GPL2
Conflicts: gasket
Provides: gasket
Submitter: mjc506
Maintainer: mjc506
Last Packager: mjc506
Votes: 4
Popularity: 0.45
First Submitted: 2023-09-30 19:04 (UTC)
Last Updated: 2024-11-29 21:04 (UTC)

Latest Comments

« First ‹ Previous 1 2

mjc506 commented on 2024-04-06 08:36 (UTC)

Apologies for the delay - I killed my dev system!

Thanks for the below. Pkgbuild now updated (and patch included) for kernels 6.8

kexis commented on 2024-04-05 22:03 (UTC)

Here is the patch that works for me:

diff --git a/PKGBUILD b/PKGBUILD
index 244c4ef..92940a2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,6 +18,8 @@ sha256sums=('SKIP')
 prepare() {
         echo "${srcdir}"
         echo "${pkgdir}"
+       cd gasket-driver/
+       patch --forward --strip=1 --input=../../gasket_interrupt.patch
 }

 pkgver() {
diff --git a/gasket_interrupt.patch b/gasket_interrupt.patch
new file mode 100644
index 0000000..27d7715
--- /dev/null
+++ b/gasket_interrupt.patch
@@ -0,0 +1,13 @@
+diff --git a/src/gasket_interrupt.c b/src/gasket_interrupt.c
+index 531d94e..8dba182 100644
+--- a/src/gasket_interrupt.c
++++ b/src/gasket_interrupt.c
+@@ -158,7 +158,7 @@ gasket_handle_interrupt(struct gasket_interrupt_data *interrupt_data,
+       read_lock(&interrupt_data->eventfd_ctx_lock);
+       ctx = interrupt_data->eventfd_ctxs[interrupt_index];
+       if (ctx)
+-              eventfd_signal(ctx, 1);
++              eventfd_signal(ctx);
+       read_unlock(&interrupt_data->eventfd_ctx_lock);
+ 
+       ++(interrupt_data->interrupt_counts[interrupt_index]);

Saduff commented on 2024-04-03 22:50 (UTC) (edited on 2024-04-03 22:51 (UTC) by Saduff)

Any chance this Issue #23 patch can be applied to fix the compilation error with kernel versions >= 6.8.0 until it's fixed upstream?

mjc506 commented on 2024-02-09 16:21 (UTC)

Good spot, apologies. Now corrected.

svenstaro commented on 2024-02-06 20:30 (UTC)

I suggest you switch out the pkgver() function to one of the ones listed here: https://wiki.archlinux.org/title/VCS_package_guidelines#Git

The leading dot in pkgver breaks dkms for me.

mjc506 commented on 2024-01-07 16:38 (UTC)

Thanks both.

This one is a dkms package, so shouldn't have linux-headers as a dependency https://wiki.archlinux.org/title/DKMS_package_guidelines

mgrimes commented on 2024-01-04 23:30 (UTC)

Thanks for publishing this. I'd suggest adding linux-headers to the dependencies.

shanet commented on 2023-12-27 06:58 (UTC)

Works for me also. Thank you!

mjc506 commented on 2023-09-30 19:06 (UTC)

Works-on-my-machine(tm) but my first AUR package, so comments etc welcomed!