Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Corsair HX1500i PSU reports: WARNING: some attributes cannot be read from corsair-psu kernel driver

Aperta
#826 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
linux, python

Direzione di ricerca

Start with the CorsairHidPsu get_status and _get_status_from_hwmon entry points, then reproduce the report with liquidctl status --debug --match corsair. Compare the attributes read through the corsair-psu hwmon interface with the warning and determine the expected handling for the HX1500i. Done means the device status is handled consistently without the reported warning, with coverage for the observed behavior if existing tests support it.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
Describe the bug

Corsair HX1500i PSU reports: WARNING: some attributes cannot be read from corsair-psu kernel driver

The message shows up when liquidctl is run.

lsusb output:


Bus 003 Device 005: ID 1b1c:1c1f Corsair HX1500i Power Supply
Negotiated speed: Full Speed (12Mbps)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 [unknown]
  bDeviceSubClass         0 [unknown]
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x1b1c Corsair
  idProduct          0x1c1f HX1500i Power Supply
  bcdDevice            1.00
  iManufacturer           1 CORSAIR
  iProduct                2 HX1500i Power Supply
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0029
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 [unknown]
      bInterfaceProtocol      0 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 (null)
          wDescriptorLength      29
          Report Descriptors: 
            ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
Device Status:     0x0001
  Self Powered
