libusb class code how to choose about usb3.0 #1330
-
Hi, |
Beta Was this translation helpful? Give feedback.
Answered by
diabolo38
Oct 23, 2023
Replies: 1 comment 2 replies
-
What do you mean by that? libusb does not decide the USB connection speed. It is up to the OS and your device. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
that i know usb speed is not linked in anyway to class code
this is discovered by os and app using device and others descriptor (bos , ep compagin etc ...)
an easy to find working speed (maybe unperfect) it to look at a bulk end point from their the max packet size
shall be 64 for USB 1 or USB 2 FS , 512 for USB2 HS and 1024 for USB 3.x SS