Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Corsair RMi, HXi, AXi PSU Statistics - CyanLabs's fork

Featured Replies

On 5/30/2023 at 7:23 AM, jortan said:

Any idea what the issue might be here?

 

Unraid 6.12.0-rc6

 

Corsair plugin:

###2023.03.26e

- Repo forked from CyanLabs/corsairpsu-unraid. Made the necessary changes for UnRAID v.6.12.0-beta7 while maintaining backwards compatibility.

 

image.thumb.png.78d6ca2a8ed0768654292d48241906a8.png

 

ttyUSB0 does appear when the AX860i is connected:

image.png.eddaff2b819490a652e1e503c47e64cf.png

 

image.png.731d3217f161b7dddb73d6a18c715806.png

 

Apologies if I have missed something obvious

 

There is a 2nd user with the same behaviour.

 

For research, please provide your Diagnostics.

  • Replies 373
  • Views 69.4k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Hi,   i bought a HX 1000i it is visible in systemdevices: Bus 001 Device 002 Port 1-1 ID 1b1c:1c1e Corsair HX1000i Power Supply But there are no values in the plugin on the dashboa

  • Initially, someone spoke to me to set the min version higher so we don't have a plugin shown twice in CA.   I lowered the minimum version to 6.11.5. You can try again now.

  • Note:   Although /usr/local/bin is included in $PATH, his server somehow doesn't care for the subfolder cpsumon which results in the fact that the command is not found. Echo'ing $PATH s

Posted Images

1 hour ago, Roger Maciel de Souza said:

Here I used this command:
 

chmod +x /usr/local/bin/cpsumon/cpsumoncli


He proceeded to read the information again. When I reset the computer right after updating to version 6.12 the card came without any source information, when executing the command in Terminal everything worked again.

I use the Corsair AX1500i font.

Thank you for your great work GIGANODE.

 

Thank you.

 

I want to know why you need to chmod the executable.

 

Please provide the Diagnostics.

26 minutes ago, giganode said:

I want to know why you need to chmod the executable.

 

 

The other question is why the executable is being placed in the cpsumon directory, and not in /usr/local/bin as with other users?

 

