LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 02-14-2017, 12:45 PM   #1
kwa71
LQ Newbie
 
Registered: Feb 2017
Posts: 8

Rep: Reputation: Disabled
Angry No Audio/Sound in CentOS 7


Hi All,
I just installed CentOS 7 on my Dell Inspiron 7737 notebook/laptop. My sound icon in the task bar shows my volume is at 100%. I have also tried testing the sound through Phonon->Audio Hardware Setup -> left and right speaker to no avail. I have built in Audio BTW through RealTek. I don't know the exact model number. Any and all help is much appreciated.

kwa71
 
Old 02-14-2017, 02:44 PM   #2
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Hello and welcome to the forum

Not sure I can help here since I've never worked with CentOS, however, for those who might, please go to this page and follow the instructions given there. Then post the results (or a link to the results) in your next reply. This will, hopefully, tell us more about your card and what's going on.

Regards...
 
Old 02-14-2017, 06:15 PM   #3
kwa71
LQ Newbie
 
Registered: Feb 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
Alsa-info gives an error

Hi All,
This is the output of alsa-info:
ALSA Information Script v 0.4.64
--------------------------------

This script visits the following commands/files to collect diagnostic
information about your ALSA installation and sound related hardware.

dmesg
lspci
lsmod
aplay
amixer
alsactl
/proc/asound/
/sys/class/sound/
~/.asoundrc (etc.)

See '/usr/sbin/alsa-info --help' for command line options.

Automatically upload ALSA information to www.alsa-project.org? [y/N] :

Your ALSA information is in /tmp/alsa-info.txt.dwkjWXHzyE

Here's the error:

pcilib: sysfs_read_vpd: read failed: Input/output error
pcilib: sysfs_read_vpd: read failed: Input/output error

Not sure if this helps.

kwa71
 
Old 02-14-2017, 09:09 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,361
Blog Entries: 28

Rep: Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148
It would help to know the audio chipset. You should be able to determine this by running the command lspci (list pci devices) in a terminal (you may have to do this as root).
 
Old 02-14-2017, 09:17 PM   #5
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by kwa71 View Post
Not sure if this helps.
I'm afraid it doesn't, apart from showing something's not quite right. It's possible that it's a compatibility issue, although it was my impression the script was compatible across distributions.

Let's try this, please open a terminal and post the results of these commands in their entirety...

Code:
lspci -nnk | grep -i -A7 audio
Code:
lsmod | grep snd
Code:
aplay -l
Code:
lshw | grep -A11 multimedia
Also, please post a screenshot of...

Code:
alsamixer
Thanks!
 
Old 02-15-2017, 02:04 AM   #6
kwa71
LQ Newbie
 
Registered: Feb 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
Command output

Hi Ardvark71,
Here goes:

[root@localhost Documents]# lspci -nnk | grep -i -A7 audio

00:03.0 Audio device [0403]: Intel Corporation Haswell-ULT HD Audio Controller [8086:0a0c] (rev 09)
Subsystem: Dell Device [1028:05fb]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:14.0 USB controller [0c03]: Intel Corporation 8 Series USB xHCI HC [8086:9c31] (rev 04)
Subsystem: Dell Device [1028:05fb]
Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation 8 Series HECI #0 [8086:9c3a] (rev 04)
--
00:1b.0 Audio device [0403]: Intel Corporation 8 Series HD Audio Controller [8086:9c20] (rev 04)
Subsystem: Dell Device [1028:05fb]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 1 [8086:9c10] (rev e4)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.2 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 3 [8086:9c14] (rev e4)

[root@localhost Documents]# lsmod | grep snd

