Page 1 of 1

CentOS 6.7 No Sound HD MID

Posted: 2019/09/28 20:26:01
by nbronikowski
hi there,

I am new to CentOS and recently installed 6.7 on an older toughbook CF52
for use with scientific equipment we deploy in the ocean.

I am not sure what outputs I am supposed to provide, but I tried disabling automute in alsamixer and nothing happens.
I also did a "yum install pulseaudio" without any luck.

Please help, and I am sorry I can not update to CENTOS 7 or because the programs we use for talking to oceanographic equipment were written for CentOS 6.7

Thank you,


Re: CentOS 6.7 No Sound HD MID

Posted: 2019/09/29 07:23:43
by aks
You want to ensure the sound is disabled?

The chkconfig --list command will list the services that start at boot. Make sure the alsa/pulse services don't run (chkconfig off)

I supose you could also blacklist the kernel sound module(s) (lsmod to see the modules and modinfo can tell you about the modules).

Make a file called (say) /etc/modprobe.d/blacklist-sound.conf
add the modules there such as:
blacklist snd_hda
then use modprobe to check, such as:
modprobe --showconfig | grep blacklist

Re: CentOS 6.7 No Sound HD MID

Posted: 2019/09/29 11:20:48
by nbronikowski
No I want sound! I dont know how to get it...
Not sure how the contrary is understood from my above post..

I want sound, I have no idea how to make that happen on a fresh install of CentOS 6.7 on a CF52 Panasonic Toughbook with an intel HDA sound card.

I looked online and there is hundreds of custom solutions because so many people have sound issues... so before going down any further rabbit holes I rather get help.

Re: CentOS 6.7 No Sound HD MID

Posted: 2019/09/29 18:47:04
by aks
Okay, the opposite then.

First you need to ensure the kernel modules are install (aka drivers).

I think there are multiple generations of "Intel HD Audio" with different "top end" drivers - I did a cursory glance at Google for what audio it *really* is (hint: lspci can probably tell you) and generally got back "Intel HD Audio".

From a working system (with a "Intel HD Audio" it also has other sound cards, but I think I've edited where appropriate):

$ lsmod | grep snd
snd_seq_midi 20480 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_hda_codec_realtek 126976 1
snd_hda_codec_generic 94208 1 snd_hda_codec_realtek
ledtrig_audio 16384 2 snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_codec_hdmi 65536 1
snd_hda_intel 49152 14
snd_hda_codec 159744 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core 102400 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep 16384 1 snd_hda_codec
snd_rawmidi 45056 2 snd_seq_midi,snd_mpu401_uart
snd_seq 86016 2 snd_seq_midi,snd_seq_midi_event
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
snd_pcm 114688 6 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer 40960 2 snd_seq,snd_pcm
snd 94208 51 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_mpu401_uart,snd_pcm,snd_rawmidi
soundcore 16384 1 snd

soundcore is the basic thing. The snd_*midi* modules are for MIDI. The snd_*seq* is the sequencer. The snd_mpu*_uart are the serial interfaces for MIDI... well it's pretty obvious.

My "Intel HD Audio" uses the snd_hda_codec_realtek driver at the "top end" - top of stack I guess. This is the bit that is chipset/device specific - the others are generally more generic.

Do you have host modules loaded (also which Intel sound card do you have)?

Re: CentOS 6.7 No Sound HD MID

Posted: 2019/09/29 19:56:14
by nbronikowski
Thanks so much for helping me!

here is my output from lsmod | grep snd

[localuser@dockserver-AOSL12 ~]$ lsmod | grep snd
snd_hda_codec_hdmi 45492 1
snd_hda_codec_conexant 12378 1
snd_hda_codec_generic 62014 2 snd_hda_codec_conexant
snd_hda_intel 55222 2
snd_hda_codec 136309 4 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel
snd_hwdep 7100 1 snd_hda_codec
snd_seq 60769 0
snd_seq_device 7277 1 snd_seq
snd_pcm 93793 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer 22747 2 snd_seq,snd_pcm
snd 73783 14 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq,snd_seq_device,snd_pcm,snd_timer
soundcore 7958 2 snd_hda_codec,snd
snd_page_alloc 8856 2 snd_hda_intel,snd_pcm

here is my out output from lspci | grep Audio

[localuser@dockserver-AOSL12 ~]$ lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)

What other information would help diagnose the problem?

Re: CentOS 6.7 No Sound HD MID

Posted: 2019/10/01 16:48:31
by aks
I'm guessing that snd_hda_codec_conexant is the "upper layer" driver - it may be, it may not be. If it is, I'd expect an entry under /proc/asound. If you look in /proc/asound/cards it should list the "known" sound outputs (aka sinks) on your system. It'll also indicate which card is the Intel card (as you may actually have more than one). For example:

cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xf7130000 irq 32

which means my Intel sound is at (alsa - the sound system) card0. If I then look in:

head -1 /proc/asound/card0/codec#0
Codec: Realtek ALC1150

which matches my snd_hda_codec_realtek - i.e.: I would expect something like Codec: Conexant in your case.

I had a quick Google and there are bucket loads of hits for linux driver Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06) that may help.

Assuming all is correct, have a look at what alsa "thinks" is your sink:
aplay -l
card 0: PCH [HDA Intel PCH], device 0: ALC1150 Analog [ALC1150 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC1150 Digital [ALC1150 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0

so in this case my Intel card can play analogue or digital output. I have analogue speakers so use the hw:0,0 (use card0, device0) as in:
speaker-test -c 2 -D hw:0,0

If I had (say) an HDMI output, I've expect something like:

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

(this is something I pulled from the Internet)

and in that case I'd use hw:0,3 for HDMI and hw:1,0 for analog speakers.

Also you can find more detail with lspci -vvv as it'll list what driver is in use:

0:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio Controller
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

If you can play - in that speaker-test don't give you an error (but don't hear anything) then you're hardware is good, the software is good, you've plugged speakers in wrong or have muted your output.