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 01-01-2022, 06:53 PM   #16
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,409

Rep: Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144

Quote:
Originally Posted by Daedra View Post
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.
Ok, thx
I'll let you know

EDIT :

Thx a lot Daedra
razergenie works fine now!

polychromatic still show the message : no backends installed

I launched the "troubleshot" tools from polychromatic
He said I need to install python-openrazer or python3-openrazer
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20220102_020105.png
Views:	18
Size:	30.2 KB
ID:	37961  

Last edited by marav; 01-01-2022 at 07:02 PM.
 
Old 01-01-2022, 07:08 PM   #17
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
Ok I just checked my SlackBuild in the first post. It's been a while so I forgot that numpy3 is a required dependency. I didn't have that in the info file. Install numpy3 from SBo then rebuild openrazer and see if Polychromatic works. Also did you install python-daemonize from the link I provided?
 
Old 01-01-2022, 07:19 PM   #18
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,409

Rep: Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144
Quote:
Originally Posted by Daedra View Post
Ok I just checked my SlackBuild in the first post. It's been a while so I forgot that numpy3 is a required dependency. I didn't have that in the info file. Install numpy3 from SBo then rebuild openrazer and see if Polychromatic works.
will do
Quote:
Also did you install python-daemonize from the link I provided?
yep

Erf ... probably numpy3 v1.14.3 is too old
Code:
error: Command "gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -D_FILE_OFFSET_BITS=64
 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Inumpy/core/include -Ibuild/src.linux-x86_64-3.9/numpy/core/include/numpy -Inumpy/core
/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core
/src/npysort -I/usr/include/python3.9 -Ibuild/src.linux-x86_64-3.9/numpy/core/src/private -Ibuild/src.linux-x86_64-3.9/numpy/core/src
/npymath -Ibuild/src.linux-x86_64-3.9/numpy/core/src/private -Ibuild/src.linux-x86_64-3.9/numpy/core/src/npymath -Ibuild/src.linux-
x86_64-3.9/numpy/core/src/private -Ibuild/src.linux-x86_64-3.9/numpy/core/src/npymath -c numpy/random/mtrand/mtrand.c -o build/temp.linux-
x86_64-3.9/numpy/random/mtrand/mtrand.o -MMD -MF build/temp.linux-x86_64-3.9/numpy/random/mtrand/mtrand.o.d" failed with exit status 1
I'll try with 1.19.4

Last edited by marav; 01-01-2022 at 07:34 PM.
 
Old 01-01-2022, 07:35 PM   #19
SunnyJim
Member
 
Registered: Jan 2016
Location: Canada
Distribution: slackware and linux mint
Posts: 110

Rep: Reputation: Disabled
yeah that worked for me using openrazer 3.2.0

Last edited by SunnyJim; 01-01-2022 at 07:36 PM.
 
Old 01-01-2022, 07:37 PM   #20
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,409

Rep: Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144
Ok, all is fine with numpy3 1.19.4

again, thanks a lot Daedra ;-)
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20220102_023706.png
Views:	31
Size:	81.1 KB
ID:	37962  

Last edited by marav; 01-01-2022 at 07:38 PM.
 
Old 01-01-2022, 07:42 PM   #21
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
Yeah sorry about the instructions. When I made the SlackBuilds and posted about them I made some mistakes but since I never got a reply I figured I would ignore this post since all my corrected and updated SlackBuilds and README's would be submitted to SBo when 15.0 was released.
 
1 members found this post helpful.
Old 01-01-2022, 08:10 PM   #22
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
Ok, all is fine with numpy3 1.19.4

again, thanks a lot Daedra ;-)
BTW Marav, you should increase your polling rate to 1000mhz. It will smooth out your mouse some :-)
 
Old 01-01-2022, 08:34 PM   #23
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,409

Rep: Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144
Quote:
Originally Posted by Daedra View Post
BTW Marav, you should increase your polling rate to 1000mhz. It will smooth out your mouse some :-)
It drains more battery, no?
 
Old 01-01-2022, 08:36 PM   #24
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
It drains more battery, no?
Yeah it does cause your battery to drain noticeably faster. I didn't take that into consideration, my bad. I still use 1000 on my wireless Basilisk and atheris mice. My main rig is a wired Basilisk so I forgot about the battery drain.

Last edited by Daedra; 01-01-2022 at 08:38 PM.
 
Old 01-01-2022, 09:09 PM   #25
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,409

Rep: Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144
Quote:
Originally Posted by Daedra View Post
Yeah it does cause your battery to drain noticeably faster. I didn't take that into consideration, my bad. I still use 1000 on my wireless Basilisk and atheris mice. My main rig is a wired Basilisk so I forgot about the battery drain.
+ I'm not a gamer
After testing many wireless mice, this is the only one that doesn't hurt my wrist and finger ligaments¹ (I use it at home and at work, so all day long)
So, I think 500Hz is a good compromise ;-)

¹: typo? In short, the wires in my hand :-)

Last edited by marav; 01-01-2022 at 09:11 PM.
 
Old 01-02-2022, 06:19 AM   #26
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,409

Rep: Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144
@Daedra

FYI, I recompiled openrazer 3.2.0 against :
- numpy3 1.21.5
v1.22.0 apparently needs more dependencies, and ends with a "blas" error
Code:
/tmp/SBo/numpy-1.22.0/numpy/distutils/system_info.py:2077: UserWarning: 
    Blas (http://www.netlib.org/blas/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [blas_src]) or by setting
    the BLAS_SRC environment variable.
  if self._calc_info(blas):
INFO:   NOT AVAILABLE
- setproctitle 1.2.2

and everything works as expected

note : I just have to remove PKG-INFO from both .SlackBuild
Code:
cp: cannot stat 'PKG-INFO': No such file or directory

Last edited by marav; 01-02-2022 at 06:25 AM.
 
Old 01-02-2022, 07:59 AM   #27
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,409

Rep: Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144
I put a "all-in-one" on my git repo

https://gitlab.com/maravtdm/openrazer-all.git
 
Old 02-12-2022, 11:45 AM   #28
slacktroll
Member
 
Registered: May 2011
Distribution: Slackware64/current
Posts: 175

Rep: Reputation: 45
Thanks for the last post marav!

I bought the Razer 8khz mouse today :-)

Everything seems to work now on Slackware64 15.0!

After installation i had to do the following

sbopkg -i python3-PyQtWebEngine
pip install colorama
pip install colour

add my user to group plugdev in /etc/groups

Logout and Login.

:-)

Best Regards,
slacktroll
 
2 members found this post helpful.
Old 02-12-2022, 12:46 PM   #29
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
I have all the packages ready to go for 15.0 when SBo reopens including the python deps. I recently made a change though, I split openrazer into two packages, openrazer-daemon and openrazer-kernel. This way openrazer will work for people who run multiple kernel versions. Same basic idea as the NVIDIA slackbuilds.

I need to get off my lazy butt and start hosting my stuff on gitlab/gitub. But big thanks to Marav for hosting them till slackbuilds reopens.

Last edited by Daedra; 02-12-2022 at 12:57 PM.
 
2 members found this post helpful.
Old 02-12-2022, 02:03 PM   #30
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,409

Rep: Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144
Quote:
Originally Posted by Daedra View Post
I have all the packages ready to go for 15.0 when SBo reopens including the python deps. I recently made a change though, I split openrazer into two packages, openrazer-daemon and openrazer-kernel. This way openrazer will work for people who run multiple kernel versions. Same basic idea as the NVIDIA slackbuilds.

I need to get off my lazy butt and start hosting my stuff on gitlab/gitub. But big thanks to Marav for hosting them till slackbuilds reopens.
You’re welcome ;-)

note:
As you could see on my gitlab, all the slackbuilds are in the latest version, and everything works fine here.

Last edited by marav; 02-12-2022 at 02:24 PM.
 
  


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 06:11 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