mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas <cyberfix@gmx.net>
To: Takashi Iwai <tiwai@suse.de>, Mark Brown <broonie@kernel.org>
Cc: Marco Giunta <marco_giunta@outlook.it>,
	tiwai@suse.com, perex@perex.cz, lgirdwood@gmail.com,
	linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org,
	rafael@kernel.org, lenb@kernel.org, hansg@kernel.org,
	ilpo.jarvinen@linux.intel.com, linux-acpi@vger.kernel.org,
	platform-driver-x86@vger.kernel.org, wangweidong.a@awinic.com,
	nadim@symbolic.software, imitoy@imitoy.top, munzirtaha@gmail.com,
	yakov.till@gmail.com
Subject: Re: [PATCH 0/8] ALSA: hda: Add AW88399 HDA side codec driver for Lenovo Legion
Date: Thu, 30 Jul 2026 20:08:43 +0200	[thread overview]
Message-ID: <204bfdd7-04c7-4fa7-8626-0fe5f5c0e757@gmx.net> (raw)
In-Reply-To: <87se548s81.wl-tiwai@suse.de>


Hi,

I found an additional Lenovo system that requires the existing
|ALC287_FIXUP_YOGA9_14IAP7_BASS_SPK_PIN|quirk.

*System:*

  * Product: Lenovo Legion 7 16AGP11
  * Machine Type: 83Q8
  * Codec: Realtek ALC287
  * Codec Subsystem ID: 17aa:3956

*Problem:*

The internal tweeters follow the master volume correctly, but the bass
speakers (woofers) remain almost at full volume even at very low volume
settings (e.g. 5%).

This matches the behavior that the
|ALC287_FIXUP_YOGA9_14IAP7_BASS_SPK_PIN|fixup was introduced to correct
on other Lenovo systems.

Without the fixup:

  * Tweeters are volume-controlled correctly.
  * Woofers are already loud at very low volume settings.

With

|options snd-hda-intel model=,,alc287-yoga9-bass-spk-pin|

the problem disappears completely:

  * Tweeters and woofers track the volume control together.
  * Bass volume scales correctly across the complete volume range.

The system contains multiple HDA controllers, therefore the model
parameter must be applied to the third controller (|,,|).

It looks like adding the following quirk is sufficient:

|diff --git a/sound/hda/codecs/realtek/alc269.c 
b/sound/hda/codecs/realtek/alc269.c @@ + HDA_CODEC_QUIRK(0x17aa, 0x3956, 
+ "Lenovo Legion 7 16AGP11", + ALC287_FIXUP_YOGA9_14IAP7_BASS_SPK_PIN),|

For reference:

|Codec: Realtek ALC287 Subsystem Id: 0x17aa3956 DMI Product: Legion 7 
16AGP11 Machine Type: 83Q8 Kernel: 7.1.3 Distribution: Debian sid|

I have verified that the existing fixup completely resolves the speaker
volume issue on this machine.

Tested-by: Tom cyberfix@gmx.net

Thanks,
Tom


On 7/27/26 15:41, Takashi Iwai wrote:
> On Mon, 27 Jul 2026 13:57:06 +0200,
> Mark Brown wrote:
>> On Fri, Jul 17, 2026 at 03:25:02PM +0200, Marco Giunta wrote:
>>> Several Lenovo Legion laptops (Pro 7i 16IAX10H, Y9000P IAX10,
>>> Pro 7 16AFR10H, R9000P ADR10) use AWINIC AW88399 smart amplifiers
>>> to drive their bass woofers, connected via I2C as side codecs
>>> to a Realtek ALC287 HDA codec.
>> The following changes since commit 1590cf0329716306e948a8fc29f1d3ee87d3989f:
>>
>>    Linux 7.2-rc4 (2026-07-19 13:54:41 -0700)
>>
>> are available in the Git repository at:
>>
>>    https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git tags/asoc-aw88339-lib
>>
>> for you to fetch changes up to 15c9fdb3c39d5073463ffa746cc64ad9682c875f:
>>
>>    ASoC: aw88399: add channel setter for HDA side codec (2026-07-21 19:16:08 +0100)
>>
>> ----------------------------------------------------------------
>> ASoC: Add AW88399 HDA side codec driver for Lenovo Legion
>>
>> In order to support AW88399 HDA side codec used on the Lenovo Legion we
>> need updates to it's ASoC driver.
> Pulled to for-next branch now.  Thanks.
>
>
> Takashi




      reply	other threads:[~2026-07-30 18:09 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-17 13:25 Marco Giunta
2026-07-17 13:25 ` [PATCH 1/8] ASoC: aw88399: extract shared device library Marco Giunta
2026-07-21 15:21   ` Ilpo Järvinen
2026-07-21 16:57     ` Mark Brown
2026-07-23  8:45     ` Marco Giunta
2026-07-17 13:25 ` [PATCH 2/8] ASoC: aw88399: derive channel from I2C address on ACPI systems Marco Giunta
2026-07-17 13:25 ` [PATCH 3/8] ASoC: aw88399: add per-instance BSTS status bypass flag Marco Giunta
2026-07-17 13:25 ` [PATCH 4/8] ASoC: aw88399: add firmware reload flag for resume Marco Giunta
2026-07-17 13:25 ` [PATCH 5/8] ASoC: aw88399: add channel setter for HDA side codec Marco Giunta
2026-07-17 13:25 ` [PATCH 6/8] ACPI/platform: add AWDZ8399 to serial-multi-instantiate Marco Giunta
2026-07-21 12:13   ` Rafael J. Wysocki (Intel)
2026-07-21 15:22   ` Ilpo Järvinen
2026-07-17 13:25 ` [PATCH 7/8] ALSA: hda/scodec: add AW88399 HDA side codec driver Marco Giunta
2026-07-17 13:25 ` [PATCH 8/8] ALSA: hda/realtek: enable AW88399 on Lenovo Legion Pro Marco Giunta
2026-07-21 11:32 ` [PATCH 0/8] ALSA: hda: Add AW88399 HDA side codec driver for Lenovo Legion Takashi Iwai
2026-07-23 12:37   ` Marco Giunta
2026-07-23 12:53     ` Takashi Iwai
2026-07-24 12:49       ` Mark Brown
2026-07-24 12:54         ` Takashi Iwai
2026-07-21 18:19 ` (subset) " Mark Brown
2026-07-27 11:57 ` Mark Brown
2026-07-27 13:41   ` Takashi Iwai
2026-07-30 18:08     ` Thomas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=204bfdd7-04c7-4fa7-8626-0fe5f5c0e757@gmx.net \
    --to=cyberfix@gmx.net \
    --cc=broonie@kernel.org \
    --cc=hansg@kernel.org \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=imitoy@imitoy.top \
    --cc=lenb@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=marco_giunta@outlook.it \
    --cc=munzirtaha@gmail.com \
    --cc=nadim@symbolic.software \
    --cc=perex@perex.cz \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=tiwai@suse.com \
    --cc=tiwai@suse.de \
    --cc=wangweidong.a@awinic.com \
    --cc=yakov.till@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®