Sound Card Not Detected in CentOS 6.9

Issues related to hardware problems
Post Reply
eas3964
Posts: 8
Joined: 2017/04/23 21:43:28

Sound Card Not Detected in CentOS 6.9

Post by eas3964 » 2017/11/11 02:59:50

Hello, all...

I'm having problems getting my system to detect my onboard sound card. The sound card is being recognized by lspci -v but not aplay -l.

Code: Select all

# aplay -l
aplay: device_list:268: no soundcards found...
lspci -v returns an audio device as listed below.

Code: Select all

# lspci -v

00:1f.3 Audio device: Intel Corporation Device a171 (rev 31) (prog-if 80)
	Subsystem: Dell Device 0798
	Flags: fast devsel, IRQ 11
	Memory at d5228000 (64-bit, non-prefetchable) [disabled] [size=16K]
	Memory at d5200000 (64-bit, non-prefetchable) [disabled] [size=64K]
	Capabilities: [50] Power Management version 3
	Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
How can I get my sound card to work with my system? If it helps, CentOS is installed on an external hard drive. I know that CentOS 6 is almost 7 years old, however it's the only version that works well with the program I use it for since CentOS 7 renders the program extremely buggy and nearly non-functional.

Thanks,
eas3964

System specs:
Dell Inspiron 15 7000 gaming laptop
Intel i5-7300HQ @ 2.5 GHz, ITB 3.5 GHz
8GB DDR4 RAM
NVIDIA GeForce GTX1050 4GB VRAM

tunk
Posts: 422
Joined: 2017/02/22 15:08:17

Re: Sound Card Not Detected in CentOS 6.9

Post by tunk » 2017/11/11 13:10:21

The card is seen as a pci device. In addition to that you need to load the corresponding module (aka. "driver" in win-speak).
Can you run lsmod to list the loaded modules?

eas3964
Posts: 8
Joined: 2017/04/23 21:43:28

Re: Sound Card Not Detected in CentOS 6.9

Post by eas3964 » 2017/11/11 20:20:10

Running lsmod returns the following:

Code: Select all

