[pulseaudio-discuss] 0.9.17 regression: USB device disappears after suspend/resume

Cameron Hutchison lists at xdna.net
Sat Sep 12 21:53:00 PDT 2009


I have a Logitech audiohub, which is a USB sound device supported by
alsa. Since upgrading pulseaudio from 0.9.15 to 0.9.17, the device
disappears after a suspend/resume cycle. Plugging and unplugging the
device does not help. The device still works in that I can play directly
through alsa. If I kill pulseaudio and restart it, it sees the USB
device again.

I used to have no problem suspending and resuming the PC when 0.9.15 was
installed.

Here's the output of -vv:
D: alsa-sink.c: Wakeup from ALSA!
I: alsa-sink.c: Underrun!
I: alsa-sink.c: Increasing minimal latency to 1.00 ms
D: alsa-sink.c: Latency set to 20.00ms
D: alsa-sink.c: hwbuf_unused=380160
D: alsa-sink.c: setting avail_min=95521
D: alsa-sink.c: Latency set to 20.00ms
D: alsa-sink.c: hwbuf_unused=380160
D: alsa-sink.c: setting avail_min=95521
D: alsa-util.c: Got POLLERR from ALSA
W: alsa-util.c: Got POLLNVAL from ALSA
D: alsa-util.c: PCM state is DISCONNECTED
I: (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_DROP failed
I: (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_PREPARE failed
W: alsa-util.c: Could not recover from POLLERR|POLLNVAL|POLLHUP with snd_pcm_prepare(): No such device
I: module.c: Unloading "module-alsa-sink" (index: #4).
D: module-always-sink.c: Autoloading null-sink as no other sinks detected.
I: module-device-restore.c: Restoring volume for sink auto_null.
I: module-device-restore.c: Restoring mute state for sink auto_null.
I: sink.c: Created sink 1 "auto_null" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: sink.c:     device.description = "Dummy Output"
I: sink.c:     device.class = "abstract"
I: sink.c:     device.icon_name = "audio-card"
I: source.c: Created source 1 "auto_null.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: source.c:     device.description = "Monitor of Dummy Output"
I: source.c:     device.class = "monitor"
I: source.c:     device.icon_name = "audio-input-microphone"
D: module-null-sink.c: Thread starting up
D: module-suspend-on-idle.c: Sink auto_null becomes idle, timeout in 5 seconds.
I: module.c: Loaded "module-null-sink" (index: #18; argument: "sink_name=auto_null sink_properties='device.description="Dummy Output"'").
D: module-rescue-streams.c: No sink inputs to move away.
D: module-rescue-streams.c: No evacuation source found.
D: core-subscribe.c: Dropped redundant event due to change event.
D: module-suspend-on-idle.c: Sink alsa_output.0.analog-stereo becomes idle, timeout in 5 seconds.
D: core.c: Hmm, no streams around, trying to vacuum.
I: source-output.c: Freeing output 0 "Peak detect"
D: core-subscribe.c: Dropped redundant event due to remove event.
D: alsa-sink.c: Thread shutting down
I: sink.c: Freeing sink 0 "alsa_output.0.analog-stereo"
I: source.c: Freeing source 0 "alsa_output.0.analog-stereo.monitor"
I: (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_DROP failed
I: (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_DROP failed
I: (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_HW_FREE failed
I: module.c: Unloaded "module-alsa-sink" (index: #4).
D: core-subscribe.c: Dropped redundant event due to change event.
D: module-stream-restore.c: Not restoring device for stream source-output-by-application-id:org.PulseAudio.pavucontrol, because already set
D: module-intended-roles.c: Not setting device for stream Peak detect, because already set.
D: module-suspend-on-idle.c: Sink auto_null becomes busy.
D: resampler.c: Channel matrix:
D: resampler.c:        I00   I01 
D: resampler.c:     +------------
D: resampler.c: O00 | 1.000 1.000
I: remap.c: Using generic matrix remapping
I: resampler.c: Using resampler 'peaks'
I: resampler.c: Using float32le as working format.
D: memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=4, prebuf=0, minreq=1 maxrewind=0
D: memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=4, prebuf=0, minreq=4 maxrewind=0
I: source-output.c: Created output 2 "Peak detect" on auto_null.monitor with sample spec float32le 1ch 25Hz and channel map mono
D: memblockq.c: memblockq requested: maxlength=4194304, tlength=0, base=4, prebuf=1, minreq=0 maxrewind=0
D: memblockq.c: memblockq sanitized: maxlength=4194304, tlength=4194304, base=4, prebuf=4, minreq=4 maxrewind=0
I: protocol-native.c: Final latency 60.00 ms = 40.00 ms + 20.00 ms
D: bluetooth-util.c: dbus: interface=org.bluez.Manager, path=/, member=AdapterAdded
D: bluetooth-util.c: Adapter /org/bluez/2426/hci0 created
D: module-console-kit.c: dbus: interface=org.bluez.Manager, path=/, member=AdapterAdded




More information about the pulseaudio-discuss mailing list