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.
|
 |
|
11-09-2019, 07:28 AM
|
#1
|
Member
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 729
Rep:
|
Dummy output sound Ubuntu
I have Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
On a desktop (11 years old) and the external speakers used to work.
Now the machine has dummy output, the speakers do work when I connected them to a different machine.
I found this web page
https://www.linuxuprising.com/2018/0...-issue-in.html
I tried this
Code:
echo "options snd-hda-intel model=generic" | sudo tee -a /etc/modprobe.d/alsa-base.conf
but it did not fix it.
I think that these might help anyone diagnose it
Code:
echo "options snd-hda-intel model=generic" | sudo tee -a /etc/modprobe.d/alsa-base.conf
Code:
lsmod | grep snd_hda_intel
snd_hda_intel 45056 1
snd_hda_codec 126976 3 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core 81920 4 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_pcm 98304 3 snd_hda_intel,snd_hda_codec,snd_hda_core
snd 81920 12 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
Code:
lspci -nnk | grep -A2 Audio
00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 02)
Subsystem: Dell Inspiron 530 [1028:020d]
Kernel driver in use: snd_hda_intel
Thank you in advance, apologies if this is not clear.
|
|
|
11-09-2019, 08:16 PM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,766
|
Ubuntu uses Pulse Audio. My first suggestion is to install the Pulse Audio Mixer (pavucontrol). It's in the repos. If provides more granular control.
My second suggestion would be to open the machine's case and doublecheck the wiring to make sure it's not loose, worn, or frayed.
|
|
1 members found this post helpful.
|
11-09-2019, 09:14 PM
|
#3
|
Senior Member
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: KDE Neon
Posts: 1,244
|
Found info that says to use
Code:
options snd-hda-intel model=6stack-dell
https://answers.launchpad.net/ubuntu...uestion/192203 seems to be for your computer model. Scroll down to the bottom of the page to see the trouble shooting steps in the first answer.
|
|
1 members found this post helpful.
|
11-10-2019, 03:46 AM
|
#4
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Quote:
Originally Posted by davholla
|
Quote:
Originally Posted by linuxuprising
The first thing I did was to look for solutions online, like this one, but none worked (though that solution may work for you so give it a try).
|
Did you also try that?
|
|
1 members found this post helpful.
|
11-10-2019, 10:53 AM
|
#5
|
Member
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 729
Original Poster
Rep:
|
Firstly thank you all
Quote:
Originally Posted by ondoho
Did you also try that?
|
I have just tried
Code:
sudo alsa force-reload
I also tried
Code:
alias snd-card-0 snd-hda-intel
options snd-hda-intel model=6stack-dell
Without success.
I am going to try upgrading packages later (which is what caused the problem).
|
|
|
11-10-2019, 11:11 AM
|
#6
|
Member
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 729
Original Poster
Rep:
|
Code:
lsmod | grep snd_hda_intel
snd_hda_intel 45056 1
snd_hda_codec 126976 3 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core 81920 4 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_pcm 98304 3 snd_hda_intel,snd_hda_codec,snd_hda_core
snd 81920 12 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
Just in case this helps.
I did try install Pulse Audio Mixer (pavucontrol) - no good
|
|
|
11-10-2019, 01:27 PM
|
#7
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
$ cat /proc/asound/cards
The default device is often hw:0,0 (in alsa's naming convention).
$ speaker-test -c 2 -l 1 -D default
$ speaker-test -c 2 -l 1 -D pulse
$ speaker-test -c 2 -l 1 -D hw:0,0
Also make sure the user is in the audio group.
$ groups
And that the device isn't muted (MUTED by DEFAULT).
$ alsamixer
|
|
1 members found this post helpful.
|
11-10-2019, 02:12 PM
|
#8
|
Member
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 729
Original Poster
Rep:
|
Code:
cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xfdff4000 irq 27
The device is not muted
When I tried $ groups
Code:
$ groups
$: command not found
Thank you for your help
|
|
|
11-10-2019, 05:06 PM
|
#9
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
try groups without the $. The $ was to designate as a "user" where # would be as root or with sudo.
Looks like you only have one soundcard, kind of a rare-ity these days. As your GPU is normally a soundcard, webcam, modem, ... ... ...
$ ls -l /dev/snd/* | grep -i pcm | grep -i p$
Code:
crw-rw----+ 1 root audio 116, 2 Oct 10 20:59 /dev/snd/pcmC0D3p
crw-rw----+ 1 root audio 116, 5 Oct 10 20:59 /dev/snd/pcmC1D0p
Alsa has various outputs. The files that end in p are for playback (c for capture). In my case hw:1,0 and hw:0,3. Where hw:0,3 is the HDMI of my monitor. And hw:1,0 is the "Generic" side of the snd-hda-intel soundcard on my laptop.
|
|
1 members found this post helpful.
|
11-11-2019, 01:31 PM
|
#10
|
Member
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 729
Original Poster
Rep:
|
Quote:
Originally Posted by Shadow_7
try groups without the $. The $ was to designate as a "user" where # would be as root or with sudo.
Looks like you only have one soundcard, kind of a rare-ity these days. As your GPU is normally a soundcard, webcam, modem, ... ... ...
$ ls -l /dev/snd/* | grep -i pcm | grep -i p$
Code:
crw-rw----+ 1 root audio 116, 2 Oct 10 20:59 /dev/snd/pcmC0D3p
crw-rw----+ 1 root audio 116, 5 Oct 10 20:59 /dev/snd/pcmC1D0p
Alsa has various outputs. The files that end in p are for playback (c for capture). In my case hw:1,0 and hw:0,3. Where hw:0,3 is the HDMI of my monitor. And hw:1,0 is the "Generic" side of the snd-hda-intel soundcard on my laptop.
|
It is an old PC - but it was working fine.
Now I use the right command (child induced stress yesterday).
I get
Code:
david adm cdrom sudo dip plugdev lpadmin sambashare
|
|
|
11-12-2019, 09:05 PM
|
#11
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
$ sudo usermod -a -G audio david
Assuming david is your username. You are not in the audio group. So do not have permissions to output sound. It should work as root though.
$ sudo speaker-test -c 2 -l 1 -D hw:0,0
But you shouldn't need the sudo once you're in the audio group and login again (group changes do not apply until your next login).
|
|
1 members found this post helpful.
|
11-13-2019, 02:26 AM
|
#12
|
LQ Newbie
Registered: Nov 2019
Posts: 1
Rep: 
|
nice post
|
|
|
11-13-2019, 04:35 PM
|
#13
|
Member
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 729
Original Poster
Rep:
|
Quote:
Originally Posted by Shadow_7
$ sudo usermod -a -G audio david
Assuming david is your username. You are not in the audio group. So do not have permissions to output sound. It should work as root though.
$ sudo speaker-test -c 2 -l 1 -D hw:0,0
But you shouldn't need the sudo once you're in the audio group and login again (group changes do not apply until your next login).
|
Thank you
Now I am in the audio groups
Code:
$ groups
david adm cdrom sudo audio dip plugdev lpadmin sambashare
And the speaker test works - white noise.
However despite a reboot I still get dummy output.
|
|
|
11-13-2019, 05:31 PM
|
#14
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
in pavucontrol?
There's a snd-dummy.ko module you might be loading? /etc/modules or /etc/modules.d/*.conf ?
If your desired soundcard isn't hw:0,0 (alsa naming convention / default) you can override that.
FILE: $HOME/.asoundrc
Code:
defaults.ctl.card 1
defaults.pcm.card 1
defaults.pcm.device 0
To make it hw:1,0
$ cat /proc/asound/cards
To see what devices exist and have working drivers. Various alsa tricks, snd-dummy, snd-aloop, and such for dummy and/or loopback devices. The loopback device has it's output be it's input. One way to have strange routing happen, and to record what you're playing on your computer with relative ease. Each layer adds latency and other quirks. The main thing is to identify what you have, and what it's named. Note that index numbers can change between boots. So your configuration might need to adapt.
Otherwise pavucontrol to select your desired output when using pulseaudio. And to disable/enable various audio options.
|
|
|
11-14-2019, 03:23 PM
|
#15
|
Member
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 729
Original Poster
Rep:
|
I went to $HOME and did
No files were found
But this
Code:
cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xfdff4000 irq 27
Did give results
I tried using pavucontrol and it all gives me is the option to use dummy output.
I am really confused
Last edited by davholla; 11-14-2019 at 03:25 PM.
|
|
|
All times are GMT -5. The time now is 05: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
|
|