From 9fb431496477b43a0657c6c0145f78f67c7d2c8c Mon Sep 17 00:00:00 2001 From: RedBlackAka Date: Sat, 8 Mar 2025 22:14:15 +0100 Subject: [PATCH] Add Asus ROG Astral RTX 5080 OC #4644 --- Controllers/ENESMBusController/ENESMBusController.cpp | 11 +++++++++++ .../ENESMBusController/ENESMBusControllerDetect.cpp | 1 + pci_ids/pci_ids.h | 2 ++ 3 files changed, 14 insertions(+) diff --git a/Controllers/ENESMBusController/ENESMBusController.cpp b/Controllers/ENESMBusController/ENESMBusController.cpp index 5c5470d5..d860961c 100644 --- a/Controllers/ENESMBusController/ENESMBusController.cpp +++ b/Controllers/ENESMBusController/ENESMBusController.cpp @@ -199,6 +199,17 @@ ENESMBusController::ENESMBusController(ENESMBusInterface* interface, ene_dev_id // Read LED count from configuration table led_count = config_table[ENE_CONFIG_LED_COUNT_0107]; } + // AUMA0-E6K5-1113 + // Found on ASUS ASTRAL 5080 OC + else if (strcmp(device_name, "AUMA0-E6K5-1113") == 0) + { + direct_reg = ENE_REG_COLORS_DIRECT_V2; + effect_reg = ENE_REG_COLORS_EFFECT_V2; + channel_cfg = ENE_CONFIG_CHANNEL_V2; + + // Read LED count from configuration table + led_count = config_table[ENE_CONFIG_LED_COUNT_0107]; + } // ROG ARION - ASUS ROG Arion external SSD enclosure // This device does not support ENE read, so we fake the device name string // if the interface is ROG Arion type. It uses second generation registers. diff --git a/Controllers/ENESMBusController/ENESMBusControllerDetect.cpp b/Controllers/ENESMBusController/ENESMBusControllerDetect.cpp index 75c32b7f..6cf09519 100644 --- a/Controllers/ENESMBusController/ENESMBusControllerDetect.cpp +++ b/Controllers/ENESMBusController/ENESMBusControllerDetect.cpp @@ -462,6 +462,7 @@ REGISTER_I2C_PCI_DETECTOR("ASUS ROG STRIX GeForce RTX 4090 Gaming White", REGISTER_I2C_PCI_DETECTOR("ASUS ROG STRIX GeForce RTX 4090 Gaming White OC", DetectENESMBusGPUControllers, NVIDIA_VEN, NVIDIA_RTX4090_DEV, ASUS_SUB_VEN, ASUS_ROG_STRIX_RTX_4090_O24G_GAMING_WHITE, 0x67); REGISTER_I2C_PCI_DETECTOR("ASUS ROG STRIX GeForce RTX 4090 Gaming White OC", DetectENESMBusGPUControllers, NVIDIA_VEN, NVIDIA_RTX4090_DEV, ASUS_SUB_VEN, ASUS_ROG_STRIX_RTX_4090_O24G_GAMING_WHITE_2, 0x67); REGISTER_I2C_PCI_DETECTOR("ASUS ROG MATRIX PLATINUM GeForce RTX 4090", DetectENESMBusGPUControllers, NVIDIA_VEN, NVIDIA_RTX4090_DEV, ASUS_SUB_VEN, ASUS_ROG_MATRIX_PLATINUM_RTX_4090_24G, 0x67); +REGISTER_I2C_PCI_DETECTOR("ASUS ROG ASTRAL GeForce RTX 5080 OC", DetectENESMBusGPUControllers, NVIDIA_VEN, NVIDIA_RTX5080_DEV, ASUS_SUB_VEN, ASUS_ROG_ASTRAL_RTX_5080_O16G_GAMING, 0x67); /*-----------------------------------------*\ | AMD GPUs | diff --git a/pci_ids/pci_ids.h b/pci_ids/pci_ids.h index 2a1776a8..9dbfe16a 100644 --- a/pci_ids/pci_ids.h +++ b/pci_ids/pci_ids.h @@ -118,6 +118,7 @@ #define NVIDIA_RTX4080_DEV 0x2704 #define NVIDIA_RTX4080S_DEV 0x2702 #define NVIDIA_RTX4090_DEV 0x2684 +#define NVIDIA_RTX5080_DEV 0x2C02 #define NVIDIA_RTX5090_DEV 0x2B85 /*-----------------------------------------------------*\ @@ -334,6 +335,7 @@ #define ASUS_ROG_STRIX_RTX_4090_24G_GAMING_WHITE 0x88C4 #define ASUS_ROG_STRIX_RTX_4090_O24G_GAMING_WHITE 0x88C3 #define ASUS_ROG_STRIX_RTX_4090_O24G_GAMING_WHITE_2 0x88F1 +#define ASUS_ROG_ASTRAL_RTX_5080_O16G_GAMING 0x89DE #define ASUS_ROG_MATRIX_PLATINUM_RTX_4090_24G 0x8934 #define ASUS_AREZ_STRIX_VEGA56_08G_GAMING 0x0555 #define ASUS_VEGA64_STRIX 0x04C4