Package Details: razercfg 0.39-1

Git Clone URL: https://aur.archlinux.org/razercfg.git (read-only)
Package Base: razercfg
Description: Next generation Razer mouse configuration tool
Upstream URL: https://bues.ch/h/razercfg
Licenses: GPL
Submitter: None
Maintainer: polyzen
Last Packager: polyzen
Votes: 43
Popularity: 0.380877
First Submitted: 2010-01-27 04:13
Last Updated: 2017-07-27 08:01

Dependencies (4)

Required by (0)

Sources (3)

Pinned Comments

Toqoz commented on 2016-10-03 09:56

gpg --keyserver keys.gnupg.net --recv-key 5FB027474203454C
gpg --lsign 5FB027474203454C

To save some reading.

Niksko commented on 2015-09-03 06:39

Getting an error about an incorrect magic number like I was? The fix is to delete the /usr/bin/pyrazer.pyc file.

Latest Comments

nanners commented on 2017-08-15 19:24

I can't express enough how great this package is. As an Archer with a 2014 Molten Edition Naga, this is my only option if I want to avoid a bloated framework that also requires DKMS (no thanks).

This works perfectly if you go to the Git/README or his actual website which he actively updates and RTFM. Check if your specific model is supported.. and no, it can't be "close" to the model. Has to be the exact model and you can find that out by following the guide.

polyzen commented on 2017-05-02 19:01

> gpg --search-keys 5FB027474203454C
gpg: data source: https://216.66.15.2:443
(1) Michael Büsch (Git tag signing key) <m@bues.ch>
Michael Büsch (Release signing key) <m@bues.ch>
4096 bit RSA key 0x5FB027474203454C, created: 2012-02-19, expires: 2018-03-03

Works with `--keyserver keys.gnupg.net` as well.

liamdawe commented on 2017-05-02 09:45

I can't get the gpg key to work, it just comes back saying no data?

polyzen commented on 2017-02-25 01:01

To check if razerd is running:
# systemctl status razerd.service

This might be relevant:
https://github.com/mbuesch/razer#x-window-system-xorg-configuration

Was the mouse recently released? You can try the bugtracker, but I don't see anything for those ID's:
https://github.com/mbuesch/razer/issues

andrej commented on 2017-02-25 00:46

$ lsusb | grep Razer
Bus 003 Device 013: ID 1532:0214 Razer USA, Ltd
Bus 003 Device 014: ID 1532:0039 Razer USA, Ltd

$ sudo razercfg -L
No Razer device found in the system

So this^^^ doesn't work at all on my system. Presumably, razerd is running and both devices (mouse and keyboard) work just fine otherwise.

Toqoz commented on 2016-10-03 09:56

gpg --keyserver keys.gnupg.net --recv-key 5FB027474203454C
gpg --lsign 5FB027474203454C

To save some reading.

polyzen commented on 2016-08-10 15:04

xordspar0, thank you for the suggestion.

xordspar0 commented on 2016-08-04 03:11

So, if I understand correctly, this tool is only for mice, not keyboards? Could you update the description to reflect that?

Moneysac commented on 2016-05-27 17:22

This package doesn't work with my Deathadder chroma. LED color and state is working but mouse has a wired behavior (clicks will not always recognized).

