Bug Report: Audio issues with CentOS7
Hello. I hope I reached the right place for my audio issue.
The OS that I'm referencing is CentOS7. It is close to EOL so I don't know if there is any support at this point, but thought I put the request out there and see what happens.
Let me know if I need to provide any additional infomration.
Thanks. Terry Hummel Catalina Marketing Corporation 813-597-8775
Description of problem: The PC speaker fails to make a sound on the HP RP 5810 PC running CentOS7.
Research: I Installed the beep package beep-1.4.12-7.el7.x86_64.rpm on CentOS7 and it is working fine on the HP RP 5800 PC. I have a bank of five 5800 PCs and all of them make a beep sound on the PC speaker. I then installed the CentOS7 image on a bank of HP RP 5810 PCs and I failed to get any of the systems speakers to make a sound. I verified the speaker is enabled in BIOS and I have confirmed the 5810 speaker works fine when Windows is installed on the system.
How to reproduce: Try to get sound to come from the HP RP 5810 speaker using: printf '\a' printf '\007' echo -e '\a' echo -e '\007' beep -f330 -l137 -n -f330 -l275 -n -f330 -l137 -n…etc (I have a beep tune in a shell script) // when beep is run, it appears to run with no errors.
Actual results: The above commands run without any complaints of missing audio device. But no sound coming from the 5810 PC internal Speakers
Note: The 5810 PCs are basically just stand-alone systems that run our proprietary software 24/7.
5810 System Information: Version: CentOS Linux release 7.9.2009 (Core) hardware: x86_64 Kernel: 3.10.0-1160.90.1.el7.x86_64 Name : kernel Arch : x86_64 Version : 3.10.0 Release : 1160.90.1.el7 Size : 66 M Repo : installed From repo : storepc_centos7_x86_64 Summary : The Linux kernel URL : http://www.kernel.org/ License : GPLv2
5810 PC Information: Manufacturer: Hewlett-Packard Product Name: HP RP5 Retail System Model 5810 Version: Not Specified
Artifacts:
The attached .zip file contains complete artifact files.
Note: I did try to run alsa-info_alsa-info.sh but the CentOS7 image that we use has multiple missing dependencies for it to run.
dmesg_HP-5810.log - the log does not show any errors, warnings or oops messages. The audio driver appears to load without issue:
[ 8.386508] input: PC Speaker as /devices/platform/pcspkr/input/input3 [ 8.540596] input: HP WMI hotkeys as /devices/virtual/input/input4 [ 8.559224] cryptd: max_cpu_qlen set to 1000 [ 8.957472] AVX2 version of gcm_enc/dec engaged. [ 8.957475] AES CTR mode by8 optimization enabled [ 8.961877] alg: No test for __gcm-aes-aesni (__driver-gcm-aes-aesni) [ 8.961906] alg: No test for __generic-gcm-aes-aesni (__driver-generic-gcm-aes-aesni) [ 8.963261] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) [ 8.963290] snd_hda_intel 0000:00:03.0: irq 34 for MSI/MSI-X [ 8.963381] snd_hda_intel 0000:00:1b.0: irq 35 for MSI/MSI-X [ 8.980785] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input5 [ 8.980857] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input6 [ 8.980922] input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card0/input7 [ 8.980977] input: HDA Intel HDMI HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.0/sound/card0/input8 [ 8.991101] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC221: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker [ 8.991105] snd_hda_codec_realtek hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 8.991107] snd_hda_codec_realtek hdaudioC1D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0) [ 8.991108] snd_hda_codec_realtek hdaudioC1D0: mono: mono_out=0x0 [ 8.991109] snd_hda_codec_realtek hdaudioC1D0: inputs: [ 8.991111] snd_hda_codec_realtek hdaudioC1D0: Line=0x1b
lspci_HP-5810.log - looks like there are two audio devices on the HP5810:
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06) 00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)
[TerryH@us-09-048-0331 ~]$ cat /proc/asound/cards 0 [HDMI ]: HDA-Intel - HDA Intel HDMI HDA Intel HDMI at 0xf7e34000 irq 34 1 [PCH ]: HDA-Intel - HDA Intel PCH HDA Intel PCH at 0xf7e30000 irq 35
Note: There is no HDMI monitor hooked up to any of the HP 5810 systems.
lsmod_HP-5810.log snd_hda_codec_realtek 116449 1 ghash_clmulni_intel 13273 0 snd_hda_codec_hdmi 52340 1 snd_hda_codec_generic 74631 1 snd_hda_codec_realtek snd_hda_intel 44486 0 aesni_intel 189456 0 snd_hda_codec 136355 4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel snd_hda_core 91007 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel snd_hwdep 17704 1 snd_hda_codec snd_seq 62774 0
lshw_HP-5810.log: [TerryH@us-09-048-0331 ~]$ sudo lshw | grep -A11 multimedia *-multimedia:0 description: Audio device product: Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller vendor: Intel Corporation physical id:3 bus info: pci@0000:00:03.0 version: 06 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: driver=snd_hda_intel latency=0 resources: irq:34 memory:f7e34000-f7e37fff -- *-multimedia:1 description: Audio device product: 8 Series/C220 Series Chipset High Definition Audio Controller vendor: Intel Corporation physical id: 1b bus info: pci@0000:00:1b.0 version: 04 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: driver=snd_hda_intel latency=0 resources: irq:35 memory:f7e30000-f7e33fff
Note: The HP 5800 is only showing one audio controller: 00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
On 04. 09. 23 16:56, Terry Hummel wrote:
How to reproduce: Try to get sound to come from the HP RP 5810 speaker using: printf '\a' printf '\007' echo -e '\a' echo -e '\007' beep -f330 -l137 -n -f330 -l275 -n -f330 -l137 -n…etc (I have a beep tune in a shell script) // when beep is run, it appears to run with no errors.
Actual results: The above commands run without any complaints of missing audio device. But no sound coming from the 5810 PC internal Speakers
Beeps/terminal bells are a bit different. They are handled through the sound servers these days, thus the PWM modulator output is disabled by default in the HDA driver. I assume that you're running your system without the sound server.
$ modinfo snd-hda-intel | grep beep parm: beep_mode:Select HDA Beep registration mode (0=off, 1=on) (default=1). (array of bool)
Note that CentOS 7 have the default 0 (off) for this parameter. The description is incorrect. Try to set this module parameter in modprobe configuration files:
echo "options snd-hda-intel beep_mode=1" > /etc/modprobe.d/alsa-beep.conf ... and reboot
Jaroslav
Hi Jaroslav. Thank you very much for your input.
I created the alsa-beep.conf file in the /etc/modprobe.d/ folder and rebooted. When the system came up, I still couldn't get the speaker to make a sound via the beep command. I attached the .conf file just in case you wanted to confirm the contents.
________________________________ From: Jaroslav Kysela perex@perex.cz Sent: Tuesday, September 5, 2023 3:26 AM To: Terry Hummel Terry.Hummel@catalina.com; alsa-devel@alsa-project.org alsa-devel@alsa-project.org Cc: Dulani McLaurin Dulani.McLaurin@catalina.com Subject: Re: Bug Report: Audio issues with CentOS7
[You don't often get email from perex@perex.cz. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
On 04. 09. 23 16:56, Terry Hummel wrote:
How to reproduce: Try to get sound to come from the HP RP 5810 speaker using: printf '\a' printf '\007' echo -e '\a' echo -e '\007' beep -f330 -l137 -n -f330 -l275 -n -f330 -l137 -n…etc (I have a beep tune in a shell script) // when beep is run, it appears to run with no errors.
Actual results: The above commands run without any complaints of missing audio device. But no sound coming from the 5810 PC internal Speakers
Beeps/terminal bells are a bit different. They are handled through the sound servers these days, thus the PWM modulator output is disabled by default in the HDA driver. I assume that you're running your system without the sound server.
$ modinfo snd-hda-intel | grep beep parm: beep_mode:Select HDA Beep registration mode (0=off, 1=on) (default=1). (array of bool)
Note that CentOS 7 have the default 0 (off) for this parameter. The description is incorrect. Try to set this module parameter in modprobe configuration files:
echo "options snd-hda-intel beep_mode=1" > /etc/modprobe.d/alsa-beep.conf ... and reboot
Jaroslav
-- Jaroslav Kysela perex@perex.cz Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
On 05. 09. 23 15:51, Terry Hummel wrote:
Hi Jaroslav. Thank you very much for your input.
I created the alsa-beep.conf file in the /etc/modprobe.d/ folder and rebooted. When the system came up, I still couldn't get the speaker to make a sound via the beep command. I attached the .conf file just in case you wanted to confirm the contents.
Try to check mixer settings (Beep etc.) - e.g. `alsamixer -c 0` command.
If it does not help, run alsa-info.sh and show the URL with your dump.
Jaroslav
Ok. I'll give that a try. The CentOS7 image we have on these systems is minimal and the alsamixer module is not installed.
I'll get it loaded and run the tests you mentioned.
Thank you, Terry
________________________________ From: Jaroslav Kysela perex@perex.cz Sent: Tuesday, September 5, 2023 10:03 AM To: Terry Hummel Terry.Hummel@catalina.com; alsa-devel@alsa-project.org alsa-devel@alsa-project.org Cc: Dulani McLaurin Dulani.McLaurin@catalina.com Subject: Re: Bug Report: Audio issues with CentOS7
[You don't often get email from perex@perex.cz. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
On 05. 09. 23 15:51, Terry Hummel wrote:
Hi Jaroslav. Thank you very much for your input.
I created the alsa-beep.conf file in the /etc/modprobe.d/ folder and rebooted. When the system came up, I still couldn't get the speaker to make a sound via the beep command. I attached the .conf file just in case you wanted to confirm the contents.
Try to check mixer settings (Beep etc.) - e.g. `alsamixer -c 0` command.
If it does not help, run alsa-info.sh and show the URL with your dump.
Jaroslav
-- Jaroslav Kysela perex@perex.cz Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
Hello Jaroslav.
I didn't have success getting the speakers to work with alsa-mixer. So, I ran alsa-info.sh as you suggested. This is the URL where the text file is located:
URL: http://alsa-project.org/db/?f=e1111847b82553f2dbd6015a36334f74b4402024http://www.alsa-project.org/db/?f=e1111847b82553f2dbd6015a36334f74b4402024
Thanks, Terry
________________________________ From: Terry Hummel Terry.Hummel@catalina.com Sent: Tuesday, September 5, 2023 10:08 AM To: Jaroslav Kysela perex@perex.cz; alsa-devel@alsa-project.org alsa-devel@alsa-project.org Cc: Dulani McLaurin Dulani.McLaurin@catalina.com Subject: Re: Bug Report: Audio issues with CentOS7
Ok. I'll give that a try. The CentOS7 image we have on these systems is minimal and the alsamixer module is not installed.
I'll get it loaded and run the tests you mentioned.
Thank you, Terry
________________________________ From: Jaroslav Kysela perex@perex.cz Sent: Tuesday, September 5, 2023 10:03 AM To: Terry Hummel Terry.Hummel@catalina.com; alsa-devel@alsa-project.org alsa-devel@alsa-project.org Cc: Dulani McLaurin Dulani.McLaurin@catalina.com Subject: Re: Bug Report: Audio issues with CentOS7
[You don't often get email from perex@perex.cz. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
On 05. 09. 23 15:51, Terry Hummel wrote:
Hi Jaroslav. Thank you very much for your input.
I created the alsa-beep.conf file in the /etc/modprobe.d/ folder and rebooted. When the system came up, I still couldn't get the speaker to make a sound via the beep command. I attached the .conf file just in case you wanted to confirm the contents.
Try to check mixer settings (Beep etc.) - e.g. `alsamixer -c 0` command.
If it does not help, run alsa-info.sh and show the URL with your dump.
Jaroslav
-- Jaroslav Kysela perex@perex.cz Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
Hi Jaroslav.
I was curious if you had a chance to look at the alsa-info report I sent and was wondering what your thoughts are.
Do you think this wouldn't be an issue with more recent versions of CentOS?
Thanks for your time.
Terry ________________________________ From: Terry Hummel Terry.Hummel@catalina.com Sent: Monday, September 11, 2023 3:28 PM To: Jaroslav Kysela perex@perex.cz; alsa-devel@alsa-project.org alsa-devel@alsa-project.org Cc: Dulani McLaurin Dulani.McLaurin@catalina.com Subject: Re: Bug Report: Audio issues with CentOS7
Hello Jaroslav.
I didn't have success getting the speakers to work with alsa-mixer. So, I ran alsa-info.sh as you suggested. This is the URL where the text file is located:
URL: http://alsa-project.org/db/?f=e1111847b82553f2dbd6015a36334f74b4402024http://www.alsa-project.org/db/?f=e1111847b82553f2dbd6015a36334f74b4402024
Thanks, Terry
________________________________ From: Terry Hummel Terry.Hummel@catalina.com Sent: Tuesday, September 5, 2023 10:08 AM To: Jaroslav Kysela perex@perex.cz; alsa-devel@alsa-project.org alsa-devel@alsa-project.org Cc: Dulani McLaurin Dulani.McLaurin@catalina.com Subject: Re: Bug Report: Audio issues with CentOS7
Ok. I'll give that a try. The CentOS7 image we have on these systems is minimal and the alsamixer module is not installed.
I'll get it loaded and run the tests you mentioned.
Thank you, Terry
________________________________ From: Jaroslav Kysela perex@perex.cz Sent: Tuesday, September 5, 2023 10:03 AM To: Terry Hummel Terry.Hummel@catalina.com; alsa-devel@alsa-project.org alsa-devel@alsa-project.org Cc: Dulani McLaurin Dulani.McLaurin@catalina.com Subject: Re: Bug Report: Audio issues with CentOS7
[You don't often get email from perex@perex.cz. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
On 05. 09. 23 15:51, Terry Hummel wrote:
Hi Jaroslav. Thank you very much for your input.
I created the alsa-beep.conf file in the /etc/modprobe.d/ folder and rebooted. When the system came up, I still couldn't get the speaker to make a sound via the beep command. I attached the .conf file just in case you wanted to confirm the contents.
Try to check mixer settings (Beep etc.) - e.g. `alsamixer -c 0` command.
If it does not help, run alsa-info.sh and show the URL with your dump.
Jaroslav
-- Jaroslav Kysela perex@perex.cz Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
participants (2)
-
Jaroslav Kysela
-
Terry Hummel