Cannot get pulseaudio to start

Asked by Greg A

I have installed pulseaudio on Gutsy according to the wiki:
https://wiki.ubuntu.com/PulseAudio

However running pulseaudio in a terminal gives me error messages and the daemon refuses to run. I hope the details below will help to diagnose my problem. I would really appreciate some help!

When I run the command pulseaudio in a terminal I get:
W: main.c: WARNING: called SUID root, but not in group 'pulse-rt'.
E: module-alsa-source.c: Error opening PCM device hw:1: Device or resource busy
E: module.c: Failed to load module "module-alsa-source" (argument: "device=hw:1 source_name=alsa_input.usb_device_46d_8b3_noserial_if1_alsa_capture_0"): initialization failed.
E: module-alsa-source.c: Error opening PCM device hw:0: Device or resource busy
E: module.c: Failed to load module "module-alsa-source" (argument: "device=hw:0 source_name=alsa_input.pci_1102_2_alsa_capture_0"): initialization failed.
E: module-protocol-stub.c: Failed to create socket directory '/tmp/.esd/socket': Operation not permitted
E: module.c: Failed to load module "module-esound-protocol-unix" (argument: ""): initialization failed.
E: main.c: Module load failed.
E: main.c: failed to initialize daemon.

"pulseaudio -vv" gives:
W: main.c: WARNING: called SUID root, but not in group 'pulse-rt'.
I: module-hal-detect.c: Trying capability 0 (alsa)
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device=hw:1 source_name=alsa_input.usb_device_46d_8b3_noserial_if1_alsa_capture_0'
E: module-alsa-source.c: Error opening PCM device hw:1: Device or resource busy
E: module.c: Failed to load module "module-alsa-source" (argument: "device=hw:1 source_name=alsa_input.usb_device_46d_8b3_noserial_if1_alsa_capture_0"): initialization failed.
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device=hw:0 sink_name=alsa_output.pci_1102_2_alsa_playback_0'
I: alsa-util.c: Using mixer control "PCM".
I: sink.c: created 0 "alsa_output.pci_1102_2_alsa_playback_0" with sample spec "s16le 2ch 44100Hz"
I: source.c: created 0 "alsa_output.pci_1102_2_alsa_playback_0.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: using 8 fragments of size 1376 bytes.
I: module.c: Loaded "module-alsa-sink" (index: #0; argument: "device=hw:0 sink_name=alsa_output.pci_1102_2_alsa_playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device=hw:0 source_name=alsa_input.pci_1102_2_alsa_capture_0'
E: module-alsa-source.c: Error opening PCM device hw:0: Device or resource busy
E: module.c: Failed to load module "module-alsa-source" (argument: "device=hw:0 source_name=alsa_input.pci_1102_2_alsa_capture_0"): initialization failed.
I: module-hal-detect.c: loaded 1 modules.
I: module.c: Loaded "module-hal-detect" (index: #1; argument: "").
E: module-protocol-stub.c: Failed to create socket directory '/tmp/.esd/socket': Operation not permitted
E: module.c: Failed to load module "module-esound-protocol-unix" (argument: ""): initialization failed.
E: main.c: Module load failed.
E: main.c: failed to initialize daemon.
I: module.c: Unloading "module-alsa-sink" (index: #0).
I: sink.c: freed 0 "alsa_output.pci_1102_2_alsa_playback_0"
I: source.c: freed 0 "alsa_output.pci_1102_2_alsa_playback_0.monitor"
I: module.c: Unloaded "module-alsa-sink" (index: #0).
I: module.c: Unloading "module-hal-detect" (index: #1).
I: module.c: Unloaded "module-hal-detect" (index: #1).
I: main.c: Daemon terminated.

lspci gives:
00:00.0 Host bridge: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 12)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 12)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 Controller (rev 12)
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 12)
00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus Controller (rev 12)
00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 12)
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AP [Radeon 9600]
01:00.1 Display controller: ATI Technologies Inc RV350 AP [Radeon 9600] (Secondary)
02:07.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08)
02:07.1 Input device controller: Creative Labs SB Live! Game Port (rev 08)
02:08.0 USB Controller: NEC Corporation USB (rev 43)
02:08.1 USB Controller: NEC Corporation USB (rev 43)
02:08.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
02:09.0 Communication controller: Conexant HSF 56k Data/Fax/Voice/Spkp Modem (rev 01)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu pulseaudio Edit question
Assignee:
No assignee Edit question
Solved by:
Greg A
Solved:
Last query:
Last reply:
Revision history for this message
Jacob Peddicord (jpeddicord) said :
#1

This may not answer your question, but PulseAudio might be running right when you login. Check your system monitor to see if it is. If not, PA is enabled by default in Hardy, which I know is a ways away, but it's got it. There isn't anything killer to gain from PA right now either, and unless there is something specific you want from it, I suggest you simply wait.

Revision history for this message
Greg A (etulfetulf) said :
#2

Its working now. I rebooted and some of the messages dissapeared. But I got a new message about file permissions. So I changed those (with "sudo chown greg .pulse-cookie") and all is working for me now.