'Creator' vs. 'Gaming' performance profiles
Hey there,
would you accept any patches to support power profiles on Razer laptops? They have an undocumented usb device, which allows to control TDP values and fan curves, which is used by their proprietary "Razer Synapse" software on Windows to support different power profiles.
I would personally love to see some kind of support in this project and I am willing to contribute, if there is interest.
As far as I can see, there are multiple options to implement this.
- Implement support through the razer-laptop-control driver: https://github.com/rnd-ash/razer-laptop-control (which is likely what most linux/razer users use today), but that project looks like development has stalled and I am not aware of any attempts to upstream this driver.
- Implement support by speaking this protocol directly through something like libUSB + some udev rules that could be shipped together with power-profiles-daemon.
I would personally prefer the first route, as the razer-laptop-control project also supports various other settings and unifies any various on the protocol for different laptops into one interface. Additionally I am not sure, how this usb-device would behave, if two processes try to send messages.