[alsa-devel] no sound in laptop ASUS UX362FA - repair
Hi,
I bought laptop ASUS UX362FA: https://www.asus.com/2-in-1-PCs/ASUS-ZenBook-Flip-13-UX362FA/
The sound didn't work. I was looking for solution and I found this article: https://forum.manjaro.org/t/alc294-analog-audio-card-detected-but-no-sound-i...
So I added this line into ( https://github.com/torvalds/linux/blob/master/sound/pci/hda/patch_realtek.c ):
SND_PCI_QUIRK(0x1043, 0x13e1, "ASUS UX362FA", ALC294_FIXUP_ASUS_SPK),
behind this line: SND_PCI_QUIRK(0x1043, 0x10a1, "ASUS UX391UA", ALC294_FIXUP_ASUS_SPK)
And recompile kernel and it works. I'm sending this report for others, who have the same problem with this laptop version. Please add this repair to kernel for the others.
Thank you.
my hwinfo:
root@zenbook:~$ hwinfo --sound 15: PCI 1f.3: 0403 Audio device [Created at pci.378] Unique ID: nS1_.jsQALdVXpeB SysFS ID: /devices/pci0000:00/0000:00:1f.3 SysFS BusID: 0000:00:1f.3 Hardware Class: sound Model: "Intel Audio device" Vendor: pci 0x8086 "Intel Corporation" Device: pci 0x9dc8 SubVendor: pci 0x1043 "ASUSTeK Computer Inc." SubDevice: pci 0x13e1 Revision: 0x30 Driver: "snd_hda_intel" Driver Modules: "snd_hda_intel" Memory Range: 0xb1218000-0xb121bfff (rw,non-prefetchable) Memory Range: 0xb1000000-0xb10fffff (rw,non-prefetchable) IRQ: 127 (100 events) Module Alias: "pci:v00008086d00009DC8sv00001043sd000013E1bc04sc03i80" Driver Info #0: Driver Status: snd_hda_intel is active Driver Activation Cmd: "modprobe snd_hda_intel" Driver Info #1: Driver Status: snd_soc_skl is active Driver Activation Cmd: "modprobe snd_soc_skl" Config Status: cfg=new, avail=yes, need=no, active=unknown
For repairing it is neccessary to compile kernel. I'm sending solution for other and if is it possible, please add it in ubuntu kernel.
I reported bug (and solution) also there: https://bugzilla.kernel.org/show_bug.cgi?id=203443
additional information:
root@zenbook:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.10 Release: 18.10 Codename: cosmic
root@zenbook:~$ uname -a Linux zenbook 4.20.10-custom #1 SMP Sat Apr 6 21:21:30 CEST 2019 x86_64 x86_64 x86_64 GNU/Linux
kernel compiled and patched from this source: https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20/
and added line:
SND_PCI_QUIRK(0x1043, 0x13e1, "ASUS UX362FA", ALC294_FIXUP_ASUS_SPK),
into /sound/pci/hda/patch_realtek.c file
Petr
The ASUS UX362FA with ALC294 cannot detect the outputs through the internal speaker until ALC294_FIXUP_ASUS_SPK quirk applied.
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=203443 Suggested-by: Petr Nosek petr.nosek@gmail.com Signed-off-by: Ladislav Michl ladis@linux-mips.org --- Hi Petr,
I tried to verify information in your patch, but all links you provided are unpleasant to read and you also didn't provide bootlog, so I had to trust you that your machine comes with ALC294... Also, does it fix internal speaker only or also headphones? We need to get commit log right. Once verified, let's send v2 of this patch with your Tested-by tag and posibly Cc: stable. Thank you.
sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 070749b50eff..490b42e3e3dc 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -6896,6 +6896,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1043, 0x12f0, "ASUS X541UV", ALC256_FIXUP_ASUS_MIC), SND_PCI_QUIRK(0x1043, 0x12e0, "ASUS X541SA", ALC256_FIXUP_ASUS_MIC), SND_PCI_QUIRK(0x1043, 0x13b0, "ASUS Z550SA", ALC256_FIXUP_ASUS_MIC), + SND_PCI_QUIRK(0x1043, 0x13e1, "ASUS UX362FA", ALC294_FIXUP_ASUS_SPK), SND_PCI_QUIRK(0x1043, 0x1427, "Asus Zenbook UX31E", ALC269VB_FIXUP_ASUS_ZENBOOK), SND_PCI_QUIRK(0x1043, 0x1517, "Asus Zenbook UX31A", ALC269VB_FIXUP_ASUS_ZENBOOK_UX31A), SND_PCI_QUIRK(0x1043, 0x16e3, "ASUS UX50", ALC269_FIXUP_STEREO_DMIC),
participants (2)
-
Ladislav Michl
-
Petr Nosek