[SOLVED] No Sound in Debian 8.1 Pulse Audio and Alsa Competing
Linux - HardwareThis 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.
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.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
The next step is to ensure that nothing is muted in alsamixer. Then, I'm afraid, it is a case of checking configuration files which, I'm afraid, I don't have much experience with.
The next step is to ensure that nothing is muted in alsamixer. Then, I'm afraid, it is a case of checking configuration files which, I'm afraid, I don't have much experience with.
Nothing in alsamixer is muted.
I'll try editing the /usr/share/alsa/alsa.conf file and the /etc/asound.conf and see if that makes any difference after a reboot.
I know that this will work with your hardware in a pure ALSA system but I don't use PA so I'm not sure if that will confuse things.
If you don't need the extra features offered by Pulseaudio, you could try removing it (and any asoundrc/asound.conf files) and switch to pure ALSA with the above configuration file.
To add that parameter I would have to edit the kernel line through Grub, right?
Create a asoundrc file and make the device you want the default.
I don't have my laptop that I had to create it for with me but I'll search the forum here where I posted it.
well What I do is as a user 500 and above. not system wide?
Step one set my modprobe.d sound.conf for my card slats.
Code:
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd slots=snd-hda-intel,snd-usb-audio,snd-usb-audio
then I also make sure snd-hda-intel.conf
Code:
options snd-hda-intel model=auto
now that's set up and alsa knows what cards get loaded and what order.
then I log in and delete the .config/pulse folder and the .config/pavucontrol.ini
then I delete the /var/lib/alsa/asound.state asound.state.lock
Then I reboot.
I then open as a regular user the pavucontrol and set my stuff up with skype
and audacity etc etc.
Ok so if the pavucontrol will not initialize. then run pulseaudio -vv find out what library it is missing.
we want pulse to listen to alsa if you have a full install of alsa. edit your
/etc/pulse/default.pa add these at the bottom.
this lets alsa ot your DE manager choose a defalt device and
pulseaudio will be your friend.
Hope this helps these are the steps I been using a long time with pulseaudio.
do not forget install your alsa-plugins you need them modules.
Last edited by Drakeo; 07-11-2015 at 01:41 PM.
Reason: alsa-plugins
Create a asoundrc file and make the device you want the default.
I don't have my laptop that I had to create it for with me but I'll search the forum here where I posted it.
I created this file because I didn't have it.
Code:
@debian:~$ cat /etc/asound.conf
pcm.!default {
type plug
slave {
pcm "hw:1,7"
}
}
ctl.!default {
type hw
card 1
}
So I need to create a /etc/asoundrc.conf?
If you can find the forum where you posted it that would be awesome EDDY!
I tried editing the /etc/asound.conf file and changed the pcm "hw:1,7" to a "hw:0,0" and rebooted.
I also tried editing the kernel line and adding snd_hda_intel.index=1 still no sound.
Code:
@debian:~$ cat /home/user/.asoundrc
pcm.!default {
type hw
card 0
}
ctl.!default {
type hw
card 0
}
Although the one you're supposed to use with pulseaudio is more like
Code:
pcm.pulse { type pulse }
ctl.pulse { type pulse }
pcm.!default { type pulse }
ctl.!default { type pulse }
Also add this line to your /etc/pulse/client.conf
Code:
autospawn = no
This will allow you to start and stop pulseaudio. By default it starts and automagically restarts if it fails.
$ pulseaudio --kill
$ pulseaudio --start
Having the option to toggle it on/off lets you test if alsa is working and allows you to use jack and other audio options. Although my current setup is pulse over jack. And a bit overly complex. Debian doesn't really configure this stuff by default. Or maybe it does, IF you create your user AFTER you install pulseaudio. Which basically never happens with how I install things.
Although the one you're supposed to use with pulseaudio is more like
Code:
pcm.pulse { type pulse }
ctl.pulse { type pulse }
pcm.!default { type pulse }
ctl.!default { type pulse }
Also add this line to your /etc/pulse/client.conf
Code:
autospawn = no
This will allow you to start and stop pulseaudio. By default it starts and automagically restarts if it fails.
$ pulseaudio --kill
$ pulseaudio --start
Having the option to toggle it on/off lets you test if alsa is working and allows you to use jack and other audio options. Although my current setup is pulse over jack. And a bit overly complex. Debian doesn't really configure this stuff by default. Or maybe it does, IF you create your user AFTER you install pulseaudio. Which basically never happens with how I install things.
Thanks shadow_7 I tried what you have suggested and still no sound.
I think it's time for me to look for another distribution to install on this desktop.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.