Re: [PATCH v1 8/8] lsusb: Dump USB3 BOS Configuration Summary Descriptor.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 05, 2017 at 04:14:31PM +0000, Michael Drake wrote:
> ---
>  lsusb.c | 6 ++++++
>  1 file changed, 6 insertions(+)

And here.
> 
> diff --git a/lsusb.c b/lsusb.c
> index c9d0d74..ddc19e0 100644
> --- a/lsusb.c
> +++ b/lsusb.c
> @@ -75,6 +75,7 @@
>  #define USB_DC_PLATFORM 		0x05
>  #define USB_DC_SUPERSPEEDPLUS		0x0a
>  #define USB_DC_BILLBOARD		0x0d
> +#define USB_DC_CONFIGURATION_SUMMARY	0x10
>  
>  /* Conventional codes for class-specific descriptors.  The convention is
>   * defined in the USB "Common Class" Spec (3.11).  Individual class specs
> @@ -3513,6 +3514,11 @@ static void dump_bos_descriptor(libusb_device_handle *fd)
>  		case USB_DC_BILLBOARD:
>  			dump_billboard_device_capability_desc(fd, buf);
>  			break;
> +		case USB_DC_CONFIGURATION_SUMMARY:
> +			printf("  Configuration Summary Device Capability:\n");
> +			desc_dump(fd, desc_usb3_dc_configuration_summary,
> +					buf, DESC_BUF_LEN_FROM_BUF, 2);
> +			break;

Nice!  We were not printing this out before.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux