<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I add the following option in my alsa.conf file.<br>
<br>
Under gentoo this sits in /etc/modprobe.d - ymmv.<br>
<br>
<br>
<i><b>options snd-usb-audio index=2,3,4,5,6,7,8</b></i><br>
<br>
This forces USB devices to be allocated from device id 2 through to
8. <br>
<br>
I need to do this as I typically have two or three USB MIDI devices
connected that are also treated as USB audio devices. I also have
two onboard NVidia devices that I want always see at 0 and 1.<br>
<br>
We currently plug in a USB headset, and will soon be plugging in USB
MIDI Tally Light devices too, so we will need the comma separated
list too.<br>
<br>
As an additional level of assurance, the following bash script
should also detect our correct sound card. Set SND_NAME to the
device name we are expecting to use - cat /proc/asound/cards will
show them all.<br>
<br>
<i><b>SND_NAME="NVidia"<br>
<br>
SND_DEV=`egrep "\[${SND_NAME}[ ]*\]" /proc/asound/cards | awk '{
print "hw:"$1 }'`<br>
<br>
echo Using $SND_DEV as our ALSA device</b></i><br>
<br>
Regards,<br>
<br>
Euan.<br>
<br>
<br>
<br>
On 02/15/12 14:56, Jason Nicholls wrote:
<blockquote
cite="mid:CAFFDWXqyHZcdKZZQFp8CGd3yuLgROS0+XOFi+_Xq+enCre+5wQ@mail.gmail.com"
type="cite"><br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>
<p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">We
need to setup a better process for starting all the
services, and a means to actually monitor in realtime
what is being recorded/streamed.</p>
</div>
</div>
</blockquote>
<div><br>
Yeah that was always the intent once things stabilized a bit
but that hasn't happened yet thanks to changing equipment,
flaky software (i.e. fw dying / needing human fixing),
software updates, and boxes breaking :( Still, we can probably
do better.<br>
<br>
It would be nice with some more reliable equipment - James any
progress on the grant!??!?!?!<br>
<br>
<br>
</div>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>
<p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Also
the alsa capture script needs to be reworked to always
use the correct device. We can configure alsa to force
the internal card to always get a fixed id, our usea
name based lookup.</p>
</div>
</div>
</blockquote>
<div><br>
Ah this may have been caused by having the USB headset plugged
in at boot? Unfortunately it seems to bump the onboard USB
audio...<br>
<br>
</div>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>
<p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">I
have a few ideas that I'll try and develop further, but
I'd welcome any suggestions. James I may want to grab
the av2 box and a camera for a bit to try out some
stuff. I'll give you a call later on that.</p>
</div>
</div>
</blockquote>
<div><br>
I don't think the setup process etc... has been updated since
I last touched it. I think that's the place to start and then
we can look at ways to automate bits. <a
moz-do-not-send="true"
href="http://www.plug.org.au/projects/video/setupprocedure">http://www.plug.org.au/projects/video/setupprocedure</a><br>
<br>
<br>
<br>
Jason Nicholls<br>
</div>
</div>
<a moz-do-not-send="true" href="mailto:jason@mindsocket.com.au"
target="_blank">jason@mindsocket.com.au</a><br>
0430 314 857<br>
<br>
</blockquote>
<br>
</body>
</html>