loader image

Reply To: ASUS UX582L [Linux, No Audio, Fixed]

What makes us different from other similar websites? Forums Tech ASUS UX582L [Linux, No Audio, Fixed] Reply To: ASUS UX582L [Linux, No Audio, Fixed]

#8058
thumbtak
Keymaster

If you find that the sound doesn’t work after a boot, or reboot, do the following.

Create a service file: Create a new file in /etc/systemd/system/ (e.g., hda-fix.service).

$ sudo mousepad /etc/systemd/system/hda-fix.service

Add the service configuration: Paste the following content into the file. The ExecStart lines will execute your commands.

[Unit]
Description=HDA-verb commands for audio fix
After=sound.target

[Service]
Type=oneshot
ExecStart=/usr/bin/hda-verb /dev/snd/hwC0D0 0x20 0x500 0x1b
ExecStart=/usr/bin/hda-verb /dev/snd/hwC0D0 0x20 0x477 0x4a4b
ExecStart=/usr/bin/hda-verb /dev/snd/hwC0D0 0x20 0x500 0xf
ExecStart=/usr/bin/hda-verb /dev/snd/hwC0D0 0x20 0x477 0x74

[Install]
WantedBy=multi-user.target

Note: I’ve assumed /usr/bin/hda-verb is the correct path. You might need to verify this with which hda-verb.

Reload systemd and enable the service:

$ sudo systemctl daemon-reload
$ sudo systemctl enable hda-fix.service

Start the service now (optional, to test it):

$ sudo systemctl start hda-fix.service

  • This reply was modified 4 weeks ago by thumbtak. Reason: Fixed the commands
  • This reply was modified 4 weeks ago by thumbtak. Reason: Fixed the first line
TAKs Shack