Re: [PATCH] ALSA: usb-audio: add the profile name of Dell desktop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11. 11. 21 10:19, shumingf@xxxxxxxxxxx wrote:
From: Shuming Fan <shumingf@xxxxxxxxxxx>

Add the profile name to let userspace pick correct UCM profile

It's no longer necessary to force the card names in the drivers. UCM can match the USB vendor / device IDs from the 'components' string, too.

I think that we should abandon this way of the UCM configuration selection for new devices with device IDs. The kernel already exports necessary information to select the right UCM configuration in the user space.

					Jaroslav


Signed-off-by: Shuming Fan <shumingf@xxxxxxxxxxx>
---
  sound/usb/card.c | 4 ++++
  1 file changed, 4 insertions(+)

diff --git a/sound/usb/card.c b/sound/usb/card.c
index 1764b9302d46..9c67ecbe710e 100644
--- a/sound/usb/card.c
+++ b/sound/usb/card.c
@@ -398,6 +398,10 @@ static const struct usb_audio_device_name usb_audio_names[] = {
  	PROFILE_NAME(0x0bda, 0x4014, "Dell", "WD15 Dock", "Dell-WD15-Dock"),
  	/* Dell WD19 Dock */
  	PROFILE_NAME(0x0bda, 0x402e, "Dell", "WD19 Dock", "Dell-WD15-Dock"),
+	/* Dell Desktop - Front */
+	PROFILE_NAME(0x0bda, 0x4c54, "Dell", "Desktop", "Dell-Desktop-Front"),
+	/* Dell Desktop - Rear */
+	PROFILE_NAME(0x0bda, 0x4c55, "Dell", "Desktop", "Dell-Desktop-Rear"),
DEVICE_NAME(0x0ccd, 0x0028, "TerraTec", "Aureon5.1MkII"),

--
Jaroslav Kysela <perex@xxxxxxxx>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux