Skip to contentSkip to conversation

ALSA: usb-audio: Add vendor and product name for Dell WD19 Dock

PATCH Superseded Hui Wang 2 participants 3 messages Nov 27, 2018 – Nov 28, 2018 Sound

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Hui Wang

author
#0 lore raw

PATCH 1/1 ALSA: usb-audio: Add vendor and product name for Dell WD19 Dock

Like the Dell WD15 Dock, the WD19 Dock (0bda:402e) doens't provide useful string for the vendor and product names too, and WD19 has a headset Jack and a Speaker out Jack. In order to support UCM for this Dock in the alsa-lib, here we add profile_name too.

---
 sound/usb/quirks-table.h | 10 ++++++++++
 1 file changed, 10 insertions(+)
sound/usb/quirks-table.h +10 -0
index 849953e5775c..4c10015cc0ca 100644
@@ -3382,5 +3382,15 @@ AU0828_DEVICE(0x2040, 0x7270, "Hauppauge", "HVR-950Q"),
 		.ifnum = QUIRK_NO_INTERFACE
 	}
 },
+/* Dell WD19 Dock */
+{
+	USB_DEVICE(0x0bda, 0x402e),
+	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
+		.vendor_name = "Dell",
+		.product_name = "WD19 Dock",
+		.profile_name = "Dell-WD19-Dock",
+		.ifnum = QUIRK_NO_INTERFACE
+	}
+},
 
 #undef USB_DEVICE_VENDOR_SPEC
Signature · 1 line
2.17.1
#1 lore raw
Quoted 7 lines · Hui Wang

Like the Dell WD15 Dock, the WD19 Dock (0bda:402e) doens't provide useful string for the vendor and product names too, and WD19 has a headset Jack and a Speaker out Jack. In order to support UCM for this Dock in the alsa-lib, here we add profile_name too.

Looking at the UCM addition, it's same as WD15 but just a different name? What you put "Speaker" was "Line Out" on WD15, but it was meant to be same. Line Out was chosen just because of convention.

I'm OK to add a new one, but keeping "Dell-WD15-Dock" makes the new kernel working even without UCM profile update.

thanks,

Takashi

Quoted 27 lines
---
 sound/usb/quirks-table.h | 10 ++++++++++
 1 file changed, 10 insertions(+)
sound/usb/quirks-table.h +10 -0
index 849953e5775c..4c10015cc0ca 100644
@@ -3382,5 +3382,15 @@ AU0828_DEVICE(0x2040, 0x7270, "Hauppauge", "HVR-950Q"),
 		.ifnum = QUIRK_NO_INTERFACE
 	}
 },
+/* Dell WD19 Dock */
+{
+	USB_DEVICE(0x0bda, 0x402e),
+	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
+		.vendor_name = "Dell",
+		.product_name = "WD19 Dock",
+		.profile_name = "Dell-WD19-Dock",
+		.ifnum = QUIRK_NO_INTERFACE
+	}
+},
 
 #undef USB_DEVICE_VENDOR_SPEC
Signature · 1 line
2.17.1
author
#2 lore raw
Quoted 11 lines · Takashi Iwai
Quoted 6 lines · Hui Wang

Like the Dell WD15 Dock, the WD19 Dock (0bda:402e) doens't provide useful string for the vendor and product names too, and WD19 has a headset Jack and a Speaker out Jack. In order to support UCM for this Dock in the alsa-lib, here we add profile_name too.

Looking at the UCM addition, it's same as WD15 but just a different name? What you put "Speaker" was "Line Out" on WD15, but it was meant to be same. Line Out was chosen just because of convention.ted

I just checked their documents,  they are same with the output and input.

Quoted 3 lines

I'm OK to add a new one, but keeping "Dell-WD15-Dock" makes the new kernel working even without UCM profile update.

OK, got it. keep the profile_name. I will send the updated patch later.

Thanks,

Hui.

Quoted 29 lines

thanks,

Takashi

Quoted 23 lines
---
  sound/usb/quirks-table.h | 10 ++++++++++
  1 file changed, 10 insertions(+)
sound/usb/quirks-table.h +10 -0
index 849953e5775c..4c10015cc0ca 100644
@@ -3382,5 +3382,15 @@ AU0828_DEVICE(0x2040, 0x7270, "Hauppauge", "HVR-950Q"),
  		.ifnum = QUIRK_NO_INTERFACE
  	}
  },
+/* Dell WD19 Dock */
+{
+	USB_DEVICE(0x0bda, 0x402e),
+	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
+		.vendor_name = "Dell",
+		.product_name = "WD19 Dock",
+		.profile_name = "Dell-WD19-Dock",
+		.ifnum = QUIRK_NO_INTERFACE
+	}
+},
 
Quoted 9 lines
Quoted 4 lines
sound/usb/quirks-table.h +0 -0
  #undef USB_DEVICE_VENDOR_SPEC
Signature · 1 line
2.17.1

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel