[pulseaudio-discuss] [PATCH] Added support for Creative SoundBlaster Omni Surround 5.1 USB sound card. Mic and Line in inputs were not working at all.

Raymond Yau superquad.vortex2 at gmail.com
Wed Jun 3 22:42:47 PDT 2015


0.098|   0.000) D: [pulseaudio] alsa-util.c:
snd_pcm_hw_params_set_channels(4) failed: Invalid argument

   0.098|   0.000) D: [pulseaudio] alsa-mixer.c: Skipping profile
output:analog-surround-40+input:analog-stereo-input - will not be able to
open output:analog-surround-40

Seem not support 4 channels playback which is different from your claim

But 41 is supported

   0.098|   0.000) D: [pulseaudio] alsa-mixer.c: Looking at profile
output:analog-surround-41
(   0.098|   0.000) D: [pulseaudio] alsa-mixer.c: Checking for playback on
Analog Surround 4.1 (analog-surround-41)
(   0.098|   0.000) D: [pulseaudio] alsa-util.c: Trying surround41:1 with
SND_PCM_NO_AUTO_FORMAT ...
(   0.098|   0.000) D: [pulseaudio] alsa-util.c: Managed to open
surround41:1
(   0.098|   0.000) I: [pulseaudio] alsa-util.c: Disabling tsched mode
since BATCH flag is set
(   0.098|   0.000) D: [pulseaudio] alsa-util.c: Maximum hw buffer size is
1213 ms
(   0.099|   0.000) D: [pulseaudio] alsa-util.c: Set buffer size first (to
4797 samples), period size second (to 1199 samples).
(   0.099|   0.000) I: [pulseaudio] alsa-util.c: Device surround41:1
doesn't support 44100 Hz, changed to 48000 Hz.
(   0.099|   0.000) D: [pulseaudio] alsa-mixer.c: Profile
output:analog-surround-41 supported.

Your capture device 1 seem support S24_3LE

0.101|   0.000) D: [pulseaudio] alsa-util.c: Managed to open hw:1,1,0
(   0.101|   0.000) I: [pulseaudio] alsa-util.c: Disabling tsched mode
since BATCH flag is set
(   0.101|   0.000) D: [pulseaudio] alsa-util.c: Maximum hw buffer size is
3640 ms
(   0.101|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c:
SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
(   0.101|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c:
SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
(   0.102|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c:
SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
(   0.102|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c:
SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
(   0.102|   0.000) D: [pulseaudio] alsa-util.c: Set neither period nor
buffer size.
(   0.103|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c:
SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
(   0.103|   0.000) I: [pulseaudio] alsa-util.c: snd_pcm_hw_params failed:
Input/output error

(   0.103|   0.000) D: [pulseaudio] alsa-util.c: Trying hw:1,1,0 without
SND_PCM_NO_AUTO_FORMAT ...
(   0.103|   0.000) D: [pulseaudio] alsa-util.c: Managed to open hw:1,1,0
(   0.103|   0.000) I: [pulseaudio] alsa-util.c: Disabling tsched mode
since BATCH flag is set
(   0.103|   0.000) D: [pulseaudio] alsa-util.c: Maximum hw buffer size is
3640 ms
(   0.104|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c:
SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
(   0.104|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c:
SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
(   0.104|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c:
SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
(   0.105|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c:
SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
(   0.105|   0.000) D: [pulseaudio] alsa-util.c: Set neither period nor
buffer size.
(   0.105|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c:
SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
(   0.105|   0.000) I: [pulseaudio] alsa-util.c: snd_pcm_hw_params failed:
Input/output error

Not sure why it fail with Input/output error

(   0.105|   0.000) D: [pulseaudio] alsa-util.c: Trying plug:hw:1,1,0 with
SND_PCM_NO_AUTO_FORMAT ...

Seem default format change to S24_3LE

0.065|   0.000) D: [pulseaudio] alsa-util.c:
snd_pcm_hw_params_set_format(Signed 24 bit Little Endian in 3bytes) failed:
Invalid argument
(   0.065|   0.000) D: [pulseaudio] alsa-util.c:
snd_pcm_hw_params_set_format(Signed 24 bit Big Endian in 3bytes) failed:
Invalid argument
(   0.065|   0.000) D: [pulseaudio] alsa-util.c:
snd_pcm_hw_params_set_format(Float 32 bit Little Endian) failed: Invalid
argument
(   0.065|   0.000) D: [pulseaudio] alsa-util.c:
snd_pcm_hw_params_set_format(Float 32 bit Big Endian) failed: Invalid
argument

pactl list sinks

How many profiles supported by omni ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20150604/542cf5d3/attachment.html>


More information about the pulseaudio-discuss mailing list