[pulseaudio-discuss] Fwd: it's a mess here...resource busy!!!

Beinan Li li.beinan at gmail.com
Tue Dec 9 23:00:17 PST 2008


Running Ubuntu 8.04 on my HP Pavilion dv6000 laptop.
I have a USB SB Live! soundcard and a builtin AC97.
Everytime when I unplugged my USB soundcard, pulseaudio connection is
broken,
and I had to restart X to bring it back (pulseaudio -k && pulseaudio -D
doesn't do the trick).
And sometimes flash for Firefox doesn't give sound, whether I install
libflashsupport or flashplugin-nonfree.
And I constantly get message saying resource busy when I restart pulseaudio
by -k -D.

HELP!!!!!!


I pasted my `pulseaudio -vv` command output below.


E: alsa-util.c: Error opening PCM device hw:0: Device or resource busy
E: module.c: Failed to load  module "module-alsa-sink" (argument:
"device_id=0
sink_name=alsa_output.pci_8086_284b_sound_card_0_alsa_playback_0"):
initialization failed.
D: module-hal-detect.c: Not loaded device
/org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0_alsa_playback_0
D: module-hal-detect.c: Loading module-alsa-source with arguments
'device_id=0
source_name=alsa_input.pci_8086_284b_sound_card_0_alsa_capture_0'
D: alsa-util.c: Trying surround51:0...
I: alsa-util.c: PCM device surround51:0 refused our hw parameters: Invalid
argument
D: alsa-util.c: Trying surround71:0...
I: alsa-util.c: PCM device surround71:0 refused our hw parameters: Invalid
argument
D: alsa-util.c: Trying surround50:0...
I: alsa-util.c: PCM device surround50:0 refused our hw parameters: Invalid
argument
D: alsa-util.c: Trying surround41:0...
I: alsa-util.c: PCM device surround41:0 refused our hw parameters: Invalid
argument
D: alsa-util.c: Trying surround40:0...
I: alsa-util.c: PCM device surround40:0 refused our hw parameters: Invalid
argument
D: alsa-util.c: Trying front:0...
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 2
"alsa_input.pci_8086_284b_sound_card_0_alsa_capture_0" with sample spec
"s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 8 fragments of size 896 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using
hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+27
I: module.c: Loaded "module-alsa-source" (index: #2; argument: "device_id=0
source_name=alsa_input.pci_8086_284b_sound_card_0_alsa_capture_0").
D: module-hal-detect.c: Not loaded device
/org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0_alsa_hw_specific_1
D: module-hal-detect.c: Not loaded device
/org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0_alsa_hw_specific_0
D: module-hal-detect.c: Not loaded device
/org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 3 modules.
I: module.c: Loaded "module-hal-detect" (index: #3; argument: "").
D: cli-command.c: Checking for existance of
'/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #4; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #5; argument: "").
D: cli-command.c: Checking for existance of
'/usr/lib/pulse-0.9/modules/module-gconf.so': success
D: module-gconf.c: Loading module 'module-rtp-send' with args
'source=@DEFAULT_MONITOR@ loop=0' due to GConf configuration.
I: resampler.c: Forcing resampler 'copy', because of fixed, identical sample
rates.
I: resampler.c: Using resampler 'copy'
I: resampler.c: Using s16le as working format.
I: source-output.c: Created output 0 "RTP Monitor Stream" on
alsa_output.usb_device_ffffffff_ffffffff_noserial_0_sound_card_0_alsa_playback_0.monitor
with sample spec s16be 6ch 44100Hz and channel map
front-left,front-right,rear-left,rear-right,front-center,lfe
D: memblockq.c: memblockq requested: maxlength=174080, tlength=174080,
base=12, prebuf=1, minreq=0
D: memblockq.c: memblockq sanitized: maxlength=174084, tlength=174084,
base=12, prebuf=12, minreq=12
I: module-rtp-send.c: RTP stream initialized with mtu 1272 on
224.0.0.56:46058, SSRC=0x8864b52a, payload=127, initial sequence #34836
I: module-rtp-send.c: SDP-Data:
I: module-rtp-send.c: v=0
I: module-rtp-send.c: o=kakyo 3437880767 0 IN IP4 192.168.1.103
I: module-rtp-send.c: s=PulseAudio RTP Stream on kakyo-laptop
I: module-rtp-send.c: c=IN IP4 224.0.0.56
I: module-rtp-send.c: t=3437880767 0
I: module-rtp-send.c: a=recvonly
I: module-rtp-send.c: m=audio 46058 RTP/AVP 127
I: module-rtp-send.c: a=rtpmap:127 L16/44100/6
I: module-rtp-send.c: a=type:broadcast
I: module-rtp-send.c: EOF
I: module.c: Loaded "module-rtp-send" (index: #6; argument:
"source=@DEFAULT_MONITOR@ loop=0").
D: module-gconf.c: Loading module 'module-combine' with args '' due to GConf
configuration.
I: sink.c: Created sink 1 "combined" with sample spec "s16le 6ch 44100Hz"
I: source.c: Created source 3 "combined.monitor" with sample spec "s16le 6ch
44100Hz"
D: memblockq.c: memblockq requested: maxlength=174080, tlength=174080,
base=12, prebuf=1, minreq=0
D: memblockq.c: memblockq sanitized: maxlength=174084, tlength=174084,
base=12, prebuf=12, minreq=12
D: resampler.c: Channel matrix:
D: resampler.c:        I00   I01   I02   I03   I04   I05
D: resampler.c:     +------------------------------------
D: resampler.c: O00 | 1.000 0.000 0.000 0.000 0.000 0.000
D: resampler.c: O01 | 0.000 0.000 0.000 1.000 0.000 0.000
D: resampler.c: O02 | 0.500 0.500 0.000 0.000 0.000 0.000
D: resampler.c: O03 | 0.000 0.000 0.000 0.500 0.500 0.000
D: resampler.c: O04 | 0.000 0.000 1.000 0.000 0.000 0.000
D: resampler.c: O05 | 0.000 0.000 0.000 0.000 0.000 1.000
I: resampler.c: Using resampler 'trivial'
I: resampler.c: Using s16le as working format.
I: sink-input.c: Created input 0 "Simultaneous output on ALSA PCM on
surround51:1 (USB Audio) via DMA" on
alsa_output.usb_device_ffffffff_ffffffff_noserial_0_sound_card_0_alsa_playback_0
with sample spec s16le 6ch 44100Hz and channel map
front-left,side-left,front-center,front-right,side-right,lfe
I: module-combine.c: Master sink is now
'alsa_output.usb_device_ffffffff_ffffffff_noserial_0_sound_card_0_alsa_playback_0'
D: module-combine.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+26
I: module.c: Loaded "module-combine" (index: #7; argument: "").
D: module-gconf.c: Loading module 'module-rtp-recv' with args '' due to
GConf configuration.
I: module.c: Loaded "module-rtp-recv" (index: #8; argument: "").
I: module.c: Loaded "module-gconf" (index: #9; argument: "").
I: module.c: Loaded "module-volume-restore" (index: #10; argument: "").
I: module-default-device-restore.c: Manually configured default sink, not
overwriting.
D: module-default-device-restore.c: Restored default source
'alsa_input.pci_8086_284b_sound_card_0_alsa_capture_0'.
I: module.c: Loaded "module-default-device-restore" (index: #11; argument:
"").
I: module.c: Loaded "module-rescue-streams" (index: #12; argument: "").
D: module-suspend-on-idle.c: Sink combined becomes idle.
D: module-suspend-on-idle.c: Source
alsa_input.usb_device_ffffffff_ffffffff_noserial_0_sound_card_0_alsa_capture_0
becomes idle.
D: module-suspend-on-idle.c: Source
alsa_input.pci_8086_284b_sound_card_0_alsa_capture_0 becomes idle.
D: module-suspend-on-idle.c: Source combined.monitor becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #13; argument: "").
D: cli-command.c: Checking for existance of
'/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #14; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus,
path=/org/freedesktop/DBus, member=NameAcquired
I: module-suspend-on-idle.c: Sink combined idle for too long, suspending ...
D: module-suspend-on-idle.c: Sink
alsa_output.usb_device_ffffffff_ffffffff_noserial_0_sound_card_0_alsa_playback_0
becomes idle.
D: module-suspend-on-idle.c: Sink
alsa_output.usb_device_ffffffff_ffffffff_noserial_0_sound_card_0_alsa_playback_0
becomes idle.
I: sink-input.c: Freeing output 0 "Simultaneous output on ALSA PCM on
surround51:1 (USB Audio) via DMA"
I: module-combine.c: No master selected, lacking suitable outputs.
I: module-combine.c: Device suspended...
I: module-suspend-on-idle.c: Source combined.monitor idle for too long,
suspending ...
I: module-suspend-on-idle.c: Source
alsa_input.pci_8086_284b_sound_card_0_alsa_capture_0 idle for too long,
suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source
alsa_input.usb_device_ffffffff_ffffffff_noserial_0_sound_card_0_alsa_capture_0
idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Sink
alsa_output.usb_device_ffffffff_ffffffff_noserial_0_sound_card_0_alsa_playback_0
idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20081210/cb99ff7a/attachment.htm>


More information about the pulseaudio-discuss mailing list