Skip to content

Commit

Permalink
ALSA: usb-audio: Disable Lenovo P620 Rear line-in volume control
Browse files Browse the repository at this point in the history
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.

Fixes: f8c11eb ("ALSA: usb-audio: Add support for Lenovo ThinkStation P620")
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Link: https://lore.kernel.org/r/20200810133108.31580-1-kai.heng.feng@canonical.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Kai-Heng Feng authored and Takashi Iwai committed Aug 10, 2020
1 parent 6e85961 commit 34dedd2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/usb/mixer_maps.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
{}
};
Expand Down

0 comments on commit 34dedd2

Please sign in to comment.