Realtek ALC221 Audio

Worries?
Neverever!

I find it funny whatever comes! :stuck_out_tongue:
File or folder not found :sweat_smile: :joy::rofl:
image

no sorry!
Just had to replace the "and" with an "&" :wink:

1 Like

There should be more - definitely not loading a driver.

I also did some digging, looks like Manjaro is on 6.something - if you're all current with updates you should be on 5.15.0-87-generic. I'm willing to bet it's kernel version as it worked with Manjaro; given it is Arch based at that. I have another laptop that doesn't like anything below 6.x.x kernels.

I'm not exactly sure on the steps for doing that with Zorin, I'll have to step down here - I'm hoping someone that knows how to do this properly will see this. I have not played with kernels myself to give any steps :see_no_evil:

1 Like

Just can confirm that!

Am on 5.15.0-87-generic and all had been working on Manjaro, but please dont ask what Kernel version I used there! Just can say, that I did't have had any audio issues :wink:

But I also had it running fine on Zorin with audio before. But as far I remember I was led to install the alternative driver, wich no more happened since I installed Zorin again yesterday ...

Damn old hardware!
Only one issue after the other!
Hope y'all also followed some investment plans!
Me did and obviously can buy better hardware soon and hopefully never ever have to struggle with antique hardware problems again!

1 Like

I am about to try my luck with Chat GPT wich advised me to update the kernel

sudo update-initramfs -u

and then reinstall the sound-related packages:

sudo apt-get --reinstall install alsa-base alsa-utils pulseaudio linux-sound-base

... restarting ...

Lol Thats fun!

The AI had no solution and asked me to forward the issue to the Zorin community!

Here the transcript of performed steps that I hope will help one of you to get that solved:

please write a transcript that I can forward to the zorin community to help them understanding what steps were performed and didn't lead to a solution

ChatGPT

Certainly, here is a detailed transcript that you can share with the Zorin community for further assistance with the "Dummy" output device issue on your HP EliteDesk 705 G1 Desktop running Zorin OS:

--->

Issue Description: I am experiencing an issue with the audio output on my HP EliteDesk 705 G1 Desktop running Zorin OS. The system is only showing "Dummy" as the output device, and I have followed various troubleshooting steps but have not been able to resolve the issue.

Troubleshooting Steps Taken:

  1. Checked Sound Settings: Verified that the correct output device was selected in the sound settings. "Dummy" was the only option available.
  2. Checked Sound Card Recognition: Ran the aplay -l command, which did not list the sound card. This suggests a potential issue with the sound card detection.
  3. Checked System Logs: Ran dmesg | grep -i snd to check for any relevant system logs related to the sound card but did not find any clear indications of the issue.
  4. Reinstalled Audio Drivers: Reinstalled the audio drivers using the command sudo apt-get --reinstall install alsa-base pulseaudio to ensure they were correctly set up.
  5. Updated the Kernel: Updated the Zorin OS kernel to the latest version to ensure all necessary drivers were up to date, but the issue persisted.
  6. Checked ALSA and PulseAudio Configurations: Examined the ALSA configuration using cat /etc/modprobe.d/alsa-base.conf and the PulseAudio configuration using cat /etc/pulse/default.pa. No conflicting settings were found.
  7. Updated Zorin OS: Ensured that the Zorin OS installation was up to date by running sudo apt update && sudo apt upgrade to update all installed packages.
  8. Reinstalled PulseAudio: Reinstalled PulseAudio using the commands sudo apt-get --purge remove pulseaudio and sudo apt-get install pulseaudio.

Current Status: Despite performing the above steps, the issue still persists, and the system continues to show "Dummy" as the output device.

Request for Further Assistance: I would appreciate any guidance or insights from the Zorin community to help resolve this issue and get the audio output working correctly on my HP EliteDesk 705 G1 Desktop. If there are any specific steps or additional troubleshooting methods I can try, please let me know.

Thank you for your assistance.


Feel free to share this transcript with the Zorin community to provide them with a comprehensive overview of the steps you've taken and the current status of the issue. They will be better equipped to provide further assistance based on the information provided.

Obviously you're better than the AI :joy: :+1:

Thank you guys :pray:

1 Like

Doing a web search on this shows that this device has given a lot of people a lot of problems.
For testing, let's try adding the following parameter snd_hda_intel.model=alc221-hp-mic

sudo nano /etc/default/grub

Arrow key down to
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Add in the parameter using right shift paste so it looks just like
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash snd_hda_intel.model=alc221-hp-mic"

Tap ctrl+o to overwrite, then enter key to save current configuration. Tap ctrl+x to exit the editor.
The terminal will revert to normal appearance; now you must run

sudo update-grub

for the changes to take effect.
Reboot and test.

1 Like

I didn't even think to ask: are you running with Secure Boot enabled or disabled?

1 Like

All steps performed:
image

... grub updated
... rebooted
... BIOS checked:
Secure boot is disbabled

