Support for Gigabyte Z390 Gaming X
Hello,
I have a Gigabyte Z390 Gaming X motherboard, it does not use RGB Fusion. By analogy with the Z390 Designare uses simple Ambient LED application.
Below is the dump of i2cdetect:
# modprobe i2c-dev
# i2cdetect -l
i2c-3 i2c NVIDIA i2c adapter 4 at 1:00.0 I2C adapter
i2c-1 smbus SMBus I801 adapter at efa0 SMBus adapter
i2c-6 i2c NVIDIA i2c adapter 7 at 1:00.0 I2C adapter
i2c-4 i2c NVIDIA i2c adapter 5 at 1:00.0 I2C adapter
i2c-2 i2c NVIDIA i2c adapter 1 at 1:00.0 I2C adapter
i2c-0 i2c NVIDIA GPU I2C adapter I2C adapter
i2c-5 i2c NVIDIA i2c adapter 6 at 1:00.0 I2C adapter
# i2cdetect 1
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-1.
I will probe address range 0x03-0x77.
Continue? [Y/n] y
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- 08 -- -- -- 0c -- -- --
10: 10 -- -- 13 -- 15 -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- 27 -- -- -- -- -- -- -- --
30: 30 31 -- -- 34 35 36 -- -- -- -- -- -- -- -- --
40: -- 41 -- -- 44 -- -- -- -- -- -- -- -- -- -- --
50: 50 51 52 53 -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
# i2cdetect -F 1
Functionalities implemented by /dev/i2c-1:
I2C no
SMBus Quick Command yes
SMBus Send Byte yes
SMBus Receive Byte yes
SMBus Write Byte yes
SMBus Read Byte yes
SMBus Write Word yes
SMBus Read Word yes
SMBus Process Call no
SMBus Block Write yes
SMBus Block Read yes
SMBus Block Process Call yes
SMBus PEC yes
I2C Block Write yes
I2C Block Read yes
I also tried to compile OpenRgb from the i2c_sniffer_i801 branch in windows 10 for several hours, but failed. I only know the basics of c ++ and I have never programmed in windows.
Steps i took:
- I have installed Visual Studio 2019 Community
- I have installed Qt version 5.15.1
- I cloned OpenRgb and switched to the i2c_sniffer_i801 branch
- I ran Qt creator and set up the project to compile Qt 5.15.1 with msvc2019
- Here problems begin ...
- I threw out i2c_smbus_linux* files - because they included missing files
- I added the definition of _AFXDLL and WINVER, but I don't know if it's correct
- after these operations I have a lot of build errors related to casting and missing type definitions.
Could you recommend some tutorial on how to set up a project and compile it? Alternatively, advise on a different way to "record" smbus communication of the original Ambient Led program?