snd_soc_rt5640 118277 0
snd_hda_codec_hdmi 47892 1
snd_hda_codec_realtek 85956 1
snd_hda_codec_generic 73789 1 snd_hda_codec_realtek
snd_hda_intel 39987 7
snd_soc_rl6231 13280 1 snd_soc_rt5640
snd_soc_core 213879 1 snd_soc_rt5640
snd_hda_codec 136428 4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
snd_hda_core 85362 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_compress 19304 1 snd_soc_core
snd_hwdep 13608 1 snd_hda_codec
snd_seq 66747 0
snd_seq_device 14356 1 snd_seq
snd_pcm 106416 6 snd_soc_rt5640,snd_soc_core,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
snd_soc_sst_acpi 12858 0
snd_soc_sst_match 12890 1 snd_soc_sst_acpi
snd_timer 29819 2 snd_pcm,snd_seq
regmap_i2c 12915 1 snd_soc_rt5640
snd 83432 26 snd_hda_codec_realtek,snd_soc_core,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_hda_co dec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_compress
soundcore 15047 1 snd
i2c_core 40756 11 drm,i915,i2c_i801,snd_soc_rt5640,i2c_hid,i2c_designware_core,i2c_designware_platform,regmap_i2c,drm_ kms_helper,i2c_algo_bit,videodev

[root@localhost Documents]# aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC3223 Analog [ALC3223 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

[root@localhost Documents]# lshw | grep -A11 multimedia
bash: lshw: command not found

Is this my problem?

The alsamixer output should be attached

kwa71
Attached Thumbnails
Click image for larger version

Name:	alsamixer.png
Views:	1318
Size:	175.2 KB
ID:	24260  
 
Old 02-15-2017, 02:34 PM   #7
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Hi...

Thank you for posting the requested information. My initial guess is that perhaps ALSA has configured the wrong device (HDMI, in this case) as the default. Please take a look at the following threads below to help determine and, if need be, correct this...

http://unix.stackexchange.com/questi...ice-0-not-hdmi

http://superuser.com/questions/62660...-automatically

http://askubuntu.com/questions/14077...m-command-line

Regards...
 
Old 02-18-2017, 04:01 PM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,710

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by kwa71 View Post
Hi Ardvark71,
Here goes:

[root@localhost Documents]# lspci -nnk | grep -i -A7 audio

00:03.0 Audio device [0403]: Intel Corporation Haswell-ULT HD Audio Controller [8086:0a0c] (rev 09)
Subsystem: Dell Device [1028:05fb]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:14.0 USB controller [0c03]: Intel Corporation 8 Series USB xHCI HC [8086:9c31] (rev 04)
Subsystem: Dell Device [1028:05fb]
Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation 8 Series HECI #0 [8086:9c3a] (rev 04)
--
00:1b.0 Audio device [0403]: Intel Corporation 8 Series HD Audio Controller [8086:9c20] (rev 04)
Subsystem: Dell Device [1028:05fb]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 1 [8086:9c10] (rev e4)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.2 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 3 [8086:9c14] (rev e4)

[root@localhost Documents]# lsmod | grep snd

snd_soc_rt5640 118277 0
snd_hda_codec_hdmi 47892 1
snd_hda_codec_realtek 85956 1
snd_hda_codec_generic 73789 1 snd_hda_codec_realtek
snd_hda_intel 39987 7
snd_soc_rl6231 13280 1 snd_soc_rt5640
snd_soc_core 213879 1 snd_soc_rt5640
snd_hda_codec 136428 4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
snd_hda_core 85362 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_compress 19304 1 snd_soc_core
snd_hwdep 13608 1 snd_hda_codec
snd_seq 66747 0
snd_seq_device 14356 1 snd_seq
snd_pcm 106416 6 snd_soc_rt5640,snd_soc_core,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
snd_soc_sst_acpi 12858 0
snd_soc_sst_match 12890 1 snd_soc_sst_acpi
snd_timer 29819 2 snd_pcm,snd_seq
regmap_i2c 12915 1 snd_soc_rt5640
snd 83432 26 snd_hda_codec_realtek,snd_soc_core,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_hda_co dec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_compress
soundcore 15047 1 snd
i2c_core 40756 11 drm,i915,i2c_i801,snd_soc_rt5640,i2c_hid,i2c_designware_core,i2c_designware_platform,regmap_i2c,drm_ kms_helper,i2c_algo_bit,videodev