Commands executed
liquidctl status --debug --match corsair
Output of all relevant commands with --debug flag
[DEBUG] (cli) (_log_env_infos): script: /usr/sbin/liquidctl
[DEBUG] (cli) (_log_env_infos): version: 1.15.0
[DEBUG] (cli) (_log_env_infos): platform: Linux-6.16.7-200.fc42.x86_64-x86_64-with-glibc2.41
[DEBUG] (cli) (_log_env_infos): python: 3.13.7 (main, Aug 14 2025, 00:00:00) [GCC 15.2.1 20250808 (Red Hat 15.2.1-1)]
[DEBUG] (cli) (_log_env_infos): encoding: UTF-8 current, UTF-8 preferred, utf8_mode 0
[DEBUG] (cli) (_log_env_infos): with colorlog: 6.9.0
[DEBUG] (cli) (_log_env_infos): with crcmod: 1.7
[DEBUG] (cli) (_log_env_infos): with docopt: 0.6.2
[DEBUG] (cli) (_log_env_infos): with hidapi: 0.14.0.post3
[DEBUG] (cli) (_log_env_infos): with pyusb: 1.3.1
[DEBUG] (cli) (_log_env_infos): with pillow: 11.1.0
[DEBUG] (cli) (_log_env_infos): with smbus: 1.1
[DEBUG] (cli) (_log_env_infos): with winusbcdc: version n/a (No package metadata was found for winusbcdc)
[DEBUG] (cli) (_log_env_infos): with libusb-package: version n/a (No package metadata was found for libusb-package)
[DEBUG] (smbus) (find_devices): searching LinuxI2c
[DEBUG] (smbus) (find_devices): LinuxI2c drivers: Ddr4Temperature, EvgaPascal, RogTuring, VengeanceRgb
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-3 (AMDGPU DM i2c hw bus 0)
[DEBUG] (smbus) (find_devices): I²C adapter: 16-0051 skipped: not a bus or unsupported adapter
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-10 (AMDGPU DM aux hw bus 2)
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-1 (AMDGPU SMU 0)
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-17 (SMBus PIIX4 adapter port 2 at 0b00)
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-8 (AMDGPU DM aux hw bus 0)
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-15 (AMDGPU DM aux hw bus 2)
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-6 (AMDGPU DM i2c hw bus 3)
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-MSFT8000:01 skipped: invalid literal for int() with base 10: 'MSFT8000:01'
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-13 (AMDGPU DM i2c hw bus 2)
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-4 (AMDGPU DM i2c hw bus 1)
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-ITE8853:00 skipped: invalid literal for int() with base 10: 'ITE8853:00'
[DEBUG] (smbus) (find_devices): I²C adapter: 16-0052 skipped: not a bus or unsupported adapter
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-11 (AMDGPU DM i2c hw bus 0)
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-2 (AMDGPU SMU 1)
[DEBUG] (smbus) (find_devices): I²C adapter: 16-0050 skipped: not a bus or unsupported adapter
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-0 (Synopsys DesignWare I2C adapter)
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-18 (SMBus PIIX4 adapter port 1 at 0b20)
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-9 (AMDGPU DM aux hw bus 1)
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-16 (SMBus PIIX4 adapter port 0 at 0b00)
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-7 (AMDGPU DM i2c OEM bus)
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-14 (AMDGPU DM aux hw bus 1)
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-5 (AMDGPU DM i2c hw bus 2)
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-ITE8853:01 skipped: invalid literal for int() with base 10: 'ITE8853:01'
[DEBUG] (smbus) (find_devices): I²C adapter: 16-0053 skipped: not a bus or unsupported adapter
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-12 (AMDGPU DM i2c hw bus 1)
[DEBUG] (usb) (find_devices): searching HidapiBus
[DEBUG] (usb) (find_devices): HidapiBus drivers: Aquacomputer, AsusRyujin, AuraLed, CommanderCore, CommanderPro, Coolit, CorsairHidPsu, H1V2, HydroPlatinum, Kraken2, KrakenX3, KrakenZ3, MpgCooler, NzxtEPsu, RgbFusion2, SmartDevice, SmartDevice2, _BaseSmartDevice
[DEBUG] (usb) (find_devices): HID device: 0b05:1b7c (usage_page=0xffc0 usage=0x0001)
[DEBUG] (usb) (find_devices): HID device: 1050:0407 (usage_page=0x0001 usage=0x0006)
[DEBUG] (usb) (find_devices): HID device: 1050:0407 (usage_page=0xf1d0 usage=0x0001)
[DEBUG] (usb) (find_devices): HID device: 046d:101a (usage_page=0x0001 usage=0x0002)
[DEBUG] (usb) (find_devices): HID device: 046d:101a (usage_page=0xff00 usage=0x0001)
[DEBUG] (usb) (find_devices): HID device: 046d:101a (usage_page=0xff00 usage=0x0002)
[DEBUG] (usb) (find_devices): HID device: 046d:101a (usage_page=0xff00 usage=0x0004)
[DEBUG] (usb) (find_devices): HID device: 046d:2008 (usage_page=0x0001 usage=0x0006)
[DEBUG] (usb) (find_devices): HID device: 046d:2008 (usage_page=0x000c usage=0x0001)
[DEBUG] (usb) (find_devices): HID device: 046d:2008 (usage_page=0x0001 usage=0x0080)
[DEBUG] (usb) (find_devices): HID device: 046d:2008 (usage_page=0xffbc usage=0x0088)
[DEBUG] (usb) (find_devices): HID device: 046d:2008 (usage_page=0xff00 usage=0x0001)
[DEBUG] (usb) (find_devices): HID device: 046d:2008 (usage_page=0xff00 usage=0x0002)
[DEBUG] (usb) (find_devices): HID device: 046d:2008 (usage_page=0xff00 usage=0x0004)
[DEBUG] (usb) (find_devices): HID device: 046d:c52b (usage_page=0xff00 usage=0x0001)
[DEBUG] (usb) (find_devices): HID device: 046d:c52b (usage_page=0xff00 usage=0x0002)
[DEBUG] (usb) (find_devices): HID device: 046d:c52b (usage_page=0xff00 usage=0x0004)
[DEBUG] (usb) (find_devices): HID device: 05ac:024f (usage_page=0x0001 usage=0x0006)
[DEBUG] (usb) (find_devices): HID device: 05ac:024f (usage_page=0x000c usage=0x0001)
[DEBUG] (usb) (find_devices): HID device: 05ac:024f (usage_page=0x0001 usage=0x0080)
[DEBUG] (usb) (find_devices): HID device: 05ac:024f (usage_page=0x0001 usage=0x0006)
[DEBUG] (usb) (find_devices): HID device: 05ac:024f (usage_page=0x0001 usage=0x0002)
[DEBUG] (usb) (find_devices): HID device: 05ac:024f (usage_page=0xffff usage=0x0001)
[DEBUG] (usb) (find_devices): HID device: 0b05:1aa6 (usage_page=0xff72 usage=0x00a1)
[DEBUG] (usb) (find_devices): HID device: 051d:0002 (usage_page=0x0084 usage=0x0004)
[DEBUG] (usb) (find_devices): HID device: 1e71:3014 (usage_page=0xff00 usage=0x0001)
[DEBUG] (usb) (find_devices): HID device: 1b1c:1c1f (usage_page=0xff00 usage=0x0001)
[DEBUG] (usb) (__init__): has kernel driver: corsair-psu (/sys/class/hidraw/hidraw2/device/hwmon/hwmon14)
[DEBUG] (usb) (probe): CorsairHidPsu identified: Corsair HX1500i
[DEBUG] (usb) (find_devices): searching PyUsbBus
[DEBUG] (usb) (find_devices): PyUsbBus drivers: Hydro690Lc, HydroPro, Legacy690Lc, Modern690Lc, _Base690Lc, _ModernBase690Lc
[DEBUG] (usb) (find_devices): USB device: 1d6b:0003
[DEBUG] (usb) (find_devices): USB device: 1d6b:0002
[DEBUG] (usb) (find_devices): USB device: 1d6b:0002
[DEBUG] (usb) (find_devices): USB device: 1d6b:0003
[DEBUG] (usb) (find_devices): USB device: 1d6b:0003
[DEBUG] (usb) (find_devices): USB device: 1d6b:0002
[DEBUG] (usb) (find_devices): USB device: 1d6b:0003
[DEBUG] (usb) (find_devices): USB device: 1d6b:0002
[DEBUG] (usb) (find_devices): USB device: 174c:3074
[DEBUG] (usb) (find_devices): USB device: 1d6b:0003
[DEBUG] (usb) (find_devices): USB device: 1b1c:1c1f
[DEBUG] (usb) (find_devices): USB device: 1e71:3014
[DEBUG] (usb) (find_devices): USB device: 174c:2074
[DEBUG] (usb) (find_devices): USB device: 051d:0002
[DEBUG] (usb) (find_devices): USB device: 0b05:1aa6
[DEBUG] (usb) (find_devices): USB device: 1d6b:0002
[DEBUG] (usb) (find_devices): USB device: 2109:0813
[DEBUG] (usb) (find_devices): USB device: 2109:0813
[DEBUG] (usb) (find_devices): USB device: 1d6b:0003
[DEBUG] (usb) (find_devices): USB device: 0489:e13a
[DEBUG] (usb) (find_devices): USB device: 04c5:11a2
[DEBUG] (usb) (find_devices): USB device: 10c4:ea60
[DEBUG] (usb) (find_devices): USB device: 1a86:55d4
[DEBUG] (usb) (find_devices): USB device: 05e3:0608
[DEBUG] (usb) (find_devices): USB device: 05ac:024f
[DEBUG] (usb) (find_devices): USB device: 046d:082d
[DEBUG] (usb) (find_devices): USB device: 046d:c52b
[DEBUG] (usb) (find_devices): USB device: 1050:0407
[DEBUG] (usb) (find_devices): USB device: 0a12:0001
[DEBUG] (usb) (find_devices): USB device: 2109:2813
[DEBUG] (usb) (find_devices): USB device: 2109:2813
[DEBUG] (usb) (find_devices): USB device: 0b05:1b7c
[DEBUG] (usb) (find_devices): USB device: 1d6b:0002
[DEBUG] (cli) (main): device: Corsair HX1500i
[INFO] (corsair_hid_psu) (get_status): bound to corsair-psu kernel driver, reading status from hwmon
[WARNING] (corsair_hid_psu) (_get_status_from_hwmon): some attributes cannot be read from corsair-psu kernel driver
[DEBUG] (hwmon) (get_string): read in0_input: 115000
[DEBUG] (hwmon) (get_string): read temp1_input: 52000
[DEBUG] (hwmon) (get_string): read temp2_input: 56250
[DEBUG] (hwmon) (get_string): read fan1_input: 0
[DEBUG] (hwmon) (get_string): read in1_input: 11890
[DEBUG] (hwmon) (get_string): read curr2_input: 11250
[DEBUG] (hwmon) (get_string): read power2_input: 136000000
[DEBUG] (hwmon) (get_string): read in2_input: 5015
[DEBUG] (hwmon) (get_string): read curr3_input: 5062
[DEBUG] (hwmon) (get_string): read power3_input: 25000000
[DEBUG] (hwmon) (get_string): read in3_input: 3312
[DEBUG] (hwmon) (get_string): read curr4_input: 1000
[DEBUG] (hwmon) (get_string): read power4_input: 3000000
[DEBUG] (hwmon) (get_string): read power1_input: 178000000
[DEBUG] (corsair_hid_psu) (_input_power_at): input power estimates: 200.303 W @ 115 V; 199.295 W @ 230 V
Corsair HX1500i
├── VRM temperature            52.0  °C
├── Case temperature           56.2  °C
├── Fan speed                     0  rpm
├── Input voltage            115.00  V
├── +12V output voltage       11.89  V
├── +12V output current       11.25  A
├── +12V output power        136.00  W
├── +5V output voltage         5.01  V
├── +5V output current         5.06  A
├── +5V output power          25.00  W
├── +3.3V output voltage       3.31  V
├── +3.3V output current       1.00  A
├── +3.3V output power         3.00  W
├── Total power output       178.00  W
├── Estimated input power    200.00  W
└── Estimated efficiency         89  %
Affected device

Corsair HX1500i

Does your version of liquidctl support the device in question?

Yes, my version supports it

Operating system and version

Fedora Linux 42

Installation method

Official

Version of liquidctl

liquidctl v1.15.0 (Linux-6.16.7-200.fc42.x86_64-x86_64-with-glibc2.41)

Lingua principale
Python
Stelle
2.7k
Fork
297
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di liquidctl/liquidctl

Tutte le issue di liquidctl/liquidctl

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.