]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
kernel: add kmod-hwmon-corsair-cpro 23465/head
authorDee HY <dongfengweixiao@hotmail.com>
Thu, 21 May 2026 04:18:35 +0000 (12:18 +0800)
committerRobert Marko <robimarko@gmail.com>
Sat, 23 May 2026 16:45:20 +0000 (18:45 +0200)
This module adds support for the Corsair Commander Pro and Corsair
Commander Pro (1000D) fan and temperature monitoring controllers.

Signed-off-by: Dee HY <dongfengweixiao@hotmail.com>
Link: https://github.com/openwrt/openwrt/pull/23465
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/kernel/linux/modules/hwmon.mk

index f6d289611701b6a4586194a7826630bdc6bed3a5..ce114ea49346f2052e608c6fde550b5c53852775 100644 (file)
@@ -110,6 +110,21 @@ endef
 $(eval $(call KernelPackage,hwmon-coretemp))
 
 
+define KernelPackage/hwmon-corsair-cpro
+  TITLE:=Corsair Commander Pro controller
+  KCONFIG:=CONFIG_SENSORS_CORSAIR_CPRO
+  FILES:=$(LINUX_DIR)/drivers/hwmon/corsair-cpro.ko
+  AUTOLOAD:=$(call AutoProbe,corsair-cpro)
+  $(call AddDepends/hwmon,+kmod-usb-hid)
+endef
+
+define KernelPackage/hwmon-corsair-cpro/description
+ Kernel module for the Corsair Commander Pro controller and Corsair 1000D
+endef
+
+$(eval $(call KernelPackage,hwmon-corsair-cpro))
+
+
 define KernelPackage/hwmon-dme1737
   TITLE:=SMSC DME1737 and compatible monitoring support
   KCONFIG:=CONFIG_SENSORS_DME1737