What makes us different from other similar websites? › Forums › Tech › ASUS UX582L [Linux, No Audio, Fixed]
Tagged: ASUS, Drive Issue, Liunux, No Audio, Sound Issue, UX582L
- This topic has 2 replies, 1 voice, and was last updated 2 weeks ago by
thumbtak.
-
AuthorPosts
-
March 10, 2025 at 1:54 pm #7998
thumbtakModeratorGo to:
https://fedoraproject.org/workstation/downloadCopy Link:

Goto:

Open:
balenaEtcher
Do the following:

Note:
Verification might fail. This is the last step. Ignore this.
Next:
Unmount the USB drive.
Next:
Try the live version of Fedora
Next:
Open terminal and run the following commands.
$ sudo dnf install alsa-tools $ sudo hda-verb /dev/snd/hwC0D0 0x20 0x500 0x1b $ sudo hda-verb /dev/snd/hwC0D0 0x20 0x477 0x4a4b $ sudo hda-verb /dev/snd/hwC0D0 0x20 0x500 0xf $ sudo hda-verb /dev/snd/hwC0D0 0x20 0x477 0x74 $ sudo dnf install pavucontrolRun the following command:
$ pavucontrolNext:

Next:
Goto https://www.onlinemictest.com/sound-test/

Note:
If you hear sound, the driver is working. You can now proceed with installing Fedora.
After you finish installing Fedora:
We need to make sound work on each reboot.
How to make the commands run on each system start:
$ sudo dnf install mousepad $ sudo mousepad /usr/local/bin/audio_fix.shSave the following text in the blank file:
#!/bin/bash sudo hda-verb /dev/snd/hwC0D0 0x20 0x500 0x1b sudo hda-verb /dev/snd/hwC0D0 0x20 0x477 0x4a4b sudo hda-verb /dev/snd/hwC0D0 0x20 0x500 0xf sudo hda-verb /dev/snd/hwC0D0 0x20 0x477 0x74Note:
Save the file.
Make the script executable:
$ sudo chmod +x /usr/local/bin/audio_fix.shCreate a systemd Service File:
$ sudo mousepad /etc/systemd/system/audio_fix.serviceSave the following text in the blank file:
[Unit] Description=Audio Fix at Startup After=sound.target [Service] Type=oneshot ExecStart=/usr/local/bin/audio_fix.sh RemainAfterExit=yes [Install] WantedBy=multi-user.targetNote:
Save the file.
Next:
$ sudo rebootNote:
You should now have audio on each reboot.If you experience low volume, run the following command:
$ alsamixerF6 => Select “HDA Intel PCH” => Adjust Master Volume
-
This topic was modified 8 months, 1 week ago by
thumbtak. Reason: Added how to fix low volume
May 24, 2025 at 11:49 pm #8058
thumbtakModeratorIf 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.serviceAdd the service configuration: Paste the following content into the file. The
ExecStartlines 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.targetNote: I’ve assumed
/usr/bin/hda-verbis the correct path. You might need to verify this withwhich hda-verb.Reload systemd and enable the service:
$ sudo systemctl daemon-reload $ sudo systemctl enable hda-fix.serviceStart the service now (optional, to test it):
$ sudo systemctl start hda-fix.serviceNovember 3, 2025 at 5:25 pm #8250
thumbtakModeratorMy device name recently changed. This is the fix for me.
1. Check device name:
$ cat /proc/asound/cards2. If you device name is “hwC1D0”, change nothing in the following script. If it isn’t, make sure the script uses the correct device name.
3. Full script with hwC1Do device name:
#!/bin/bash # Script to apply hda-verb commands to the HDA Intel PCH device, # which may have a variable card number (C0, C1, etc.) after a reboot. # --- 1. FIND THE CORRECT DEVICE --- # Search /proc/asound/cards for "HDA Intel PCH" and precisely extract its card number (e.g., '1'). # The -P flag enables Perl-compatible regex for lookbehind to match the number without the space. CARD_NUM=$(cat /proc/asound/cards | grep 'HDA Intel PCH' | grep -oP '^\s*\K\d+') # Check if the card number was found if [ -z "$CARD_NUM" ]; then echo "ERROR: HDA Intel PCH card not found in /proc/asound/cards." >&2 exit 1 fi # Construct the full device path # The D0 is correct for the first device on the card. HDA_DEV="/dev/snd/hwC${CARD_NUM}D0" # Check if the device file exists if [ ! -e "$HDA_DEV" ]; then echo "ERROR: Device file $HDA_DEV does not exist. Check permissions or driver status." >&2 exit 1 fi echo "Found HDA Intel PCH at Card $CARD_NUM. Corrected device path: $HDA_DEV" echo "Applying hda-verb commands..." echo "---" # --- 2. APPLY THE VERBS --- sudo hda-verb "$HDA_DEV" 0x20 0x500 0x1b sudo hda-verb "$HDA_DEV" 0x20 0x477 0x4a4b sudo hda-verb "$HDA_DEV" 0x20 0x500 0xf sudo hda-verb "$HDA_DEV" 0x20 0x477 0x74 echo "---" echo "All commands executed successfully on $HDA_DEV." -
This topic was modified 8 months, 1 week ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
