[PATCH] usb: common: Detect USB storage media with "miscellaneous" USB devices

Marek Vasut marex at denx.de
Mon Sep 26 01:45:37 CEST 2022


On 9/25/22 16:46, Christian Kohlschütter wrote:
> When detecting USB storage devices, we currently skip everything that is
> not marked as "undefined device class".
> 
> Composite devices such as tinyusb's CDC+MSC identify as "miscellaneous"
> (class 0xEF).
> 
> Introduce a new constant, USB_CLASS_MISC (0xEF), and allow the detection
> process to proceed for USB devices with this device class.

What does Linux do with such a device , is there a specific quirk or 
does it simply not check the bDeviceClass at all ?


More information about the U-Boot mailing list