Hello,<br><div class="gmail_quote"><br>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<br>
<br>W: alsa-util.c: Unable to set sw params: No such device<br>E: alsa-source.c: Failed to set software parameters: No such device<br><br>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:<br>
<br>I: source.c: Freeing source 0 "alsa_input.usb-046d_09a1_D1208320-02.analog-mono"<br><br>
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.<br>
<br>Thank you for your help.<br>- Alan<br><br>I: alsa-util.c: Device hw:1 doesn't support 44100 Hz, changed to 16000 Hz.<br>I: alsa-util.c: Failed to set hardware parameters on plug:front:1: Invalid argument<br>I: alsa-util.c: Failed to set hardware parameters on plug:hw:1: Invalid argument<br>
I: alsa-util.c: Failed to set hardware parameters on plug:iec958:1: Invalid argument<br>I: alsa-util.c: Failed to set hardware parameters on plug:iec958:1: Invalid argument<br>I: card.c: Created 0 "alsa_card.usb-046d_09a1_D1208320-02"<br>
N: alsa-util.c: Disabling timer-based scheduling because high-resolution timers are not available from the kernel.<br>I: alsa-util.c: Device hw:1 doesn't support 44100 Hz, changed to 16000 Hz.<br>I: alsa-source.c: Successfully opened device hw:1.<br>
I: alsa-source.c: Selected mapping 'Analog Mono' (analog-mono).<br>I: alsa-source.c: Successfully enabled mmap() mode.<br>I: alsa-mixer.c: Successfully attached to mixer 'hw:1'<br>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.<br>
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<br>I: source.c: alsa.resolution_bits = "16"<br>I: source.c: device.api = "alsa"<br>
I: source.c: device.class = "sound"<br>I: source.c: alsa.class = "generic"<br>I: source.c: alsa.subclass = "generic-mix"<br>I: source.c: <a href="http://alsa.name" target="_blank">alsa.name</a> = "USB Audio"<br>
I: source.c: <a href="http://alsa.id" target="_blank">alsa.id</a> = "USB Audio"<br>I: source.c: alsa.subdevice = "0"<br>I: source.c: alsa.subdevice_name = "subdevice #0"<br>I: source.c: alsa.device = "0"<br>
I: source.c: alsa.card = "1"<br>I: source.c: alsa.card_name = "USB Device 0x46d:0x9a1"<br>I: source.c: alsa.long_card_name = "USB Device 0x46d:0x9a1 at usb-0000:00:13.2-5, high speed"<br>
I: source.c: alsa.driver_name = "snd_usb_audio"<br>I: source.c: device.bus_path = "pci-0000:00:13.2-usb-0:5:1.2"<br>I: source.c: sysfs.path = "/devices/pci0000:00/0000:00:13.2/usb1/1-5/1-5:1.2/sound/card1"<br>
I: source.c: <a href="http://udev.id" target="_blank">udev.id</a> = "usb-046d_09a1_D1208320-02"<br>I: source.c: device.bus = "usb"<br>I: source.c: <a href="http://device.vendor.id" target="_blank">device.vendor.id</a> = "046d"<br>
I: source.c: <a href="http://device.vendor.name" target="_blank">device.vendor.name</a> = "Logitech, Inc."<br>I: source.c: <a href="http://device.product.id" target="_blank">device.product.id</a> = "09a1"<br>
I: source.c: <a href="http://device.product.name" target="_blank">device.product.name</a> = "QuickCam Communicate MP/S5500"<br>
I: source.c: device.serial = "046d_09a1_D1208320"<br>I: source.c: device.form_factor = "webcam"<br>I: source.c: device.string = "hw:1"<br>I: source.c: device.buffering.buffer_size = "2560"<br>
I: source.c: device.buffering.fragment_size = "320"<br>I: source.c: device.access_mode = "mmap"<br>I: source.c: <a href="http://device.profile.name" target="_blank">device.profile.name</a> = "analog-mono"<br>
I: source.c: device.profile.description = "Analog Mono"<br>I: source.c: device.description = "QuickCam Communicate MP/S5500 Analog Mono"<br>I: source.c: alsa.mixer_name = "USB Mixer"<br>
I: source.c: alsa.components = "USB046d:09a1"<br>I: source.c: module-udev-detect.discovered = "1"<br>I: source.c: device.icon_name = "camera-web-usb"<br>I: alsa-source.c: Using 8.0 fragments of size 320 bytes (10.00ms), buffer size is 2560 bytes (80.00ms)<br>
W: alsa-util.c: Unable to set sw params: No such device<br>E: alsa-source.c: Failed to set software parameters: No such device<br>I: source.c: Freeing source 0 "alsa_input.usb-046d_09a1_D1208320-02.analog-mono"<br>
<br>
</div><br>