However after installing the package "da2013ctl-git" from the AUR the mouse is working (LED control doesn't work with this version).

polyzen commented on 2016-03-10 22:10

tuxfusion, Niksko, thank you for reporting this. The file is not shipped with this package:

~/p/repo > pacman -Qo /usr/bin/pyrazer.pyc
error: No package owns /usr/bin/pyrazer.pyc
~/p/repo > find ../build/razercfg/src -name \*.pyc
../build/razercfg/src/razercfg-0.33/ui/pyrazer/__pycache__/main.cpython-35.pyc
../build/razercfg/src/razercfg-0.33/ui/pyrazer/__pycache__/__init__.cpython-35.pyc
~/p/repo > find ../build/razercfg/pkg -name \*.pyc
../build/razercfg/pkg/razercfg/usr/lib/python3.5/site-packages/pyrazer/__pycache__/main.cpython-35.pyc
../build/razercfg/pkg/razercfg/usr/lib/python3.5/site-packages/pyrazer/__pycache__/__init__.cpython-35.pyc

Edit: Woops. Fixed those `find`s. Not sure if I should remove /__pycache__/?

tuxfusion commented on 2016-03-08 15:08

Could you please not ship /usr/bin/pyrazer.pyc as mentioned below(2015). Every user has to delete the file if python version differs from maintainer, if I understand correct http://stackoverflow.com/a/2905435/524355

polyzen commented on 2016-01-19 18:49

od1ssea, did you get it working? I had sent a response.. If you run `pacman -Qo` on one of those files, is it owned by razercfg? If not, you will have to manually rm them to resolve the conflict.

lucasheringer, https://wiki.archlinux.org/index.php/Makepkg#Signature_checking

alexf commented on 2016-01-12 10:19

Catched an error during makepkg (upgrading 0.32 -> 0.33)


Packages (1) razercfg-0.33-1

Total Installed Size: 0.36 MiB
Net Upgrade Size: 0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
razercfg: /usr/lib/python3.5/site-packages/pyrazer/__init__.py exists in filesystem
razercfg: /usr/lib/python3.5/site-packages/pyrazer/__pycache__/__init__.cpython-35.pyc exists in filesystem
razercfg: /usr/lib/python3.5/site-packages/pyrazer/__pycache__/main.cpython-35.pyc exists in filesystem
razercfg: /usr/lib/python3.5/site-packages/pyrazer/main.py exists in filesystem
Errors occurred, no packages were upgraded.
==> WARNING: Failed to install built package(s).

polyzen commented on 2015-11-11 07:02

erkexzcy, read below gtmanfred commented on 2015-03-27 00:40

erkexzcx commented on 2015-11-11 06:28

If it fails for you because of PGP, temporary solution would be:
makepkg --skippgpcheck

Thymo commented on 2015-09-10 20:16

It works now, thanks.

polyzen commented on 2015-09-10 20:13

Did you manage to install qrazercfg without pyside?

pacman -Q python-pyside

Thymo commented on 2015-09-10 19:58

I get this error when running qrazercfg:

Traceback (most recent call last):
File "/usr/bin/qrazercfg", line 18, in <module>
from PySide.QtCore import *
ImportError: No module named 'PySide'

Any ideas?

Niksko commented on 2015-09-03 06:39

Getting an error about an incorrect magic number like I was? The fix is to delete the /usr/bin/pyrazer.pyc file.

polyzen commented on 2015-08-08 02:24

Yes

mischka commented on 2015-08-07 23:26

We still have to manually trust the pgp key?

polyzen commented on 2015-07-20 19:54

eNTI, the program you're using is seeing my packages as orphaned on aur.archlinux.org. I am only maintaing them on here (aur4.arch..)

eNTi commented on 2015-07-20 13:03

any reason why this package is marked orphaned on my system?

gtmanfred commented on 2015-03-27 00:40

http://allanmcrae.com/2015/01/two-pgp-keyrings-for-package-management-in-arch-linux/

You have to gpg --recv-keys the pgp key, and then gpg --lsign it, you will need to setup your own gpg keyring as well, otherwise just remove the .asc file from the sources.

mischka commented on 2015-03-27 00:12

I am also getting the pgp error.

z1lt0id commented on 2015-03-17 07:50

I got the following issue when compiling, not the right pgp keys.

[code]
==> Validating source files with sha256sums...
razercfg-0.31.tar.bz2 ... Passed
razercfg-0.31.tar.bz2.asc ... Skipped
razercfg.desktop ... Passed
razer.svg ... Passed
tmpfile.conf ... Passed
==> Verifying source file signatures with gpg...
razercfg-0.31.tar.bz2 ... FAILED (unknown public key 5FB027474203454C)
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR: Makepkg was unable to build razercfg.
[/code]

haliski commented on 2015-03-13 21:58

● razerd.service - Razer device state daemon
Loaded: loaded (/usr/lib/systemd/system/razerd.service)
Active: failed (Result: exit-code) since Sex 2015-03-13 18:41:16 BRT; 11min ago
Process: 377 ExecStart=/usr/local/bin/razerd -f -B -P /run/razerd/razerd.pid (code=exited, status=127)

Mar 13 18:41:14 ArchLinux systemd[1]: Starting Razer device state daemon...
Mar 13 18:41:14 ArchLinux razerd[377]: /usr/local/bin/razerd: error while l...ry
Warning: razerd.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Hint: Some lines were ellipsized, use -l to show in full.
[haliski@ArchLinux ~]$ systemctl -l status razerd
● razerd.service - Razer device state daemon
Loaded: loaded (/usr/lib/systemd/system/razerd.service)
Active: failed (Result: exit-code) since Sex 2015-03-13 18:41:16 BRT; 11min ago
Process: 377 ExecStart=/usr/local/bin/razerd -f -B -P /run/razerd/razerd.pid (code=exited, status=127)

Mar 13 18:41:14 ArchLinux systemd[1]: Starting Razer device state daemon...
Mar 13 18:41:14 ArchLinux razerd[377]: /usr/local/bin/razerd: error while loading shared libraries: librazer.so: cannot open shared object file: No such file or directory
Warning: razerd.service changed on disk. Run 'systemctl daemon-reload' to reload units.

Cannot get it working!

polyzen commented on 2015-02-21 16:28

StatelessCat, re your first post, how are you starting razerd? `systemctl restart razerd` should get it "working again." You may need to open an issue upstream. This seems relevant https://github.com/mbuesch/razer/pull/23

As for your second post, that's normal. It's due to fakeroot. ldconfig is run from razercfg.install
https://wiki.archlinux.org/index.php/Arch_Build_System#fakeroot

StatelessCat commented on 2015-02-20 19:00

i also got :

-- Installing: /tmp/yaourt-tmp-raphael/aur-razercfg-git/pkg/razercfg-git/usr/lib/librazer.so
ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
CMake Warning at librazer/cmake_install.cmake:55 (message):
WARNING: ldconfig failed: 1

Your system will probably be unable to locate librazer.so library

Maybe it's related to the previous issue ?

StatelessCat commented on 2015-02-20 18:54

Hey, sometimes i got:
Feb 20 19:52:38 xxx razerd[2559]: Razer device service daemon
Feb 20 19:52:38 xxx razerd[2559]: librazer: razer-taipan: USB read 0x01 0x300 failed: 26
Feb 20 19:52:38 xxx razerd[2559]: librazer: hw_taipan: Failed to commit initial settings

and razercfg -r answer "No Razer device found in the system"

When this happens, i reboot my computer, and most often it works again.

polyzen commented on 2015-02-14 10:42

Glad it's working for you now, sorry I couldn't help

cokomoko commented on 2015-02-13 15:24

This problem is solved with cmake 3.1.3-1

julianjames7 commented on 2015-02-08 04:18

rcz, check your path (not just your Python path!) for anything named "pyrazer.pyc". I had a /usr/bin/pyrazer.pyc that was overriding the package's pyc file, which didn't work as it was an old Python 2.7 file.

cokomoko commented on 2015-02-02 22:37

Problem with package;

CMake Error at /usr/share/cmake-3.1/Modules/CMakeTestCCompiler.cmake:78 (CMAKE_DETERMINE_COMPILE_FEATURES):
Unknown CMake command "CMAKE_DETERMINE_COMPILE_FEATURES".
Call Stack (most recent call first):
CMakeLists.txt:1 (project)


-- Configuring incomplete, errors occurred!
See also "/tmp/yaourt-tmp-cokomoko/aur-razercfg/src/razercfg-0.31/CMakeFiles/CMakeOutput.log".


please update

f4bio commented on 2015-01-21 22:27

additionally i had to specify the keyserver mentioned at http://bues.ch/cms/resources/contact.html#gnupg_pgp_key

gpg --keyserver hkp://keys.gnupg.net/ --recv-key 5FB027474203454C

youri commented on 2015-01-20 13:11

gpg --recv-key 5FB027474203454C

worked for me.

StatelessCat commented on 2015-01-16 22:34

I got "razercfg-0.31.tar.bz2 ... FAILED (unknown public key 5FB027474203454C)" while I added Michael Büsch <m@bues.ch> keys to my gpg, can you help ?

rcz commented on 2014-12-01 19:26

I'm getting this error when running razercfg:

Traceback (most recent call last):
File "/usr/bin/razercfg", line 21, in <module>
from pyrazer import *
ImportError: bad magic number in 'pyrazer': b'\x03\xf3\r\n'

Any ideas?

polyzen commented on 2014-10-09 21:24

Import the author's key if you want makepkg to verify the source tarball:
http://bues.ch/cms/resources/contact.html#gnupg_pgp_key

polyzen commented on 2014-08-02 15:29

@sistematico, does qrazercfg not work with python-pyside?

sistematico commented on 2014-07-31 23:57

Please put python2-pyside as depends.

Thanks.

polyzen commented on 2014-07-22 21:29

Upstream now installs the udev rule to $(pkg-config --variable=udevdir udev)/rules.d/80-razer.rules.

GeneMarston commented on 2014-07-22 19:19

It says in README "The 'make install' step did already install the UDEV script automatically.
87 It installed the script to
88 /etc/udev/rules.d/01-razer-udev.rules"

I have no such file in my /etc/udev/rules.d/ directory. What went wrong? Was it explicitly removed in this arch package?

polyzen commented on 2014-07-07 23:11

The service unit is now in /usr/lib/systemd/system/. If you had it enabled, you can do the following:

# systemctl reenable razerd.service

suthernfriend commented on 2014-07-06 22:16

Wow, thank you this package really helped me out.
But if i set the leds for my Razer Naga i get the following errors:

root@maschine # razercfg -l 1:Scrollwheel:on
Traceback (most recent call last):
File "/usr/bin/razercfg", line 485, in <module>
exit(main())
File "/usr/bin/razercfg", line 478, in main
devOps.runAll()
File "/usr/bin/razercfg", line 284, in runAll
op.run(self.idstr)
File "/usr/bin/razercfg", line 179, in run
led = filter(lambda l: l.name == ledName, leds)[0]
TypeError: 'filter' object is not subscriptable

As I have no idea of python i cant fix this. Would appreciate a fix for this :)

