From bd15eb022f92aab32441f34944fd13bca2728dc4 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Fri, 23 Oct 2020 15:26:21 -0500 Subject: [PATCH] Add the rest of the EVGA V2 bytes from the capture --- Controllers/EVGAGPUController/EVGAGPUv2Controller.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Controllers/EVGAGPUController/EVGAGPUv2Controller.cpp b/Controllers/EVGAGPUController/EVGAGPUv2Controller.cpp index 0595de6d..3d518bb8 100644 --- a/Controllers/EVGAGPUController/EVGAGPUv2Controller.cpp +++ b/Controllers/EVGAGPUController/EVGAGPUv2Controller.cpp @@ -47,11 +47,19 @@ unsigned char EVGAGPUv2Controller::GetBlue() void EVGAGPUv2Controller::SetColor(unsigned char red, unsigned char green, unsigned char blue) { + bus->i2c_smbus_write_byte_data(dev, 0x0E, 0xE5); + bus->i2c_smbus_write_byte_data(dev, 0x0E, 0xE9); + bus->i2c_smbus_write_byte_data(dev, 0x0E, 0xF5); + bus->i2c_smbus_write_byte_data(dev, 0x0E, 0xF9); + bus->i2c_smbus_write_byte_data(dev, EVGA_GPU_V2_REG_COLOR_A_RED, red); bus->i2c_smbus_write_byte_data(dev, EVGA_GPU_V2_REG_COLOR_A_GREEN, green); bus->i2c_smbus_write_byte_data(dev, EVGA_GPU_V2_REG_COLOR_A_BLUE, blue); bus->i2c_smbus_write_byte_data(dev, EVGA_GPU_V2_REG_COLOR_A_BRIGHTNESS, 0x64); + bus->i2c_smbus_write_byte_data(dev, 0x08, 0x01); + bus->i2c_smbus_write_byte_data(dev, 0x0E, 0xF0); + bus->i2c_smbus_write_byte_data(dev, 0x0E, 0xE0); } void EVGAGPUv2Controller::SetMode(unsigned char mode)