* no sound in laptop ASUS UX362FA - repair
@ 2019-04-27 15:07 Petr Nosek
2019-04-27 17:54 ` [PATCH] ALSA: hda/realtek: Enable internal speaker of ASUS UX362FA with ALC294 Ladislav Michl
0 siblings, 1 reply; 3+ messages in thread
From: Petr Nosek @ 2019-04-27 15:07 UTC (permalink / raw)
To: alsa-devel
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-internaly-or-headphones/54089/29
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] ALSA: hda/realtek: Enable internal speaker of ASUS UX362FA with ALC294
2019-04-27 15:07 no sound in laptop ASUS UX362FA - repair Petr Nosek
@ 2019-04-27 17:54 ` Ladislav Michl
[not found] ` <CAAqJ6B9oWkpiXypV7UN-wqh9=YdAD-c-376GkcrHyXVsqqeBtw@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Ladislav Michl @ 2019-04-27 17:54 UTC (permalink / raw)
To: alsa-devel; +Cc: Petr Nosek
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),
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ALSA: hda/realtek: Enable internal speaker of ASUS UX362FA with ALC294
[not found] ` <CAAqJ6B9oWkpiXypV7UN-wqh9=YdAD-c-376GkcrHyXVsqqeBtw@mail.gmail.com>
@ 2019-04-28 7:33 ` Ladislav Michl
0 siblings, 0 replies; 3+ messages in thread
From: Ladislav Michl @ 2019-04-28 7:33 UTC (permalink / raw)
To: Petr Nosek; +Cc: alsa-devel
Hi Petr,
please keep list Cced.
On Sun, Apr 28, 2019 at 12:48:06AM +0100, Petr Nosek wrote:
> Hi Ladislav,
>
> it repairs both. Inernal speaker and headphones.
Ok, will adjust commit message.
> I'm sending output of dmesg - I think it helps you to see information,
> when is computer booting. Your patch looks like good.
Assuming this part of your boot log comes from patched kernel, right?
snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC294: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
snd_hda_codec_realtek hdaudioC0D0: inputs:
snd_hda_codec_realtek hdaudioC0D0: Headset Mic=0x19
snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12
> Can I do something else to help with repair? I'm not sure, what you mean
> by the last sentence. If I have anything else to do.
I'll send v2 shortly,
Thank you,
ladis
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-04-28 7:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-27 15:07 no sound in laptop ASUS UX362FA - repair Petr Nosek
2019-04-27 17:54 ` [PATCH] ALSA: hda/realtek: Enable internal speaker of ASUS UX362FA with ALC294 Ladislav Michl
[not found] ` <CAAqJ6B9oWkpiXypV7UN-wqh9=YdAD-c-376GkcrHyXVsqqeBtw@mail.gmail.com>
2019-04-28 7:33 ` Ladislav Michl
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.