I am struggling to persuade ALSA to separate the front and rear outputs of my Native Instruments Traktor Audio 2 external USB soundcard and would really appreciate help.
USB Vendor ID: 17cc, USB Product ID: 1330. Noted as I suspect there are different generations of the card (more in footnote).
Fedora 23.
Relevant ALSA FAQ - splitting front and rear outputs, .asoundrc as per FAQ copied below.
As you'll guess - the problem is that it is not working for me.
I am after any help you can be provide, but the questions that come to mind are:
- Is there a way to via logs to debug ALSA's card configuration and read of the .asoundrc?
- If I was to start afresh and create a new .asoundrc -- how would I figure out the bindings, ttable, etc, settings?
I know the card can output separately as it is splitable at the pulseaudio level using these instructions.
.asoundrc
pcm.dshare { type dmix ipc_key 2048 slave { pcm "hw:0" rate 44100 period_time 0 period_size 1024 buffer_size 8192 channels 4 } bindings { 0 0 1 1 2 2 3 3 } } pcm.frontx { type plug slave { pcm "dshare" channels 4 } ttable.0.0 1 ttable.1.1 1 } pcm.rearx { type plug slave { pcm "dshare" channels 4 } ttable.0.2 1 ttable.1.3 1 }
aplay -l
**** List of PLAYBACK Hardware Devices **** card 0: SB [HDA ATI SB], device 0: ALC892 Analog [ALC892 Analog] Subdevices: 0/1 Subdevice #0: subdevice #0 card 0: SB [HDA ATI SB], device 1: ALC892 Digital [ALC892 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3] Subdevices: 1/1 Subdevice #0: subdevice #0 card 3: MK2 [Traktor Audio 2 MK2], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0
Adjustments tried...
pcm "hw:0" to reflect card on "hw:3" - also tried "hw:3,0", "hw:3,0,0"
pcm "hw:0" to name rather than number "hw:MK2" - also tried "hw:MK2,0", "hw:MK2,0,0"
pcm "hw:0" to plughw rather than hw - "plughw:3" and "plughw:MK2"
Additional notes on suspicion of older generations with different internals:
- Mixxx Wiki page for Traktor Audio 2 with .asoundrc appears to refer to two sub-devices ("hw:TraktorAudio2,0,0" and "hw:TraktorAudio2,0,1"); where as I believe I only have one. I believe this as using these instructions only results in one selectable card named djA in Mixxx and
aplay -l
states the card only has one sub-device. - udev has a pulseaudio configuration file,
native-instruments-traktor-audio2.conf
that is referenced from/usr/lib/udev/rules.d/90-pulseaudio.rules
if the device's vendor ID is 17cc and product ID 041d. Same vendor, different ID to my card (1330).
aplay -l
.hw:3
orhw:MK2
would be correct. What is the error message when you try to useaplay
with thefrontx
/rearx
devices?