PerfectGentleman commented on 2014-04-19 17:40

razercfg-0.20-sbin.patch doesn't needed anymore

Blaster_Fr commented on 2014-04-16 19:58

WoW ty it worked i edited in /etc/razer.conf

# Configure first profile
# Resolution: 450, 900, 1800, (3500)
res=1:450
# Frequency: 125, 500, 1000
freq=1:1000

TY ;)

PerfectGentleman commented on 2014-04-16 13:02

Blaster_Fr, have you looked at /etc/razer.conf ?

Blaster_Fr commented on 2014-04-16 08:28

Hi it works perfectly but how can i set to 450DPI for ever ? When i reboot it switches to 900DPI

Blaster_Fr commented on 2014-04-16 02:24

Hi it works perfectly but how can i set to 450DPI for ever ? When i reboot it switch to 900DPI

polyzen commented on 2014-04-10 21:31

Thank you, PerfectGentleman.

dookytek, presumably installing 'python2-pyqt4' will solve that.

The razerd.service is in '/etc/systemd/system/', but should probably be in '/usr/lib/systemd/system/'. will look into this.

PerfectGentleman commented on 2014-04-10 11:55

there is no 'python2-qt', there's 'python2-pyqt4'

polyzen commented on 2014-04-05 02:04

Updated this. Removed the excessive razerd.service.

