[alsa-devel] M-Audio FastTrack C400
linuxaudio at showlabor.de
Sat Apr 21 10:10:36 CEST 2012
2012/4/21 Chris Cavey <chris-alsa at rauros.net>:
> The C400 appears to be UAC2 device.
How do you come to this conclusion?
> I copied the FIXED_ENDPOINT quirk descriptor from the FTU and trying to
> slam in workable values
That's a good idea given that the C400 is said to use the same chip as the FTU.
>(channels = 2, ifnum = 2).
Why do you use channels=2. As fas as I can tell the device has 6
channels. Try that.
> Except I can't get it to play anything (figure it would all be too good
> to be true)
> $ speaker-test -Dfront:C400
> speaker-test 1.0.25
> Playback device is front:C400
> Stream parameters are 48000Hz, S16_LE, 1 channels
> Using 16 octaves of pink noise
> Sample format not available for playback: Invalid argument
> Setting of hwparams failed: Invalid argument
The device probably supports only S24_3LE audio. At least that's what
you tell Alsa with the FTU quirk. Try to play something through the
corresponding hw device or use Jack or convert some audio file to
S24_3LE and play through aplay etc...
> $ amixer contents
> numid=1,iface=MIXER,name='PCM Clock Source'
> ; type=ENUMERATED,access=rw------,values=1,items=2
> ; Item #0 'Unit 129'
> ; Item #1 'Unit 130'
> : values=0
That's good. Probably we won't need to implement a custom clock source
switch for this device.
Nevertheless, I'll try to come up with a quirk that might get the
mixer working. Might take a couple of days.
More information about the Alsa-devel