Package Details: activdriver 5.18.19-0

Git Clone URL: (read-only, click to copy)
Package Base: activdriver
Description: Drivers for Promethean hardware
Upstream URL:
Licenses: unknown
Submitter: jose1711
Maintainer: Malstrond
Last Packager: Malstrond
Votes: 2
Popularity: 0.000000
First Submitted: 2017-09-28 22:31 (UTC)
Last Updated: 2020-05-22 21:39 (UTC)

Latest Comments

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


-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.


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.




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?

Malstrond commented on 2018-04-05 19:22 (UTC) (edited on 2019-01-12 17:17 (UTC) by Malstrond)

A summary of the state of this driver as this doesn't seem to be anywhere on the internet:

No activdriver compiles cleanly with the current kernel [1], 4.15 at the time of writing. The official latest version (5.16.7) compiles with the 4.14 LTS kernel, but if you actually connect an activboard, the driver crashes with a "unable to handle kernel paging request" error when it tries to "CheckForFirmwareUpgradeCommand" [2]. There is a beta version 5.16.8 that compiles with 4.14 LTS and actually works. You can't get it from the Promethean repository, they distribute it on [3] in line with their usual highly professional behavior. You can use it with this PKGBUILD if you edit the source array. I found it in a German thread about the problem [4].





Edit: 2019-01-12: Forum link updated, Promethean changed their forum software