Closed NimaAgm closed 7 months ago
I can confirm this. I came here to report this bug, and also a simple fix:
Change line 492:
/* Check if the endpoint is appartening to an audio streaming interface */
if ((pif->bInterfaceClass == 0x01U) && (pif->bInterfaceSubClass == 0x02U))
to this:
/* Check if the endpoint is appartening to an audio streaming interface */
if ((pif->bInterfaceClass == 0x01U) && ((pif->bInterfaceSubClass == 0x02U) || (pif->bInterfaceSubClass == 0x03U)))
The bug is that v3.5.0 sets the descriptor length to 7 (USB_ENDPOINT_DESC_SIZE
) if the device is a streaming MIDI device (subclass 0x03). It should be set to 9, same as streaming audio subclass 0x02.
Th
I can confirm this. I came here to report this bug, and also a simple fix:
Change line 492:
/* Check if the endpoint is appartening to an audio streaming interface */ if ((pif->bInterfaceClass == 0x01U) && (pif->bInterfaceSubClass == 0x02U))
to this:
/* Check if the endpoint is appartening to an audio streaming interface */ if ((pif->bInterfaceClass == 0x01U) && ((pif->bInterfaceSubClass == 0x02U) || (pif->bInterfaceSubClass == 0x03U)))
The bug is that v3.5.0 sets the descriptor length to 7 (
USB_ENDPOINT_DESC_SIZE
) if the device is a streaming MIDI device (subclass 0x03). It should be set to 9, same as streaming audio subclass 0x02.
Thanks for your replay. I am waiting for ST to confirm this issue.
Still waiting for an answer
Still waiting for an answer
Proposed fix ACKed and to be part of next patch release
Hi @NimaAgm and @danngreen,
Please excuse this late reply. Issue fixed in the frame of version 3.5.2 as you can see below.
With regards,
Describe the set-up
Describe the bug
In this state
`
` I Have disabled this part of the code which made my application to work in this state:
if 0
endif
Thanks a lot