Razer
There is currently no official driver for the Razer gaming mice in Linux. However, Michael Buesch has created a tool called razercfg to configure Razer mice under Linux.
Contents
Razer Peripherals
Compatibility
razercfg lists the following mice models as stable:
- Razer DeathAdder Classic
- Razer DeathAdder 3500 DPI
- Razer DeathAdder Black Edition
- Razer DeathAdder 2013
- Razer DeathAdder Chroma
- Razer Krait
- Razer Naga Classic
- Razer Naga 2012
- Razer Naga 2014
- Razer Naga Hex
- Razer Taipan
And the following as stable but missing minor features:
- Razer Lachesis
- Razer Copperhead
- Razer Boomslang CE
Installation
Download and install razercfgAUR or razercfg-gitAUR for bleeding edge git releases from the AUR.
You also need to edit your /etc/X11/xorg.conf
file to disable the current mouse settings by commenting them out as in the following example, where also some defaults are set as suggested by the author:
/etc/X11/xorg.conf
Section "InputDevice" Identifier "Mouse" Driver "mouse" Option "Device" "/dev/input/mice" EndSection
It is important to only have Mouse
and not Mouse#
listed in xorg.conf
.
Restart the computer, then enter:
# udevadm control --reload-rules
Then start the razerd
daemon and possibly enable it.
Using the Razer Configuration Tool
There are two commands you can use, one for the command line tool razercfg or the Qt-based GUI tool qrazercfg.
From the tool you can use the 5 profiles, change the DPI, change mouse frequency, enable and disable the scroll and logo lights and configure the buttons.
Razer Blade
Razer Blade is Razer's line of gaming laptops. There is currently a 14" model, and a 17" model. Due to the proprietary SBUI trackpad on the 17" model, it will be extremely difficult to get it to work without extensive USB protocol reversing.
2014 version
Problems
- touchpad (multitouch, although this may be a kernel bug that has since been fixed)
- keys to increase/decrease screen illumination not working
- keys to increase/decrease keyboard illumination not working
Possible trackpad solution
git clone https://github.com/aduggan/hid-rmi.git -b rb14 # and then install it depmod -a sudo pacman -S synaptics Feature still not working: pinch to zoom, 3rd mouse button
2013 version
What works
- Wireless
- Switchable graphics
- Bluetooth
- Keyboard light (HW controlled)
- UEFI boot
- Trackpad (only on Linux 4.0+ without libinput-based X.Org input driver (xf86-input-libinput) thanks to Andrew Duggan's work).
Problems
- SwitchBlade UI doesn't work due to lack of drivers.
-
Trackpad scrolling does not work.
Possible trackpad solution
git clone https://github.com/aduggan/hid-rmi.git -b rb14 # and then install it depmod -a sudo pacman -S synaptics Feature still not working: pinch to zoom, 3rd mouse button