ALSA: firewire-digi00x: add proc node to show clock status

This commit adds proc node to show current clock status for debugging.

As long as testing Digi 002 rack, registers can show local clock rate,
local clock source. When external clock input such as S/PDIF is
connected, the registers show the detection and external clock rate.

Additionally, the registers show the mode of optical digital input
interface. Although, a tester with Digi 003 rack reports this makes no
sense. Further investigation is required for Digi 003 series.

Besides, in Digi 002 rack, the S/PDIF format must be IEC 60958-4,
so-called professional.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Sakamoto
2015-09-30 09:39:19 +09:00
committed by Takashi Iwai
parent 3a2a17974e
commit 927f17dc3a
4 changed files with 111 additions and 1 deletions

View File

@@ -81,6 +81,8 @@ static int snd_dg00x_probe(struct fw_unit *unit,
if (err < 0)
goto error;
snd_dg00x_proc_init(dg00x);
err = snd_card_register(card);
if (err < 0)
goto error;