[pulseaudio-discuss] failure to open pcm for input only device blocks PA

Lennart Poettering lennart at poettering.net
Mon Feb 1 23:41:15 PST 2010


On Sun, 31.01.10 11:50, Brian J. Murrell (brian at interlinx.bc.ca) wrote:

> D: module-udev-detect.c: /dev/snd/controlC1 is accessible: yes
> D: module-udev-detect.c: /devices/pci0000:00/0000:00:0b.1/usb1/1-1/1-1:1.2/sound/card1 is busy: no
> D: module-udev-detect.c: Loading module-alsa-card with arguments 'device_id="1" name="usb-046d_08c5-02" card_name="alsa_card.usb-046d_08c5-02" tsched=yes ignore_dB=no card_properties="module-udev-detect.discovered=1"'
> D: dbus-util.c: Successfully connected to D-Bus session bus c8a62f743dbcc8c4ef15bc284b5cc3bd as :1.1157
> D: reserve-wrap.c: Successfully acquired reservation lock on device 'Audio1'
> D: alsa-mixer.c: Looking at profile output:analog-mono
> D: alsa-mixer.c: Checking for playback on Analog Mono (analog-mono)
> D: alsa-util.c: Trying hw:1 with SND_PCM_NO_AUTO_FORMAT ...
> I: (alsa-lib)pcm_hw.c: open /dev/snd/pcmC1D0p failed
> I: alsa-util.c: Error opening PCM device hw:1: No such file or directory
> D: alsa-mixer.c: Looking at profile output:analog-mono+input:analog-mono
> D: alsa-mixer.c: Checking for playback on Analog Mono (analog-mono)
> D: alsa-util.c: Trying hw:1 with SND_PCM_NO_AUTO_FORMAT ...
> I: (alsa-lib)pcm_hw.c: open /dev/snd/pcmC1D0p failed
> I: alsa-util.c: Error opening PCM device hw:1: No such file or
> directory


PA correctl fails in opening the device for playback, so everything is
behaving right here.

> ...
> D: alsa-mixer.c: Looking at profile input:analog-mono
> D: alsa-mixer.c: Checking for recording on Analog Mono (analog-mono)
> D: alsa-util.c: Trying hw:1 with SND_PCM_NO_AUTO_FORMAT ...
> D: alsa-util.c: Managed to open hw:1
> D: alsa-util.c: Maximum hw buffer size is 32768 ms
> I: (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_HW_PARAMS failed
> I: (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_HW_PARAMS failed
> I: (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_HW_PARAMS failed
> I: (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_HW_PARAMS failed
> D: alsa-util.c: Set neither period nor buffer size.
> I: (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_HW_PARAMS failed
> I: alsa-util.c: snd_pcm_hw_params failed: Connection timed out
> D: alsa-util.c: Trying hw:1 without SND_PCM_NO_AUTO_FORMAT ...
> D: alsa-util.c: Managed to open hw:1
> D: alsa-util.c: Maximum hw buffer size is 32768 ms
> I: (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_HW_PARAMS failed
> I: (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_HW_PARAMS failed
> I: (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_HW_PARAMS failed
> I: (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_HW_PARAMS failed
> D: alsa-util.c: Set neither period nor buffer size.
> I: (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_HW_PARAMS failed
> I: alsa-util.c: snd_pcm_hw_params failed: Connection timed out
> ...

This is the problem. The driver is unable to configure the device
properly. This is a driver issue, not PA. Please contact your kernel
maintainers. You might find more information in dmesg.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



More information about the pulseaudio-discuss mailing list