<div dir="ltr"><div>Seems like it worked, at least for my goals.<br><br>Like you did, I tried to make changes in " install sound-slot-0 /sbin/modprobe snd-...", but nothing really changed. So I did the changes in "options snd-... index=-2 ". In Ubuntu's audio pane the usb device is still not listed. But now in alsamixer the default device is the usb, and the "mataa" software is now working with it.<br>
<br>In fact I can't produce sounds with "mataa", but I think that this is another problem. If any correlated problem appears, I'll come back for get help.<br><br></div> <div id="gt-res-content" class="">
<div dir="ltr" style="zoom:1"><span id="result_box" class="" lang="en"><span class="">I</span> <span class="">would like to</span> <span class="">be</span> <span class="">able to fix</span> <span class="">the problem</span> <span class="">at the root</span><span>,</span> <span class="">but</span> <span class="">as I am</span> <span class="">new to</span> <span class="">the Linux</span> <span class="">world</span><span>,</span> <span class="">I would not know</span> <span class="">where to begin</span><span class=""></span><span class="">.</span></span></div>
</div><div><br>Thank you very much!<br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/3/20 Len Ovens <span dir="ltr"><<a href="mailto:len@ovenwerks.net" target="_blank">len@ovenwerks.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
On Wed, March 20, 2013 12:07 pm, Rodolfo Thomazelli wrote:<br>
> Hi,<br>
><br>
> in my research I want to use an signal analyser program called "mataa", an<br>
> extension of Octave. The extension works with the default audio device.<br>
><br>
> I have an usb audio interface called scarlett 8i6. With the help of the<br>
> members of the "alsa-user" list (especially Daniel Mack, in cc:), we<br>
> resolved some problems of Ubuntu on the device configurations. Now, the<br>
> usb<br>
> device is listed as the following log shows:<br>
><br>
> /proc/asound/cards<br>
> 0 [PCH ]: HDA-Intel - HDA Intel PCH<br>
> HDA Intel PCH at 0xf7e00000 irq 45<br>
> 1 [USB ]: USB-Audio - Scarlett 8i6 USB<br>
> Focusrite Scarlett 8i6 USB at usb-0000:00:1d.0-1.2,<br>
> high speed<br>
><br>
> The problem is that the usb device is not showed in Ubuntu's audio pane,<br>
> so<br>
> I can't make it the default device. Typing F6 in alsamixer, scarlett is<br>
> listed as well, but I can't controll it or make it the default device. I<br>
> think that here is an importante information: the command "aplay<br>
> -Dplughw:USB some-test-wave.wav" returns me sound from the device output.<br>
<br>
</div>I can not tell you why your alsa device does not show up in pulseaudio, it<br>
may need a special profile. However, if your USB device is plugged into<br>
your computer all the time (from boot) you can do one of two things if<br>
your application will grab the default alsa device. What I do is change<br>
the order of card module loading. This is done in<br>
/etc/modprobe.d/alsa-base.conf<br>
<br>
There are two ways (according to on line documentation). One is to change<br>
the:<br>
install sound-slot-0 /sbin/modprobe snd-card-0<br>
install sound-slot-1 /sbin/modprobe snd-card-1<br>
etc.<br>
<br>
Lines and put snd-usb-audio where snd-card-0 is. I have not gotten that to<br>
work for me. What I did instead was tell the unwanted card to load last.<br>
Farther down in the file there are a bunch of lines with index=-2 at the<br>
end. I added these lines:<br>
# ensonic should not be first<br>
options snd-ens1370 index=-2<br>
<br>
I notice this next line is included twice (ubuntu 12.04):<br>
options snd-usb-audio index=-2<br>
<br>
You may want to put a # as the first character to comment it out. Then add<br>
a line:<br>
options snd-hda-intel index=-2<br>
<br>
It would also be worthwhile finding out why pulseaudio doesn't see the card.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Len Ovens<br>
<a href="http://www.OvenWerks.net" target="_blank">www.OvenWerks.net</a><br>
<br>
_______________________________________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@lists.freedesktop.org">pulseaudio-discuss@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss" target="_blank">http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss</a><br>
</font></span></blockquote></div><br></div>