[pulseaudio-discuss] Failure to create alsa source

Jenn and Alan Atherton theathertons at gmail.com
Sat Feb 27 01:43:50 PST 2010


Hello,

I am having trouble getting the microphone on my webcam to work with pulse.
What's odd is that it works just fine with ALSA, and pulse sees the device
(and gives it a mono input profile), but at some point the input source
isn't available.  I am using Ubuntu 9.10, but with pulseaudio 0.9.21 and
ALSA 1.0.22 from an unstable repository.  I believe it's something in the
pulseaudio side of things, since the device works fine with ALSA directly
(e.g., through audacity).  I want to get it working with pulse, though, for
Skype, which fairly recently moved to pulse exclusively.  I'm hoping this
isn't a bug and merely a configuration issue, but I am not savvy with alsa
or pulse, so I don't know what/where to tweak.  The critical lines in the
pulse output are the last few that I've included in the long (post-message)
excerpt from pulseaudio -vvv

W: alsa-util.c: Unable to set sw params: No such device
E: alsa-source.c: Failed to set software parameters: No such device

So it's saying there's no such device, where it looks like prior to that
it's configuring it just fine.  Is there a way I can change the device name,
to see if something there might be causing the problem?  Or it may have to
do with the last line:

I: source.c: Freeing source 0
"alsa_input.usb-046d_09a1_D1208320-02.analog-mono"

This makes it almost seem like it loads it all, and then simply decides to
unload it.  I do have a sound card that can also record audio.  Is there a
way I can temporarily prevent that card from loading to see if it's the
cause of the problem?  I realize this is probably covered somewhere, but I
have spent about 6 hours searching for information on this problem already
with little success.  I would be happy to read relevant documentation.

Thank you for your help.
- Alan

I: alsa-util.c: Device hw:1 doesn't support 44100 Hz, changed to 16000 Hz.
I: alsa-util.c: Failed to set hardware parameters on plug:front:1: Invalid
argument
I: alsa-util.c: Failed to set hardware parameters on plug:hw:1: Invalid
argument
I: alsa-util.c: Failed to set hardware parameters on plug:iec958:1: Invalid
argument
I: alsa-util.c: Failed to set hardware parameters on plug:iec958:1: Invalid
argument
I: card.c: Created 0 "alsa_card.usb-046d_09a1_D1208320-02"
N: alsa-util.c: Disabling timer-based scheduling because high-resolution
timers are not available from the kernel.
I: alsa-util.c: Device hw:1 doesn't support 44100 Hz, changed to 16000 Hz.
I: alsa-source.c: Successfully opened device hw:1.
I: alsa-source.c: Selected mapping 'Analog Mono' (analog-mono).
I: alsa-source.c: Successfully enabled mmap() mode.
I: alsa-mixer.c: Successfully attached to mixer 'hw:1'
W: alsa-mixer.c: Your kernel driver is broken: it reports a volume range
from 18.00 dB to 18.00 dB which makes no sense.
I: source.c: Created source 0
"alsa_input.usb-046d_09a1_D1208320-02.analog-mono" with sample spec s16le
1ch 16000Hz and channel map mono
I: source.c:     alsa.resolution_bits = "16"
I: source.c:     device.api = "alsa"
I: source.c:     device.class = "sound"
I: source.c:     alsa.class = "generic"
I: source.c:     alsa.subclass = "generic-mix"
I: source.c:     alsa.name = "USB Audio"
I: source.c:     alsa.id = "USB Audio"
I: source.c:     alsa.subdevice = "0"
I: source.c:     alsa.subdevice_name = "subdevice #0"
I: source.c:     alsa.device = "0"
I: source.c:     alsa.card = "1"
I: source.c:     alsa.card_name = "USB Device 0x46d:0x9a1"
I: source.c:     alsa.long_card_name = "USB Device 0x46d:0x9a1 at
usb-0000:00:13.2-5, high speed"
I: source.c:     alsa.driver_name = "snd_usb_audio"
I: source.c:     device.bus_path = "pci-0000:00:13.2-usb-0:5:1.2"
I: source.c:     sysfs.path =
"/devices/pci0000:00/0000:00:13.2/usb1/1-5/1-5:1.2/sound/card1"
I: source.c:     udev.id = "usb-046d_09a1_D1208320-02"
I: source.c:     device.bus = "usb"
I: source.c:     device.vendor.id = "046d"
I: source.c:     device.vendor.name = "Logitech, Inc."
I: source.c:     device.product.id = "09a1"
I: source.c:     device.product.name = "QuickCam Communicate MP/S5500"
I: source.c:     device.serial = "046d_09a1_D1208320"
I: source.c:     device.form_factor = "webcam"
I: source.c:     device.string = "hw:1"
I: source.c:     device.buffering.buffer_size = "2560"
I: source.c:     device.buffering.fragment_size = "320"
I: source.c:     device.access_mode = "mmap"
I: source.c:     device.profile.name = "analog-mono"
I: source.c:     device.profile.description = "Analog Mono"
I: source.c:     device.description = "QuickCam Communicate MP/S5500 Analog
Mono"
I: source.c:     alsa.mixer_name = "USB Mixer"
I: source.c:     alsa.components = "USB046d:09a1"
I: source.c:     module-udev-detect.discovered = "1"
I: source.c:     device.icon_name = "camera-web-usb"
I: alsa-source.c: Using 8.0 fragments of size 320 bytes (10.00ms), buffer
size is 2560 bytes (80.00ms)
W: alsa-util.c: Unable to set sw params: No such device
E: alsa-source.c: Failed to set software parameters: No such device
I: source.c: Freeing source 0
"alsa_input.usb-046d_09a1_D1208320-02.analog-mono"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20100227/448d66e8/attachment.htm>


More information about the pulseaudio-discuss mailing list