[ZenBook S UX391UA, Realtek ALC294, Mic, Internal] No sound at all

Bug #1784485 reported by Pawel on 2018-07-30
88
This bug affects 16 people
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Undecided
Unassigned
linux (Ubuntu)
Undecided
Unassigned

Bug Description

Internal speaker - not sound at all
Cable Headphonse - realy quiet disorted sound
Bluetooth headphones - sound works fine

On Windows 10 everything works fine.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: alsa-base 1.0.25+dfsg-0ubuntu5
ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18
Uname: Linux 4.15.0-29-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: pmichalski 7964 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
Date: Mon Jul 30 22:32:10 2018
InstallationDate: Installed on 2018-07-17 (12 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=pl_PL.UTF-8
 SHELL=/bin/bash
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaRecordingTest: ALSA recording test through plughw:PCH failed
Symptom_Card: Wbudowany dźwięk - HDA Intel PCH
Symptom_DevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: gdm 2988 F.... pulseaudio
                      pmichalski 7964 F.... pulseaudio
Symptom_Jack: Mic, Internal
Symptom_Type: No sound at all
Title: [ZenBook S UX391UA, Realtek ALC294, Mic, Internal] No sound at all
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/18/2018
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: UX391UA.204
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: UX391UA
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrUX391UA.204:bd05/18/2018:svnASUSTeKCOMPUTERINC.:pnZenBookSUX391UA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnUX391UA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.family: ZenBook S
dmi.product.name: ZenBook S UX391UA
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

Pawel (pawel-t) wrote :
Pawel (pawel-t) wrote :
nik (nik.gnomic) wrote :

found this page looking for information for same model laptop running Manjaro, also confirmed sound working on windows 10
found another page for ALC294 codec - https://askubuntu.com/questions/986140/no-sound-output-ubuntu-17-10-asus-zenbook-13
all 3 appear to have common problem caused by windows 10 shutdown

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in alsa-driver (Ubuntu):
status: New → Confirmed
sojusnik (sojusnik) wrote :

This also happens on Manjaro, see https://forum.manjaro.org/t/alc294-analog-audio-card-detected-but-no-sound-internaly-or-headphones/54089/16

Did somebody already find a solution or knows how to debug this properly?

Arnau Prat Gasull (aeronau) wrote :

I am experiencing the same problem running Ubuntu and Windows 10 on the same Zenbook model. Sound working on Windows 10 but not on Ubuntu 18.04. I have not managed to solve the problem.

Shreyas Mandre (shreyasmandre) wrote :

Same issue for me. I have Ubuntu 18.04 on Asus UX391UA. No sound either through headphones or speakers.

sojusnik (sojusnik) wrote :

I even installed Windows on an external drive, because the author of this thread (https://askubuntu.com/questions/986140/no-sound-output-ubuntu-17-10-asus-zenbook-13) assumed that a proper shutdown of Windows could solve this issue for Linux users, but it didn't help either.

sojusnik (sojusnik) wrote :

BTW, can somebody confirm that this ZenBook S UX391UA on Ubuntu 18.04 runs quite hot, even while doing normal "office stuff"?

At some point the preinstalled thermald daemon even forcefully shuts down Ubuntu, preventing it from overheating. "Package temperature above threshold, cpu clock throttled" normally appears before this in the logs.

The only solution I've found is to remove the thermald package. Didn't observe any undesirable side effects so far.

Nitish (nitd24) wrote :

Not facing any issues due to heating so far. Primarily using the laptop for coding.
It does occasionally gets heated, but then nothing that causes any problems.
I'll update if I face anything.

osimbora45 (osimbora45) wrote :

Also affects me (ASUS Zenbook UX931U)

Tomasz Przybył (fademind) wrote :

Also affected Asus VivoBook R542UF

```
Machine:
  Type: Laptop System: ASUSTeK product: VivoBook 15_ASUS Laptop X542UF
  v: 1.0 serial: <filter>
  Mobo: ASUSTeK model: X542UF v: 1.0 serial: <filter>
  UEFI: American Megatrends v: X542UF.303 date: 03/15/2018
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio driver: snd_hda_intel
  v: kernel bus ID: 00:1f.3
  Sound Server: ALSA Kernel: 4.19
```
```
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC294 Analog [ALC294 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
```
Dmesg parts
```
[ 12.342528] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC294: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 12.342531] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 12.342533] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 12.342535] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 12.342536] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 12.342538] snd_hda_codec_realtek hdaudioC0D0: Mic=0x1b
```
```
[ 12.634171] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input18
[ 12.634389] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input19
[ 12.634563] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input20
[ 12.634737] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input21
[ 12.634905] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input22
[ 12.635045] input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input23
```

Jan Smeds (jan-smeds) wrote :

Same problem for me...

sojusnik (sojusnik) wrote :

Still no sound, even on Ubuntu 18.10.

sojusnik (sojusnik) wrote :

I've opened another issue regarding this notebook. It's about overheating. Would be very helpful, if you could share your experience here: https://askubuntu.com/questions/1087672/unusually-hot-asus-ux391ua

Abhishek Sharma (helkaistari) wrote :

I'm also having an issue with my ux391ua running MATE18.04 with no Windows 10 installed. There is sound output audible with headphones on and volume >100% but it is very distorted and crackly. 18.10 was not helpful and updating kerenel to 19 doesn't change anything.

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC294 Analog [ALC294 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

pacmd list-cards
1 card(s) available.
    index: 0
 name: <alsa_card.pci-0000_00_1f.3>
 driver: <module-alsa-card.c>
 owner module: 7
 properties:
  alsa.card = "0"
  alsa.card_name = "HDA Intel PCH"
  alsa.long_card_name = "HDA Intel PCH at 0xec228000 irq 135"
  alsa.driver_name = "snd_hda_intel"
  device.bus_path = "pci-0000:00:1f.3"
  sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
  device.bus = "pci"
  device.vendor.id = "8086"
  device.vendor.name = "Intel Corporation"
  device.product.id = "9d71"
  device.product.name = "Sunrise Point-LP HD Audio"
  device.form_factor = "internal"
  device.string = "0"
  device.description = "Built-in Audio"
  module-udev-detect.discovered = "1"
  device.icon_name = "audio-card-pci"

I've tried various mixer related avenues which do nothing. I noticed that pavucontrol shows sound btw.

Karen Chaltikian (chaltik) wrote :

Asus UX430U mid-2018 edition.
Dual boot Win10/Ubuntu 18.04 LTS
Audio works fine on Windows both through laptop speakers and 3.5mm jack headphones
When booted in Ubuntu -- no sound on laptop speakers or headphones.

confirm the pavucontrol shows audio streaming.

alsamixer all outputs set to "oo".

odeiber (o-deiber) wrote :

hello
I just bought a zenbook asus S UX391UA under windows 10; I installed Ubuntu 18.10 64 bits in dual boot and I have the same problem: no sound (although it works correctly under Windows)

thank you

Karen Chaltikian (chaltik) wrote :

To add to the above: shutting down the laptop and then starting from there in Ubuntu, as suggested in one of the workarounds above, actually made the sound work

sojusnik (sojusnik) wrote :

@Karen Chaltikian

Good news! Although I've tried this on my UX391UA, but without success.

Can you describe your procedure step-by-step?

I have the issue as well. I have a dual boot system with following.
Zenbook UX490UAR
Ubuntu 18.04.1
Windows 10

I think this is due to windows not properly shutting down and holding on to a hardware device, although not sure how. Managed to resolve by a full shutdown. i.e. go to shutdown on the windows start menu and hold shift while pressing restart. A screen will appear where you can select to shutdown.

After the restart and logging into ubuntu, sound works .
For the volume control related bug, there was a guide here : https://askubuntu.com/questions/906303/volume-control-on-asus-zenbook-3

sojusnik (sojusnik) wrote :

Can somebody confirm that the above mentioned procedure also works with an UX391UA.

It does NOT work on my UX391UA.

Nitish (nitd24) wrote :

The above procedure does not work on my UX391UA either :(

Greg (buchovagabond) wrote :

I have same issue on new Asus ZenBook 14 UX433FA (ALC294) on Ubuntu 10.04.1 (NO dual boot).

Tried the 4.19.2 kernel and nothing changed.

Looking forward to some sort of fix/workaround!

craig jackson (craig-jackson) wrote :

Same on Asus Zenbook UX533 with Realtek ALC294. No sound on Kubuntu 18.10 (4.18.0-11-generic) - speakers or headphones. Dual boot with Windows 10. Windows 10 sounds work fine.

craig jackson (craig-jackson) wrote :

Interestingly, if I put the sound device into power save mode and wait a few seconds before playing a sound, I can actually hear it perffectly clearly, but after repeating the playing of the sound a few times, it distorts then disappears:

  sudo -i
  echo 10 >/sys/module/snd_hda_intel/parameters/power_save
  sleep 10
  aplay /usr/share/sounds/alsa/Front_Center.wav

Pawel (pawel-t) wrote :

Guys please keep this ticket for Zenbook S UX391UA nad ALC294.
UX533 is different issue. This not make sense. I've got 3 other Asus laptops, where sound worked perfectly on Linux.

Rebooting through Windows 10 or setting card in power_save does not work on UX391UA.
I bought external usb-c soundcard and now I am using it with headphones.

I think that without support from Realtek (for example Kailang Yang <email address hidden> https://www.systutorials.com/linux-kernels/84502/alsa-hda-realtek-new-codecs-support-for-alc234-alc274-alc294-linux-4-4-12/), Kernel Alsa team, Canonical team or Asus there will be no changes.
I've tried to contact all of them but without any results.

craig jackson (craig-jackson) wrote :

Hi Pawel,

You may be right, but I think the common thread in all the laptops exhibiting this problem is the ALC294. Does the power save trick mentioned in my comment work for you at all?

Cheers,
Craig

chovy (anchovy) wrote :

I have the pavucontrol showing audio but no sound is coming out of the spakers.

ACL294 on Asus Zenbook UX433FA-DH74

aditya lele (adityadlele) wrote :

Same problem with Asus Zenbook UX533FD.

Also, can someone please specify the windows shutdown method?
"i.e. go to shutdown on the windows start menu and hold shift while pressing restart. A screen will appear where you can select to shutdown." This doesn't work.

I am dual booting Win10 and Ubuntu 18.04.

chovy (anchovy) wrote :

I've tried everything. Nothing works. I originally booted into windows once and then installed linux over it. I did not power off I only did a reboot, some people are saying powering off from windows fixes sound on linux, which makes me think its some bios setting, but I don't see anything for sound settings in bios.

I no longer have windows so I can't boot into it.

VanVan (w-o) wrote :

I have the same issue on new Asus ZenBook 14 UX433FA (ALC294) on Ubuntu 2018.10 with Realtek ALC294.

aditya lele (adityadlele) wrote :

The only workaround that I have found till now is using a bluetooth headset. It works perfectly well.

VanVan (w-o) wrote :

Yes, I can confirm that bluetooth works well, but I hope we can find a way to use internal sound, it's a good quality speaker for a small laptop :)

Alban Boissard (albatas) wrote :

Hello,
sorry for my poor english, I am french.

A had exactly the same issue with a ASUS Zenbook UX433, and I fund a solution.

The issue comes from the Kernel part of the Alsa drivers.

Daniel Drake and Jian-Hong Pan provided a patch in the alsa mailing list to fix this issue for UX533/UX433 laptop (and maybe other Asus models) :
http://mailman.alsa-project.org/pipermail/alsa-devel/2018-December/142572.html

This patch is not in the current kernel, nor in 4.20rc tree as far I can see.
Fortunatly, you can find a patched version of the files in :
https://github.com/endlessm/linux/tree/master/sound
(A nice, easy to use linux distro)

What I did :
- clone official Kernel source repo (4.19-7 in my case)
- clone endless Os repo
- Copy the "sound" folder from endless tree to official kernel tree.
- Compile the "no more official" Kernel.
(I followed this tuto : https://wiki.archlinux.org/index.php/Kernel/Traditional_compilation because I use Manjaro, based on Arch) You have to find an appropriate tuto for Ubuntu. It was the firt time I compile a kernel.)
- Use this kernel : the sound work perfectly.

Note : I'm absolutly not a linux expert, it maybe exists a better way to use the patch than recompile the kernel.

Hi,

ALC294 works but you will have to recompile the kernel :/

A patched was made that you can find at
http://mailman.alsa-project.org/pipermail/alsa-devel/2018-December/142689.html

Be carefull there are 3 mails containing differents patches of the same file sound/pci/hda/patch_realtek.c

Personnally I have a ASUS UX433 laptop and I applied this patch on the linux-4.19.8.tar.xz kernel with a Debian distro.
Once done all works ok.

It should works also on a ASUS UX533.

Hope this helps.

Mohamed.

chovy (anchovy) wrote :

I'm using Ubuntu 18.04. Does anyone know if its possible to apply this patch? I would need idiot proof instructions.

chovy (anchovy) wrote :

I tried installing kernel 4.20-rc5 and sound speakers (built in) still don't work.

chovy (anchovy) wrote :

4.20-rc6 no go either.

VanVan (w-o) wrote :

It can't work if you install official kernel.
You need to replace the audio part by this one https://github.com/endlessm/linux/tree/master/sound

So you need to compile it ny yourself.

The correction is not yet on official kernel, it can take time before someone accept the pull request to the official kernel.

VanVan (w-o) wrote :

If you want to compile the kernel with the sound patch, you can use my github as a ready to use official kernel with patch :

git clone https://github.com/VanVan/linux.git
sudo apt-get install build-essential initramfs-tools fakeroot debconf-utils dpkg-dev debhelper bin86 kernel-package

You can then compile the kernel and install it.
You can follow some tuto here https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel

There is a lot of other tuto for each distribution.

Then, the sound works well :)

chovy (anchovy) wrote :

Can someone submit a PR to linux kernel? I did not see one when searching. I'd be happy to upvote it.

VanVan (w-o) wrote :

It's already done like mohamed badaoui said: http://mailman.alsa-project.org/pipermail/alsa-devel/2018-December/142572.html

Linux kernel is a big project, it can takes months to accept it.
We use mailing list rather than PR request.

If you don't want to wait, you can compile it by yourself following my previous message.

KlintFR (klintfr) wrote :

@VanVan (w-o)

Thank you for your message.
But I keep failing, trying to understand any "compile & build kernel" tutorials.

I don't get it , how it works...

I got your patched kernel and ran the sudo apt-get [...]
Then, i really don't know what to do , what part of the tutorial I have to do ...

:( I'm the rookiest rookie in the eternal rookiness

Ben (z80-ben) wrote :

I've compiled 4.20-rc6 from VanVan's github repository, and it has no effect on my UX391UA - still no sound.

I notice the patch doesn't actually refer specifically to the UX931UA though, only other ASUS models.

VanVan (w-o) wrote :

@z80-ben Yes, you are right, UX931UA is not part of the list, it could have worked :/
Be sure that you have no configuration error on /etc/modprobe.d/alsa-base.conf

Tested on Asus UX333, UX433, UX533 with ALC294
Support for Asus G751, P5440FF, X430UN, D640SA, UX550GE, X705FD; X430UN, GL503VM, Q524UQK, X542UN with ALC256 and some others.
A lot of Acer computers too and some other brands.

@klintfr It depends on your Linux distribution

chovy (anchovy) wrote :

i also got errors when trying to follow that ubuntu guide for compiling your own kernel.

Ben (z80-ben) wrote :

I got an error when building the modules from @VanVan's github due to /sound/pci/hda_codec.h having been moved to /include/sound/hda_codec.h

Fixing this let the compile finish without error (this is on Fedora 29).

KlintFR (klintfr) wrote :

@VanVan i'm using the classic Ubuntu 18.04 lts
I don't understand where to move the cloned folder from your repo , or what command i should type then. The tutorial you linked says :

fakeroot debian/rules clean

but there is no such folder

Sorry to bother you , I feel like I will manage to compile this only with a detailed step by step tuto ... Feelsbadman

chovy (anchovy) wrote :

yes, i also got `command not found` when running `fakeroot`

craig jackson (craig-jackson) wrote :

For those following https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel, I had to do some extra things to get kernel compilation working.

The workaround steps are described here: https://askubuntu.com/questions/1085411/unable-to-follow-kernel-buildyourownkernel/1099988. Substitute the kernel version relevant to you wherever you see "4.18.0"...

craig jackson (craig-jackson) wrote :

The above worked for (k)ubuntu 18.10.

VanVan (w-o) wrote :

Thanks to craig-jackson if you want to check before compiling your kernel if you have the same problem that I had, you can check if the sound can work for a few seconds with the command below :

sudo apt install git
git clone https://github.com/VanVan/check_sound.git
sudo ./check_sound/check_sound

If you can hear a sound from your internal speaker it's good, if not, compiling a new kernel can still give you sound, depends on your laptop.

When you compile a new kernel, do not forget do to a git pull inside the linux folder or you can remove and clone again the repository to have the latest commit (hda_codec.h correction):
git clone https://github.com/VanVan/linux.git

chovy (anchovy) wrote :

ettinger@sunny:~
$ sudo apt-get build-dep linux-image-$(uname -r)
[sudo] password for ettinger:
Sorry, try again.
[sudo] password for ettinger:
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list
ettinger@sunny:~
$ apt-get source linux-image-$(uname -r)
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list
ettinger@sunny:~
$ sudo apt-get source linux-image-$(uname -r)
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list

craig jackson (craig-jackson) wrote :

Just uncomment the deb-src lines in /etc/apt/sources.list.

For example, replace:

    # deb-src http://au.archive.ubuntu.com/ubuntu/ cosmic main restricted

With:

    deb-src http://au.archive.ubuntu.com/ubuntu/ cosmic main restricted

craig jackson (craig-jackson) wrote :

Don't forget to 'sudo apt update' after making those changes.

chovy (anchovy) wrote :

i have those lines already. this guide is terrible.

VBlack (vblack2006) wrote :

I have made it working for UX391UA laptop. I am using Linux Mint 19.
What I did:
1. Follow this on how to download and compile linux kernel from sources (I use 4.19.9)
2. check compiled kernel (reboot)
3. Apply 3 patches from here:
3.1 https://lkml.org/lkml/2018/12/7/158
3.2 https://lkml.org/lkml/2018/12/7/160
3.3 https://lkml.org/lkml/2018/12/7/159
4. Additionally specify my laptop in same file by adding one more change:
SND_PCI_QUIRK(0x1043, 0x14a1, "ASUS UX533FD", ALC294_FIXUP_ASUS_SPK),
+SND_PCI_QUIRK(0x1043, 0x10a1, "ASUS UX391UA", ALC294_FIXUP_ASUS_SPK),
5. Recompile kernel and reboot
6. Now I have sound!

Ben (z80-ben) wrote :

Also works for me @vblack2006

I downloaded the current stable kernel from kernel.org (4.19.9), applied the 3 patches that you linked to and added:

SND_PCI_QUIRK(0x1043, 0x10a1, "ASUS UX391UA", ALC294_FIXUP_ASUS_SPK

to /sound/pci/hda/patch_realtek.c

After compiling and installing, I now have sound working on my UX391UA running Fedora 29!

Tomasz Przybył (fademind) wrote :

Silly question, `0x1043, 0x10a1` for ex. are taken from lspci results just like that? :>

VBlack (vblack2006) wrote :

I take my numbers from
hwinfo --sound
(SubVendor and SubDevice)

13: PCI 1f.3: 0403 Audio device
  [Created at pci.378]
  Unique ID: nS1_.CMWMjFG1cGE
  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 0x9d71
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x10a1
  Revision: 0x21
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xec228000-0xec22bfff (rw,non-prefetchable)
  Memory Range: 0xec200000-0xec20ffff (rw,non-prefetchable)
  IRQ: 125 (338 events)
  Module Alias: "pci:v00008086d00009D71sv00001043sd000010A1bc04sc03i80"
  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

Tomasz Przybył (fademind) wrote :

I booted **manjaro-kde-18.0-stable-x86_64.iso** aaaand sounds works (internal speakers) like a charm.
Sound details:
```
[manjaro@manjaro ~]$ sudo hwinfo --sound
20: PCI 1f.3: 0403 Audio device
  [Created at pci.378]
  Unique ID: nS1_.b28td23g3aB
  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 0x9d71
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x1a00
  Revision: 0x21
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xef528000-0xef52bfff (rw,non-prefetchable)
  Memory Range: 0xef500000-0xef50ffff (rw,non-prefetchable)
  IRQ: 130 (615 events)
  Module Alias: "pci:v00008086d00009D71sv00001043sd00001A00bc04sc03i00"
  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
```

This ISO included patches for ALSA,
Patches for ASUS sound issues was applied in **4.19.8-2** release via this commit >
https://gitlab.manjaro.org/packages/core/linux419/commit/ef116a4b40754fa3f08e605c9e30fca35f0d6f03
Naming taken from this:
https://gitlab.manjaro.org/packages/core/linux419/commit/082db04a3e3d904e13e1550ae80f553dd1a0cba6

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1784485

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
sojusnik (sojusnik) wrote :

I have a ASUS UX391UA and finally want to get the sound working.

Is it theoretically possible to apply the above mentioned fix using the Kernel Update Utility for Ubuntu (https://github.com/teejee2008/ukuu)?

What's the proper way to apply the following patches afterwards?

https://lkml.org/lkml/2018/12/7/158
https://lkml.org/lkml/2018/12/7/160
https://lkml.org/lkml/2018/12/7/159

Greg (buchovagabond) wrote :

I just saw that the fix is included in the new 4.19.10 kernel. You can use UKUU to install.

-----------
Jian-Hong Pan (2):
      ALSA: hda/realtek: Enable audio jacks of ASUS UX533FD with ALC294
      ALSA: hda/realtek: Enable audio jacks of ASUS UX433FN/UX333FA with ALC294

chovy (anchovy) wrote :

Confirmed 4.19 fixes audio! Excellent work guys!

VanVan (w-o) wrote :

Audio fixes start with Linux 4.20-rc6, not 4.19

sojusnik (sojusnik) wrote :

@Greg (buchovagabond)

Without adding those 3 patches and the SND_PCI_QUIRK(0x1043, 0x10a1, "ASUS UX391UA", ALC294_FIXUP_ASUS_SPK) tweak to to /sound/pci/hda/patch_realtek.c ?

So only updating with UKUU will work?

sojusnik (sojusnik) wrote :

Installed 4.20.0-rc7 kernel through UKUU, but still no sound on ASUS UX391U :/

Ben (z80-ben) wrote :

The fixes in the 4.20-rc kernels are for other laptops, not the UX391UA. You'll need to add:

SND_PCI_QUIRK(0x1043, 0x10a1, "ASUS UX391UA", ALC294_FIXUP_ASUS_SPK

to /sound/pci/hda/patch_realtek.c

to get sound working on this laptop.

I used the 4.19.9 kernel, applied the 3 linked patches and added the line above. If you're using 4.20-rc6 / 7, you may only need to add the line to patch_realtek.c

sojusnik (sojusnik) wrote :

@Ben

patch_realtek.c is missing under /lib/modules/4.20.0-042000rc7-generic/kernel/sound/pci/hda/ after installing 4.20.0-rc7 kernel.

Can't find it elsewhere either.

How do you properly applied those 3 patches?

And the proper command is: SND_PCI_QUIRK(0x1043, 0x10a1, "ASUS UX391UA", ALC294_FIXUP_ASUS_SPK)

You forgot to close the brackets.

Ben (z80-ben) wrote :

@sojusnik

Yes, you're right, I missed the closing bracket. The correct line to add is:

SND_PCI_QUIRK(0x1043, 0x10a1, "ASUS UX391UA", ALC294_FIXUP_ASUS_SPK),

You won't find patch_realtek.c anywhere in /lib/modules/ because it's already been compiled and installed. You need to download the source code, apply the patches, then compile and install the kernel.

Try downloading the 4.20-rc7 from kernel.org (the patches are already applied to this version), extract it, and then edit /sound/pci/hda/patch_realtek.c

Look for this line:

SND_PCI_QUIRK(0x1043, 0x14a1, "ASUS UX533FD", ALC294_FIXUP_ASUS_SPK),

And beneath it add:

SND_PCI_QUIRK(0x1043, 0x10a1, "ASUS UX391UA", ALC294_FIXUP_ASUS_SPK),

If you then compile and install the kernel, you should have working sound on your UX391UA.

sojusnik (sojusnik) wrote :

@Ben

Thanks!

Patching and compiling the kernel is out of my league. I prefer the user-friendly and "foolproof" way through the Kernel Update Utility for Ubuntu (UKUU), mentioned above. Afaik, I can't edit the patch_realtek.c file when doing so with UKUU.

Do you know if it's already planned to merge the UX391UA line too? If not, can somebody mention this to the kernel developers.

VanVan (w-o) on 2018-12-19
Changed in alsa-driver (Ubuntu):
status: Confirmed → Fix Committed
Changed in linux (Ubuntu):
status: Incomplete → Fix Committed
craig jackson (craig-jackson) wrote :

I can confirm the following fixed the no-sound issue on my UX533 per buchovagabond's post above:

    sudo ukuu --install v4.19.10

Cheers,
Craig

chovy (anchovy) wrote :

sorry 4.19.10 worked, but 4.19.11 doesn't.

chovy (anchovy) wrote :

4.19.10 no longer works :(

I booted into windows and now sound doesn't work. Sound works fine in windows but not Ubuntu.

chovy (anchovy) wrote :

Fixed, for anyone using windows on a dual boot, you have to SHUTDOWN from windows. and then power on and go into Ubuntu. If you RESTART from windows sound will not work in Ubuntu.

chovy (anchovy) wrote :

4.19.11 works

Belen Guaranda (bellengc) wrote :

Hello, I've recently bought an UX533FD ASUS, with the same sound problem. Sorry, though I´m an ubuntu user I have no experience in compiling kernels, and after reading this thread, I have two questions: 1)Is the fix available in kernel 4.19.11? 2) Is this command: sudo ukuu --install v4.19.11 the only one to execute?

Santiago Londoño (slondon0) wrote :

I managed to solve it in my Asus ZenBook UX433F. I'm running Ubuntu 18.04.
I upgraded the Kernel to v4.19.11 as to Jorge Castro's answer to this question:

https://askubuntu.com/questions/119080/how-to-update-kernel-to-the-latest-mainline-version-without-any-distro-upgrade

Here are the exact steps I followed:

1. Download the appropriate files from:

https://kernel.ubuntu.com/~kernel-ppa/mainline/

For example:

linux-headers-4.19.11-041911_4.19.11-041911.201812191931_all.deb
linux-headers-4.19.11-041911-generic_4.19.11-041911.201812191931_amd64.deb
linux-image-unsigned-4.19.11-041911-generic_4.19.11-041911.201812191931_amd64.deb
linux-modules-4.19.11-041911-generic_4.19.11-041911.201812191931_amd64.deb

2. Install each one in the appropriate order:

sudo dpkg -i linux-headers-4.19.11-041911_4.19.11-041911.201812191931_all.deb
sudo dpkg -i linux-headers-4.19.11-041911-generic_4.19.11-041911.201812191931_amd64.deb
sudo dpkg -i linux-modules-4.19.11-041911-generic_4.19.11-041911.201812191931_amd64.deb
sudo dpkg -i linux-image-unsigned-4.19.11-041911-generic_4.19.11-041911.201812191931_amd64.deb

3. Restart. In GRUB choose "Advanced options for Ubuntu". Select the new Kernel version.

Cheers

sojusnik (sojusnik) wrote :

@Santiago Londoño

Or you could have used UKUU: https://github.com/teejee2008/ukuu

Too bad that the 4.20 kernel doesn't contain the fix for the UX391UA :/

VanVan (w-o) wrote :

@sojusnik
It should be included for UX391UA, I committed it on 19 December
https://github.com/torvalds/linux/commit/9cf6533e8060d3896b88ea14b27f620e6504b84b

sojusnik (sojusnik) wrote :

@VanVan

That's strange!

To be on the safe side, I even did a fresh Ubuntu 18.10 installation and updated to the 4.20 kernel with UKUU, but I still don't have sound. Neither from the internal, nor the external speakers. I've played around with alsamixer in the terminal – without success.

Can somebody confirm that they got the sound running just by installing the latest kernel (4.20) on the ASUS UX391UA (that's the model this issues is actually about)?

sojusnik (sojusnik) wrote :

Some additional sysinfo with inxi:

System: Host: mir Kernel: 4.20.0-042000-generic x86_64 bits: 64 Desktop: Gnome 3.30.1
           Distro: Ubuntu 18.10 (Cosmic Cuttlefish)
Machine: Type: Laptop System: ASUSTeK product: ZenBook S UX391UA v: 1.0 serial: <filter>
           Mobo: ASUSTeK model: UX391UA v: 1.0 serial: <filter>
           UEFI [Legacy]: American Megatrends v: UX391UA.301 date: 10/15/2018

BTW, ASUS released recently a new BIOS version, but it still doesn't solve our problem: https://www.asus.com/de/Laptops/ASUS-ZenBook-S-UX391UA/HelpDesk_BIOS/

Ben (z80-ben) wrote :

The UX391UA fix is not in 4.20 as it was already a release candidate. To get sound working on this model you'll need to download the 4.20 source, apply the patch to sound/pci/hda/patch_realtek.c then compile and install the kernel.

sojusnik (sojusnik) wrote :

Thanks Pawel!

Confirm solved for kernel 4.20 via Ukuu for Asus Zenbook ux433f

Hello guys,

I followed your discussion to try to solve my problem. Now sound works in my PC, but I've got some other problems that came with.

My PC is an Asus UX333FN, and I'm currently running on Ubuntu 18.04 with kernel 4.20. It came with 4.15.0.29.31 originally.

When following the steps to install new kernels, above 4.18, I always get these messages :

W: Possible missing firmware /lib/firmware/nvidia/gv100/sec2/sig.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/sec2/image.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/sec2/desc.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/nvdec/scrubber.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/gr/sw_method_init.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/gr/sw_bundle_init.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/gr/sw_nonctx.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/gr/sw_ctx.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/gr/gpccs_sig.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/gr/gpccs_data.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/gr/gpccs_inst.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/gr/gpccs_bl.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/gr/fecs_sig.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/gr/fecs_data.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/gr/fecs_inst.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/gr/fecs_bl.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/acr/ucode_unload.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/acr/ucode_load.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/acr/unload_bl.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/acr/bl.bin for module nouveau
(This time I was trying to install 4.18 for example)

As I said, sound works, but my problem now is apparently the NVIDIA Card (it has a Geforce MX150). Sometimes my screen and my mouse freeze, and I also get something like in the attached picture. I also need to press two times the Fn keys for it to start working, which didn't happen with the other kernel.

Has someone faced the same problem?

Thank you a lot

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers