Skip to content

Commit 38cb73b

Browse files
committed
README.md: Add section on DKMS issue
1 parent 41965ea commit 38cb73b

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,30 @@ If you know how to use DKMS, you can try installing the package with it
4444
directly, employing the experimental DKMS support. Please [report
4545
issues][report_issue] if you find any.
4646

47+
### DKMS issue preventing correct installation ###
48+
49+
If you're installing Debian packages, or installing source packages with DKMS
50+
directly, you might hit a bug in DKMS which prevents some of the driver
51+
modules from installing. If you do, you will see a message like this while
52+
trying to install the drivers:
53+
54+
hid-uclogic.ko:
55+
Running module version sanity check.
56+
Error! Module version 7 for hid-uclogic.ko
57+
is not newer than what is already found in kernel 4.9.0-5-amd64 (7).
58+
You may override by specifying --force.
59+
60+
For details see [upstream pull-request fixing the issue][dkms_issue_pr].
61+
62+
To fix that you can apply the patch linked above yourself, or execute the
63+
below command:
64+
65+
sudo sed -i -e 's/\<unset res$/res=()/' /usr/sbin/dkms
66+
67+
Be aware that the operation the above command does is inexact, and might not
68+
work, or might break DKMS. You've been warned. In any case, simply reinstall
69+
DKMS to restore it if something goes wrong.
70+
4771
### Installing source package manually ###
4872

4973
To build the drivers run `make` in the package's directory.
@@ -107,3 +131,4 @@ installation.
107131
[wrapping_up]: http://spbnick.github.io/2016/07/31/Wrapping-up-DIGImend-work.html
108132
[patreon_profile]: https://www.patreon.com/spbnick
109133
[patreon_pledge]: https://www.patreon.com/bePatron?c=930980
134+
[dkms_issue_pr]: https://github.com/dell/dkms/pull/47

0 commit comments

Comments
 (0)