hi,
Am Dienstag, 16. Juni 2020, 14:18:29 CEST schrieb Takashi Sakamoto:
On Tue, Jun 16, 2020 at 10:11:57AM +0200, m.eik michalke wrote:
i'm trying to get a presonus StudioLive 24.4.2 up and running: https://www.presonus.com/products/studiolive-24.4.2
so far i'm partly successful -- looks like the board is automatically detected and supported by the firewire dice module.
Thanks for your trial to the device. For my information, would you show your kernel version?
$ uname -a Linux yrla 5.3.0-59-generic #53~18.04.1-Ubuntu SMP Thu Jun 4 14:58:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
however, i'm only offered 16 of the 24 supported audio channels. in the list of soundcards it is merely shown as "studiolive" without further info on the model. i wasn't able to find further info on this board's status with regards to alsa, so if there's documentation on this somewhere, could someone please point me to it?
I guess that Dice ASIC in your device can process two pairs of isochronous packet streams. In the case, the driver adds two PCM devices to system. I think you saw the first PCM device and it can handle 16 PCM channels. Another can handle the rest 8 channels.
i see.
Would you find below procfs nodes and dump their contents?
- /proc/asound/cardX/firewire/dice
- /proc/asound/cardX/firewire/formation
$ cat /proc/asound/cards [...] 4 [StudioLive ]: DICE - StudioLive PreSonus STUDIOLIVE_2442 (serial xxxxxxx) at fw1.0, S400
$ cat /proc/asound/card4/firewire/dice sections: global: offset 10, size 90 tx: offset 100, size 142 rx: offset 242, size 282 ext_sync: offset 524, size 4 unused2: offset 0, size 0 global: owner: ffc1:000100000000 notification: 00000020 nick name: StudioLive clock select: internal 44100 enable: 0 status: locked 44100 ext status: 00000000 sample rate: 44100 version: 1.0.4.0 clock caps: 44100 48000 arx1 arx2 internal clock source names: AES12\SPDIF\AES56\AES78\AES_ANY\ADAT\ADAT_AUX\Word Clock \Unused\Unused\Unused\Unused\Internal\ tx 0: iso channel: -1 audio channels: 16 midi ports: 0 speed: S400 names: Ch 1\Ch 2\Ch 3\Ch 4\Ch 5\Ch 6\Ch 7\Ch 8\Ch 9\Ch 10\Ch 11\Ch 12\Ch 13\Ch 14\Ch 15\Ch 16\ ac3 caps: 00000000 ac3 enable: 00000000 tx 1: iso channel: -1 audio channels: 16 midi ports: 0 speed: S400 names: Ch 17\Ch 18\Ch 19\Ch 20\Ch 21\Ch 22\Ch 23\Ch 24\Auxiliary Ch 25\Auxiliary Ch 26\Auxiliary Ch 27\Auxiliary Ch 28\Auxiliary Ch 29\Auxiliary Ch 30\Auxiliary Ch 31\Auxiliary Ch 32\ ac3 caps: 00000000 ac3 enable: 00000000 rx 0: iso channel: -1 sequence start: 0 audio channels: 16 midi ports: 0 names: Ch 1\Ch 2\Ch 3\Ch 4\Ch 5\Ch 6\Ch 7\Ch 8\Ch 9\Ch 10\Ch 11\Ch 12\Ch 13\Ch 14\Ch 15\Ch 16\ ac3 caps: 00000000 ac3 enable: 00000000 rx 1: iso channel: -1 sequence start: 0 audio channels: 10 midi ports: 0 names: Ch 17\Ch 18\Ch 19\Ch 20\Ch 21\Ch 22\Ch 23\Ch 24\2TrackIn L\2TrackIn R \ ac3 caps: 00000000 ac3 enable: 00000000 ext status: clock source: internal locked: 1 rate: 44100 adat user data: -
$ cat /proc/asound/card4/firewire/formation Output stream from unit: low middle high MIDI Tx 0: 16 0 0 0 Tx 1: 16 0 0 0 Input stream to unit: low middle high Rx 0: 16 0 0 0 Rx 1: 10 0 0 0
in case that as of now the studiolive isn't officially supported or the above behavior is due to the fact that so far only the 16.4.2 is known to the module, i'm willing to help as far as i can ;) i hope that already seeing 16 channels is a good point to start and that it's not too hard to make the remaining 8 show up as well...
Would you get output from '/proc/asound/pcm'?
$ cat /proc/asound/pcm [...] 04-00: DICE : StudioLive : playback 1 : capture 1 04-01: DICE : StudioLive : playback 1 : capture 1
all looks to me like you were right. IIUC the board provides a total of 32 output channels and 26 for input. does this mean the device is already fully recognized and functional? can alsa be configured to provide all channels as one "sound card" so they become available in, say, ardour?
thank you & best regards :: m.eik