• 4
Votes
name

Is there a tool to print the power supply information, such as brand/model name and maximum (supported) output voltage? I need to add a second GPU and I would like to make sure it does support the extra voltage.

P.s: I already installed a secondary GPU when I had the access and I rushed outside the server room. When I later checked, the second GPU was not recognized (now that I don't have the access anymore!! :P) I wanted to make sure if the problem was the lack of power voltage as the GPU was working on another machine and is not faulty.

Currently, I don't have physical access to the PC currently (ssh only).

I have tried to see other posts, also the other exisiting tools, i.e., sudo dmidecode -t 39sensors, and ipmitool, but none came with success.

 

The one I know is lshw, the class you're interested in is most certainly power. On my system it outputs the battery's specs only though:

$ sudo lshw -c power
  *-battery               
       product: 45N1111
       vendor: SONY
       physical id: 1
       slot: Front
       capacity: 23200mWh
       configuration: voltage=11.1V

As the answer to Get information about my PSU suggests mains units usually don't have a data bus to deliver such information, so sadly this may very well be the best one can do. To my knowledge, /sys/class/power_supply/AC contains all information about your mains unit that is available to the system.

Further reading:

  • 1
Reply Report

To find the power supply information, use following command:

sudo dmidecode --type 39

The below command outputs a lot status and statistical information about the battery. The /org/... path can be found with the command upower -e (--enumerate).

upower -i /org/freedesktop/UPower/devices/battery_BAT0

The one I use mostly is this one :

sudo apt-get install lm-sensors
sudo sensors-detect 

Choose YES to all.

sudo service kmod start

Use :

sensors

or

watch sensors
  • 1
Reply Report

You can't. The plug between the power supply and the mainboard follows the ATX specification, which regulates which signals and which voltages shall be present.

ATX Signals

Com is common, or ground. The rest of the pins are used for voltages, or simple binary signals, like PS_ON and PWR_OK. There is no bus data transfer pins. The operating system simply has no way of knowing anything about the power supply.

Some server systems come with sensors in the power supply. Such sensors should show up in lmsensors. For instance it's quite common that they will report power consumption, fan speed and temperature. But in this case, you should specify which system you have - as this is typically not seen in normal PC's.

Other power supplies may include a monitoring interface over USB. What data they will provide will differ from power supply to power supply. To check if the PSU in question provides this, run lsusband look for something that resembles a power supply. This may include model, or simply be generic for an entire class of different power supplies.

  • 0
Reply Report