Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] ALSA: fireface: support knob control event for Fireface 400
@ 2023-01-12 12:09 Takashi Sakamoto
  2023-01-12 12:09 ` [PATCH 1/6] ALSA: fireface: rename callback functions Takashi Sakamoto
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Takashi Sakamoto @ 2023-01-12 12:09 UTC (permalink / raw)
  To: tiwai; +Cc: alsa-devel, clemens

Hi,

Fireface 400 uses asynchronous transaction mechanism to deliver event of
hardware knob control as well as received MIDI messages. Current
implementation doesn't distinguish them, thus all arrived messages are
processed for MIDI message.

This patchset adds the parser to distinguish them, and deliver knob
control event to user space via ALSA hwdep character device. The
implementation works well as long as I tested with the patches for
libhitaki library:

https://github.com/alsa-project/libhitaki/tree/topic/ff/400-msg

I note that Fireface 400 transmits no asynchronous transaction when it
is not configured by block write transaction to offset 0x000080100514,
which turn off HOST led from red.

Takashi Sakamoto (6):
  ALSA: fireface: rename callback functions
  ALSA: fireface: pick up time stamp for request subaction of asynchronous
    transaction
  ALSA: fireface: add helper function to parse MIDI messages transmitted by
    Fireface 400
  ALSA: fireface: update UAPI for data of knob control
  ALSA: fireface: add local framework to message parser
  ALSA: fireface: implement message parser for Fireface 400

 include/uapi/sound/firewire.h                |  24 +++
 sound/firewire/fireface/ff-hwdep.c           |  41 ++--
 sound/firewire/fireface/ff-protocol-former.c | 186 +++++++++++++++----
 sound/firewire/fireface/ff-protocol-latter.c |   6 +-
 sound/firewire/fireface/ff-transaction.c     |  17 +-
 sound/firewire/fireface/ff.c                 |  10 +
 sound/firewire/fireface/ff.h                 |   9 +-
 7 files changed, 239 insertions(+), 54 deletions(-)

-- 
2.37.2


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-01-13  8:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-12 12:09 [PATCH 0/6] ALSA: fireface: support knob control event for Fireface 400 Takashi Sakamoto
2023-01-12 12:09 ` [PATCH 1/6] ALSA: fireface: rename callback functions Takashi Sakamoto
2023-01-12 12:09 ` [PATCH 2/6] ALSA: fireface: pick up time stamp for request subaction of asynchronous transaction Takashi Sakamoto
2023-01-12 12:09 ` [PATCH 3/6] ALSA: fireface: add helper function to parse MIDI messages transmitted by Fireface 400 Takashi Sakamoto
2023-01-12 12:09 ` [PATCH 4/6] ALSA: fireface: update UAPI for data of knob control Takashi Sakamoto
2023-01-12 12:09 ` [PATCH 5/6] ALSA: fireface: add local framework to message parser Takashi Sakamoto
2023-01-12 12:09 ` [PATCH 6/6] ALSA: fireface: implement message parser for Fireface 400 Takashi Sakamoto
2023-01-13  8:57 ` [PATCH 0/6] ALSA: fireface: support knob control event " Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox