You are not logged in.

#1 2017-06-13 04:28:37

habys
Member
From: GA
Registered: 2016-08-27
Posts: 12

Trying to transition from FFADO to ALSA

Hi, I'm trying to transition from FFADO to ALSA.
I have three Echo AudioFire12 sound cards, although I'm starting out just trying to use two.

I've seen some guides on using multiple soundcards, but with ALSA I'm not sure I can see both of the cards:

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: Generic Analog [Generic Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: Generic Digital [Generic Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: AudioFire12 [AudioFire12], device 0: Fireworks [AudioFire12 PCM]
  Subdevices: 1/1
  Subdevice #0: subdevice #0`

There are definitely two cards connected, I can use both currently with JACK + FFADO.

aplay -l

shows the same information whether or not snd_dice kernel module is loaded.

Here is some more info about the cards:

$ sudo lsfirewirephy
bus 0, node 0: 080028:434615  Texas Instruments TSB43CB43A
bus 0, node 1: 080028:434615  Texas Instruments TSB43CB43A
bus 0, node 2: 080028:831306  Texas Instruments TSB81BA3D
$ lsfirewire
fw0: Linux Firewire Juju
fw1: Echo Digital Audio AudioFire12
fw2: Echo Digital Audio AudioFire12

Output from ffado:

$ ffado-diag


FFADO diagnostic utility 2.3.0-Unversioned directory
============================
(C) 2008 Pieter Palmers
    2009-2010 Arnold Krille


=== CHECK ===
 Base system...
  kernel version............ 4.9.20-rt16-1-rt
    Preempt (low latency)... False
    RT patched.............. True
  old 1394 stack present.... False
  old 1394 stack loaded..... False
  old 1394 stack active..... False
  new 1394 stack present.... False
  new 1394 stack loaded..... True
  new 1394 stack active..... True
  /dev/raw1394 node present. False
  /dev/fw* permissions:
crw-------  1 root root  247, 0 Jun 12 20:02 /dev/fw0
crw-rw----+ 1 root audio 247, 1 Jun 12 20:02 /dev/fw1
crw-rw----+ 1 root audio 247, 2 Jun 12 20:02 /dev/fw2
  User IDs:
uid=1000(luke) gid=1000(luke) groups=1000(luke),10(wheel),92(audio)
 Prerequisites (dynamic at run-time)...
   gcc ............... gcc (GCC) 7.1.1 20170516
   g++ ............... g++ (GCC) 7.1.1 20170516
   PyQt4 (by pyuic4) . Python User Interface Compiler 4.12 for Qt version 4.8.7
   jackd ............. no message buffer overruns
     path ............ /usr/bin/jackd
     flags ........... -ljack
   libraw1394 ........ 2.1.2
     flags ........... -lraw1394
   libavc1394 ........ 0.5.4
     flags ........... -lavc1394 -lrom1394 -lraw1394
   libiec61883 ....... 1.2.0
     flags ........... -liec61883 -lraw1394
   libxml++-2.6 ...... Package libxml++-2.6 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml++-2.6.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxml++-2.6' found
     flags ........... Package libxml++-2.6 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml++-2.6.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxml++-2.6' found
   dbus-1 ............ 1.10.18
     flags ........... -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -ldbus-1
 Prerequisites (static at compile-time)...
   gcc ............... gcc (GCC) 6.3.1 20170109
   g++ ............... g++ (GCC) 6.3.1 20170109
   PyQt4 (by pyuic4) . Python User Interface Compiler 4.12 for Qt version 4.8.7
   jackd ............. jackd version 0.125.0 tmpdir /dev/shm protocol 25
     path ............ /usr/bin/jackd
     flags ........... -ljack -lpthread
   libraw1394 ........ 2.1.2
     flags ........... -lraw1394
   libavc1394 ........ 0.5.4
     flags ........... -lavc1394 -lrom1394 -lraw1394
   libiec61883 ....... 1.2.0
     flags ........... -liec61883 -lraw1394
   libxml++-2.6 ...... Package libxml++-2.6 was not found in the pkg-config search path.
     flags ........... Package libxml++-2.6 was not found in the pkg-config search path.
   dbus-1 ............ 1.10.14
     flags ........... -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -ldbus-1
 uname -a...
   Linux bmo 4.9.20-rt16-1-rt #1 SMP PREEMPT RT Mon Apr 17 22:13:26 EDT 2017 x86_64 GNU/Linux
 Hardware...
   Host controllers:
03:00.0 FireWire (IEEE 1394) [0c00]: Texas Instruments XIO2213A/B/XIO2221 IEEE-1394b OHCI Controller [Cheetah Express] [104c:823f] (rev 01) (prog-if 10 [OHCI])
	Subsystem: Device [3412:7856]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 32 (500ns min, 1000ns max)
	Interrupt: pin A routed to IRQ 17
	Region 0: Memory at dfa04000 (32-bit, non-prefetchable) [size=2K]
	Region 1: Memory at dfa00000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: firewire_ohci
	Kernel modules: firewire_ohci

   CPU info:
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                8
On-line CPU(s) list:   0-7
Thread(s) per core:    2
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 158
Model name:            Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
Stepping:              9
CPU MHz:               4599.902
CPU max MHz:           4600.0000
CPU min MHz:           800.0000
BogoMIPS:              8400.00
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              8192K
NUMA node0 CPU(s):     0-7
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp
 Configuration...
  IRQ information
Hardware Interrupts:
--------------------
 IRQ    0: PID:  None, count: [58, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['2-edge      timer']
 IRQ    1: PID:  None, count: [2, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['1-edge      i8042']
 IRQ    8: PID:  None, count: [0, 1, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['8-edge      rtc0']
 IRQ    9: PID:  None, count: [0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['9-fasteoi   acpi']
 IRQ   12: PID:  None, count: [0, 0, 0, 0, 1, 2, 1, 0], Sched None (priority None), drivers: ['12-edge      i8042']
 IRQ   16: PID:  None, count: [0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['16-fasteoi   i801_smbus']
 IRQ   17: PID:  None, count: [41, 1, 2, 1, 159, 1, 7, 7], Sched None (priority None), drivers: ['17-fasteoi   firewire_ohci']
 IRQ  122: PID:  None, count: [856, 327, 65, 117, 3210, 73, 52, 65], Sched None (priority None), drivers: ['524288-edge      amdgpu']
 IRQ  123: PID:  None, count: [2077, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['3670016-edge      nvme0q0', 'nvme0q1']
 IRQ  124: PID:  None, count: [23, 7, 5, 5, 34, 17, 13, 12], Sched None (priority None), drivers: ['327680-edge      xhci_hcd']
 IRQ  125: PID:  None, count: [0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['376832-edge      ahci']
 IRQ  126: PID:  None, count: [7, 1, 3, 0, 11, 3, 0, 4], Sched None (priority None), drivers: ['3145728-edge      xhci_hcd']
 IRQ  127: PID:  None, count: [0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['3145729-edge      xhci_hcd']
 IRQ  128: PID:  None, count: [0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['3145730-edge      xhci_hcd']
 IRQ  129: PID:  None, count: [0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['3145731-edge      xhci_hcd']
 IRQ  130: PID:  None, count: [0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['3145732-edge      xhci_hcd']
 IRQ  131: PID:  None, count: [0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['3145733-edge      xhci_hcd']
 IRQ  132: PID:  None, count: [0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['3145734-edge      xhci_hcd']
 IRQ  133: PID:  None, count: [0, 0, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['3145735-edge      xhci_hcd']
 IRQ  134: PID:  None, count: [0, 1744, 0, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['3670017-edge      nvme0q2']
 IRQ  135: PID:  None, count: [0, 0, 3355, 0, 0, 0, 0, 0], Sched None (priority None), drivers: ['3670018-edge      nvme0q3']
 IRQ  136: PID:  None, count: [0, 0, 0, 2698, 0, 0, 0, 0], Sched None (priority None), drivers: ['3670019-edge      nvme0q4']
 IRQ  137: PID:  None, count: [0, 0, 0, 0, 1893, 0, 0, 0], Sched None (priority None), drivers: ['3670020-edge      nvme0q5']
 IRQ  138: PID:  None, count: [0, 0, 0, 0, 0, 2480, 0, 0], Sched None (priority None), drivers: ['3670021-edge      nvme0q6']
 IRQ  139: PID:  None, count: [0, 0, 0, 0, 0, 0, 2100, 0], Sched None (priority None), drivers: ['3670022-edge      nvme0q7']
 IRQ  140: PID:  None, count: [0, 0, 0, 0, 0, 0, 0, 2074], Sched None (priority None), drivers: ['3670023-edge      nvme0q8']
 IRQ  141: PID:  None, count: [5, 0, 0, 0, 0, 15, 7, 5], Sched None (priority None), drivers: ['360448-edge      mei_me']
 IRQ  142: PID:  None, count: [145, 11, 0, 0, 63, 58, 202, 65], Sched None (priority None), drivers: ['514048-edge      snd_hda_intel:card0']
 IRQ  143: PID:  None, count: [52, 0, 0, 0, 0, 24, 58, 28], Sched None (priority None), drivers: ['526336-edge      snd_hda_intel:card1']
 IRQ  144: PID:  None, count: [1782, 57, 125, 1153, 811, 45, 315, 76], Sched None (priority None), drivers: ['520192-edge      enp0s31f6']

Software Interrupts:
--------------------


=== REPORT ===
FireWire kernel drivers:

The new FireWire kernel stack is loaded. 
If running a kernel earlier than 2.6.37 and problems are experienced, either 
try with the old Firewire kernel stack or upgrade to a newer kernel 
(preferrably 2.6.37 or later).

Any suggestions on how I can combine these two soundcards for use with jack? Maybe even get the third one working as well?

Offline

Board footer

Powered by FluxBB