Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
How-To: Pulseaudio
Re: How-To: Pulseaudio
This isn't my guide, I just took up the slack in one of the last pages with some interesting tidbits I learned about modern pulseaudio.
Anyway I am sorry to say I am not really an alsa expert. (Were I in your place) I would find out what your sound card is and what module is supposed to use it. Then find if your kernel has this module and is it currently in use (modprobe nameofmodule). If it was compiled in the kernel but not enabled it might be blacklisted (not sure where stuff is blacklisted these days). If the modules is in use and still doesnt work I would internet search information about your specific card and alsa. Also I would ensure all of the essential alsa packages are installed (they probably are). Then after following a bit of alsa troubleshooting to no avail. Look if oss4 supports your card.
Sorry to say I do not know much more than how to find better information. And please excuse the lack of more specific help, I have been rather busy lately.
Anyway I am sorry to say I am not really an alsa expert. (Were I in your place) I would find out what your sound card is and what module is supposed to use it. Then find if your kernel has this module and is it currently in use (modprobe nameofmodule). If it was compiled in the kernel but not enabled it might be blacklisted (not sure where stuff is blacklisted these days). If the modules is in use and still doesnt work I would internet search information about your specific card and alsa. Also I would ensure all of the essential alsa packages are installed (they probably are). Then after following a bit of alsa troubleshooting to no avail. Look if oss4 supports your card.
Sorry to say I do not know much more than how to find better information. And please excuse the lack of more specific help, I have been rather busy lately.
Always on Debian Testing
Re: How-To: Pulseaudio
Ok baby steps first.vbrummond wrote:This isn't my guide, I just took up the slack in one of the last pages with some interesting tidbits I learned about modern pulseaudio.
Anyway I am sorry to say I am not really an alsa expert. (Were I in your place) I would find out what your sound card is and what module is supposed to use it..
Isn't this info. good enough as far as sound card is concerned as given in my previous post or you/we need something more?
Code: Select all
$ cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xfea78000 irq 44
$ lspci | grep Audio
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
Intel Dual-Core CPU E5400 (soc 775) @ 2.70GHz, onboard Intel G33, Asus MB P5KPL-AM IN (Intel G31), D-Link 2750u modem+router, 64-bit Debian Testing, Mate 1.26
Re: How-To: Pulseaudio
It is enough to get started on I suppose. This guide is for ubuntu but it should be mostly relevant (except for the ubuntu specific alsa source stuff) https://help.ubuntu.com/community/SoundTroubleshooting
Chances are there is someone else with the same problem which is why I suggested a search. Though it seems like it is detecting it fine, does alsa really have no mixers? Try:
Chances are there is someone else with the same problem which is why I suggested a search. Though it seems like it is detecting it fine, does alsa really have no mixers? Try:
Code: Select all
alsamixer -c0
Always on Debian Testing
Re: How-To: Pulseaudio
alsamixer -c0 shows this :-vbrummond wrote:It is enough to get started on I suppose. This guide is for ubuntu but it should be mostly relevant (except for the ubuntu specific alsa source stuff) https://help.ubuntu.com/community/SoundTroubleshooting
Chances are there is someone else with the same problem which is why I suggested a search. Though it seems like it is detecting it fine, does alsa really have no mixers? Try:Code: Select all
alsamixer -c0
Uploaded with ImageShack.us
Apparently the chip is VIA VT1705.
Speaker is at full .
Code: Select all
aplay /usr/share/sounds/alsa/Front_Center.wav
Code: Select all
$ sudo aplay -l
[sudo] password for shirish:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: VT1705 Analog [VT1705 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: VT1705 HP [VT1705 HP]
Subdevices: 1/1
Subdevice #0: subdevice #0
Code: Select all
$ find /lib/modules/`uname -r` | grep snd
/lib/modules/3.2.0-2-amd64/kernel/sound/usb/caiaq/snd-usb-caiaq.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/usb/misc/snd-ua101.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/usb/snd-usb-audio.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/usb/snd-usbmidi-lib.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/usb/usx2y/snd-usb-usx2y.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/usb/usx2y/snd-usb-us122l.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/usb/6fire/snd-usb-6fire.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/drivers/pcsp/snd-pcsp.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/drivers/snd-portman2x4.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/drivers/opl3/snd-opl3-lib.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/drivers/opl3/snd-opl3-synth.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/drivers/snd-dummy.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/drivers/vx/snd-vx-lib.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/drivers/snd-aloop.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/drivers/snd-mtpav.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/drivers/snd-serial-u16550.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/drivers/snd-mts64.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/drivers/snd-virmidi.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/drivers/mpu401/snd-mpu401.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/i2c/snd-cs8427.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/i2c/other/snd-pt2258.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/i2c/other/snd-tea575x-tuner.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/i2c/other/snd-ak4113.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/i2c/other/snd-ak4xxx-adda.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/i2c/other/snd-ak4117.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/i2c/other/snd-ak4114.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/i2c/snd-i2c.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/snd-es1968.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/snd-ens1370.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/lola/snd-lola.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/echoaudio/snd-layla24.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/echoaudio/snd-gina20.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/echoaudio/snd-darla24.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/echoaudio/snd-indigodjx.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/echoaudio/snd-echo3g.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/echoaudio/snd-mia.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/echoaudio/snd-gina24.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/echoaudio/snd-mona.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/echoaudio/snd-indigodj.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/echoaudio/snd-indigoio.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/echoaudio/snd-layla20.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/echoaudio/snd-darla20.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/echoaudio/snd-indigoiox.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/echoaudio/snd-indigo.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/snd-via82xx-modem.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/cs46xx/snd-cs46xx.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/snd-sonicvibes.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/snd-intel8x0.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/snd-fm801.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/snd-als4000.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/snd-atiixp.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/ice1712/snd-ice17xx-ak4xxx.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/ice1712/snd-ice1724.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/ice1712/snd-ice1712.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/snd-intel8x0m.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/snd-cs5530.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/riptide/snd-riptide.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/asihpi/snd-asihpi.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/snd-ad1889.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/snd-ens1371.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/ymfpci/snd-ymfpci.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/lx6464es/snd-lx6464es.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/ca0106/snd-ca0106.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/ali5451/snd-ali5451.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/snd-via82xx.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/vx222/snd-vx222.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/snd-als300.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/snd-cmipci.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/ctxfi/snd-ctxfi.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/hda/snd-hda-codec-cmedia.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/hda/snd-hda-codec-cirrus.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/hda/snd-hda-codec-realtek.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/hda/snd-hda-codec-ca0132.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/hda/snd-hda-codec-via.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/hda/snd-hda-codec-conexant.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/hda/snd-hda-codec-analog.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/hda/snd-hda-codec-idt.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/hda/snd-hda-codec-hdmi.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/hda/snd-hda-codec-si3054.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/hda/snd-hda-codec-ca0110.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/hda/snd-hda-codec.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/snd-es1938.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/snd-atiixp-modem.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/snd-rme32.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/korg1212/snd-korg1212.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/mixart/snd-mixart.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/snd-bt87x.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/cs5535audio/snd-cs5535audio.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/rme9652/snd-hdsp.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/rme9652/snd-rme9652.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/rme9652/snd-hdspm.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/oxygen/snd-oxygen-lib.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/oxygen/snd-virtuoso.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/oxygen/snd-oxygen.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/snd-rme96.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/au88x0/snd-au8830.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/au88x0/snd-au8810.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/au88x0/snd-au8820.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/nm256/snd-nm256.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/snd-azt3328.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/trident/snd-trident.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/snd-maestro3.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/ac97/snd-ac97-codec.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/snd-cs4281.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/pcxhr/snd-pcxhr.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/emu10k1/snd-emu10k1x.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/emu10k1/snd-emu10k1.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pci/emu10k1/snd-emu10k1-synth.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/synth/snd-util-mem.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/synth/emux/snd-emux-synth.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/isa/sb/snd-sb-common.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/isa/sb/snd-sb16-dsp.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pcmcia/vx/snd-vxpocket.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/pcmcia/pdaudiocf/snd-pdaudiocf.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/core/snd-rawmidi.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/core/snd-hwdep.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/core/snd-pcm.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/core/snd-hrtimer.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/core/snd-page-alloc.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/core/snd.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/core/seq/snd-seq-midi.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/core/seq/snd-seq-dummy.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/core/seq/snd-seq-device.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/core/seq/snd-seq.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/core/seq/snd-seq-midi-event.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/core/seq/snd-seq-midi-emul.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/core/seq/snd-seq-virmidi.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/core/snd-timer.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/core/oss/snd-pcm-oss.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/core/oss/snd-mixer-oss.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/firewire/snd-isight.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/firewire/snd-firewire-speakers.ko
/lib/modules/3.2.0-2-amd64/kernel/sound/firewire/snd-firewire-lib.ko
Code: Select all
$ lspci -v | grep -A7 -i "audio"
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
Subsystem: ASUSTeK Computer Inc. Device 83a1
Flags: bus master, fast devsel, latency 0, IRQ 44
Memory at fea78000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 01) (prog-if 00 [Normal decode])
Code: Select all
$ sudo modinfo soundcore
filename: /lib/modules/3.2.0-2-amd64/kernel/sound/soundcore.ko
alias: char-major-14-*
license: GPL
author: Alan Cox
description: Core sound module
depends:
intree: Y
vermagic: 3.2.0-2-amd64 SMP mod_unload modversions
parm: preclaim_oss:int
Update: Even with a new user added and changed to, nothing changed. Had the same issue there as well
Last edited by shirish on 2012-06-10 08:50, edited 1 time in total.
Intel Dual-Core CPU E5400 (soc 775) @ 2.70GHz, onboard Intel G33, Asus MB P5KPL-AM IN (Intel G31), D-Link 2750u modem+router, 64-bit Debian Testing, Mate 1.26
Re: How-To: Pulseaudio
It is sort of odd everything seems.. like it is working. The module is snd_hd_intel and it is working. I really don't know.
Always on Debian Testing
Re: How-To: Pulseaudio
Ok, can you tell if this is right (or not) :-vbrummond wrote:It is sort of odd everything seems.. like it is working. The module is snd_hd_intel and it is working. I really don't know.
Uploaded with ImageShack.us
and look at that http://imageshack.us/photo/my-images/68 ... trol1.png/
Should it be looking like that ? Does your pavucontrol look like that as well and the sound works ?
Intel Dual-Core CPU E5400 (soc 775) @ 2.70GHz, onboard Intel G33, Asus MB P5KPL-AM IN (Intel G31), D-Link 2750u modem+router, 64-bit Debian Testing, Mate 1.26
Re: How-To: Pulseaudio
No, if its missing devices its not working. I suppose try to remove pulseaudio if you can, but it might bring down gnome with it. Or at least kill pulse temporarily to see if it works without.
Always on Debian Testing
Re: How-To: Pulseaudio
I had done that and can do that again, no problem i.e. remove pulseaudio. How do I kill pulse temporarily ?vbrummond wrote:No, if its missing devices its not working. I suppose try to remove pulseaudio if you can, but it might bring down gnome with it. Or at least kill pulse temporarily to see if it works without.
Intel Dual-Core CPU E5400 (soc 775) @ 2.70GHz, onboard Intel G33, Asus MB P5KPL-AM IN (Intel G31), D-Link 2750u modem+router, 64-bit Debian Testing, Mate 1.26
-
- Posts: 8
- Joined: 2011-03-06 02:28
Re: How-To: Pulseaudio
First I just want to say that PulseAudio is great--once one understands it. FWIW I did have a helluva time getting Pulse to be 100% cooperative in KDE 4 but I suspect phonon is to blame. As I mostly run PulseAudio on my headless box as a means to stream to an Airport Express I only have experience with a small slice of what PA can do but what I have noticed is that, at least in regards to network playback, the source music client(e.g. VLC, SMPlayer, etc) seems to make ALL the difference in providing functionality and stability for the audio-stream. Right now I am running Squeeze with extras from Deb-Multimedia and thus far VLC is the best client for my system. However, I also have an Arch setup that is constantly updated, so probably a bit quirky, where VLC absolutely sux and Clementine works better. Oddly enough onthat system Amarok worked for a few hours and then I couldn't get it to work. So if streaming to an Airport Express is causing you headaches just try switching music apps until you find the one that fits your situation. Again FWIW I have found SMPlayer to usually have some issue that prevents it from being a solid choice for this application. Peace
- craigevil
- Posts: 5391
- Joined: 2006-09-17 03:17
- Location: heaven
- Has thanked: 28 times
- Been thanked: 39 times
Re: How-To: Pulseaudio
Trouble shooting ALSA on Debian - LinuxQuestions.org : http://www.linuxquestions.org/questions ... bian-3018/
Development/Tutorials/Debugging/Phonon - KDE TechBase : http://techbase.kde.org/Development/Tut ... ing/Phonon
freedesktop.org - Software/PulseAudio/Desktops/KDE : http://www.freedesktop.org/wiki/Softwar ... sktops/KDE
freedesktop.org - Software/PulseAudio/Documentation/User/PerfectSetup : http://www.freedesktop.org/wiki/Softwar ... rfectSetup
PulseAudio - Ubuntu Wiki : https://wiki.ubuntu.com/PulseAudio/
If you are on KDE I suggest using phonon-backend-gstreamer which seems to have fewer issues than phonon-backend-vlc .
Development/Tutorials/Debugging/Phonon - KDE TechBase : http://techbase.kde.org/Development/Tut ... ing/Phonon
freedesktop.org - Software/PulseAudio/Desktops/KDE : http://www.freedesktop.org/wiki/Softwar ... sktops/KDE
freedesktop.org - Software/PulseAudio/Documentation/User/PerfectSetup : http://www.freedesktop.org/wiki/Softwar ... rfectSetup
PulseAudio - Ubuntu Wiki : https://wiki.ubuntu.com/PulseAudio/
If you are on KDE I suggest using phonon-backend-gstreamer which seems to have fewer issues than phonon-backend-vlc .
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list
Re: How-To: Pulseaudio
I had problems getting pulseaudio to work with web browsers until I realised that /etc/asound.conf should be readable not just by root but also by the ordinary user who wants to control web-browser sound via pulse audio. Typing fixed my problem.
Code: Select all
chmod 644 /etc/asound.conf
Re: How-To: Pulseaudio
Hi all,
No audio for some days. I dunno if it's a bug in pulseaudio or something wrong at my end.
I saw https://help.ubuntu.com/community/SoundTroubleshooting and the issue seems on the first step only :-
I dunno if it's an issue or not.
No audio for some days. I dunno if it's a bug in pulseaudio or something wrong at my end.
I saw https://help.ubuntu.com/community/SoundTroubleshooting and the issue seems on the first step only :-
Code: Select all
$ pacmd
No PulseAudio daemon running, or not running as session daemon.
Intel Dual-Core CPU E5400 (soc 775) @ 2.70GHz, onboard Intel G33, Asus MB P5KPL-AM IN (Intel G31), D-Link 2750u modem+router, 64-bit Debian Testing, Mate 1.26
-
- Posts: 136
- Joined: 2011-01-16 13:00
Re: How-To: Pulseaudio
After upgrading from wheezy to jessie, pulseaudio failed to produce sound suddenly.
I moved back to ALSA and have been running it almost half year.
I installed pulseaudio again, spent few hours to troubleshoot about no sound. Apparently pavucontrol was not able to access pulseaudio server showing "establishing ..." message. So I suspected that there is access control issue. Debian Wiki page does not say about it.
http://www.freedesktop.org/wiki/Softwar ... fectSetup/
Should users be in the "audio" group?
I checked my user account's all group and it has audio group.
I removed my account from audio group. Start 'pulseaudio -D' in x-terminal.
pulseaudio starts running again.
I moved back to ALSA and have been running it almost half year.
I installed pulseaudio again, spent few hours to troubleshoot about no sound. Apparently pavucontrol was not able to access pulseaudio server showing "establishing ..." message. So I suspected that there is access control issue. Debian Wiki page does not say about it.
http://www.freedesktop.org/wiki/Softwar ... fectSetup/
Should users be in the "audio" group?
Based on above information, in jessie audio is group 2.There are three kind of distributions: 1) those who control access to the sound card by adding users to the "audio" group, 2) those who use udev (or HAL) and ConsoleKit to dynamically give access to the currently "active" user, but allow overriding that using the "audio" group and 3) those who don't use the "audio" group at all, but rely solely on HAL+ConsoleKit to grant access to the sound card.
To find out which group your distribution belongs to, run ls -l /dev/snd. If the permission field of many of the listed files contains a plus character in the end, like this:
crw-rw----+ 1 root audio 116, 7 Aug 2 08:57 pcmC0D0p
then your distribution most likely belongs to group 2 or 3. If the group of the file is "audio", as above, then the distribution belongs to group 2, otherwise it belongs to group 3.
If there was no plus character in the permission fields, like in this example:
crw-rw---- 1 root audio 116, 7 Aug 2 08:57 pcmC0D0p
then your distribution belongs to group 1.
Now that you know how your distribution does access control to the sound card, it's easy to determine whether you should put users to the "audio" group or not:
If your distribution belongs to group 1, you must put all users to the "audio" group or otherwise they can't access the sound card.
If your distribution belongs to group 2 or 3, you should make sure that no one is in the "audio" group. (If you plan running pulseaudio in the system-wide mode, then the special user "pulse" should still be in the "audio" group in order to have access to the sound card.) If your distribution belongs to group 1 or 2, fast user switching doesn't work properly if users are in the "audio" group.
Code: Select all
$ ls -l /dev/snd
total 0
drwxr-xr-x 2 root root 60 Aug 16 15:25 by-path
crw-rw----+ 1 root audio 116, 2 Aug 16 15:25 controlC0
crw-rw----+ 1 root audio 116, 6 Aug 16 15:25 hwC0D0
crw-rw----+ 1 root audio 116, 4 Aug 16 19:20 pcmC0D0c
crw-rw----+ 1 root audio 116, 3 Aug 16 19:33 pcmC0D0p
crw-rw----+ 1 root audio 116, 5 Aug 16 15:25 pcmC0D2c
crw-rw---- 1 root audio 116, 1 Aug 16 15:24 seq
crw-rw----+ 1 root audio 116, 33 Aug 16 15:25 timer
Code: Select all
$ id penguin
uid=1000(penguin) gid=1000(penguin)
groups=1000(penguin),4(adm),5(tty),7(lp),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),40(src),44(video),46(plugdev),108(netdev),109(bluetooth),110(lpadmin),114(scanner),106(pulse),126(debian-tor)
I removed my account from audio group. Start 'pulseaudio -D' in x-terminal.
Code: Select all
$ sudo deluser penguin audio
Removing user `penguin' from group `audio' ...
Done.
Re: How-To: Pulseaudio
I have followed the steps given here:
https://wiki.archlinux.org/index.php/Bl ... PulseAudio
However, I do not see pulseaudio detected the new device. Further more in the response of the systemctl status bluetooth I see following:
I attempted to stop and restart the pulse audio as follows:
When I restart pulse audio volume control, it says:
Establishing connection to PulseAudio. Please wait.
Any suggestion how can resolve this problem?
https://wiki.archlinux.org/index.php/Bl ... PulseAudio
Code: Select all
root@GX280:/home/babak# systemctl start bluetooth
root@GX280:/home/babak# bluetoothctl
[NEW] Controller 00:1A:7D:DA:71:12 GX280-0 [default]
[NEW] Device 06:04:01:01:07:89 dmzmusic
[NEW] Device 00:15:83:0D:5A:6E ITB284B
[bluetooth]# pair 06:04:01:01:07:89
Attempting to pair with 06:04:01:01:07:89
Failed to pair: org.bluez.Error.AlreadyExists
[bluetooth]# connect 06:04:01:01:07:89
Attempting to connect to 06:04:01:01:07:89
[CHG] Device 06:04:01:01:07:89 Connected: yes
Connection successful
[bluetooth]# systemctl status bluetooth
Invalid command
[bluetooth]# exit
[DEL] Controller 00:1A:7D:DA:71:12 GX280-0 [default]
root@GX280:/home/babak# systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
Active: active (running) since Mon 2015-08-17 22:08:52 PDT; 9min ago
Docs: man:bluetoothd(8)
Main PID: 598 (bluetoothd)
Status: "Running"
CGroup: /system.slice/bluetooth.service
└─598 /usr/lib/bluetooth/bluetoothd
Aug 17 22:08:52 GX280 bluetoothd[598]: Starting SDP server
Aug 17 22:08:53 GX280 bluetoothd[598]: Bluetooth management interface 1.6 i...ed
Aug 17 22:08:54 GX280 bluetoothd[598]: Sap driver initialization failed.
Aug 17 22:08:54 GX280 bluetoothd[598]: sap-server: Operation not permitted (1)
Aug 17 22:08:54 GX280 bluetoothd[598]: hci0 Load Connection Parameters fail...1)
Aug 17 22:09:38 GX280 bluetoothd[598]: Endpoint registered: sender=:1.28 pa...ce
Aug 17 22:09:38 GX280 bluetoothd[598]: Endpoint registered: sender=:1.28 pa...nk
Aug 17 22:11:48 GX280 bluetoothd[598]: Endpoint registered: sender=:1.45 pa...ce
Aug 17 22:11:48 GX280 bluetoothd[598]: Endpoint registered: sender=:1.45 pa...nk
Aug 17 22:15:10 GX280 bluetoothd[598]: /org/bluez/hci0/dev_06_04_01_01_07_8...dy
Hint: Some lines were ellipsized, use -l to show in full.
Code: Select all
Aug 17 22:08:53 GX280 bluetoothd[598]: Bluetooth management interface 1.6 i...ed
Aug 17 22:08:54 GX280 bluetoothd[598]: Sap driver initialization failed.
Aug 17 22:08:54 GX280 bluetoothd[598]: sap-server: Operation not permitted (1)
Code: Select all
root@GX280:/home/babak# pactl load-module module-bluetooth-discover
Failure: Module initialization failed
root@GX280:/home/babak# pulseaudio -D
W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
E: [pulseaudio] main.c: Daemon startup failed.
root@GX280:/home/babak# systemctl daemon-reload
root@GX280:/home/babak# systemctl restart pulseaudio.service
root@GX280:/home/babak# systemctl status -l bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
Active: active (running) since Mon 2015-08-17 22:08:52 PDT; 49min ago
Docs: man:bluetoothd(8)
Main PID: 598 (bluetoothd)
Status: "Running"
CGroup: /system.slice/bluetooth.service
└─598 /usr/lib/bluetooth/bluetoothd
Aug 17 22:08:52 GX280 bluetoothd[598]: Starting SDP server
Aug 17 22:08:53 GX280 bluetoothd[598]: Bluetooth management interface 1.6 initialized
Aug 17 22:08:54 GX280 bluetoothd[598]: Sap driver initialization failed.
Aug 17 22:08:54 GX280 bluetoothd[598]: sap-server: Operation not permitted (1)
Aug 17 22:08:54 GX280 bluetoothd[598]: hci0 Load Connection Parameters failed: Unknown Command (0x01)
Aug 17 22:09:38 GX280 bluetoothd[598]: Endpoint registered: sender=:1.28 path=/MediaEndpoint/A2DPSource
Aug 17 22:09:38 GX280 bluetoothd[598]: Endpoint registered: sender=:1.28 path=/MediaEndpoint/A2DPSink
Aug 17 22:11:48 GX280 bluetoothd[598]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSource
Aug 17 22:11:48 GX280 bluetoothd[598]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSink
Aug 17 22:15:10 GX280 bluetoothd[598]: /org/bluez/hci0/dev_06_04_01_01_07_89/fd0: fd(22) ready
root@GX280:/home/babak# pulseaudio --system --disallow-exit --disallow-module-loading --disable-shm
N: [pulseaudio] main.c: Running in system mode, forcibly disabling exit idle time!
W: [pulseaudio] main.c: OK, so you are running PA in system mode. Please note that you most likely shouldn't be doing that.
W: [pulseaudio] main.c: If you do it nonetheless then it's your own fault if things don't work as expected.
W: [pulseaudio] main.c: Please read http://pulseaudio.org/wiki/WhatIsWrongWithSystemMode for an explanation why system mode is usually a bad idea.
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.
root@GX280:/home/babak# systemctl stop pulseaudio.service
root@GX280:/home/babak# pulseaudio --system --disallow-exit --disallow-module-loading --disable-shm
N: [pulseaudio] main.c: Running in system mode, forcibly disabling exit idle time!
W: [pulseaudio] main.c: OK, so you are running PA in system mode. Please note that you most likely shouldn't be doing that.
W: [pulseaudio] main.c: If you do it nonetheless then it's your own fault if things don't work as expected.
W: [pulseaudio] main.c: Please read http://pulseaudio.org/wiki/WhatIsWrongWithSystemMode for an explanation why system mode is usually a bad idea.
Establishing connection to PulseAudio. Please wait.
Any suggestion how can resolve this problem?