LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-30-2020, 06:59 PM   #1
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,699

Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
Testers Wanted: openrazer SlackBuild


Hi all,

Last year I bought a Razer Basilisk mouse and I quickly found out that there is no onboard memory for storing color profiles and such, everything is done through software. I found the openrazer project that allows you to configure Razer devices in Linux but my mouse was not supported and there was no Slackware build for it. Two days ago I saw that the newest version now supports my mouse so I decided to take a crack at making a SlackBuild for openrazer. After about a day and a half I think I got everything tested and working. I thought I would share this here so I can get people to try it out and see if I missed anything or if anyone wants to give me some tweaks to the scrips and such.

READ FIRST: These packages require QT5 and Python3, I recently had to upgrade to a ryzen 1600x so I switched to current. These packages were tested and made for -current. They should probably work no problem if you install QT5 and Python3 on 14.2, but I didn't test this and I can't help you if you run into problems. Also you may want to check device compatibility before you begin
https://github.com/openrazer/openrazer

INSTALL PROCEDURE:

Step 1: First install the required dependencies
QT5: already installed on -current
Python3: Already installed on -current
setproctitle: available at SBo
pyudev: available at SBo
python-daemonize: not available at SBo, download SlackBuild here https://www.dropbox.com/s/d6s9t73evf...ld.tar.gz?dl=0

Step 2: Install openrazer using SlackBuild
Download SlackBuild here https://www.dropbox.com/s/lvmfruiahg...ld.tar.gz?dl=0
Build and install as usual
reboot computer, this shouldn't be necessary but I had too.
NOTE: openrazer build and installs kernel modules so you will have to rebuild it everytime you upgrade your kernel.

Step 3: Confirm openrazer is working
load the kernel module, as root run "modprobe razerkbd"
in a terminal start openrazer AS USER not as root with "openrazer-daemon -v -F"
the -v -F flags are not necessary but they give you logging and output to see what your errors are if any. If you got no errors then openrazer should be up and running.

Step 4: Install razergenie and its dependencies
to acutally configure your razer devices you are probably going to want to use a GUI, I have provided one for you called razergenie. Install its dep first then the program.
libopenrazer: download here https://www.dropbox.com/s/4ib87p0nr1...ld.tar.gz?dl=0
The SlackBuild has no source, it clones the git and installs the package, so all you have to do is run the SlackBuild then install the package.
razergenie: download here https://www.dropbox.com/s/o8b5bx5z0x...ld.tar.gz?dl=0
same as above, the script will clone the git and make the package for you, just install it after it is done.

Once razergenie is installed launch it as user and start customizing.

All Done! PLEASE REPORT BACK HERE, THANK YOU


TIPS:

If everything appears to be working but razergenie cant find your device, unplug then replug it in. I struggled for 20 minutes before I read this on git. after I replugged it in my mouse was found.

If you get everything working, you can have your module load at boot time by adding it to /etc/rc.d/rc.modules.local with "/sbin/modprobe razerkbd"

its also a good idea to have openrazer-daemon automatcally launch, I have it set auto launch when I startx. There are many ways to do this, your DM can do it for you.

Last edited by Daedra; 09-04-2020 at 06:57 PM.
 
Old 08-30-2020, 09:53 PM   #2
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,699

Original Poster
Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
Here is a GUI front end using GTK3 called razerCommander, This package doesn't use QT so there would be no QT5 dep, however numpy3 is a required dep, but it is available at SBo.

https://www.dropbox.com/s/1gkjpdb5aj...ld.tar.gz?dl=0

Last edited by Daedra; 08-31-2020 at 12:23 AM.
 
1 members found this post helpful.
Old 01-01-2022, 04:51 PM   #3
SunnyJim
Member
 
Registered: Jan 2016
Location: Canada
Distribution: slackware and linux mint
Posts: 110

Rep: Reputation: Disabled
Wink updated progress

