nagisa / msi-rgb

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

MSI X570 chipset support #71

Open hrkfdn opened 5 years ago

hrkfdn commented 5 years ago

Hey,

I recently got an MSI X570 Gaming Edge Wifi and stumbled upon this project to see if I could control the RGB values with it. Unfortunately it doesn't seem to work, but I'm not getting an error message either.

Has the byte layout changed? A different chip maybe? Anything I can do to assist, let me know.

danpozmanter commented 5 years ago

Same observed behavior with the X570 Gaming Plus. Also interested and happy to help.

Overc1ocker commented 5 years ago

Can someone figure out the superio chip used on these boards? That may help get closer to controlling them.

Overc1ocker commented 5 years ago

Update: From what I have read, all Msi X570 boards use the Nuvoton Nct6797 super io chip. You might have to do a little reverse engineering to find the data bits you have to write to this newer chip, then fork this project or make a PR with the new data bits being used.

Second Update: it is actually a NCT6797D. I don’t know if the D makes a difference

Overc1ocker commented 5 years ago

The Nct6795D seems to be used on a lot of msi X470 and 370 motherboards.

Overc1ocker commented 5 years ago

http://download.msi.com/archive/mnu_exe/mb/E7B93v1.0.pdf Sample manual for the Msi Gaming pro carbon X570. All Msi motherboards list the super io chip in the manual. https://www.techpowerup.com/review/msi-meg-x570-ace/images/fan-control.jpg Picture of the chip courtesy of techpowerup

Overc1ocker commented 5 years ago

Msi SDKs and ref documents. http://download.msi.com/uti_exe/Mystic_light_SDK.zip SDK https://storage-asset.msi.com/file/pdf/Mystic_Light_Software_Development_Kit.pdf Reference doc

CalcProgrammer1 commented 4 years ago

Looks like X570 may be using a USB chip:

https://gitlab.com/CalcProgrammer1/OpenRGB/issues/63

flying-sheep commented 4 years ago

grafik

CalcProgrammer1 commented 4 years ago

I started digging through the pcap files that Jeffery posted for me on my OpenRGB Gitlab. I've documented my initial findings in this comment:

https://gitlab.com/CalcProgrammer1/OpenRGB/issues/63#note_267910270

It's definitely a USB HID device and the RGB pattern is pretty clear here. We may need more pcaps to truly understand the protocol. I'll write up a wiki page on my project's wiki to document the protocol.

Unfortunately I don't have one of these boards to develop on, but I've done USB drivers for other stuff and this doesn't look too difficult to reproduce.

flying-sheep commented 4 years ago

The PR on OpenRPG has been merged, so that should help! https://gitlab.com/CalcProgrammer1/OpenRGB/-/merge_requests/21