[root@localhost Documents]# aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC3223 Analog [ALC3223 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

[root@localhost Documents]# lshw | grep -A11 multimedia
bash: lshw: command not found
The alsamixer output should be attached

Is this my problem?
Nope. Take a close look at the alamixer output. It says "MM" at the bottom....for "Muted". Un-mute the device.
Quote:
Originally Posted by Ardvark71
My initial guess is that perhaps ALSA has configured the wrong device (HDMI, in this case) as the default. Please take a look at the following threads below to help determine and, if need be, correct this...
Wrong. There are TWO devices listed, and HDMI is only one, and it's configured as the SECOND device in this case. The alsamixer output was clear saying it's muted.

Please pay attention, and don't post misleading/potentially damaging and time wasting information.
 
Old 02-18-2017, 04:08 PM   #9
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by TB0ne View Post
Please pay attention, and don't post misleading/potentially damaging and time wasting information.
Let's not start this again, please. While I admit I didn't see or know what the "MM" stood for, my information was nothing of the kind. How do you know the analog device is the default? I've never seen an alsamixer readout give only Pulseaudio as the device name before. I've seen cases before where devices were given the wrong default status, for whatever reason. You will also notice I said this was my "guess," it's something worth checking out, even if it's not the case.

Regards...

Last edited by ardvark71; 02-18-2017 at 04:22 PM. Reason: Correction/Added comments.
 
Old 02-18-2017, 04:18 PM   #10
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
do you have pavucontrol installed as I think I seen you say you are using PulseAudio. if not install it and open it then click the mute to unmute that just might be all it is.

audio in all of the Linux I've tried is defult mute, I install volumeicon to use my volume setting and to unmute by clicking on that little speaker in the app area on the apts bar.

it works with ALSA too.

Last edited by BW-userx; 02-18-2017 at 04:26 PM.
 
Old 02-19-2017, 09:49 AM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,710

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by ardvark71 View Post
Let's not start this again, please. While I admit I didn't see or know what the "MM" stood for, my information was nothing of the kind. How do you know the analog device is the default? I've never seen an alsamixer readout give only Pulseaudio as the device name before. I've seen cases before where devices were given the wrong default status, for whatever reason. You will also notice I said this was my "guess," it's something worth checking out, even if it's not the case.
Yes, let's not start again...if you don't know, then DO NOT ANSWER. Your 'guess' could very likely have rendered the OP's system broken far beyond what they were able to fix. If you wanted to help, then why didn't you look up alsamixer, so you could at least have an idea of what the OP posted, before going on?

Again, your bad advice would have cost the OP lots of wasted time and effort. Pay attention to what's posted, and if you can't give productive advice, then don't answer just to get your posting signature out there, since it appears that's the only reason you post.
 
Old 02-19-2017, 10:47 AM   #12
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by TB0ne View Post
Pay attention to what's posted, and if you can't give productive advice, then don't answer just to get your posting signature out there, since it appears that's the only reason you post.
Hi...

If that were the case, I wouldn't have spent near the time that I have on this forum.

Regards...
 
Old 02-19-2017, 11:17 AM   #13
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,710

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by ardvark71 View Post
Hi...
If that were the case, I wouldn't have spent near the time that I have on this forum.
Sure...and I'm sure the folks at the Ubuntu forums would agree:
https://ubuntuforums.org/showthread.php?t=1232945

..since you left when your signature/avatar were deleted. Which is why I'm sure you were hoping Jeremy went the way he did with signature here, right?
http://www.linuxquestions.org/questi...ml#post5647585

STAY FOCUSED on the OP's question; if you can't answer it, don't remove it from zero-reply with fluff answers like "I don't know but run this command", or give advice that will cost the OP time/money.

