/corsairpsu

hwmon Linux Kernel driver for the Corsair RMi and HXi series of PSUs

Primary LanguageCGNU General Public License v2.0GPL-2.0

CorsairPSU

CorsairPSU is a simple hwmon Linux kernel module for Corsair RMi and HXi Series PSUs to view power usage, and more info about your PSU.

All values are exposed using the sysfs interface (/sys/class/hwmon/hwmon*/).

Sensors, except a few custom attributes, can also be viewed with the sensors command.

Usage

$ sensors
corsairpsu-hid-3-3
Adapter: HID adapter
voltage supply: 230.00 V
voltage 12v:     12.09 V  (min =  +8.41 V, max = +15.59 V)
voltage 5v:       5.01 V  (min =  +3.50 V, max =  +6.50 V)
voltage 3.3v:     3.30 V  (min =  +2.31 V, max =  +4.30 V)
fan rpm:           0 RPM
temp1:           +29.8°C  (high = +70.0°C)
temp2:           +20.0°C  (high = +70.0°C)
power total:     70.00 W
power 12v:       50.00 W
power 5v:        14.00 W
power 3.3v:       7.00 W
current 12v:      4.75 A  (max = +65.00 A)
current 5v:       2.81 A  (max = +40.00 A)
current 3.3v:     2.25 A  (max = +40.00 A)
$ cat /sys/class/hwmon/hwmon3/current_uptime
6884
$ cat /sys/class/hwmon/hwmon3/total_uptime
23216087
$ cat /sys/class/hwmon/hwmon3/ocp_mode
2

Supported devices

This driver should work with any Corsair i-CUE PSU.

  • RM650i
  • RM750i
  • RM850i
  • RM1000i
  • HX650i
  • HX750i
  • HX850i
  • HX1000i
  • HX1200i

Install

Basic install

make
sudo insmod corsairpsu.ko

or with DKMS

sudo apt install dkms git build-essential linux-headers-$(uname -r)
sudo make dkms-install
sudo modprobe corsairpsu

Uninstall

Basic uninstall

sudo rmmod corsairpsu

or with DKMS

sudo modprobe -r corsairpsu
sudo make dkms-uninstall

Dev

make
sudo rmmod corsairpsu; sudo insmod corsairpsu.ko; sensors | grep corsairpsu -A 15
sudo modprobe usbmon; sudo wireshark