This means the executable is also not in path.  I wonder if these are related (is Unraid automatically chmod +x'ing plugin files placed in /usr/local/bin but not a subfolder?)

 

I don't have corsair psu connected currently so my diagnostics will not be useful.

58 minutes ago, jortan said:

This means the executable is also not in path.  I wonder if these are related (is Unraid automatically chmod +x'ing plugin files placed in /usr/local/bin but not a subfolder?)

 

No, that is not the reason.

  • 2 weeks later...
On 6/13/2023 at 7:18 AM, giganode said:


Okay, so you will need a temporary fix until the changes are released. I will send it to you via pn in a few minutes emoji846.png

@giganode if you have an update for the newer HXi models (USC-C), I'd be happy to test and help troubleshoot. I have the Corsair HX1000i which is detected as a USB device

@giganode if you have an update for the newer HXi models (USC-C), I'd be happy to test and help troubleshoot. I have the Corsair HX1000i which is detected as a USB device

More and more people seem to have the new 1000 watts psu [emoji2]

Just go ahead and install the released version and it should be working[emoji846]

Amazing! It works 😁 Thanks!

I've come back to this after a few months and it wasn't clear that these newer models are now supported -- sorry for not trying first.

Amazing! It works [emoji16] Thanks!
I've come back to this after a few months and it wasn't clear that these newer models are now supported -- sorry for not trying first.

You’re welcome [emoji6]

Right now, only the 1000W version is added, but support for the other versions should be added quickly, after getting some information from the psu.

For now there is still a double mention in the header of the widget. I still need to change that but for now it’s working

@giganode Thanks for your efforts. I got an unexpected device code: 1b1c:1b66, and my PSU is AX860i. 

 

Quote

root@Unraid4770:~# corsairmi
No compatible devices found.
root@Unraid4770:~# chmod +x /usr/local/bin/corsairmi
root@Unraid4770:~# corsairmi
No compatible devices found.
root@Unraid4770:~# lsusb -t
/:  Bus 08.Port 1: Dev 1, Class=root_hub, Driver=vhci_hcd/8p, 5000M
/:  Bus 07.Port 1: Dev 1, Class=root_hub, Driver=vhci_hcd/8p, 480M
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
    |__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M
    |__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
    |__ Port 5: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 5: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 5: Dev 3, If 2, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 5: Dev 3, If 3, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 5: Dev 3, If 4, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 5: Dev 3, If 5, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 11: Dev 5, If 0, Class=Mass Storage, Driver=usb-storage, 480M
    |__ Port 13: Dev 6, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M
    |__ Port 14: Dev 7, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 4: Dev 8, If 0, Class=Wireless, Driver=btusb, 12M
        |__ Port 4: Dev 8, If 1, Class=Wireless, Driver=btusb, 12M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
root@Unraid4770:~# corsairmi
No compatible devices found.
root@Unraid4770:~# corsairmi /dev/hidraw0
unexpected device: 1b1c:1b66

 

  • 2 weeks later...
On 6/29/2023 at 7:34 PM, MarcusCST said:

@giganode Thanks for your efforts. I got an unexpected device code: 1b1c:1b66, and my PSU is AX860i. 

 

 

 

Hi,

 

to me 1b1c:1b66 seems to be the following device: Corsair IRONCLAW RGB WIRELESS Gaming Dongle.

 

Can you verify that you use that device this in your system?

6 hours ago, giganode said:

 

Hi,

 

to me 1b1c:1b66 seems to be the following device: Corsair IRONCLAW RGB WIRELESS Gaming Dongle.

 

Can you verify that you use that device this in your system?

Yes, I do have that wireless USB dongle for my mouse. But I also have a USB dongle for my AX860i, is there any way to enable it or make it identified?

17 hours ago, MarcusCST said:

Yes, I do have that wireless USB dongle for my mouse. But I also have a USB dongle for my AX860i, is there any way to enable it or make it identified?

 

for AXi PSU you need to use cpsumoncli.

 

Try this in terminal: cpsumoncli /dev/ttyUSB0

 

Keep in mind that you may need to point to another device because of the other dongle.. or just simply unplug the wireless dongle for testing.

 

Post the output pls

 

 

Edited by giganode

On 7/9/2023 at 8:37 AM, giganode said:

 

for AXi PSU you need to use cpsumoncli.

 

Try this in terminal: cpsumoncli /dev/ttyUSB0

 

Keep in mind that you may need to point to another device because of the other dongle.. or just simply unplug the wireless dongle for testing.

 

Post the output pls

 

 

 

image.png.b807dd74c483a892ab281f47bd0c1ebf.png

 

i got this response, is there anything wrong with my installation process?

I removed that USB dongle before typing this in command line.

besides, I can have the reading correctly now.

 

image.png.e2693dbd5d5c27b9fda07eb1033d8d3f.png

Edited by MarcusCST

On 7/10/2023 at 3:43 PM, MarcusCST said:

 

image.png.b807dd74c483a892ab281f47bd0c1ebf.png

 

i got this response, is there anything wrong with my installation process?

I removed that USB dongle before typing this in command line.

besides, I can have the reading correctly now.

 

image.png.e2693dbd5d5c27b9fda07eb1033d8d3f.png

 

Please provide the Diagnostics.

 

  • 2 weeks later...

I am having a similar issue.  I have a Corsair AXi power supply.

 

root@mccserverur01:/dev# lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
        |__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 4: Dev 4, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M
        |__ Port 6: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 6: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 6: Dev 5, If 2, Class=Human Interface Device, Driver=usbhid, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
        |__ Port 2: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M
        |__ Port 3: Dev 4, If 0, Class=Hub, Driver=hub/5p, 480M
            |__ Port 1: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 1: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
 

root@mccserverur01:/dev# lsusb
Bus 002 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 004: ID 1b1c:1c00 Corsair Controller for Corsair Link
Bus 002 Device 003: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 046b:ff10 American Megatrends, Inc. Virtual Keyboard and Mouse
Bus 001 Device 004: ID 046b:ff01 American Megatrends, Inc. Virtual Hub
Bus 001 Device 003: ID 0781:5571 SanDisk Corp. Cruzer Fit
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 

root@mccserverur01:/usr/local/bin/cpsumon# cpsumoncli /dev/ttyUSB0
Corsair AXi Series PSU Monitor
(c) 2014 Andras Kovacs - [email protected]
-------------------------------------------

Dongle name: USB to SMB Bridge (Firmware by Ross Fosler)
Dongle version: 5.3

 

image.thumb.png.07cc99951e570ce8e6a4a59439ac2d45.png

 

image.png.784d8cea1f0c5533771e077367deb73a.png

 

Let me know if you need anything else.

 

Thank you

 

 

 

mccserverur01-diagnostics-20230723-1110.zip

1 hour ago, csmccarron said:

I am having a similar issue.  I have a Corsair AXi power supply.

 

root@mccserverur01:/dev# lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
        |__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 4: Dev 4, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M
        |__ Port 6: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 6: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 6: Dev 5, If 2, Class=Human Interface Device, Driver=usbhid, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
        |__ Port 2: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M
        |__ Port 3: Dev 4, If 0, Class=Hub, Driver=hub/5p, 480M
            |__ Port 1: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 1: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
 

root@mccserverur01:/dev# lsusb
Bus 002 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 004: ID 1b1c:1c00 Corsair Controller for Corsair Link
Bus 002 Device 003: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 046b:ff10 American Megatrends, Inc. Virtual Keyboard and Mouse
Bus 001 Device 004: ID 046b:ff01 American Megatrends, Inc. Virtual Hub
Bus 001 Device 003: ID 0781:5571 SanDisk Corp. Cruzer Fit
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 

root@mccserverur01:/usr/local/bin/cpsumon# cpsumoncli /dev/ttyUSB0
Corsair AXi Series PSU Monitor
(c) 2014 Andras Kovacs - [email protected]
-------------------------------------------

Dongle name: USB to SMB Bridge (Firmware by Ross Fosler)
Dongle version: 5.3

 

image.thumb.png.07cc99951e570ce8e6a4a59439ac2d45.png

 

image.png.784d8cea1f0c5533771e077367deb73a.png

 

Let me know if you need anything else.

 

Thank you

 

 

 

mccserverur01-diagnostics-20230723-1110.zip 184.73 kB · 0 downloads

 

Hello :) 

 

Thank you for the provides details.

 

Just for me to know.. which AXi PSU is it exactly?

 

Please verify the following with lsusb -t again before you proceed:

 

root@mccserverur01:/dev# lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
        |__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 4: Dev 4, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M

 

Run

 

     echo -n "2-4:1.0" > /sys/bus/usb/drivers/cp210x/bind

 

now try

 

     cpsumoncli /dev/ttyUSB0

 

If psu still doesn't answer try

 

     echo -n "2-4:1.0" > /sys/bus/usb/drivers/cp210x/unbind

     echo -n "2-4:1.0" > /sys/bus/usb/drivers/cp210x/bind

     cpsumoncli /dev/ttyUSB0

 

Can you share your final output of cpsumoncli?

Edited by giganode

PSU:  CORSAIR AXi Series AX1200i Digital 1200W 80 PLUS

 

Could not get the echo for unbind or bind to work.

root@mccserverur01:~# echo -n "2-4:1.0" > /sys/bus/usb/drivers/cp210x/unbind
bash: echo: write error: No such device

root@mccserverur01:~# echo -n "2-4:1.0" > /sys/bus/usb/drivers/cp210x/bind
bash: echo: write error: No such device

root@mccserverur01:~# ls -l /sys/bus/usb/drivers/cp210x
total 0
lrwxrwxrwx 1 root root    0 Jul 23 16:09 2-1.4:1.0 -> ../../../../devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0/
-rw-------       1 root root 4096 Jul 23 16:11 bind
lrwxrwxrwx 1 root root    0 Jul 23 16:09 module -> ../../../../module/usbserial/
--w-------        1 root root 4096 Jul 23 16:09 uevent
--w-------        1 root root 4096 Jul 23 16:17 unbind

 

In order to get cpsumoncli to work I had to make it executable.

root@mccserverur01:/usr/local/bin# cpsumon/cpsumoncli /dev/ttyUSB0
bash: cpsumon/cpsumoncli: Permission denied
root@mccserverur01:/usr/local/bin# cd cpsumon
root@mccserverur01:/usr/local/bin/cpsumon# ls -l
total 16
-rw-r--r--     1 root root 15760 Jun 15 08:01 cpsumoncli
drwxr-xr-x 2 root root    60 Jun 15 08:01 libcpsumon/
root@mccserverur01:/usr/local/bin/cpsumon# chmod 755 cpsumoncli

root@mccserverur01:/usr/local/bin/cpsumon# ls -l
total 16
-rwxr-xr-x  1 root root 15760 Jun 15 08:01 cpsumoncli*
drwxr-xr-x 2 root root    60 Jun 15 08:01 libcpsumon/

 

It is now working, except for getting 5v & 3v data.

image.png.7990a4a742a7e1c5a2c5d77d7e34a0c0.png

 

Thank you

 

On 7/15/2023 at 7:43 PM, giganode said:

 

Please provide the Diagnostics.

 

Hi,

it's included in the attachment, as the other encountered, I can have the reading of 12v occasionally. but not consistantly after reboot.

unraid4770-diagnostics-20230728-1337.zip

Edited by MarcusCST

On 7/23/2023 at 10:29 PM, csmccarron said:

PSU:  CORSAIR AXi Series AX1200i Digital 1200W 80 PLUS

 

Could not get the echo for unbind or bind to work.

root@mccserverur01:~# echo -n "2-4:1.0" > /sys/bus/usb/drivers/cp210x/unbind
bash: echo: write error: No such device

root@mccserverur01:~# echo -n "2-4:1.0" > /sys/bus/usb/drivers/cp210x/bind
bash: echo: write error: No such device

root@mccserverur01:~# ls -l /sys/bus/usb/drivers/cp210x
total 0
lrwxrwxrwx 1 root root    0 Jul 23 16:09 2-1.4:1.0 -> ../../../../devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0/
-rw-------       1 root root 4096 Jul 23 16:11 bind
lrwxrwxrwx 1 root root    0 Jul 23 16:09 module -> ../../../../module/usbserial/
--w-------        1 root root 4096 Jul 23 16:09 uevent
--w-------        1 root root 4096 Jul 23 16:17 unbind

 

In order to get cpsumoncli to work I had to make it executable.

root@mccserverur01:/usr/local/bin# cpsumon/cpsumoncli /dev/ttyUSB0
bash: cpsumon/cpsumoncli: Permission denied
root@mccserverur01:/usr/local/bin# cd cpsumon
root@mccserverur01:/usr/local/bin/cpsumon# ls -l
total 16
-rw-r--r--     1 root root 15760 Jun 15 08:01 cpsumoncli
drwxr-xr-x 2 root root    60 Jun 15 08:01 libcpsumon/
root@mccserverur01:/usr/local/bin/cpsumon# chmod 755 cpsumoncli

root@mccserverur01:/usr/local/bin/cpsumon# ls -l
total 16
-rwxr-xr-x  1 root root 15760 Jun 15 08:01 cpsumoncli*
drwxr-xr-x 2 root root    60 Jun 15 08:01 libcpsumon/

 

It is now working, except for getting 5v & 3v data.

image.png.7990a4a742a7e1c5a2c5d77d7e34a0c0.png

 

Thank you

 

 

May I ask why you have the following in your go file? :

echo PATH=.:$PATH:/usr/local/sbin:/usr/local/bin >>/root/.bash_profile

cp /boot/config/group /etc/group
chmod 644 /etc/group
cp /boot/bin/* /usr/local/bin
chmod 755 /usr/local/bin/*

 

3 hours ago, giganode said:

 

Is your cpsumoncli executable after boot?

 

Please post the output of cpsumoncli /dev/ttyUSB0

 

i don't think so, here's the result

 

root@Unraid4770:~# cpsumoncli /dev/ttyUSB0
bash: cpsumoncli: command not found
root@Unraid4770:~# 

 

Quote

 

May I ask why you have the following in your go file? :

echo PATH=.:$PATH:/usr/local/sbin:/usr/local/bin >>/root/.bash_profile

 

To set the path for my bash shell for Putty

 

Quote

May I ask why you have the following in your go file? 

cp /boot/config/group /etc/group

chmod 644 /etc/group 

I have custom permissions on some of my groups that I use for file sharing

 

Quote

 

May I ask why you have the following in your go file? :

cp /boot/bin/* /usr/local/bin

chmod 755 /usr/local/bin/*

 

I have some custom scripts that I install in my /usr/local/bin folder that I use for maintenance tasks

Has support for the HX1500i been added yet? Looking at a new PSU and want to get one compatible with this plugin still.

 
i don't think so, here's the result
 
root@Unraid4770:~# cpsumoncli /dev/ttyUSB0bash: cpsumoncli: command not foundroot@Unraid4770:~# 

 


Okay, I will look into that
On 8/1/2023 at 4:26 AM, Astryl said:
Has support for the HX1500i been added yet? Looking at a new PSU and want to get one compatible with this plugin still.


RMi and HXi series use corsairmi.

At the moment, the following psus are implemented:

 

 

 

 0x1c0a, /* RM650i 
 0x1c0b, /* RM750i 
 0x1c0c, /* RM850i 
 0x1c0d, /* RM1000i 
 0x1c04, /* HX650i 
 0x1c05, /* HX750i 
 0x1c06, /* HX850i 
 0x1c07, /* HX1000i 
 0x1c1e, /* HX1000i with USB-C 
 0x1c08, /* HX1200i */
 



If you want to go for the hx1500i, I can try to integrate it. But for that we need to buy it.

Edited by giganode

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.