On Tue, Dec 19, 2017 at 11:40 AM, Takashi Iwai tiwai@suse.de wrote:
On Tue, 19 Dec 2017 10:14:05 +0100, Jorge Sanjuan wrote:
This adds functionality for the Basic Audio Device (BADD) subset that is defined in the USB Audio Class 3 (UAC3). In a BADD compliant driver, all Class Specific descriptors are inferred and so they should all be generated in the *host* as the device wont expose those. This also applies to the new HIGH CAPABILITY descriptor as the GET request is not to be supported in a BADD compliant driver.
The new class requires the device to have 3 usb configurations as follows:
1: Legacy Mode: UAC1 or UAC2. 2: BADD device with a prefined topology. (Minimum). 3: UAC3 device for more detailed description or more complex devices that can't be covered by the BADD profile.
This patch series also includes some minor fixes to sound/usb.
It has been tested with an actual UAC3 compliant device in different host machines and all configs (UAC1/2, BADD and UAC3) work.
Also, this has been implemented on top of the the patch which adds UAC3 support to the usb sound card driver:
commit ddd452d7b04b86fb5f9285a19ac54deca9264ac1 Author: Ruslan Bilovol <ruslan.bilovol@gmail.com> Date: Tue Nov 7 04:01:20 2017 +0200
Where did you get this commit at all...? The UAC3 patchset has never been merged yet. So it's moot for developing the stuff on top of it. Or at least coordinate with Ruslan for merging into his series for the next review round.
Ruslan, can you revise the patchset addressing the issues, and resubmit?
I've been reworking my original patch for last few weeks (yeah, it's slow, I was going to finish it last week, but was too busy). Will finish it and review Jorge's patches as well (hadn't a change to look into them yet)
Thanks, Ruslan