nagisa / msi-rgb

Linux utility for controlling RGB header on select MSI motherboards
ISC License
416 stars 40 forks source link

color defined by temperature #13

Open mrader1248 opened 7 years ago

mrader1248 commented 7 years ago

First of all: Great work! Thank you for this!

I know that with the MSI tool for Windows a mode setting the color depending on the temperature can be chosen. Would this also be possible using your tool? Or would it be necessary to periodically query the temperature sensor and depending on its value set the color?

dcerisano commented 7 years ago

This tool is a single pass function to set the RGB port registers for a specific SIO chip (NUVOTON NCT6795D).

The SIO also controls the thermal sensors, so it could be possible that the chip has a feature to feed the temperature values directly to the RGB registers.

I doubt that is the case - the Windows MSI app/service runs in the background and likely polls thermal sensors to set the RGB registers.

I have put together a set of linux rgb services to stream various measurements (CPU, audio, etc) to this msi-rgb tool. You can easily modify them to stream temperature measurements,

https://github.com/dcerisano/RGB-LED-Motherboard-Header-Driver-App

nagisa commented 7 years ago

As far as I’m aware, temperature-based colours are implemented by the Gaming App service, so you’ll likely have to do something as @dcerisano described.

dcerisano commented 6 years ago

Currently, the new NCT6795D sensors are not directly supported by Linux. Fortunately, they are compatible with NCT6775, which is supported. This bit of voodoo will magically enable all your sensors. sudo /sbin/modprobe nct6775 force_id=0xd120

bpiero commented 4 years ago

102