pelrun / hp-omen-linux-module

Control the HP Omen keyboard lighting and performance settings in Linux
GNU General Public License v2.0
171 stars 28 forks source link

*edit* Dear Sir I would like to complain vociferously about your lack of forward progress in this endeavour in the past several months #2

Closed Manhanted closed 3 years ago

Manhanted commented 3 years ago

I just ran out of patience i wanted to switch to linux completely only to find out playibg games does not take the fans to max automatically.I looked for many ways but could not find one as convincing as this one.And plz add installation instructions.

markozajc commented 3 years ago

You're free to do it yourself with that attitude. Remember that this is a free and opensource project, made entirely by someone's free time. As stated in the readme (which I assume you haven't read),

It's totally experimental right now, and could easily crash your machine. As such I'm not going to provide any instructions just yet.

If you know how kernel modules work, you'll figure it out. If you don't, you probably shouldn't try to manually replace one. As per your fan issues, the fans are controlled automatically based on the thermal sensors. That shouldn't be a problem, even when playing resource-intensive games.

geekq commented 3 years ago

@Manhanted At least for my Model, HP OMEN 870-155ng, the fans are sufficiently controlled by BIOS / firmware. No special kernel module necessary. Nvidia graphics card (GeForce GTX 1070) cooling/fans can be additionally tuned via nvidia-settings with proprietary drivers. (installed with sudo apt-get install nvidia-settings, but please check first if you have a Nvidia GPU first)

I can confirm that when all 8 CPUs are fully loaded (when e.g. compiling) the CPU fan goes up. When playing with 4K resolution the graphics card fan goes to the max as expected. If not much GPU power is used, the fan stays low.

I am observing this kernel module repo more for optional fun stuff like controlling ambient light etc. And installation and deinstallation instructions for just trying things out, or at least a link to a suitable kernel module instructions, would be nice! Thanks @markozajc !

markozajc commented 3 years ago

@geekq The installation process is not too hard, but there's no automatic way to do it. You must first make the module, then replace your current kernel's hp-wmi.ko (forgot where it is, you can just find -name it) with the built one, and reboot. The zone device in /sys takes a string hex color value (0000FF) is blue for example. Do note that the hp-wmi replacement in this repository is probably not kept up to date with the official one.

pelrun commented 3 years ago

Of course being shouted at is obviously the best way to motivate a person... :unamused:

Ignoring that particular tantrum, my machine doesn't have an ambient light sensor, so it's unlikely I'll be able to do anything about that even if I can get back to working on this.