Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-26-2019, 05:22 AM
|
#1
|
LQ Newbie
Registered: May 2019
Posts: 4
Rep: 
|
No Sound on Realtek ALC888-VD - CentOS or Mint
Hello, I have not been able to get any sound from a device with the following hardware:
Code:
lspci -nn | grep -i audio
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
I am currently running Linux Mint, but have also tried CentOS and Ubuntu with the same results. The HDMI sound output works OK, but I need to use the internal sound card and cannot have a separate HDMI device connected. I can successfully get sound working if I install Windows, however I have to specifically install the Realtek HD Audio driver to make that work. Otherwise all O/S's indicate that sounds is playing, but no sound.
I have hundreds of these devices, so need to get it working on this hardware if at all possible.
Code:
uname -a
Linux test-7709-1000-8090 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
aplay -lL
Code:
aplay -lL
default
Playback/recording through the PulseAudio sound server
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
sysdefault:CARD=PCH
HDA Intel PCH, ALC888-VD Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC888-VD Analog
Front speakers
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC888-VD Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC888-VD Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC888-VD Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC888-VD Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC888-VD Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC888-VD Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
dmix:CARD=PCH,DEV=0
HDA Intel PCH, ALC888-VD Analog
Direct sample mixing device
dsnoop:CARD=PCH,DEV=0
HDA Intel PCH, ALC888-VD Analog
Direct sample snooping device
hw:CARD=PCH,DEV=0
HDA Intel PCH, ALC888-VD Analog
Direct hardware device without any conversions
plughw:CARD=PCH,DEV=0
HDA Intel PCH, ALC888-VD Analog
Hardware device with all software conversions
hdmi:CARD=HDMI,DEV=0
HDA Intel HDMI, HDMI 0
HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
HDA Intel HDMI, HDMI 1
HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
HDA Intel HDMI, HDMI 2
HDMI Audio Output
hdmi:CARD=HDMI,DEV=3
HDA Intel HDMI, HDMI 3
HDMI Audio Output
hdmi:CARD=HDMI,DEV=4
HDA Intel HDMI, HDMI 4
HDMI Audio Output
dmix:CARD=HDMI,DEV=3
HDA Intel HDMI, HDMI 0
Direct sample mixing device
dmix:CARD=HDMI,DEV=7
HDA Intel HDMI, HDMI 1
Direct sample mixing device
dmix:CARD=HDMI,DEV=8
HDA Intel HDMI, HDMI 2
Direct sample mixing device
dmix:CARD=HDMI,DEV=9
HDA Intel HDMI, HDMI 3
Direct sample mixing device
dmix:CARD=HDMI,DEV=10
HDA Intel HDMI, HDMI 4
Direct sample mixing device
dsnoop:CARD=HDMI,DEV=3
HDA Intel HDMI, HDMI 0
Direct sample snooping device
dsnoop:CARD=HDMI,DEV=7
HDA Intel HDMI, HDMI 1
Direct sample snooping device
dsnoop:CARD=HDMI,DEV=8
HDA Intel HDMI, HDMI 2
Direct sample snooping device
dsnoop:CARD=HDMI,DEV=9
HDA Intel HDMI, HDMI 3
Direct sample snooping device
dsnoop:CARD=HDMI,DEV=10
HDA Intel HDMI, HDMI 4
Direct sample snooping device
hw:CARD=HDMI,DEV=3
HDA Intel HDMI, HDMI 0
Direct hardware device without any conversions
hw:CARD=HDMI,DEV=7
HDA Intel HDMI, HDMI 1
Direct hardware device without any conversions
hw:CARD=HDMI,DEV=8
HDA Intel HDMI, HDMI 2
Direct hardware device without any conversions
hw:CARD=HDMI,DEV=9
HDA Intel HDMI, HDMI 3
Direct hardware device without any conversions
hw:CARD=HDMI,DEV=10
HDA Intel HDMI, HDMI 4
Direct hardware device without any conversions
plughw:CARD=HDMI,DEV=3
HDA Intel HDMI, HDMI 0
Hardware device with all software conversions
plughw:CARD=HDMI,DEV=7
HDA Intel HDMI, HDMI 1
Hardware device with all software conversions
plughw:CARD=HDMI,DEV=8
HDA Intel HDMI, HDMI 2
Hardware device with all software conversions
plughw:CARD=HDMI,DEV=9
HDA Intel HDMI, HDMI 3
Hardware device with all software conversions
plughw:CARD=HDMI,DEV=10
HDA Intel HDMI, HDMI 4
Hardware device with all software conversions
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC888-VD Analog [ALC888-VD Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
Speaker test on front:PCH produces nothing. alsamixer etc. show nothing is muted. results or amixer:
Code:
amixer
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 0 [0%] [-64.00dB] [off]
Front Right: Playback 0 [0%] [-64.00dB] [off]
Simple mixer control 'Headphone Mic',0
Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Mono
Limits: Playback 0 - 31
Mono: Capture [off]
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Headphone Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Speaker',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 64 [100%] [0.00dB] [on]
Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Beep',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 1 [3%] [-33.00dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 46
Front Left: Capture 27 [59%] [11.00dB] [on]
Front Right: Capture 27 [59%] [11.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Enabled'
Simple mixer control 'Internal Mic',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Mono
Mono: Capture [on]
Simple mixer control 'Loopback Mixing',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
I have tried loading the snd-hda-intel module with:
Code:
options snd-hda-intel index=1 bdl_pos_adj=-1,64
more information on my system produced by the alsa info script:
http://alsa-project.org/db/?f=50694b...8d3f45b7dde620
Any help really appreciated.
|
|
|
05-26-2019, 01:38 PM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,695
|
Welcome to LQ.
See if it's talking.
Code:
cat /etc/fstab > /dev/dsp0
cat /etc/fstab > /dev/dsp1
That's a short file that will just make noise. Also what's the output of
Code:
sudo lsmod |grep hda
|
|
|
05-26-2019, 02:20 PM
|
#3
|
LQ Newbie
Registered: May 2019
Posts: 4
Original Poster
Rep: 
|
Hi business_kid, thanks for your support.
No sound produced from the commands. The output from the lsmod command:
Code:
lsmod |grep hda
snd_hda_codec_hdmi 57344 1
snd_hda_codec_realtek 114688 1
snd_hda_codec_generic 77824 1 snd_hda_codec_realtek
ledtrig_audio 16384 2 snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_intel 49152 4
snd_hda_codec 131072 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core 90112 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep 20480 1 snd_hda_codec
snd_pcm 102400 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd 81920 19 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_pcm,snd_rawmidi
|
|
|
06-03-2019, 01:11 PM
|
#4
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,695
|
Usual culprits there are modules, and/or firmware. There's also I/O, interrupts, and it's possible one is working and the other has the speakers or something silly like that. I usually try 'sudo lspci' and pick out a search term for grep, and then run, for example
Code:
sudo lspci -v |grep -A20 Audio
The idea is to pick out the audio card and pick up a screenful, that should show you modules, interrupts, and I/O. Separate sound cards should not share resources, and I would like to get rid of one. Can you nobble one in the Bios?
I'd also google setting up with pulse audio, which is forced on you. They have 'for dummies' help pages up. It's insulting to the intelligence a little but the help is good. Check on earphones and hdmi if possible as well as speakers. The test I gave you is go/no-go.
|
|
|
06-03-2019, 07:28 PM
|
#5
|
Member
Registered: Jan 2017
Posts: 144
Rep: 
|
you using HDMI? I would bet your sound hw is 1,7. Also with NVIDIA you have to be in X for the audio to work.
edit /etc/asound.conf or ~/.asoundrc in order to change the default ALSA device. The exact syntax depends on your ALSA version For example:
pcm.!default {
type hw
card 1
device 7
}
or:
pcm.!default hdmi:CARD=NVidia,DEV=7
this link maybe helpful
https://download.nvidia.com/XFree86/...udio-document/
Last edited by drillsar; 06-03-2019 at 07:33 PM.
|
|
|
06-03-2019, 11:50 PM
|
#6
|
LQ Newbie
Registered: May 2019
Posts: 4
Original Poster
Rep: 
|
Quote:
Originally Posted by business_kid
Usual culprits there are modules, and/or firmware. There's also I/O, interrupts, and it's possible one is working and the other has the speakers or something silly like that. I usually try 'sudo lspci' and pick out a search term for grep, and then run, for example
Code:
sudo lspci -v |grep -A20 Audio
The idea is to pick out the audio card and pick up a screenful, that should show you modules, interrupts, and I/O. Separate sound cards should not share resources, and I would like to get rid of one. Can you nobble one in the Bios?
|
Disabling the HDMI card in the bios is certainly a route worth pursuing, I shall investigate that and report back.
|
|
|
06-03-2019, 11:53 PM
|
#7
|
LQ Newbie
Registered: May 2019
Posts: 4
Original Poster
Rep: 
|
Quote:
Originally Posted by drillsar
you using HDMI? I would bet your sound hw is 1,7. Also with NVIDIA you have to be in X for the audio to work.
edit /etc/asound.conf or ~/.asoundrc in order to change the default ALSA device. The exact syntax depends on your ALSA version For example:
pcm.!default {
type hw
card 1
device 7
}
or:
pcm.!default hdmi:CARD=NVidia,DEV=7
this link maybe helpful
https://download.nvidia.com/XFree86/...udio-document/
|
If I explicitly test the card via speaker-test or other routes I still do not get a sound, will changing the default card affect this?
|
|
|
All times are GMT -5. The time now is 01:29 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|