Well i tried your directions and with a bit of work i was able to reconfigure and use my deathadder v2 mouse . Although i had to edit the slackbuild for openrazer
and use openrazer-3.2.0 and also i had to use "sudo pip3.7 install daemonize" in a terminal to install daemonize and that about did it. It turns out that https://openrazer.github.io/ will not support slackware even though they say that they would "consider adding your distro" it turns out when i asked they would not
because Slackware is too "obscure" although they said that they would link to a package so it might be an idea to let these guys know about this page when it gets updated.
It's kind of odd that i am the only one who replied to this thread but there you have an answer anyway.
 
Old 01-01-2022, 04:56 PM   #4
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,699

Original Poster
Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
Quote:
Originally Posted by SunnyJim View Post
Well i tried your directions and with a bit of work i was able to reconfigure and use my deathadder v2 mouse . Although i had to edit the slackbuild for openrazer
and use openrazer-3.2.0 and also i had to use "sudo pip3.7 install daemonize" in a terminal to install daemonize and that about did it. It turns out that https://openrazer.github.io/ will not support slackware even though they say that they would "consider adding your distro" it turns out when i asked they would not
because Slackware is too "obscure" although they said that they would link to a package so it might be an idea to let these guys know about this page when it gets updated.
It's kind of odd that i am the only one who replied to this thread but there you have an answer anyway.
my original post is old now. I have slackbuilds for the latest openrazer, polychromatic, razerGenie, and razercommander already to submit to SBo when 15.0 goes stable. I even have SlackBuilds for all the required dependencies including python-daemonize for each package.

Last edited by Daedra; 01-01-2022 at 04:58 PM.
 
1 members found this post helpful.
Old 01-01-2022, 05:00 PM   #5
SunnyJim
Member
 
Registered: Jan 2016
Location: Canada
Distribution: slackware and linux mint
Posts: 110

Rep: Reputation: Disabled
Smile updated progress

Yeah i hope you don't mind i have notified https://openrazer.github.io/ about this page as well.
Looking forward to slackware 15.0 stable.
 
1 members found this post helpful.
Old 01-01-2022, 05:03 PM   #6
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,699

Original Poster
Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
The author of polychromatic asked me to let him know when I submit my packages to SBo and hes going to add them to his page of supported distros. See here
 
1 members found this post helpful.
Old 01-01-2022, 05:05 PM   #7
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,699

Original Poster
Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
When I originally made this post I did not have a SlackBuild for polychromatic yet. Polychromatic is BY FAR the best GUI Frontend for OpenRazer.
 
Old 01-01-2022, 05:16 PM   #8
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,699

Original Poster
Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
Also I should note that if anyone reads this and wants to try it out please ignore step 4. I have newer builds for the GUI frontends that don't require libopenrazer as a dependency.
 
Old 01-01-2022, 06:06 PM   #9
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,409

Rep: Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145
Quote:
If everything appears to be working but razergenie cant find your device, unplug then replug it in. I struggled for 20 minutes before I read this on git. after I replugged it in my mouse was found.
everything work pretty well, except that : "No device was detected"

I have a DeathAdder V2 Pro which, however, is in the list of supported devices
 
Old 01-01-2022, 06:15 PM   #10
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,699

Original Poster
Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
Quote:
Originally Posted by marav View Post
everything work pretty well, except that : "No device was detected"

I have a DeathAdder V2 Pro which, however, is in the list of supported devices
This is common. Try adding the razerkbd module to /etc/rc.d/rc.modules.local then reboot. After that start the openrazer daemon. If your device is still not detected then while openrazer is running unplug it for a few seconds then plug it back in. It should then appear. I will upload my polychromatic SlackBuild here soon. It is the best GUI to use.
 
Old 01-01-2022, 06:25 PM   #11
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,409

Rep: Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145
Quote:
Originally Posted by Daedra View Post
This is common. Try adding the razerkbd module to /etc/rc.d/rc.modules.local then reboot. After that start the openrazer daemon. If your device is still not detected then while openrazer is running unplug it for a few seconds then plug it back in. It should then appear. I will upload my polychromatic SlackBuild here soon. It is the best GUI to use.
razerkbd is in my rc.modules.local
unplug/plug doesn't make my mouse detected

I build polychromatic, and both polychromatic-controller and polychromatic-cli said : "No backends available"