dookytek commented on 2014-02-02 11:03

i get this error
20 root@dan1el-PC /home/dan1el # qrazercfg :(
Traceback (most recent call last):
File "/usr/bin/qrazercfg", line 18, in <module>
from PyQt4.QtCore import *
ImportError: No module named PyQt4.QtCore

And if i want to change the dpi with razercfg -r i dont know what to type in..

PerfectGentleman commented on 2014-01-22 15:14

razerd[214]: librazer: razer-naga: Command 0300/0104 failed with 03 - what does it mean ?

rhinoceraptor commented on 2014-01-02 21:41

Thank you! This package works great, and now my mouse is useable under arch!

z3bra commented on 2013-06-04 09:17

Ok, here is a modified tarball, with all the files included.
just extract / makepkg : https://paste.xinu.at/9S1/

z3bra commented on 2013-06-04 09:09

Okay, I worked on it, And here is what I came with:
- updated razerd.service : https://paste.xinu.at/7GhNA
- updated PKGUILD : https://paste.xinu.at/Hdh
- patch for razercfg files : https://paste.xinu.at/hiX

I'm not really used to package fixing... So It's not really "clean" actually.
I hope somebody will be able to fix my mess ^^

To reinstall the package under /usr/bin, please do the following :
1/ Download & extract the actual TarBall
2/ Remove the file "razerd.service" so it will be re-downloaded by the new PKGBUILD
3/ Replace the PKGBUILD with my modified version
4/ makepkg -si
5/ watch the magic happen... :)

I am aware that this is actually "a hack". but it works on my machine ATM.
To make it cleaner, a new tarball might be uploaded with the new files included (razerd.service / razercfg-0.20-sbin.patch)

