Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Benzhaomin/corsairpsu
hwmon Linux Kernel driver for the Corsair RMi and HXi series of PSUs
https://github.com/Benzhaomin/corsairpsu
corsair hwmon kernel psu sensors
Last synced: 9 days ago
JSON representation
hwmon Linux Kernel driver for the Corsair RMi and HXi series of PSUs
- Host: GitHub
- URL: https://github.com/Benzhaomin/corsairpsu
- Owner: Benzhaomin
- License: gpl-2.0
- Created: 2020-02-02T22:05:34.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-16T00:20:10.000Z (4 months ago)
- Last Synced: 2024-10-27T11:16:02.288Z (18 days ago)
- Topics: corsair, hwmon, kernel, psu, sensors
- Language: C
- Size: 35.2 KB
- Stars: 29
- Watchers: 4
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```bash
$ 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](https://www.corsair.com/us/en/Categories/Products/Power-Supply-Units/c/Cor_Products_PowerSupply_Units?q=%3Afeatured%3ApsuLinkSupport%3AYes).
- RM650i
- RM750i
- RM850i
- RM1000i
- HX650i
- HX750i
- HX850i
- HX1000i
- HX1200i## Install
Basic install
```bash
make
sudo insmod corsairpsu.ko
```or with DKMS
```bash
sudo apt install dkms git build-essential linux-headers-$(uname -r)
sudo make dkms-install
sudo modprobe corsairpsu
```## Uninstall
Basic uninstall
```bash
sudo rmmod corsairpsu
```or with DKMS
```bash
sudo modprobe -r corsairpsu
sudo make dkms-uninstall
```## Dev
```bash
make
sudo rmmod corsairpsu; sudo insmod corsairpsu.ko; sensors | grep corsairpsu -A 15
sudo modprobe usbmon; sudo wireshark
```