Re: [PATCH] USB: announce bcdDevice as well as idVendor, idProduct.

From: Benson Leung
Date: Fri Mar 23 2018 - 21:34:14 EST


On Fri, Mar 23, 2018 at 06:08:07PM -0700, Andrew Chant wrote:
> >> + "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

--
Benson Leung
Staff Software Engineer
Chrome OS Kernel
Google Inc.
bleung@xxxxxxxxxx
Chromium OS Project
bleung@xxxxxxxxxxxx

Attachment: signature.asc
Description: PGP signature