Package Details: activdriver 5.17.14-2

Git Clone URL: https://aur.archlinux.org/activdriver.git (read-only)
Package Base: activdriver
Description: The kernel mode and X11 drivers for Promethean ActivBoard and ActivHub.
Upstream URL: https://support.prometheanworld.com/product/activdriver
Licenses: unknown
Submitter: jose1711
Maintainer: jose1711
Last Packager: jose1711
Votes: 2
Popularity: 0.205013
First Submitted: 2017-09-28 22:31
Last Updated: 2019-01-12 13:42

Latest Comments

ZZdrr commented on 2019-05-25 16:07

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. But I have no idea what I'm doing here and if this causes any harm. Also I have no idea how to integrate this patch into the PKGBUILD because the sources are extracted in the build function.

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

@ZZdrr thank you, updated

ZZdrr commented on 2019-01-12 09:37

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

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

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

ZZdrr commented on 2018-04-05 19:22

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 box.com [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].

1: https://pastebin.com/UKs8kY54

2: https://pastebin.com/0gdkPpp8

3: https://promethean.app.box.com/s/lriqamrjf3p58roer9zas4yrxn295o7b

4: https://community.prometheanworld.com/de/forums/topic/activinspire-activdriver-fur-ubuntu-18-04/

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