Andy Chi
1d8025ec72
ALSA: hda/realtek: fix mute/micmute LEDs for a HP ProBook
...
There is a HP ProBook which using ALC236 codec and need the
ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF quirk to make mute LED and
micmute LED work.
Signed-off-by: Andy Chi <andy.chi@canonical.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20221128022849.13759-1-andy.chi@canonical.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-11-29 07:57:43 +01:00
Takashi Iwai
1abfd71ee8
ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book Pro 360
...
Samsung Galaxy Book Pro 360 (13" 2021 NP930QBD-ke1US) with codec SSID
144d:c1a6 requires the same workaround for enabling the speaker amp
like other Samsung models with ALC298 codec.
Link: https://bugzilla.opensuse.org/show_bug.cgi?id=1205100
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20221115170235.18875-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-11-15 18:03:31 +01:00
Emil Flink
b18a456330
ALSA: hda/realtek: fix speakers for Samsung Galaxy Book Pro
...
The Samsung Galaxy Book Pro seems to have the same issue as a few
other Samsung laptops, detailed in kernel bug report 207423. Sound from
headphone jack works, but not the built-in speakers.
alsa-info: http://alsa-project.org/db/?f=b40ba609dc6ae28dc84ad404a0d8a4bbcd8bea6d
Signed-off-by: Emil Flink <emil.flink@gmail.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20221115144500.7782-1-emil.flink@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-11-15 18:01:22 +01:00
Edson Juliano Drosdeck
79e28f2ab3
ALSA: hda/realtek: Add Positivo C6300 model quirk
...
Positivo Master C6300 (1849:a233) require quirk for anabling headset-mic
Signed-off-by: Edson Juliano Drosdeck <edson.drosdeck@gmail.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20221109171732.5417-1-edson.drosdeck@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-11-10 07:06:33 +01:00
Stefan Binding
8d06679b25
ALSA: hda/realtek: Add quirk for ASUS Zenbook using CS35L41
...
This Asus Zenbook laptop use Realtek HDA codec combined with
2xCS35L41 Amplifiers using I2C with Internal Boost.
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20221028102742.2588687-1-sbinding@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-10-28 15:13:22 +02:00
Takashi Iwai
f86bfeb689
ALSA: hda/realtek: Add another HP ZBook G9 model quirks
...
HP ZBook Firefly 16 G9 (103c:896d) and HP ZBook Power 15.6 G9
(103c:89c0) require the same quirk for enabling CS35L41 speaker amps.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20221022072107.3401-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-10-22 09:21:53 +02:00
Maciej S. Szmigiero
b51c225376
ALSA: hda/realtek: Use snd_ctl_rename() to rename a control
...
With the recent addition of hashed controls lookup it's not enough to just
update the control name field, the hash entries for the modified control
have to be updated too.
snd_ctl_rename() takes care of that, so use it instead of directly
modifying the control name.
Fixes: c27e1efb61 ("ALSA: control: Use xarray for faster lookups")
Cc: stable@vger.kernel.org
Signed-off-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com >
Link: https://lore.kernel.org/r/37496bd80f91f373268148f877fd735917d97287.1666296963.git.maciej.szmigiero@oracle.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-10-21 08:17:09 +02:00
Stefan Binding
491a4ccd8a
ALSA: hda/realtek: Add quirk for ASUS Zenbook using CS35L41
...
This Asus Zenbook laptop use Realtek HDA codec combined with
2xCS35L41 Amplifiers using SPI with External Boost.
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20221018121506.2561397-1-sbinding@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-10-18 15:57:35 +02:00
Yang Yingliang
a8dfb85095
ALSA: hda/realtek: simplify the return of comp_bind()
...
After commit 23904f7b25 ("ALSA: hda: cs35l41: Remove
suspend/resume hda hooks"), the return of comp_bind()
can be simplified. No functional changed.
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com >
Link: https://lore.kernel.org/r/20221014013640.1142107-1-yangyingliang@huawei.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-10-17 12:42:04 +02:00
Stefan Binding
23904f7b25
ALSA: hda: cs35l41: Remove suspend/resume hda hooks
...
The current code uses calls from the HDA Codec driver to
determine when to suspend/resume by calling hooks via the
hda_component binding.
However, this means the cs35l41 driver relies on the HDA
Codec driver to tell it when to suspend or resume,
creating an additional external dependency, and potentially
creating race conditions in the future. It is better for
the cs35l41 hda driver to decide for itself when the part
should be suspended or resumed.
This makes supporting system suspend easier.
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com >
Link: https://lore.kernel.org/r/20221011143552.621792-5-sbinding@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-10-12 08:02:48 +02:00
Saranya Gopal
4f2e56a59b
ALSA: hda/realtek: Add Intel Reference SSID to support headset keys
...
This patch fixes the issue with 3.5mm headset keys
on RPL-P platform.
[ Rearranged the entry in SSID order by tiwai ]
Signed-off-by: Saranya Gopal <saranya.gopal@intel.com >
Signed-off-by: Ninad Naik <ninad.naik@intel.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20221011044916.2278867-1-saranya.gopal@intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-10-11 07:44:14 +02:00
Luke D. Jones
2ea8e12978
ALSA: hda/realtek: Add quirk for ASUS GV601R laptop
...
The ASUS ROG X16 (GV601R) series laptop has the same node-to-DAC pairs
as early models and the G14, this includes bass speakers which are by
default mapped incorrectly to the 0x06 node.
Add a quirk to use the same DAC pairs as the G14.
Signed-off-by: Luke D. Jones <luke@ljones.dev >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20221010070347.36883-1-luke@ljones.dev
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-10-10 14:43:51 +02:00
Luke D. Jones
66ba7c8850
ALSA: hda/realtek: Correct pin configs for ASUS G533Z
...
The initial fix for ASUS G533Z was based on faulty information. This
fixes the pincfg to values that have been verified with no existing
module options or other hacks enabled.
Enables headphone jack, and 5.1 surround.
[ corrected the indent level by tiwai ]
Fixes: bc2c23549c ("ALSA: hda/realtek: Add pincfg for ASUS G533Z HP jack")
Signed-off-by: Luke D. Jones <luke@ljones.dev >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20221010065702.35190-1-luke@ljones.dev
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-10-10 14:43:03 +02:00
Callum Osmotherly
417b9c51f5
ALSA: hda/realtek: remove ALC289_FIXUP_DUAL_SPK for Dell 5530
...
After some feedback from users with Dell Precision 5530 machines, this
patch reverts the previous change to add ALC289_FIXUP_DUAL_SPK.
While it improved the speaker output quality, it caused the headphone
jack to have an audible "pop" sound when power saving was toggled.
Fixes: 1885ff13d4 ("ALSA: hda/realtek: Enable 4-speaker output Dell Precision 5530 laptop")
Signed-off-by: Callum Osmotherly <callum.osmotherly@gmail.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/Yz0uyN1zwZhnyRD6@piranha
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-10-05 14:52:25 +02:00
Takashi Iwai
35a1744423
ALSA: hda/realtek: More robust component matching for CS35L41
...
As the previous commit implies, a system may have a different SPI bus
number that is embedded in the device string. And, assuming the fixed
bus number is rather fragile; it may be assigned differently depending
on the configuration or on the boot environment. Once when a bus
number change happens, the binding fails, resulting in the silence.
This patch tries to make the matching a bit more relaxed, allowing to
bind with a different bus number (or without it). So the previous
fix, the introduction of ALC245_FIXUP_CS35L41_SPI1_2 fixup became
superfluous, and this is unified to ALC245_FIXUP_CS35L41_SPI_2.
Fixes: 225f6e1bc1 ("ALSA: hda/realtek: Add quirk for HP Zbook Firefly 14 G9 model")
Link: https://lore.kernel.org/r/20220930084810.10435-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-09-30 10:48:44 +02:00
Takashi Iwai
225f6e1bc1
ALSA: hda/realtek: Add quirk for HP Zbook Firefly 14 G9 model
...
HP Zbook Firefly 14 G9 model (103c:8abb) requires yet another binding
with CS35L41 codec, but with a slightly different configuration. It's
over spi1 instead of spi0. Create a new fixup entry for that.
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20220929061455.13355-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-09-29 09:37:33 +02:00
Daniel Houldsworth
496322302b
ALSA: hda/realtek: Add a quirk for HP OMEN 16 (8902) mute LED
...
Similair to the HP OMEN 15, the HP OMEN 16 also needs
ALC285_FIXUP_HP_MUTE_LED for the mute LED to work.
[ Rearranged the entry in PCI SSID order by tiwai ]
Signed-off-by: Daniel Houldsworth <dhould3@gmail.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20220918171300.24693-1-dhould3@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-09-19 10:15:06 +02:00
Luke D. Jones
ba1f818053
ALSA: hda/realtek: Add quirk for ASUS GA503R laptop
...
The ASUS G15 2022 (GA503R) series laptop has the same node-to-DAC pairs
as early models and the G14, this includes bass speakers which are by
default mapped incorrectly to the 0x06 node.
Add a quirk to use the same DAC pairs as the G14.
Signed-off-by: Luke D. Jones <luke@ljones.dev >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20220915080921.35563-4-luke@ljones.dev
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-09-15 17:54:15 +02:00
Luke D. Jones
bc2c23549c
ALSA: hda/realtek: Add pincfg for ASUS G533Z HP jack
...
Fixes up the pincfg for ASUS ROG Strix G15 (G533Z) headphone combo jack
[ Fixed the position in the quirk table by tiwai ]
Signed-off-by: Luke D. Jones <luke@ljones.dev >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20220915080921.35563-3-luke@ljones.dev
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-09-15 17:52:56 +02:00
Luke D. Jones
c611e65904
ALSA: hda/realtek: Add pincfg for ASUS G513 HP jack
...
Fixes up the pincfg for ASUS ROG Strix G513 headphone and mic combo jack
[ Fixed the position in the quirk table by tiwai ]
Signed-off-by: Luke D. Jones <luke@ljones.dev >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20220915080921.35563-2-luke@ljones.dev
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-09-15 17:52:46 +02:00
Takashi Iwai
b16c8f229a
ALSA: hda/realtek: Re-arrange quirk table entries
...
A few entries have been mistakenly inserted in wrong positions without
considering the SSID ordering. Place them at right positions.
Fixes: b7557267c2 ("ALSA: hda/realtek: Add quirk for ASUS GA402")
Fixes: 94db9cc8f8 ("ALSA: hda/realtek: Add quirk for ASUS GU603")
Fixes: 739d0959fb ("ALSA: hda: Add quirk for ASUS Flow x13")
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20220915154724.31634-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-09-15 17:47:56 +02:00
Callum Osmotherly
1885ff13d4
ALSA: hda/realtek: Enable 4-speaker output Dell Precision 5530 laptop
...
Just as with the 5570 (and the other Dell laptops), this enables the two
subwoofer speakers on the Dell Precision 5530 together with the main
ones, significantly increasing the audio quality. I've tested this
myself on a 5530 and can confirm it's working as expected.
Signed-off-by: Callum Osmotherly <callum.osmotherly@gmail.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/YyMjQO3mhyXlMbCf@piranha
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-09-15 17:32:20 +02:00
Callum Osmotherly
bdc9b7396f
ALSA: hda/realtek: Enable 4-speaker output Dell Precision 5570 laptop
...
The Dell Precision 5570 uses the same 4-speakers-on-ALC289 just like the
previous Precision 5560. I replicated that patch onto this one, and can
confirm that the audio is much better (the woofers are now working);
I've tested it on my Dell Precision 5570.
Signed-off-by: Callum Osmotherly <callum.osmotherly@gmail.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/YyGbWM5wEoFMbW2v@piranha
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-09-14 11:18:19 +02:00
huangwenhui
cbcdf8c4d3
ALSA: hda/realtek: Add quirk for Huawei WRT-WX9
...
Fixes headphone and headset microphone detection on Huawei WRT-WX9.
Signed-off-by: huangwenhui <huangwenhuia@uniontech.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20220913054622.15979-1-huangwenhuia@uniontech.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-09-13 07:55:38 +02:00
Kacper Michajłow
a2d57ebec1
ALSA: hda/realtek: Add speaker AMP init for Samsung laptops with ALC298
...
Magic initialization sequence was extracted from Windows driver and
cleaned up manually.
Fixes internal speakers output.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=207423
Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1851518
Signed-off-by: Kacper Michajłow <kasper93@gmail.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20220827203328.30363-1-kasper93@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-08-28 09:34:39 +02:00
Christoffer Sandberg
90d74fdbd8
ALSA: hda/realtek: Add quirk for Clevo NS50PU, NS70PU
...
Fixes headset microphone detection on Clevo NS50PU and NS70PU.
Signed-off-by: Christoffer Sandberg <cs@tuxedo.de >
Signed-off-by: Werner Sembach <wse@tuxedocomputers.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20220817135144.34103-1-wse@tuxedocomputers.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-08-17 18:02:12 +02:00
Takashi Iwai
70cfdd0365
ALSA: hda/realtek: Add quirk for Lenovo Yoga7 14IAL7
...
Lenovo Yoga7 14IAL7 requires the same quirk as Lenovo Yoga9 14IAP7 for
fixing the bass speaker problems.
Reported-by: Pascal Gross <baipush@tutanota.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/N9_CjBz--3-2@tutanota.com
Link: https://lore.kernel.org/r/20220816132132.15520-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-08-16 15:22:18 +02:00
Stefan Binding
461122b999
ALSA: hda/realtek: Add quirks for ASUS Zenbooks using CS35L41
...
These Asus Zenbook laptop use Realtek HDA codec combined with
2xCS35L41 Amplifiers using SPI.
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com >
Link: https://lore.kernel.org/r/20220815141953.25197-1-sbinding@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-08-15 17:19:12 +02:00
Bedant Patnaik
30267718fe
ALSA: hda/realtek: Add a quirk for HP OMEN 15 (8786) mute LED
...
Board ID 8786 seems to be another variant of the Omen 15 that needs
ALC285_FIXUP_HP_MUTE_LED for working mute LED.
Signed-off-by: Bedant Patnaik <bedant.patnaik@gmail.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20220809142455.6473-1-bedant.patnaik@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-08-09 17:08:35 +02:00
Meng Tang
f882c4bef9
ALSA: hda/realtek: Add quirk for another Asus K42JZ model
...
There is another Asus K42JZ model with the PCI SSID 1043:1313
that requires the quirk ALC269VB_FIXUP_ASUS_MIC_NO_PRESENCE.
Add the corresponding entry to the quirk table.
Signed-off-by: Meng Tang <tangmeng@uniontech.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20220805074534.20003-1-tangmeng@uniontech.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-08-05 09:54:16 +02:00
Ivan Hasenkampf
24df5428ef
ALSA: hda/realtek: Add quirk for HP Spectre x360 15-eb0xxx
...
Fixes speaker output on HP Spectre x360 15-eb0xxx
[ re-sorted in SSID order by tiwai ]
Signed-off-by: Ivan Hasenkampf <ivan.hasenkampf@gmail.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20220803164001.290394-1-ivan.hasenkampf@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-08-03 20:24:59 +02:00
Tim Crawford
be561ffad7
ALSA: hda/realtek: Add quirk for Clevo NV45PZ
...
Fixes headset detection on Clevo NV45PZ.
Signed-off-by: Tim Crawford <tcrawford@system76.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20220731032243.4300-1-tcrawford@system76.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-07-31 08:22:42 +02:00
Philipp Jungkamp
3790a3d6db
ALSA: hda/realtek: Add quirk for Lenovo Yoga9 14IAP7
...
The Lenovo Yoga 9 14IAP7 is set up similarly to the Thinkpad X1 7th and
8th Gen. It also has the speakers attached to NID 0x14 and the bass
speakers to NID 0x17, but here the codec misreports the NID 0x17 as
unconnected.
The pincfg and hda verbs connect and activate the bass speaker
amplifiers, but the generic driver will connect them to NID 0x06 which
has no volume control. Set connection list/preferred connections is
required to gain volume control.
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=208555
Signed-off-by: Philipp Jungkamp <p.jungkamp@gmx.net >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20220729162103.6062-1-p.jungkamp@gmx.net
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-07-30 09:05:22 +02:00
Lucas Tanure
1e24881d8b
ALSA: hda: cs35l41: Support CLSA0101
...
Add support for Intel version of Legion 7 laptop.
Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com >
Link: https://lore.kernel.org/r/20220727095924.80884-3-tanureal@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-07-28 11:36:17 +02:00
Kai-Heng Feng
c578d5da10
ALSA: hda/realtek: Enable speaker and mute LEDs for HP laptops
...
Two more HP laptops that use cs35l41 AMP for speaker and GPIO for mute
LEDs.
So use the existing quirk to enable them accordingly.
[ Sort the entries at the SSID order by tiwai ]
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com >
Reviewed-by: Lucas Tanure <tanureal@opensource.cirrus.com >
Link: https://lore.kernel.org/r/20220719142015.244426-1-kai.heng.feng@canonical.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-07-25 08:38:01 +02:00
Takashi Iwai
d4edb0754f
Merge branch 'for-linus' into for-next
...
Merge 5.19-rc devel branch for applying HD-audio quirk patches more
cleanly.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-07-25 08:35:29 +02:00
Stefan Binding
1873ebd30c
ALSA: hda: cs35l41: Support Hibernation during Suspend
...
CS35L41 supports hibernation during suspend when using
DSP firmware.
When the driver suspends it will hibernate the part, if
firmware is running, and resume will wake from hibernation.
CS35L41 driver will suspend/resume when requested by
hda driver.
Note that suspend/resume and hibernation is only supported
when firmware is running.
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com >
Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com >
Link: https://lore.kernel.org/r/20220630002335.366545-10-vitalyr@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-07-15 16:21:39 +02:00
Stefan Binding
22d5cbd273
ALSA: hda: cs35l41: Save codec object inside component struct
...
This is required for ALSA control support.
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com >
Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com >
Link: https://lore.kernel.org/r/20220630002335.366545-4-vitalyr@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-07-14 11:22:39 +02:00
Meng Tang
9b043a8f38
ALSA: hda/realtek - Enable the headset-mic on a Xiaomi's laptop
...
The headset on this machine is not defined, after applying the quirk
ALC256_FIXUP_ASUS_HEADSET_MIC, the headset-mic works well
Signed-off-by: Meng Tang <tangmeng@uniontech.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20220713094133.9894-1-tangmeng@uniontech.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-07-13 12:42:41 +02:00
Meng Tang
4ba5c853d7
ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc221
...
On a HP 288 Pro G2 MT (X9W02AV), the front mic could not be detected.
In order to get it working, the pin configuration needs to be set
correctly, and the ALC221_FIXUP_HP_288PRO_MIC_NO_PRESENCE fixup needs
to be applied.
Signed-off-by: Meng Tang <tangmeng@uniontech.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20220713063332.30095-1-tangmeng@uniontech.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-07-13 09:09:24 +02:00
Jeremy Szu
61d307855e
ALSA: hda/realtek: fix mute/micmute LEDs for HP machines
...
The HP ProBook 440/450 G9 and EliteBook 640/650 G9 have multiple
motherboard design and they are using different subsystem ID of audio
codec. Add the same quirk for other MBs.
Signed-off-by: Jeremy Szu <jeremy.szu@canonical.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20220713022706.22892-1-jeremy.szu@canonical.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-07-13 08:29:34 +02:00
Meng Tang
dbe75d3147
ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671
...
On a HP 288 Pro G6, the front mic could not be detected.In order to
get it working, the pin configuration needs to be set correctly, and
the ALC671_FIXUP_HP_HEADSET_MIC2 fixup needs to be applied.
Signed-off-by: Meng Tang <tangmeng@uniontech.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20220712092222.21738-1-tangmeng@uniontech.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-07-12 11:31:12 +02:00
Meng Tang
841bdf85c2
ALSA: hda - Add fixup for Dell Latitidue E5430
...
Another Dell model, another fixup entry: Latitude E5430 needs the same
fixup as other Latitude E series as workaround for noise problems.
Signed-off-by: Meng Tang <tangmeng@uniontech.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20220712060005.20176-1-tangmeng@uniontech.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-07-12 11:13:30 +02:00
Meng Tang
5f3fe25e70
ALSA: hda/realtek: Fix headset mic for Acer SF313-51
...
The issue on Acer SWIFT SF313-51 is that headset microphone
doesn't work. The following quirk fixed headset microphone issue.
Note that the fixup of SF314-54/55 (ALC256_FIXUP_ACER_HEADSET_MIC)
was not successful on my SF313-51.
Signed-off-by: Meng Tang <tangmeng@uniontech.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20220711081527.6254-1-tangmeng@uniontech.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-07-11 16:14:45 +02:00
Tim Crawford
11bea26929
ALSA: hda/realtek: Add quirk for Clevo L140PU
...
Fixes headset detection on Clevo L140PU.
Signed-off-by: Tim Crawford <tcrawford@system76.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20220624144109.3957-1-tcrawford@system76.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-07-04 14:08:48 +02:00
Tim Crawford
627ce0d68e
ALSA: hda/realtek: Add quirk for Clevo NS50PU
...
Fixes headset detection on Clevo NS50PU.
Signed-off-by: Tim Crawford <tcrawford@system76.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20220622150017.9897-1-tcrawford@system76.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-06-22 17:19:57 +02:00
Tim Crawford
d49951219b
ALSA: hda/realtek: Add quirk for Clevo PD70PNT
...
Fixes speaker output and headset detection on Clevo PD70PNT.
Signed-off-by: Tim Crawford <tcrawford@system76.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20220617133028.50568-1-tcrawford@system76.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-06-17 16:37:49 +02:00
Takashi Iwai
56ec3e755b
ALSA: hda/realtek: Apply fixup for Lenovo Yoga Duet 7 properly
...
It turned out that Lenovo shipped two completely different products
with the very same PCI SSID, where both require different quirks;
namely, Lenovo C940 has already the fixup for its speaker
(ALC298_FIXUP_LENOVO_SPK_VOLUME) with the PCI SSID 17aa:3818, while
Yoga Duet 7 has also the very same PCI SSID but requires a different
quirk, ALC287_FIXUP_YOGA7_14TIL_SPEAKERS.
Fortunately, both are with different codecs (C940 with ALC298 and Duet
7 with ALC287), hence we can apply different fixes by checking the
codec ID. This patch implements that special fixup function.
For easier handling, the internal function for applying a specific
fixup entry is exported as __snd_hda_apply_fixup(), so that it can be
called from the codec driver. The rest is simply calling it with a
different fixup ID depending on the codec ID.
Reported-by: Hans de Goede <hdegoede@redhat.com >
Tested-by: nikitashvets@flyium.com
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/5ca147d1-3a2d-60c6-c491-8aa844183222@redhat.com
Link: https://lore.kernel.org/r/20220614054831.14648-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-06-15 07:28:51 +02:00
Kailang Yang
fe6900bd81
ALSA: hda/realtek - ALC897 headset MIC no sound
...
There is not have Headset Mic verb table in BIOS default.
So, it will have recording issue from headset MIC.
Add the verb table value without jack detect. It will turn on Headset Mic.
Signed-off-by: Kailang Yang <kailang@realtek.com >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/719133a27d8844a890002cb817001dfa@realtek.com
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-06-13 18:01:05 +02:00
Soham Sen
b2e6b3d9bb
ALSA: hda/realtek: Add mute LED quirk for HP Omen laptop
...
The HP Omen 15 laptop needs a quirk to toggle the mute LED. It already is implemented for a different variant of the HP Omen laptop so a fixup entry is needed for this variant.
Signed-off-by: Soham Sen <contact@sohamsen.me >
Cc: <stable@vger.kernel.org >
Link: https://lore.kernel.org/r/20220609181919.45535-1-contact@sohamsen.me
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2022-06-10 09:59:20 +02:00