I think I set correctly two hidden problems:
main.xc
Code: Select all
XUD_EpType epTypeTableIn[ENDPOINT_COUNT_IN]
...
XUD_EPTYPE_INT
Code: Select all
.Audio_StdControlInterface =
...
.bNumEndpoints = 0x01, /* 0 or 1 if optional interrupt endpoint is present */
Update. I found that Thesycon USB Descriptor Dumper also indicated "ERROR: Descriptor has errors!"
In the log: Audio Control Interface Header Descriptor ERROR. Invalid wTotalLength 0x0086, should be 0x007F
I corrected wTotalLength. Windows works fine. iOS works fine. Linux doesn't work. Protocol error. Android doesn't recognize USB Audio. Does anybody know a diagnostic utility for Linux?