Sound card is still on "Dummy-Output":
image

No sound :sweat:

The HP site shows HP Elitedesk to have "Realtek 2-channel ALC221 codec
" audio:

lshw only shows the Graphicards HDMI Audio:
image

here I'm sturck :confounded:

1 Like

BTW when I follow the HdaIntelSoundHowto

I get no Info about Intel nor Realtek audio from

cat /proc/asound/card0/codec* | grep Codec
image

https://help.ubuntu.com/community/HdaIntelSoundHowto

I recommend restoring grub to "quiet splash" for now, then.

While you are in the terminal, lets check some things;

sudo apt update && sudo apt full-upgrade

killall pulseaudio

rm -r ~/.config/pulse

sudo apt install --reinstall pulseaudio alsa-utils

Launch AlsaMixer from terminal:

alsamixer

Please post a screenshot.
You can use the F6 key to change your hardware source.

1 Like

Error opening the mixer device: file or directory not found
image

image
no application found

The alsamixer is part of alsa-utils.
Did you run the command from up above:

sudo apt install --reinstall pulseaudio alsa-utils

1 Like

I would try following my SoundBlaster guide by blacklisting the HDMI element. Also have you installed all Codecs, such as SOX? Best using Synaptic Package Manager to see/view all codecs. :wink:

Also try this. Elevate yourself to root and in /etc create a folder and name it 'pulse off' - then drag the 'pulse' folder into the newly created 'pulse off' one. Now using Synaptic Package Manager (available from the Software Store/Channel) and search for all ALSA packages - install everything but not JACK or OSS packages. Install all the QAS packages, especially 'mixer' and also the alsa-pulse plug-in needed to hear streaming audio.

{How I miss the old days when getting sound to work was reliant on tweaking OSS (Open Sound Software) and choosing the correct Bitrate for the soundcard to work! :joy:}

2 Likes

OK sorry that was my misunderstanding!
the message "Error opening the mixer device: file or directory not found" points to a non-found device wich is logic as a "Dummy Device" is just a placeholder for a device :wink:
So alsamixer is installed but cant be started as the Device was not found :grin:

"sudo apt install --reinstall pulseaudio alsa-utils" has no use ...

OK I'l go through this tomorrow as in my state I need sleep before I can think about doin things that could have wrong effect when done wrong,

But pls dont mind, I will follow on that tomorrow an re-edit this answer post to give an answer on hot it succedwd ... thX in advanvance for ur try :heartpulse:

1 Like

Ah, I see. Sorry for my misunderstanding there.

I will wait to see if @swarfendor437 's suggestions above help. This is because they are two very different directions. His suggestion is to blacklist the snd-hda-intel driver whereas mine is to modprobe it

sudo modprobe snd-hda-intel

1 Like

just woke up and hadn't had my :coffee: yet

I'll follow @swarfendor437 's solution up later ...

Modprobe sounds the most-deep-digged solution so here the output in advance:

modprobe: ERROR: ../libkmod/libkmod-module.c:191 kmod_module_parse_depline() ctx=0x560b3d0702a0 path=/lib/modules/5.15.0-87-generic/kernel/sound/hda/snd-intel-dspcfg.ko error=No such file or directory
modprobe: ERROR: ../libkmod/libkmod-module.c:191 kmod_module_parse_depline() ctx=0x560b3d0702a0 path=/lib/modules/5.15.0-87-generic/kernel/sound/hda/snd-intel-dspcfg.ko error=No such file or directory
modprobe: ERROR: could not insert 'snd_hda_intel': Unknown symbol in module, or unknown parameter (see dmesg)

To me all that sounds like the sys points to a non present HW!
Must check the BIOS settings again to see what's up there - maybe it just needs a patch or downgrade :grin:

But whatever - Idk - am just a stupid MS admin-on-search for a well working OS :wink:

c y'all later after my morning :coffee: & :sandwich:

ALC221 should be reasonably well supported. So this thread has been surprising.

But these modprobe errors are more surprising.
It looks as though you are missing the modules-extra pacakge.

Let's try something: install this kernel, including the Modules Extra:

sudo apt install linux-image-5.15.0-83-generic linux-headers-5.15.0-83-generic linux-modules-5.15.0-83-generic linux-modules-extra-5.15.0-83-generic

Reboot - but bap the esc key (if needed) to go to the Grub menu at boot.
Select Advanced Options for Zorin and then select Zorin on 5.15.0-83 to boot up (do not select the one with the Recovery Option).

Once you reach the desktop, open terminal and check that you are running on the 5.15.0-83 kernel

uname -r

Now test sound - test modprobing it again if needed:

sudo modprobe snd-hda-intel

1 Like

booting the 5.15.0-83 Kernel worked!
You are my hero of the month !!!

image

... afterwards I just set the booted Kernel on default by following:

[HOW TO] set an older kernel to default boot

Great man! :muscle::grin: :+1:

Thanks for your help!

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.