I hope it will help !

fukawi2 commented on 2013-06-04 01:34

Please update PKGBUILD to install binaries to /usr/bin instead of /usr/sbin in line with recent changes: https://www.archlinux.org/news/binaries-move-to-usrbin-requiring-update-intervention/

oblique commented on 2013-06-03 12:29

please move /usr/sbin/razerd to /usr/bin (see https://www.archlinux.org/news/binaries-move-to-usrbin-requiring-update-intervention/)

Anonymous comment on 2013-02-27 22:26

Another satisfied customer! Next!

Anonymous comment on 2013-02-27 16:26

Another satisfied customer! Next!

sistematico commented on 2012-12-19 02:50

https://friendpaste.com/21WFtusmIesUcgQ8erCqhU/raw

sistematico commented on 2012-12-19 02:42

Please, fix or drop.

itti commented on 2012-11-11 12:03

I converted the razerd initscript to a systemd service unit.

See: http://pastebin.com/iH1qJBn0

This is for a manual install of razercfg 0.19 though. You may have to update the path to razerd and make sure that librazer.so is found.

Anonymous comment on 2012-10-22 01:58

Use new website: http://bues.ch/cms/hacking/razercfg.html

The "http://bu3sch.de/joomla/index.php/razer-nextgen-config-tool" don't work anymore.

Current Version is 0.19. please update.

Reihar commented on 2012-06-25 10:07

The config file doesn't seem to be installed.

Plus, I don't understand why the package is shown as outdated since 0.17 is the last version.

bonko commented on 2012-05-24 23:23

ccharles is right, it works if you change the source to this:

source=("http://bues.ch/$pkgname/$pkgname-$pkgver.tar.bz2"

bonko commented on 2012-05-24 15:11

ccharles is right, it works if you change the source to this:

source=("http://bues.ch/$pkgname/$pkgname-$pkgver.tar.bz2"

ccharles commented on 2012-05-22 13:39

It looks like the bu3sch.de domain expired. Did it possibly move here?

http://bues.ch/cms/hacking/razercfg.html

ccharles commented on 2012-05-22 13:38

Did it possibly move here?

http://bues.ch/cms/hacking/razercfg.html

ccharles commented on 2012-05-22 13:36

It looks like the bu3sch.de domain expired.

Does anybody have a mirror? Does anybody have contact information for the developer?

Synthead commented on 2012-01-26 15:01

@JDiPierro: Nice catch, thank you! Updated to revision 2 that takes care of this.

Anonymous comment on 2012-01-22 22:31

Fails building. in PKGBUILD change the line:

install=('razercfg.install')

to

install='razercfg.install'

to solve.

Synthead commented on 2011-12-05 01:31

Adopted, updated to 0.17, created new python2 patch, added Razer icon file and put it in the .desktop file, made udevadm and ldconfig run on post_remove(), and made the "razerd daemon" install warning a one-liner.

chepaz commented on 2011-10-08 15:53

0.17 seems to be out.

Modified files:
PKGBUILD: http://paste.xinu.at/V5u/
Patch: http://paste.xinu.at/7Bp1v/

Anonymous comment on 2011-08-30 22:52

According to the website (http://bu3sch.de/cms/index.php/razer-nextgen-config-tool) the Abyssus isn't supported by the driver. Have you installed python2-pyqt? That's the package that provides PyQt4 for python2.

Synthead commented on 2011-08-30 19:40

Looks like there's some issues with this config tool. I just got an Abyssus and the driver doesn't see it. Additionally, qrazercfg can't find pyqt4. I have started razerd and pyqt4 is installed.

[max@killterm3 razercfg]$ razercfg -V
No Razer device found in the system
[max@killterm3 razercfg]$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0424:2504 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 004: ID 0424:2504 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 005: ID 058f:6377 Alcor Micro Corp. Multimedia Card Reader
Bus 002 Device 002: ID 06e0:0319 Multi-Tech Systems, Inc.
Bus 001 Device 047: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 001 Device 050: ID 1532:001c Razer USA, Ltd RZ01-0036 Optical Gaming Mouse [Abyssus]
[max@killterm3 razercfg]$ razercfg -V
No Razer device found in the system
[max@killterm3 razercfg]$ qrazercfg
Traceback (most recent call last):
File "/usr/bin/qrazercfg", line 18, in <module>
from PyQt4.QtCore import *
ImportError: No module named PyQt4.QtCore