[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <s5hk0yf4wro.wl-tiwai@suse.de>
Date: Mon, 03 Aug 2020 16:41:31 +0200
From: Takashi Iwai <tiwai@...e.de>
To: Kai-Heng Feng <kai.heng.feng@...onical.com>
Cc: tiwai@...e.com, Jaroslav Kysela <perex@...ex.cz>,
Hui Peng <benquike@...il.com>,
Andrew Oakley <andrew@...akley.name>,
Chris Boyle <chris@...le.name>,
Alexander Tsoy <alexander@...y.me>,
Dmitry Panchenko <dmitry@...ystems.ee>,
Gregor Pintar <grpintar@...il.com>,
Ard van Breemen <ard@...ak.net>,
Hector Martin <marcan@...can.st>,
František Kučera
<franta-linux@...ntovo.cz>,
alsa-devel@...a-project.org (moderated list:SOUND),
linux-kernel@...r.kernel.org (open list)
Subject: Re: [PATCH] ALSA: usb-audio: Add support for Lenovo ThinkStation P620
On Mon, 03 Aug 2020 16:26:08 +0200,
Kai-Heng Feng wrote:
>
> Lenovo ThinkStation P620 is like other TRX40 boards, is equipped with
> two USB audio cards.
>
> USB device (17aa:104d) provides functionality for Internal Speaker and
> Front Headset. It's UAC v2, so it supports insertion control (jack
> detection). However, when trying to get the connector status of the
> speaker, an error occurs:
> [ 5.787405] usb 3-1: cannot get connectors status: req = 0x81, wValue = 0x200, wIndex = 0x1000, type = 0
>
> Since the insertion control works perfectly for the headset, the error
> for speaker is probably casued by connecting internally. So let's relax
> the error for a bit if it's a speaker, and always reports it's connected.
>
> USB device (17aa:1046) is for rear Line-in, Line-out and Microphone.
> The insertion control works for all three jacks. However, there's an
> Function Unit that doesn't work:
> [ 5.905415] usb 3-6: cannot get ctl value: req = 0x83, wValue = 0xc00, wIndex = 0x1300, type = 4
> [ 5.905418] usb 3-6: 19:0: cannot get min/max values for control 12 (id 19)
>
> So turn off the FU to avoid the error.
>
> Also, add specific card name for both devices, so userspace can easily
> indentify both cards.
>
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@...onical.com>
Thanks, applied.
Takashi
Powered by blists - more mailing lists