alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ALSA: usb-audio: Disable Lenovo P620 Rear line-in volume control
@ 2020-08-10 13:31 Kai-Heng Feng
  2020-08-10 14:03 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Kai-Heng Feng @ 2020-08-10 13:31 UTC (permalink / raw)
  To: tiwai
  Cc: moderated list:SOUND, Andrew Oakley, open list, Chris Boyle,
	Kai-Heng Feng, Alexander A. Klimov

The USB device (0x17aa:0x1046) that support Lenovo P620 rear panel
line-in claim to support volume control, but it doens't seem to have an
AMP, so when line-in volume lowers below 80, nothing gets recorded
anymore.

Disable the volume control to workaround the issue.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
---
 sound/usb/mixer_maps.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/usb/mixer_maps.c b/sound/usb/mixer_maps.c
index c369c81e74c4..5b43e9e40e49 100644
--- a/sound/usb/mixer_maps.c
+++ b/sound/usb/mixer_maps.c
@@ -371,6 +371,7 @@ static const struct usbmix_name_map asus_rog_map[] = {
 };
 
 static const struct usbmix_name_map lenovo_p620_rear_map[] = {
+	{ 19, NULL, 2 }, /* FU, Volume */
 	{ 19, NULL, 12 }, /* FU, Input Gain Pad */
 	{}
 };
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ALSA: usb-audio: Disable Lenovo P620 Rear line-in volume control
  2020-08-10 13:31 [PATCH] ALSA: usb-audio: Disable Lenovo P620 Rear line-in volume control Kai-Heng Feng
@ 2020-08-10 14:03 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2020-08-10 14:03 UTC (permalink / raw)
  To: Kai-Heng Feng
  Cc: moderated list:SOUND, Andrew Oakley, open list, Chris Boyle,
	tiwai, Alexander A. Klimov

On Mon, 10 Aug 2020 15:31:06 +0200,
Kai-Heng Feng wrote:
> 
> The USB device (0x17aa:0x1046) that support Lenovo P620 rear panel
> line-in claim to support volume control, but it doens't seem to have an
> AMP, so when line-in volume lowers below 80, nothing gets recorded
> anymore.
> 
> Disable the volume control to workaround the issue.
> 
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>

Thanks, applied.


Takashi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-10 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-10 13:31 [PATCH] ALSA: usb-audio: Disable Lenovo P620 Rear line-in volume control Kai-Heng Feng
2020-08-10 14:03 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).