Giter Club home page Giter Club logo

corsairpsu's People

Contributors

benzhaomin avatar jackdoan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

corsairpsu's Issues

All readings 0 after wake from suspend

I have a hx750i PSU and am using your driver to monitor the power usage. When I wake my computer from suspend I get all 0 readings until I reload the driver.

corsairpsu-hid-3-3
Adapter: HID adapter
voltage supply:   0.00 V  
voltage 12v:      0.00 V  
voltage 5v:       0.00 V  
voltage 3.3v:     0.00 V  
fan rpm:           0 RPM
temp1:            +0.0°C  
temp2:            +0.0°C  
power total:      0.00 W  
power 12v:        0.00 W  
power 5v:         0.00 W  
power 3.3v:       0.00 W  
current 12v:      0.00 A  
current 5v:       0.00 A  
current 3.3v:     0.00 A 

Then after reloading the driver I get normal readings again

corsairpsu-hid-3-3
Adapter: HID adapter
voltage supply: 115.00 V  
voltage 12v:     12.06 V  
voltage 5v:       5.06 V  
voltage 3.3v:     3.34 V  
fan rpm:           0 RPM
temp1:           +31.2°C  
temp2:           +25.0°C  
power total:     36.00 W  
power 12v:       20.00 W  
power 5v:        10.50 W  
power 3.3v:       7.00 W  
current 12v:      1.75 A  
current 5v:       2.19 A  
current 3.3v:     2.19 A 

I am running on Manjaro with the AUR package: https://duckduckgo.com/?t=ffab&q=corsairpsu+0+readings+after+wake+from+suspend&ia=web

Corsair HX1000i ignored by module

I am not able to get any output from this PSU, and the HX1000i is on the supported list. Maybe there's a rev 3 that's not supported?
image
image

lsusb output:
image

Bogus readings on concurrent access to hwmon sysfs files (Corsair HX1000i)

First, thank you for this driver! There's nothing more satisfying than buying a piece of known Windows-only hardware and discovering that somebody has already REd and wrote a driver for that :)

The problem I've discovered is that when you try to read the hwmon sysfs files concurrently from more than one place, they will return completely bogus readings:

# sensors
corsairpsu-hid-3-1
Adapter: HID adapter
voltage supply:   3.33 V
voltage 12v:     48.50 V
voltage 5v:     134.00 V
voltage 3.3v:   106.00 V
fan rpm:           0 RPM
temp1:           +27.0°C
temp2:            +2.0°C
power total:      2.50 W
power 12v:        8.75 W
power 5v:         5.44 W
power 3.3v:     875.00 mW
current 12v:      0.00 A
current 5v:     1000.00 mA
current 3.3v:     2.00 A
<...>

Reproducer is trivial: run watch -n1 sensors and watch -n0.1 sensors in two terminals and look at the first one.

Just in case this is somehow hardware dependent:

  • PSU: Corsair HX1000i
  • Kernel: 5.4.10-arch1

I'll be happy to provide any other information you need.

Maximum statistics of power consumption

I was wondering if it would be possible to expose maximum statistics for relevant metrics, for example power consumption? This can of course be monitored via the hwmon files, but I assume that given the high frequency needed for this monitoring, it can be done better in the driver. Such a feature would be helpful in order to see the maximum power consumption observed in relation to the PSUs rated specification.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.