Last edited by TB0ne; 02-19-2017 at 11:43 AM.
 
Old 02-19-2017, 01:36 PM   #14
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,604

Rep: Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103
Quote:
Originally Posted by TB0ne View Post
Sure...and I'm sure the folks at the Ubuntu forums would agree:
https://ubuntuforums.org/showthread.php?t=1232945

..since you left when your signature/avatar were deleted. Which is why I'm sure you were hoping Jeremy went the way he did with signature here, right?
http://www.linuxquestions.org/questi...ml#post5647585

STAY FOCUSED on the OP's question; if you can't answer it, don't remove it from zero-reply with fluff answers like "I don't know but run this command", or give advice that will cost the OP time/money.
@TB0ne, Your continued posts of this nature are off-topic, petty, and to be frank a bit disappointing. If you'd like to continue participating at LQ please either start using the Ignore List functionality (which I have suggested previously) or learn to not make these kind of posts. As always I am happy to discuss off-line, but the consistency of these have become detrimental and just are not in-line with the ethos we aim for. As a reminder LQ aims to be a friendly and welcoming environment where members of all experience levels should feel comfortable participating. I should note that the technical knowledge you continually show and the time your contribute to LQ is genuinely appreciated and has benefited many, but the expectations you have are sometimes a bit unreasonable (not just in this thread but elsewhere) and the response when those expectations are not met are brash. Being direct is fine, but as I've noted in the past using the Report functionality is far more beneficial and productive for both yourself and LQ in many of these situations.

@ardvark71, I'd agree that solutions should only be suggested if you have a good handle on the issue and have a reasonable expectation that the fix will address the issue. That said, your request for more information was reasonable and it should be noted that the response in this case directly led to the issue being correctly diagnosed.

--jeremy
 
Old 02-19-2017, 01:59 PM   #15
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,710

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by jeremy View Post
@TB0ne, Your continued posts of this nature are off-topic, petty, and to be frank a bit disappointing. If you'd like to continue participating at LQ please either start using the Ignore List functionality (which I have suggested previously) or learn to not make these kind of posts. As always I am happy to discuss off-line, but the consistency of these have become detrimental and just are not in-line with the ethos we aim for. As a reminder LQ aims to be a friendly and welcoming environment where members of all experience levels should feel comfortable participating. I should note that the technical knowledge you continually show and the time your contribute to LQ is genuinely appreciated and has benefited many, but the expectations you have are sometimes a bit unreasonable (not just in this thread but elsewhere) and the response when those expectations are not met are brash. Being direct is fine, but as I've noted in the past using the Report functionality is far more beneficial and productive for both yourself and LQ in many of these situations.
Understand Jeremy, and my apologies to YOU alone. The expectations I have of others are nothing that I don't have for (and demand) of myself. I work hard, I try to find solutions on my own and use those experiences to gain knowledge and share it freely with others. I don't waste others time with nonsense, and don't lie. Those are the ONLY things I expect from anyone.

I have NEVER, EVER been 'brash' with anyone who has shown genuine effort and followed the simple rules of your forum. And I will also be the first to admit that I DO get terse with those who ask for handouts and do NOT follow the rules.

Last edited by TB0ne; 02-19-2017 at 02:14 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No sound output from audio players but audio from flash exists Janus_Hyperion Linux - Hardware 1 09-27-2012 08:52 AM
Need sound card drivers for 'Sony Sound Reality - Audio Enhancer' creature124 Linux - Hardware 1 02-01-2008 07:48 AM
Sound card recognized but no sound on SoundMAX Integrated Digital Audio xzallion Fedora 46 12-13-2006 10:18 PM
audio cd works - mp3's, streaming audio, flash sound don't spoody_goon Linux - Software 7 07-08-2006 03:11 PM
Ensoniq 5880 Audio PCI test sound okay but no Sound from CD Player ashok17 Linux - Hardware 0 10-04-2003 10:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 06:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration