Takashi Sakamoto wrote:
Now i'm working in kernel land to support Echo's Fireworks (TM) devices with better integration. [...] Well, now I need your advice about common ways for hardware metering and monitoring between kernel land and user land.
For almost all FireWire audio devices, it would not be possible to create ALSA mixer controls that would allow to control the device in a sensible way with a generic mixer application like alsamixer. (Things like matrix mixers, or meters integrated with corresponding volume sliders.) Therefore, custom mixer applications are required.
Because devices typically have most of their customizations in the way in which they handle (mixer) controls, the FFADO guys and me have agreed that the kernel driver handles only stuff required for audio streaming; all other controls are accessed *only* from user space by going directly through /dev/fw* (or through a hwdep device if the kernel driver and userspace tools need to share a communication channel).
So for now, there's no integration needed in the kernel driver.
(I won't have time to test your driver before the next weekend.)
Regards, Clemens