[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
Fri Jun 5 23:47:07 PDT 2015


>>
>> Do capture work as there is no output of snd_pcm_dump of the
snd-usb-audio 's hw params ?
>>
> Well, after system restart Mic is not working, while it is available and
selected in UI.
> After single switch to Line and back to Mic it starts working fine.
> I wasn't able to reproduce it twice during working session, so, here is
verbose log of the first start right after system restart where Mic was
initially selected but didn't work, and started working after switching to
Line and back: http://pastebin.com/fr0cTUu3

During Activating path analog-input-mic,
You may need add pa_log_info() to element_set_volume() ,
element_set_switch() and element_set_option() to log  alsa mixer element
and values (mic capture volume, mic capture switch and pcm capture source)
set by pulseaudio

0.166|   0.000) D: [pulseaudio] alsa-mixer.c: Activating path
analog-input-mic
(   0.166|   0.000) D: [pulseaudio] alsa-mixer.c: Path analog-input-mic
(Microphone), direction=2, priority=87, probed=yes, supported=yes,
has_mute=yes, has_volume=yes, has_dB=yes, min_volume=0, max_volume=48,
min_dB=-12, max_dB=12
(   0.166|   0.000) D: [pulseaudio] alsa-mixer.c: Element Mic, direction=2,
switch=1, volume=1, volume_limit=-1, enumeration=0, required=0,
required_any=4, required_absent=0, mask=0x3600000000f66, n_channels=2,
override_map=yes
(   0.166|   0.000) D: [pulseaudio] alsa-mixer.c: Element PCM Capture
Source, direction=2, switch=0, volume=0, volume_limit=-1, enumeration=1,
required=0, required_any=0, required_absent=0, mask=0x0, n_channels=0,
override_map=no
(   0.166|   0.000) D: [pulseaudio] alsa-mixer.c: Option Mic
(analog-input-microphone/analog-input-microphone) index=0, priority=0
(   0.166|   0.000) D: [pulseaudio] alsa-mixer.c: Element Line,
direction=2, switch=2, volume=2, volume_limit=-1, enumeration=0,
required=0, required_any=0, required_absent=0, mask=0x6, n_channels=2,
override_map=no
(   0.166|   0.000) D: [pulseaudio] alsa-mixer.c: Jack Mic, alsa_name='Mic
Jack', detection unavailable
(   0.166|   0.000) D: [pulseaudio] alsa-mixer.c: Jack Mic Phantom,
alsa_name='Mic Phantom Jack', detection unavailable
(   0.166|   0.000) D: [pulseaudio] alsa-mixer.c: Setting
analog-input-microphone (analog-input-microphone) priority=0
(   0.166|   0.000) I: [pulseaudio] alsa-source.c: Successfully enabled
deferred volume.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20150606/fe27bb7c/attachment.html>


More information about the pulseaudio-discuss mailing list