-
I have tried to read the man page (here: https://manpages.ubuntu.com/manpages/focal/en/man8/uhubctl.8.html) as well as this github site and I can't seem to find an explanation of how to read the status codes reported for each port. For example, I ran "sudo uhubctl" and the output contains these lines (I've just grabbed several examples, eliminating many duplicates in my actual output.) Port 1: 0100 power How do I read the 4 digit hex value? What does each bit mean? Now that I've typed out this question it seems like the various words after the hex value are probably the decoded bits. As I can see that the number of words after the hex bits is the same as the number of "on" bits in the hex value. But is there some explanation for what all 16 bits are and what each bit means? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Status hexadecimal value is printed by print_port_status. It is simply low level USB descriptor value. Each bit is decoded and printed in human readable form next to it. |
Beta Was this translation helpful? Give feedback.
Status hexadecimal value is printed by print_port_status. It is simply low level USB descriptor value. Each bit is decoded and printed in human readable form next to it.