<p><br>
>><br>
>> Do capture work as there is no output of snd_pcm_dump of the snd-usb-audio 's hw params ?<br>
>><br>
> Well, after system restart Mic is not working, while it is available and selected in UI.<br>
> After single switch to Line and back to Mic it starts working fine.<br>
> 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: <a href="http://pastebin.com/fr0cTUu3">http://pastebin.com/fr0cTUu3</a><br></p>
<p>( 0.119| 0.000) I: [pulseaudio] (alsa-lib)conf.c: Unknown parameter 1</p>
<p>( 0.119| 0.000) I: [pulseaudio] (alsa-lib)conf.c: Parse arguments error: No such file or directory</p>
<p>( 0.119| 0.000) I: [pulseaudio] (alsa-lib)control.c: Invalid CTL hw:2,1,0</p>
<p>( 0.119| 0.000) I: [pulseaudio] alsa-util.c: Unable to attach to mixer hw:2,1,0: No such file or directory</p>
<p>( 0.119| 0.000) I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:2'<br></p>
<p>These messages can be avoided by not try pcm name first in alsa-util.c</p>
<p>Do those IO/EXT plugin expose ctl device as pcm name ?<br></p>
<p> if ((err = snd_mixer_open(&m, 0)) < 0) {<br>
pa_log("Error opening mixer: %s", pa_alsa_strerror(err));<br>
return NULL;<br>
}</p>
<p> /* First, try by name */<br>
+/*<br>
if ((dev = snd_pcm_name(pcm)))<br>
if (prepare_mixer(m, dev) >= 0) {<br>
if (ctl_device)<br>
*ctl_device = pa_xstrdup(dev);</p>
<p> return m;<br>
}<br>
+*/<br>
/* Then, try by card index */<br>
if (snd_pcm_info(pcm, info) >= 0) {<br>
char *md;<br>
int card_idx;</p>
<p> if ((card_idx = snd_pcm_info_get_card(info)) >= 0) {</p>
<p> md = pa_sprintf_malloc("hw:%i", card_idx);<br></p>
<p>You can try comiling and running pulseaudio from git without installing</p>
<p><a href="http://colin.guthr.ie/2010/09/compiling-and-running-pulseaudio-from-git/">http://colin.guthr.ie/2010/09/compiling-and-running-pulseaudio-from-git/</a></p>