Following
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1850439/comments/185
here are instructions that provide a permanent fix.

> ## Next step: have a permanent fix
>
> Some copy-paste instructions as to how to make this fix permanent
> would be appreciated. Else I can figure out some and share,
> e.g. from
> https://askubuntu.com/questions/919054/how-do-i-run-a-single-command-at-startup-using-systemd

Hi all,

This fix works on our machine, where lshw says "ZenBook
UX534FAC_UX533FAC" or simply "UX534FAC".

What we did is start from
https://wiki.archlinux.org/index.php/ASUS_Zenbook_UX534 and adjust for
our machine:

Create `/etc/systemd/system/audio-fix.service` with this content:

------------------------------------------------------------------------

[Unit]
Description=Fix internal audio on ASUS Zenbook UX533/534
# The following options are needed to prevent the service from executing before 
the sound card is activated and thus failing
Requires=sys-devices-pci0000:00-0000:00:1f.3-sound-card0.device  # replace with 
the result of the previous command 
After=sys-devices-pci0000:00-0000:00:1f.3-sound-card0.device     # same

[Service]
Type=oneshot
ExecStart=hda-verb /dev/snd/hwC0D0 0x20 0x500 0xf ; hda-verb /dev/snd/hwC0D0 
0x20 0x400 0x7774 ; hda-verb /dev/snd/hwC0D0 0x20 0x500 0x45 ; hda-verb 
/dev/snd/hwC0D0 0x20 0x400 0x5289

[Install]
# Make it part of the sound initialization routine
WantedBy=sound.target

------------------------------------------------------------------------


Then issue this commands:

------------------------------------------------------------------------

systemctl start audio-fix
systemctl enable audio-fix

------------------------------------------------------------------------

You can now reboot to check if the fix works. On our machine, sound
works on speakers and audio jack output, sound is good and we could not
find any trace of the bug.

Thanks in advance to all kernel hackers that can propagate towards
upstream a proper fix (without regression for other users). :-)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1850439

Title:
  No sound on ASUS UX534FT

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hi,

  after instal Ubuntu in dual boot alongside Windows 10, I've realised
  there is no sound coming out of mine new ASUS Zenbook 15 UX534FT-
  AA024R in Ubuntu. In Windows there is no problem. Found this topic
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1810214 which had
  the same problem with driver for Realtek ALC294 which is also mine
  sound card. But even with this fix it is not working on UX534FT. Can
  you please add fix also for this newer model?

  Description:  Ubuntu 18.04.3 LTS
  Release:      18.04

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: linux-image-5.0.0-32-generic 5.0.0-32.34~18.04.2
  ProcVersionSignature: Ubuntu 5.0.0-32.34~18.04.2-generic 5.0.21
  Uname: Linux 5.0.0-32-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.7
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Oct 29 15:11:25 2019
  InstallationDate: Installed on 2019-10-29 (0 days ago)
  InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 
(20190805)
  SourcePackage: linux-signed-hwe
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1850439/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to