D
D
Dmitry2016-04-04 16:12:43
Python
Dmitry, 2016-04-04 16:12:43

How to determine USB protocol version in Python?

Tell me how to determine using Python 3, to which version of the port (2.0, 3.0, 3.1) the flash drive is connected?
That is, in fact, you need to know the version of the USB protocol used.
Requires a solution for Windows 7 and newer.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2016-04-04
@vintello

well, you need to execute it in the console:
get something like this:

bcdUSB 1.10
bcdUSB 2.00
bcdUSB 2.00
bcdUSB 2.00

and here is the conversion table:
USB 1.10 12Mb/s
USB 2.00 480Mb/s
USB 3.00 5Gb/s

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question