Package Details: activdriver 5.18.19-0

Git Clone URL: https://aur.archlinux.org/activdriver.git (read-only, click to copy)
Package Base: activdriver
Description: Drivers for Promethean hardware
Upstream URL: https://support.prometheanworld.com/product/activdriver
Licenses: unknown
Submitter: jose1711
Maintainer: None
Last Packager: Malstrond
Votes: 2
Popularity: 0.000000
First Submitted: 2017-09-28 22:31 (UTC)
Last Updated: 2020-05-22 21:39 (UTC)

Dependencies (3)

Required by (2)

Sources (2)

Latest Comments

1 2 Next › Last »

Malstrond commented on 2022-12-02 08:11 (UTC)

This kernel change:

https://patchwork.kernel.org/project/linux-usb/patch/20220304105420.1059585-1-mailhol.vincent@wanadoo.fr/

breaks compatiblity with this driver, so I'm disowning the package.

Malstrond commented on 2019-05-29 10:04 (UTC) (edited on 2019-05-29 10:05 (UTC) by Malstrond)

-Updated

-Patched to compile with current kernels (5.1 as of writing)

-Removed old and duplicate configuration files, some were referring to HAL for example which was deprecated by Arch almost a decade ago

-Added more documentation to PKGBUILD

-Dropped 32-bit support. Promethean stuff is finicky (e.g. weird binary dependencies) so it needs to be tested, and since Arch dropped 32-bit I don't have a test system.

jose1711 commented on 2019-05-25 22:23 (UTC)

disowned. thank you and good luck! jose

Malstrond commented on 2019-05-25 20:42 (UTC)

I can't guarantee that I'll get it to work, but I would give it a shot if no one else wants to (except activinspire-sk).

jose1711 commented on 2019-05-25 20:15 (UTC)

@ZZdrr thank you for your comment - i am no longer interested in maintaining this (and related) PKGBUILD (as i am not using it). it would be great if you're willing to adopt it. any interest?

Malstrond commented on 2019-05-25 16:07 (UTC) (edited on 2019-05-31 16:08 (UTC) by Malstrond)

There is a new version out, which is 5.18.12 [1], and just prior to that in 5.18.11 [2] support for kernels newer than 4.14 was added.

URL: http://activsoftware.co.uk/linux/repos/driver/ubuntu/pool/oss/a/activdriver/activdriver_5.18.12-0~Ubuntu~1804_amd64.deb

As-is, this version compiles cleanly with current linux-lts (4.19).

It doesn't compile on current 5.1.x however, because of the kernel function access_ok being changed [3]. I just removed those extra arguments from usbpromethean.c. Here is the patch:

@@ -1017,9 +1017,9 @@

     retval = 0;
     if (_IOC_DIR(cmd) & _IOC_READ)
-        retval = !access_ok(VERIFY_WRITE,(void __user *)arg, _IOC_SIZE(cmd));
+        retval = !access_ok((void __user *)arg, _IOC_SIZE(cmd));
     if (_IOC_DIR(cmd) & _IOC_WRITE)
-        retval = !access_ok(VERIFY_READ,(void __user *)arg, _IOC_SIZE(cmd));
+        retval = !access_ok((void __user *)arg, _IOC_SIZE(cmd));

     if (retval) return -EFAULT;

That makes the module compile cleanly and load on 5.1.x.

1: https://community.prometheanworld.com/forums/topic/release-notes-for-activdriver-v5-18-12-released-22nd-may-2019/

2: https://community.prometheanworld.com/forums/topic/release-notes-for-activdriver-v5-18-11-released-wednesday-8th-may-2019/

3: https://lkml.org/lkml/2019/1/4/418

jose1711 commented on 2019-01-12 13:43 (UTC)

@ZZdrr thank you, updated

Malstrond commented on 2019-01-12 09:37 (UTC)

Driver 5.17.14 still compiles and works with kernel 4.14 (for example linux-lts414 in AUR) for me, but not with any newer kernel. Downgrading to 4.4 is not needed.

jose1711 commented on 2019-01-09 21:56 (UTC)

i have bumped the version but for those wondering: lts is now (2019-01) 4.19.13 and even 5.17.4 does not compile so it's still broke. maybe someone wants to try this with linux-lts44 (aur).

dlaube commented on 2018-08-29 21:17 (UTC)

Could ZZdrr solution be added to this so one can install directly when using lts kernel?