Page 1 of 1
Forum

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.

Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!



Linux - How to dete...
 
Share:
Notifications
Clear all

[Solved] Linux - How to determine the power consumption of attached USB devices (work for QNAP as well)

1 Posts
1 Users
0 Reactions
2,203 Views
 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2706
Topic starter  

While trying to hook up too many USB drives to my Linux machine, I figured the external USB drives may consume too much power.
So how do we find out how much power these devices chew?

Well, using lsusb we can pull a ton of info, including the max power draw of a connected device.

lsusb -v

 

To minimize the info to just device names and power draw, try this:

lsusb -v |grep '\ Device\ \|MaxPower'

 

Example output on my QNAP:

Bus 003 Device 002: ID 04e8:61c7 Samsung Electronics Co., Ltd 
    MaxPower               36mA
Bus 003 Device 004: ID 1058:2667 Western Digital Technologies, Inc. 
    MaxPower              224mA
Bus 003 Device 003: ID 1058:0748 Western Digital Technologies, Inc. 
    MaxPower              224mA
Bus 003 Device 005: ID 1058:2667 Western Digital Technologies, Inc. 
    MaxPower              224mA
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    MaxPower                0mA
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    MaxPower                0mA
Bus 001 Device 003: ID 1005:b155 Apacer Technology, Inc. 
    MaxPower              300mA
Bus 001 Device 002: ID 0438:7900 Advanced Micro Devices, Inc. 
    MaxPower              100mA
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    MaxPower                0mA

   
ReplyQuote
Share: