Front Audio (Headphone) and Optical Not Working in Rocky Linux 9

Jaroslav Kysela perex at perex.cz
Sat Dec 31 20:35:32 CET 2022


On 31. 12. 22 20:16, yakajirri - a001 wrote:
> With Rocky Linux 9 (clone of RHEL 9), I do not get audio of the front
> headphone jack or the optical output on the back.  I do get audio out of
> the line out on the back.  The front port does not work with Rocky Linux
> 8, Ubuntu and Fedora, and I did not test the optical.  With Windows, the
> front jack works as expected with the realtek driver installed, and I
> did not test the optical on Windows.
> 
> The output of /usr/sbin/alsa-info.sh is here:
> http://alsa-project.org/db/?f=0d71a1351cd49f220c36fe69cc9af93f1d71ee3c

Card sysdefault:0 'Audio'/'Generic USB Audio at usb-0000:00:14.0-11, high speed'
   Mixer name	: 'USB Mixer'
   Components	: 'USB0414:a012'

...

> https://github.com/alsa-project/alsa-ucm-conf/blob/master/ucm2/USB-Audio/USB-Audio.conf
> has more If.realtek-alc4080 entries.  When I copied the
> If.realtek-alc4080 section into
> /usr/share/alsa/ucm2/USB-Audio/USB-Audio.conf and
> /usr/share/alsa/ucm2/conf.d/USB-Audio/USB-Audio.conf, and after I
> rebooted, I get the same performance.

The configuration for your hardware version is missing in UCM.

Change 0414:a00e string in Regex (If.realtek-alc4080) to 0414:a012 for a quick test in USB-Audio.conf. And yes, use the latest USB-Audio.conf, Realtek/ALC4080.conf and Realtek/ALC4080-HiFi.conf files from github.

				Jaroslav

-- 
Jaroslav Kysela <perex at perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.


More information about the Alsa-devel mailing list