Package Details: openrazer-driver-dkms 3.5.1-1

Git Clone URL: (read-only, click to copy)
Package Base: openrazer
Description: Kernel driver for Razer devices (DKMS-variant)
Upstream URL:
Licenses: GPL2
Submitter: z3ntu
Maintainer: z3ntu
Last Packager: z3ntu
Votes: 66
Popularity: 1.61
First Submitted: 2017-11-10 09:12 (UTC)
Last Updated: 2022-12-04 11:57 (UTC)

Pinned Comments

z3ntu commented on 2019-05-16 14:12 (UTC) (edited on 2022-04-09 14:39 (UTC) by z3ntu)

Please remember, that this package uses DKMS for building the kernel module and as such requires the kernel headers for your kernel installed. See also

Another manual step that needs to be taken is adding your user to the plugdev group, e.g. using the command sudo gpasswd -a $USER plugdev.

You can find a few tips for troubleshooting an install at

Latest Comments

1 2 3 4 5 6 .. 9 Next › Last »

faceless33 commented on 2022-12-20 09:13 (UTC)

Trying to install it with yay, have the following error:

:: Running post-transaction hooks...
(1/3) Reloading device manager configuration...
(2/3) Arming ConditionNeedsUpdate...
(3/3) Install DKMS modules
==> dkms install --no-depmod openrazer-driver/3.5.1 -k 6.0.12-arch1-1
==> depmod 6.0.12-arch1-1
==> ERROR: Missing 5.13.6-arch1-1 kernel headers for module openrazer-driver/3.5.1.

I have linux-headers 6.0.12.arch1-1 installed and kernel 6.0.12-arch1-1.

vincent-vega commented on 2022-12-08 17:31 (UTC)

Hi, I tried installing this package (v3.5.1-1) using yay and pamac but I'm getting the following error:

==> Starting package_python-openrazer()...

:: Installing OpenRazer python library
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
python3 install --prefix=/usr --root=/home/davide/.cache/yay/openrazer/pkg/python-openrazer
Traceback (most recent call last):
  File "/home/davide/.cache/yay/openrazer/src/openrazer-3.5.1/pylib/", line 6, in <module>
  File "/usr/lib/python3.10/site-packages/setuptools/", line 86, in setup
  File "/usr/lib/python3.10/site-packages/setuptools/", line 75, in _install_setup_requires
    dist = MinimalDistribution(attrs)
  File "/usr/lib/python3.10/site-packages/setuptools/", line 57, in __init__
  File "/usr/lib/python3.10/site-packages/setuptools/", line 473, in __init__
    for ep in metadata.entry_points(group='distutils.setup_keywords'):
  File "/usr/lib/python3.10/importlib/metadata/", line 1009, in entry_points
    return SelectableGroups.load(eps).select(**params)
  File "/usr/lib/python3.10/importlib/metadata/", line 459, in load
    ordered = sorted(eps, key=by_group)
  File "/usr/lib/python3.10/importlib/metadata/", line 1006, in <genexpr>
    eps = itertools.chain.from_iterable(
  File "/usr/lib/python3.10/importlib/metadata/", line 16, in unique_everseen
    k = key(element)
  File "/usr/lib/python3.10/importlib/metadata/", line 941, in _normalized_name
    return self._name_from_stem(stem) or super()._normalized_name
  File "/usr/lib/python3.10/importlib/metadata/", line 622, in _normalized_name
    return Prepared.normalize(
  File "/usr/lib/python3.10/importlib/metadata/", line 871, in normalize
    return re.sub(r"[-_.]+", "-", name).lower().replace('-', '_')
  File "/usr/lib/python3.10/", line 209, in sub
    return _compile(pattern, flags).sub(repl, string, count)
TypeError: expected string or bytes-like object
make[1]: *** [Makefile:9: install] Error 1
make: *** [Makefile:91: python_library_install] Error 2
==> ERROR: A failure occurred in package_python-openrazer().
 -> error making: openrazer (openrazer-driver-dkms openrazer-daemon python-openrazer openrazer-meta)

My python3 installation does point to /user/bin/python3

z3ntu commented on 2022-12-06 19:39 (UTC)

@gh4ever: See which is part of the base-devel group which you need to have installed before building any AUR package.

gh4ever commented on 2022-12-06 19:38 (UTC)

which is an unmarked build dependency, without which the python check fails.

vmsh0 commented on 2022-11-20 16:37 (UTC) (edited on 2022-11-20 16:37 (UTC) by vmsh0)

To me this boils down to: 1) Either assume /usr/bin/python3 is the one and only python you like, and just explicitly use that. You have a transitive dependency on the python, so you know what's there, that's fine 2) Or print a warning/ask for a variable (that is not PATH :) to be set when python3 is not /usr/bin/python3, to communicate your concern to the user and ask for their confirmation.

This middle ground of both assuming something which is definitely there is good, but refusing to use it, is unconvincing to me. Having said this, at the end of the day it's pretty easy to work around this, so if that's the way you thing it shall be done, then it's all good. Just my two cents. Thanks for the package!

gilbs commented on 2022-09-03 14:00 (UTC)

Do you think it would be possible to provide a way to bypass the python path check that doesn't involve manual operations (like editing the PKGBUILD or changing the PATH)? One idea could be to check against some environment variable (e.g. ["${AUR_OPENRAZER_SKIP_PYTHON_PATH_CHECK}" = "true"]?).

I use asdf-vm which shims system python by default, so it should play nicely with this install script.

Thanks for maintaining this package.

therxyy commented on 2022-02-07 17:04 (UTC) (edited on 2022-02-07 17:14 (UTC) by therxyy)

the package wont install, no matter what i try. numpy dependency seems broken or outdated

EDIT: my mistake, i didnt do pacman -Syu X)

z3ntu commented on 2021-11-24 20:45 (UTC)

@jahway603 I've only added the sanity check to the PKGBUILD so people stop building this package with a "broken" Python setup. The message already mentions "[..] or point your PATH variable to prefer /usr/bin/ temporarily." Would you be happy with explicitly adding the command "export PATH=/usr/bin:$PATH" to the message? And no I won't add workarounds to fix broken build environments.

jahway603 commented on 2021-11-22 02:56 (UTC)

Currently on 3.0.1-1 and unable to upgrade to the updated 3.1.0-1 version with the same "python path error". It was successful when I tried what @testbird71 suggested. @z3ntu, can you please add the fix into the PKGBUILD so that it will work for everyone? Thanks.

testbird71 commented on 2021-08-17 14:26 (UTC)

type in your terminal 1. export PATH=/usr/bin:$PATH 2. yay -Syu