UshakovVasilii / gnome-shell-extension-freon

Shows CPU temperature, disk temperature, video card temperature (NVIDIA/Catalyst/Bumblebee&NVIDIA), voltage and fan RPM
https://extensions.gnome.org/extension/841/freon
GNU General Public License v2.0
424 stars 77 forks source link

Power values from kernel driver for corsair-psu are ignored #283

Open howels opened 4 months ago

howels commented 4 months ago

lm-sensors has supported Corsair PSU sensors for some time (https://docs.kernel.org/hwmon/corsair-psu.html) and these values show up in lm-sensors output:

   "corsairpsu-hid-3-3":{
      "Adapter": "HID adapter",
      "v_in":{
         "in0_input": 230.000
      },
      "v_out +12v":{
         "in1_input": 12.187,
         "in1_lcrit": 8.406,
         "in1_crit": 15.593
      },
      "v_out +5v":{
         "in2_input": 5.000,
         "in2_lcrit": 3.500,
         "in2_crit": 6.500
      },
      "v_out +3.3v":{
         "in3_input": 3.296,
         "in3_lcrit": 2.312,
         "in3_crit": 4.296
      },
      "psu fan":{
         "fan1_input": 0.000
      },
      "vrm temp":{
         "temp1_input": 55.750,
         "temp1_crit": 70.000
      },
      "case temp":{
         "temp2_input": 46.000,
         "temp2_crit": 70.000
      },
      "power total":{
         "power1_input": 174.000
      },
      "power +12v":{
         "power2_input": 134.000
      },
      "power +5v":{
         "power3_input": 24.500
      },
      "power +3.3v":{
         "power4_input": 11.500
      },
      "curr +12v":{
         "curr2_input": 12.000,
         "curr2_crit": 100.000
      },
      "curr +5v":{
         "curr3_input": 5.125,
         "curr3_crit": 40.000
      },
      "curr +3.3v":{
         "curr4_input": 3.500,
         "curr4_crit": 40.000
      }
   },

However, only the Voltage values are parsed in Freon and the Wattage values are not shown. Please add a grouping for Wattage similar to Voltage and enable us to choose the Wattage value to display.