[alsa-devel] snd-usb-audio probe problem (Teac UD-H01)

Daniel Mack zonque at gmail.com
Sun Apr 8 16:23:54 CEST 2012

On 02.04.2012 10:12, Clemens Ladisch wrote:
> bEN wrote:
>> the new USB DAC from Teac seems detected as 'Human Interface Device'
>> instead of 'Audio'.
> It has both HID and audio interfaces.
>> Despite the fact it is based on a standard USB Audio
>> class v2 controller (Tenor 8802).
> Which doesn't prevent Teac from writing buggy firmware.
>> $ dmesg
>> usb 2-4: new high speed USB device using ehci_hcd and address 3
>> usb 2-4: config 1 has an invalid interface number: 3 but max is 2
>> usb 2-4: config 1 has no interface number 1
> This violates the USB spec.  But I guess it shouldn't prevent the driver
> from attaching to the device.

Right, that's just a warning.

>> Audio class v2 interfaces need an interface association
> This looks like a bug in the driver; there certainly is such
> an descriptor.  Daniel?

The USB audio driver actually just uses functions from the USB driver
core to access the interface association. However, the USB core didn't
assign it during its probe, which is most probably a result of the
broken descriptor set.

I'm still reading through the sources, maybe we can find a more tolerant
way of handling such devices. If not, we would need to add a quirk for
the device and override the descriptors that way.


More information about the Alsa-devel mailing list