:-(

openrazer-daemon output:
Code:
2022-01-02 01:24:20 | razer                          | DEBUG    | Device event [add]: /devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb3/3-2/3-2:1.4/0003:1532:007D.0039
2022-01-02 01:24:20 | razer                          | DEBUG    | Device event [add]: /devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb3/3-2/3-2:1.2/0003:1532:007D.0038
2022-01-02 01:24:20 | razer                          | DEBUG    | Device event [add]: /devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb3/3-2/3-2:1.0/0003:1532:007D.0036
2022-01-02 01:24:20 | razer                          | DEBUG    | Device event [add]: /devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb3/3-2/3-2:1.1/0003:1532:007D.0037
2022-01-02 01:24:20 | razer                          | DEBUG    | Device event [add]: /devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb3/3-2/3-2:1.3/0003:1532:007D.003A
2022-01-02 01:24:20 | razer                          | DEBUG    | Device event [bind]: /devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb3/3-2/3-2:1.4/0003:1532:007D.0039
2022-01-02 01:24:20 | razer                          | DEBUG    | Device event [bind]: /devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb3/3-2/3-2:1.0/0003:1532:007D.0036
2022-01-02 01:24:20 | razer                          | DEBUG    | Device event [bind]: /devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb3/3-2/3-2:1.2/0003:1532:007D.0038
2022-01-02 01:24:20 | razer                          | DEBUG    | Device event [bind]: /devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb3/3-2/3-2:1.3/0003:1532:007D.003A
2022-01-02 01:24:20 | razer                          | DEBUG    | Device event [bind]: /devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb3/3-2/3-2:1.1/0003:1532:007D.0037
edit : add screenshot
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20220102_012855.png
Views:	32
Size:	75.2 KB
ID:	37960  

Last edited by marav; 01-01-2022 at 06:29 PM.
 
Old 01-01-2022, 06:40 PM   #12
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,699

Original Poster
Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
If you haven't already to building the latest version of openrazer with my script (3.2.0). Here is my output, this won't help you but it will give you an idea of what to look for...

https://pastebin.com/ZLC4cNRQ

And I assume your ahead of me on this but did you confirm openrazer is running with "ps aux | grep openrazer"

Last edited by Daedra; 01-01-2022 at 06:42 PM.
 
Old 01-01-2022, 06:46 PM   #13
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,699

Original Poster
Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
Also try adding razermouse to modules.local or load it manually. I don't have to do this on my machine, it automatically loads that module for me. But give it a try on your end.
 
Old 01-01-2022, 06:47 PM   #14
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,409

Rep: Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145
Quote:
Originally Posted by Daedra View Post
If you haven't already to building the latest version of openrazer with my script (3.2.0). Here is my output, this won't help you but it will give you an idea of what to look for...

https://pastebin.com/ZLC4cNRQ

And I assume your ahead of me on this but did you confirm openrazer is running with "ps aux | grep openrazer"
Thx

Here is mine
https://pastebin.com/RAt57vJu

Code:
blackstar :: ~ » ps faux | grep "[o]penrazer"
marav     3898  0.1  0.2 267056 34588 pts/1    Sl+  01:44   0:00  |   |   \_ openrazer-daemon
note : I put the .desktop file in my .config/autostart

Last edited by marav; 01-01-2022 at 06:48 PM.
 
Old 01-01-2022, 06:52 PM   #15
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,699

Original Poster
Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
Looking at your output it looks like you're using version 2.8.0? The DeathAdder V2 Pro didn't get support until 3.0.0. Try upgrading to the newest openrazer release (3.2.0). My script will work just grab the source and change the version.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] [TESTERS WANTED] Slint installers for Slackware 14.1 => LAST CALL Didier Spaier Slackware 11 11-22-2013 06:22 AM
70+ bug-fixes fro WindowMaker [testers wanted] gnashley Slackware 7 12-12-2009 08:38 AM
VirtualBox USB config test script; testers wanted catkin Linux - Virtualization and Cloud 42 10-23-2009 05:22 AM
LXer: SwapBoost v0.1alpha - early testers wanted LXer Syndicated Linux News 0 07-08-2007 09:46 PM
Beta testers wanted for new distro (IBLS) ico2 Linux - Distributions 4 12-31-2005 07:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration