My driver for all razer laptop's is now available in the AUR! allows for fan control and enabling of gaming/creator mode
aur.archlinux.orghttps://aur.archlinux.org/packages/razer-laptop-control-dkms-git/About this post
- Posted
- Archived
- Score
- 387 · 100% up
- Kind
- Link
- ID
- fz2ev4
38 comments
That looks really cool. Congratulations on writing that driver, stuff like this still seems almost unachievable to me; I have no idea on how to really start talking to the hardware...
Many thanks. This has taken me about 3 months of on-off work to get to this point. Driver itself was made out of pure frustration with Linux performance being tanked compared to windows, just because synapse under Windows could raise the CPU tdp from 35w to 55w, and raise the fan RPM to prevent overheating.
Now though, with my driver I can happily play half life alyx without any issue or stuttering, and laptop is loud, but cool
You should really submit this to the kernel!
That would be really cool indeed.
It's in the works. But that's for far down the line
Why? All of the mentioned features work out of the box already. OpenRazer adds the keyboard stuff.
Also anyone with a keen eye can see the issues with this driver. It’s great that OP is getting some experience learning drivers, but in no way would I run this on my personal machine without some serious changes.
This is a totally different framework to openrazer, yeah the RGB mechanics working in open razer, but open razer does not to the laptop-only features, such as fan RPM adjustment and power modes (gaming or creator mode)
Because not everyone uses arch and even among arch users something that works out of the box is better than something that you have to build
I'm interested, could you elaborate?
I use openrazer with Polychromatic at the moment, I am interested in trying your driver though. How do you control things with yours?
Currently, they aren't compatible with one another. Openrazer claims the laptop's keyboard for itself, then stops other kernel modules using it....if they fix that I don't see why one can't run both kernel modules together :D.
my driver exposes attributes in sysfs, however keyboard backlight control is done differently now such that KDE and gnome see the backlight interface as standard so they can control it from within the DE, or by most other userspace programs.
please submit this to upstream
Hi, i was wondering if you could guide me to some resources for getting started with this kind of stuff. Thanks in andvance!
Litterally just read documentation, and have a good end goal. Avoid starting something with a million features, or else you'll get consumed by it. Baby steps makes the whole process easier.
Most of this was done by sniffing packets synapse was sending to the laptop's keyboard over USB, then reimplementing those packets after understanding what they did
Thank you so much man! Been using this for a while. Your work has truly saved my laptop.
Your welcome!
A few issues with that package.
Read the VCS package guidelines first of all; https://wiki.archlinux.org/index.php/VCS_package_guidelines
Udev rules shouldn't be in
/etc/udev/rules.d/, use/usr/lib/udev/rules.d, and why is there a bash script there?Why the empty
prepare()?Where is the
linux-headersmake dependency?Thanks, I'll improve it :)
tremendous job
can you do this for asus laptops? because asus is always blocking control so i've you could do it i will be very thankfull
I can't magically make these unfortunately, only reason why I could for razer is because I have a razer notebook...
ok doesnt matter. youre still a hero that you did this i know that a lot of people will be happy with it
Had anyone installed the driver I have an SC15 LAPTOP
SC?? This is razer only
Ok, so after a full source code review, OP has super clean code! I don’t think it’s kernel worthy, yet.
Great Job!
Thanks!
I need one for my asus rog