Package Details: linux-gpib-dkms 4.3.6-2

Git Clone URL: https://aur.archlinux.org/linux-gpib-dkms.git (read-only, click to copy)
Package Base: linux-gpib-dkms
Description: A support package for GPIB (IEEE 488) hardware (DKMS version).
Upstream URL: http://linux-gpib.sourceforge.net/
Keywords: science
Licenses: GPL
Conflicts: linux-gpib
Provides: linux-gpib
Submitter: Foucault
Maintainer: Foucault
Last Packager: Foucault
Votes: 3
Popularity: 0.004451
First Submitted: 2016-03-14 13:31 (UTC)
Last Updated: 2023-10-17 17:59 (UTC)

Dependencies (5)

Required by (7)

Sources (3)

Latest Comments

1 2 3 Next › Last »

yjun commented on 2023-10-10 13:07 (UTC)

plz add aarch64 support. I have tested ok on my ARM Box running Arch Linux ARM.

# PKGBUILD
arch=('i686' 'x86_64' 'aarch64')

LongnoseRob commented on 2023-07-20 13:28 (UTC) (edited on 2023-07-20 13:29 (UTC) by LongnoseRob)

With the latest 6.4.4-arch1-1 kernel, the DKMS installation fails:

In file included from ./include/linux/linkage.h:7,
                 from ./arch/x86/include/asm/cache.h:5,
                 from ./include/linux/cache.h:6,
                 from ./arch/x86/include/asm/current.h:9,
                 from ./include/linux/sched.h:12,
                 from ./include/linux/ratelimit.h:6,
                 from ./include/linux/dev_printk.h:16,
                 from ./include/linux/device.h:15,
                 from /var/lib/dkms/linux-gpib/4.3.5/build/compat/include/linux/device.h:82,
                 from /var/lib/dkms/linux-gpib/4.3.5/build/drivers/gpib/include/compat_device_create.h:30,
                 from /var/lib/dkms/linux-gpib/4.3.5/build/drivers/gpib/sys/osinit.c:20:
/var/lib/dkms/linux-gpib/4.3.5/build/drivers/gpib/sys/osinit.c: In function ‘gpib_common_init_module’:
./include/linux/export.h:27:22: error: passing argument 1 of ‘class_create’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   27 | #define THIS_MODULE (&__this_module)
      |                     ~^~~~~~~~~~~~~~~
      |                      |
      |                      struct module *
/var/lib/dkms/linux-gpib/4.3.5/build/drivers/gpib/sys/osinit.c:210:35: note: in expansion of macro ‘THIS_MODULE’
  210 |         gpib_class = class_create(THIS_MODULE, "gpib_common");
      |                                   ^~~~~~~~~~~
In file included from ./include/linux/device.h:31:
./include/linux/device/class.h:230:54: note: expected ‘const char *’ but argument is of type ‘struct module *’
  230 | struct class * __must_check class_create(const char *name);
      |                                          ~~~~~~~~~~~~^~~~

yjun commented on 2022-05-25 09:41 (UTC)

Kernel 5.17: Remove use of slave_id in dma_slave_config

this patch should be applied to build on kernel 5.17.y.

Foucault commented on 2021-01-19 11:05 (UTC)

There's no way for me to test whether it builds let alone works for ARM so unless someone can take up that part I'd rather keep it simple. You can always use --ignorearch with makepkg.

alzyx commented on 2021-01-19 10:52 (UTC)

thanks a lot @grimler ! I gave it a try and it compiled ok.

Then dkms install, then depmod, ... no issues

I didnt test it on the run yet, but I guess the mantainer could add aarch64 to the architectures list!

grimler commented on 2021-01-19 10:07 (UTC)

@alzyx It happens because aarch64 is not an architecture listed in the PKGBUILD. Generally it means that the person that created the package has not tested it for that arch, but it could also mean that it simply not works on that arch.

You can edit the PKGBUILD and add aarch64 to the arches here: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=linux-gpib-dkms#n9 and give it a try.

alzyx commented on 2021-01-19 10:02 (UTC) (edited on 2021-01-19 10:02 (UTC) by alzyx)

I'm new to Arch, so please be kind (really Manjaro in my case). I setup a RaspberryPi4 with Manjaro, and I need it to interface it with instruments via GPIB, where I work.

A collegue of mine was able to do it on a Manjaro-PC, using:

  • pamac build linux-gpib-dkms *.

But on my Rapsberry, I get back this:

  • linux-gpib-dkms is not available for 'aarch64' architecture. *

There is some solution? thanks...

grimler commented on 2020-02-11 12:34 (UTC)

I had to apply this patch to not receive a make error during pacman -U linux-gpib-dkms-4.3.0-2-x86_64.pkg.tar.xz:

diff -u -r ./linux-gpib-kernel-4.3.0/drivers/gpib/fmh_gpib/fmh_gpib.c ../linux-gpib-4.3.0.orig/linux-gpib-kernel-4.3.0/drivers/gpib/fmh_gpib/fmh_gpib.c
--- ./drivers/gpib/fmh_gpib/fmh_gpib.c.orig 2020-01-31 17:38:50.187303346 +0100
+++ ./drivers/gpib/fmh_gpib/fmh_gpib.c  2020-01-31 17:31:11.967860033 +0100
@@ -982,7 +982,7 @@
 }

 /* Match callback for driver_find_device */
-static int fmh_gpib_device_match(struct device *dev, void *data)
+static int fmh_gpib_device_match(struct device *dev, const void *data)
 {
    const gpib_board_config_t *config = data;


greyltc commented on 2019-01-12 12:11 (UTC)

Ah, thanks!

Foucault commented on 2019-01-11 18:39 (UTC) (edited on 2019-01-11 18:40 (UTC) by Foucault)

Python bindings are standalone packages

https://aur.archlinux.org/packages/python-linux-gpib/ and https://aur.archlinux.org/packages/python2-linux-gpib/