Re: [PATCH] ALSA: usb-audio: Add Line Out to iterm_names
From: Jaroslav Kysela
Date: Thu Jan 01 2026 - 06:51:19 EST
On 1/1/26 02:18, zhangheng wrote:
Sorry, this is not a new standard. It's just my personal idea. Can we
promote
the addition of this, adding this Line Out, so that it can be similar to
hda,
simplifying the adaptation task of the core outer layer? The jack events
are relatively unified. Otherwise, for the current sound card, the
rear jack event is Speaker, which requires separate adaptation.
Could you show us alsa-info.sh output? It looks that this hardware may require a custom UCM configuration.
Jaroslav
在 2025/12/31 23:43, Takashi Iwai 写道:
On Mon, 29 Dec 2025 10:31:29 +0100,
Zhang Heng wrote:
There are three jack events for a sound card on a desktop computer,Is 0x0308 something properly defined standard?
namely Speaker, Headphone, and Desktop Speaker. When both audio
devices are available, users cannot distinguish which audio device
is being used. Can we consider adding Line Out? similar to the HDA
sound card. This can change one of them and reduce the complexity
of the upper layer adaptation of the sound card.
Signed-off-by: Zhang Heng <zhangheng@xxxxxxxxxx>
If so, we can add the entry, of course.
thanks,
Takashi
---
sound/usb/mixer.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c
index 3af71d42b9b9..bdde4261d994 100644
--- a/sound/usb/mixer.c
+++ b/sound/usb/mixer.c
@@ -615,6 +615,7 @@ static struct iterm_name_combo {
{ 0x0305, "Room Speaker" },
{ 0x0306, "Com Speaker" },
{ 0x0307, "LFE" },
+ { 0x0308, "Line Out" },
{ 0x0600, "External In" },
{ 0x0601, "Analog In" },
{ 0x0602, "Digital In" },
--
2.47.1
--
Jaroslav Kysela <perex@xxxxxxxx>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.