# lsmod
Module                  Size  Used by
ecb                     2209  0 
drbg                   23216  1 
ansi_cprng              4716  0 
ctr                     4331  2 
aesni_intel            52818  4 
ablk_helper             3215  1 aesni_intel
cryptd                 10040  2 aesni_intel,ablk_helper
lrw                     4216  1 aesni_intel
gf128mul                7993  1 lrw
glue_helper             7474  1 aesni_intel
aes_x86_64              7837  1 aesni_intel
aes_generic            27609  2 aesni_intel,aes_x86_64
ccm                     8247  2 
fuse                   79892  0 
i915                 1255485  0 
rfcomm                 71047  4 
sco                    17493  2 
bridge                 85706  0 
bnep                   16370  2 
l2cap                  54210  16 rfcomm,bnep
autofs4                27000  3 
8021q                  20475  0 
garp                    7152  1 8021q
stp                     2218  2 bridge,garp
llc                     5418  3 bridge,garp,stp
cpufreq_ondemand       10544  4 
acpi_cpufreq            7699  0 
freq_table              4936  2 cpufreq_ondemand,acpi_cpufreq
mperf                   1557  1 acpi_cpufreq
ipt_REJECT              2383  2 
nf_conntrack_ipv4       9186  2 
nf_defrag_ipv4          1483  1 nf_conntrack_ipv4
iptable_filter          2793  1 
ip_tables              17895  1 iptable_filter
ip6t_REJECT             4372  2 
nf_conntrack_ipv6       7985  3 
nf_defrag_ipv6         26468  1 nf_conntrack_ipv6
xt_state                1492  5 
nf_conntrack           79537  3 nf_conntrack_ipv4,nf_conntrack_ipv6,xt_state
ip6table_filter         2889  1 
ip6_tables             18796  1 ip6table_filter
ib_ipoib               80839  0 
rdma_ucm               15739  0 
ib_ucm                 12328  0 
ib_uverbs              40372  2 rdma_ucm,ib_ucm
ib_umad                13487  0 
rdma_cm                36555  1 rdma_ucm
ib_cm                  36900  3 ib_ipoib,ib_ucm,rdma_cm
iw_cm                  32976  1 rdma_cm
ib_sa                  24092  4 ib_ipoib,rdma_ucm,rdma_cm,ib_cm
ib_mad                 41340  3 ib_umad,ib_cm,ib_sa
ib_core                82732  10 ib_ipoib,rdma_ucm,ib_ucm,ib_uverbs,ib_umad,rdma_cm,ib_cm,iw_cm,ib_sa,ib_mad
ib_addr                 8304  3 rdma_ucm,rdma_cm,ib_core
vfat                   10584  2 
fat                    54992  1 vfat
uinput                  8120  0 
arc4                    1475  2 
iwlmvm                196837  0 
mac80211              702873  1 iwlmvm
microcode             112205  0 
ipv6                  336368  39 bridge,ip6t_REJECT,nf_conntrack_ipv6,nf_defrag_ipv6,ib_ipoib,ib_addr,mac80211
tpm_crb                 4023  0 
iTCO_wdt                7278  0 
iTCO_vendor_support     3056  1 iTCO_wdt
iwlwifi               126630  1 iwlmvm
cfg80211              698239  3 iwlmvm,mac80211,iwlwifi
r8169                  74301  0 
mii                     5376  1 r8169
dcdbas                  8707  0 
ses                     7258  0 
enclosure               9977  1 ses
btusb                  16883  2 
bluetooth              97799  9 rfcomm,sco,bnep,l2cap,btusb
rfkill                 19255  4 cfg80211,bluetooth
sg                     29350  0 
uvcvideo               62688  0 
videodev               75644  1 uvcvideo
v4l2_compat_ioctl32     7110  1 videodev
joydev                 10480  0 
i2c_i801               12881  0 
shpchp                 29130  0 
ext4                  381065  2 
jbd2                   93284  1 ext4
mbcache                 8193  1 ext4
usb_storage            49329  4 
sd_mod                 37158  6 
crc_t10dif              1209  1 sd_mod
ahci                   43154  0 
xhci_hcd              180833  0 
nouveau              1505684  0 
ttm                    89408  1 nouveau
drm_kms_helper        127219  2 i915,nouveau
drm                   352757  4 i915,nouveau,ttm,drm_kms_helper
i2c_algo_bit            5711  2 i915,nouveau
i2c_core               29132  7 i915,videodev,i2c_i801,nouveau,drm_kms_helper,drm,i2c_algo_bit
mxm_wmi                 1967  1 nouveau
video                  21654  2 i915,nouveau
output                  2409  1 video
wmi                     6287  2 nouveau,mxm_wmi
dm_mirror              14864  0 
dm_region_hash         12085  1 dm_mirror
dm_log                  9930  2 dm_mirror,dm_region_hash
dm_mod                102467  8 dm_mirror,dm_log
I'm completely new to Linux so whatever help anyone can garner is much appreciated.

eas3964
Posts: 8
Joined: 2017/04/23 21:43:28

Re: Sound Card Not Detected in CentOS 6.9

Post by eas3964 » 2017/11/12 17:18:31

Update: when running CentOS from a VirtualBox VM, I get the following when I run aplay -l:

Code: Select all

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: I82801AAICH [Intel 82801AA-ICH], device 0: Intel ICH [Intel 82801AA-ICH]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
And when I run lspci -v, I get the following:

Code: Select all

$ lspci -v
00:05.0 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 01)
	Subsystem: Dell Device 0177
	Flags: bus master, medium devsel, latency 64, IRQ 21
	I/O ports at d100 [size=256]
	I/O ports at d200 [size=64]
	Kernel driver in use: Intel ICH
	Kernel modules: snd-intel8x0
Does anyone know what I'm doing wrong? The VM recognizes my sound card but the installation on the hard drive doesn't.

tunk
Posts: 422
Joined: 2017/02/22 15:08:17

Re: Sound Card Not Detected in CentOS 6.9

Post by tunk » 2017/11/13 12:47:16

VM: The VM sound card is an emulated virtual sound card, and not the real hardware. What's your host OS?
If it's windows then virtualbox uses the windows setup/driver. If it's CentOS, then it really shouldn't work.

Non-VM: You have to find which module your card needs and then use modprobe or insmod to load it.

BTW: Any reason for not using CentOS 7?

Post Reply