ALSA: usb-audio: Enable .product_name override for Emagic, Unitor 8.
authorStefan Sauer <ensonic@google.com>
Mon, 10 Jun 2019 09:51:46 +0000 (11:51 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 11 Jun 2019 10:12:08 +0000 (12:12 +0200)
The Emagic Unitor 8 does not provide iManufacturer and iProduct fields
in its device descriptor. These fields are used by alsa to make build the
device name. Thus uncomment the .product-name in the quirks-table.

Without this change the device shows up as 'USB Device 0x86a:0x01'.

Output of lsusb and amidi:
https://gist.github.com/ensonic/7820a102e91f31575be355da2b6b33bc

Signed-off-by: Stefan Sauer <ensonic@google.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/quirks-table.h

index 5600143..5fd748c 100644 (file)
@@ -2422,7 +2422,7 @@ YAMAHA_DEVICE(0x7010, "UB99"),
        USB_DEVICE(0x086a, 0x0001),
        .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
                .vendor_name = "Emagic",
-               /* .product_name = "Unitor8", */
+               .product_name = "Unitor8",
                .ifnum = 2,
                .type = QUIRK_MIDI_EMAGIC,
                .data = & (const struct snd_usb_midi_endpoint_info) {