Thread (9 messages) 9 messages, 4 authors, 2018-03-26

USB: announce bcdDevice as well as idVendor, idProduct.

From: Benson Leung <bleung@chromium.org>
Date: 2018-03-24 01:34:11
Also in: lkml

On Fri, Mar 23, 2018 at 06:08:07PM -0700, Andrew Chant wrote:
quoted
quoted
+                "New USB device found, idVendor=%04x, idProduct=%04x, bcdDevice=%04x\n",
Can you please decode bcdDevice into a decimal string?

lsusb -v does this (bcdDevice: 0.03 for example) and in my experience
it has generally matched up with how hardware manufacturers refer
to their firmware.
Nevermind, %x should show bcd properly.  looks fine.
I like the way lsusb -v does it better. Take a look at v2.

Thanks,
Benson
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help