Skip to contentSkip to conversation

usb: gadget: f_fs: Question on descriptor parsing in f_fs.c

DISCUSSION Udo Eberhardt 1 participant 1 message Sep 11, 2019 USB

lore
Share & tools
lore
#0 lore raw

Hi,

We are currently trying to implement an UAC2 function in user mode based on f_fs. We found that descriptor parsing in f_fs.c does not support audio (or video) class descriptors. We could develop a patch to add UAC1/UAC2 handling. But before we do that I wanted to check if this is the right approach.

My question: Is f_fs limited by design to simple device classes like HID or CCID, or is it supposed to support arbitrary classes? In the latter case descriptor parsing needs to be extended significantly to handle the non-trivial cases.

Best regards,
Udo