Skip to contentSkip to conversation

common way for hardware metering and monitoring between kernel/user land

DISCUSSION Clemens Ladisch 1 participant 1 message Mar 5, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 5 lines · Takashi Sakamoto

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