Re: [PATCH] ALSA: usb-audio: Add Line Out to iterm_names

From: Takashi Iwai

Date: Thu Jan 01 2026 - 05:03:17 EST


On Thu, 01 Jan 2026 02:18:21 +0100,
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.

Well, the question is how this 0x0308 came up.
It's the value that is used actually by the descriptor, right?
That is, the vendor uses this non-standard number regularly?
If so, we may define it as a de facto standard and implement as you
suggested.

Basically I like the idea, but I'd like to know more about the current
situation at first.


thanks,

Takashi


> 在 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,
> >> 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>
> > Is 0x0308 something properly defined standard?
> > 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
> >>