Hi Len!<br><br>Thanks for your reply but it seems like half an answer to me as you didn't tell me what to do with the output of arecord -L?<br><br>I found a seemingly relevant thread on the LM forums where someone managed to get their SPDIF working under JACK by writing a custom ALSA config file but there wasn't quite enough hand-holding to get things working for me unfortunately. I have posted all the previously mentioned info on my device as well as the output of arecord -L to<br>
<br><a href="http://linuxmusicians.com/viewtopic.php?f=27&t=8898">http://linuxmusicians.com/viewtopic.php?f=27&t=8898</a><br><br>Thanks for your help Len and anyone else who can offer me any guidance here!<br><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Nov 12, 2012 at 9:00 PM, Len Ovens <span dir="ltr"><<a href="mailto:len@ovenwerks.net" target="_blank">len@ovenwerks.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
On Mon, November 12, 2012 12:11 pm, Dan MacDonald wrote:<br>
> Hello LA land!<br>
><br>
> I got a Startech USB audio device based on the C-Media CM6206 purely in<br>
> the<br>
> hope of being able to use its S/PDIF input under JACK. It runs JACK just<br>
> fine, I just don't know how I might access the SPDIF input (or even the<br>
> line-in, just out of interest) from under JACK?<br>
><br>
> When I run alsamixer and switch to viewing the capture ports of the cm6206<br>
> there are 4 capture channels - PCM, Line, Mic and S/PDIF In but under JACK<br>
> I only get 2 capture ports which are the L and R analogue mic input<br>
> channels. I can also see the light emitting from the S/PDIF out port so I<br>
> am confident the S/PDIF should work and hopefully under JACK.<br>
<br>
</div>Ok, first thing to try is to make sure you can see the s/pdif inout with<br>
alsa. audacity or arecord should be able to record audio (audacity<br>
provides metering which may make things easier). alsamixer does not show<br>
capture ports it shows volume controls or switches. Often you would have 3<br>
or 4 inputs that are switched/mixed to give one stereo input. So making<br>
sure your s/pdif channel is on/unmuted/turned up is the first step. You<br>
may wish to mute Line and Mic while playing with it. You probably (from<br>
what you have said) have:<br>
<br>
Mic-------------\<br>
                 \<br>
Line----------| Mixer |------PCM------>ALSA-->Jack<br>
                 /<br>
S/PDIF----------/<br>
<br>
Each line here would be a stereo path (two Channels).<br>
<br>
In other words I think you will find there are only two input channels to<br>
ALSA.<br>
<div class="im"><br>
<br>
> card 2: Device [USB Sound Device], device 0: USB Audio [USB Audio]<br>
>   Subdevices: 1/1<br>
>   Subdevice #0: subdevice #0<br>
<br>
</div>Assuming this is the device notice this doesn't shows number of channels.<br>
<div class="im"><br>
>  11: [ 2- 0]: digital audio playback<br>
>  12: [ 2- 0]: digital audio capture<br>
>  13: [ 2]   : control<br>
>  33:        : timer<br>
<br>
</div>Or this... but they don't on my 4channel+spdif card either.<br>
<br>
Try arecord -L<br>
(Capital L)<br>
<br>
It still doesn't show number of outputs directly but rather choices, There<br>
it lists stereo as:<br>
front:CARD=M66,DEV=0<br>
    M Audio Delta 66, ICE1712 multi<br>
    Front speakers<br>
and spdif as:<br>
iec958:CARD=M66,DEV=0<br>
    M Audio Delta 66, ICE1712 multi<br>
    IEC958 (S/PDIF) Digital Audio Output<br>
To use my 4 analog inputs I would use:<br>
surround40:CARD=M66,DEV=0<br>
    M Audio Delta 66, ICE1712 multi<br>
    4.0 Surround output to Front and Rear speakers<br>
This one here _might_ be my analog inputs plus spdif:<br>
surround51:CARD=M66,DEV=0<br>
    M Audio Delta 66, ICE1712 multi<br>
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers<br>
I say might be because jack actually show 12 inputs:<br>
   1-4 are analog<br>
   5-8 are not used but defined for the ice1712<br>
   9-10 spdif<br>
   11-12 monitor mixer output<br>
So the last two inputs in 5.1 might actually be the dead inputs 5-6<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Len Ovens<br>
<a href="http://www.OvenWerks.net" target="_blank">www.OvenWerks.net</a><br>
<br>
</font></span></blockquote></div><br></div>