mbox series

[0/9] ALSA: fireface: add support for Fireface UCX

Message ID 20190120082553.17347-1-o-takashi@sakamocchi.jp (mailing list archive)
Headers show
Series ALSA: fireface: add support for Fireface UCX | expand

Message

Takashi Sakamoto Jan. 20, 2019, 8:25 a.m. UTC
Hi,

In 2012, RME GmbH shipped Fireface UFX. This model is one of latter
models of Fireface series and support both of IEEE 1394 bus and USB.
Furthermore, it supports two types of remote control unit (Basic
Remote and Advanced Remote Control) with by 9pin mini-din connector.

This patchset adds support for this model, as a part of devices
by ALSA firewire stack (therefore it's not a device of USB). At
present, maintain of isochronous communication and synchronization
status are cleared but asynchronous communication for MIDI messages
are not yet, therefore this commit adds support for isochronous
communication for PCM frames.

This work is based on my packet analysis from rent device for a short
term (2 weeks). I'm happy to get your responses till next weekend.
Driver code in a remote branch is available for backport till Linux
kernel v4.17 or later for your test.
https://github.com/takaswie/snd-firewire-improve/tree/topic/ff800-midi

Regards

Takashi Sakamoto (9):
  ALSA: fireface: rename protocol layer for former models
  ALSA: fireface: unify protocol layer for FF400/FF800
  ALSA: fireface: obsolete proc node to leave one node
  ALSA: fireface: add protocol-dependent operation to dump status
  ALSA: fireface: add protocol-dependent operation to switch mode to
    fetch PCM frame
  ALSA: fireface: add protocol-dependent operation to get clock status
  ALSA: fireface: code refactoring for dump of sync status
  ALSA: fireface: code refactoring to parse of clock configuration
  ALSA: fireface: add support for Fireface UCX

 sound/firewire/Kconfig                       |   1 +
 sound/firewire/fireface/Makefile             |   4 +-
 sound/firewire/fireface/ff-pcm.c             |   2 +-
 sound/firewire/fireface/ff-proc.c            | 217 +-------
 sound/firewire/fireface/ff-protocol-ff400.c  | 161 ------
 sound/firewire/fireface/ff-protocol-ff800.c  | 143 -----
 sound/firewire/fireface/ff-protocol-former.c | 549 +++++++++++++++++++
 sound/firewire/fireface/ff-protocol-latter.c | 273 +++++++++
 sound/firewire/fireface/ff-stream.c          |  40 +-
 sound/firewire/fireface/ff-transaction.c     |  63 ---
 sound/firewire/fireface/ff.c                 |  41 +-
 sound/firewire/fireface/ff.h                 |  13 +-
 12 files changed, 886 insertions(+), 621 deletions(-)
 delete mode 100644 sound/firewire/fireface/ff-protocol-ff400.c
 delete mode 100644 sound/firewire/fireface/ff-protocol-ff800.c
 create mode 100644 sound/firewire/fireface/ff-protocol-former.c
 create mode 100644 sound/firewire/fireface/ff-protocol-latter.c

Comments

Takashi Iwai Jan. 21, 2019, 2:30 p.m. UTC | #1
On Sun, 20 Jan 2019 09:25:44 +0100,
Takashi Sakamoto wrote:
> 
> Hi,
> 
> In 2012, RME GmbH shipped Fireface UFX. This model is one of latter
> models of Fireface series and support both of IEEE 1394 bus and USB.
> Furthermore, it supports two types of remote control unit (Basic
> Remote and Advanced Remote Control) with by 9pin mini-din connector.
> 
> This patchset adds support for this model, as a part of devices
> by ALSA firewire stack (therefore it's not a device of USB). At
> present, maintain of isochronous communication and synchronization
> status are cleared but asynchronous communication for MIDI messages
> are not yet, therefore this commit adds support for isochronous
> communication for PCM frames.
> 
> This work is based on my packet analysis from rent device for a short
> term (2 weeks). I'm happy to get your responses till next weekend.
> Driver code in a remote branch is available for backport till Linux
> kernel v4.17 or later for your test.
> https://github.com/takaswie/snd-firewire-improve/tree/topic/ff800-midi
> 
> Regards
> 
> Takashi Sakamoto (9):
>   ALSA: fireface: rename protocol layer for former models
>   ALSA: fireface: unify protocol layer for FF400/FF800
>   ALSA: fireface: obsolete proc node to leave one node
>   ALSA: fireface: add protocol-dependent operation to dump status
>   ALSA: fireface: add protocol-dependent operation to switch mode to
>     fetch PCM frame
>   ALSA: fireface: add protocol-dependent operation to get clock status
>   ALSA: fireface: code refactoring for dump of sync status
>   ALSA: fireface: code refactoring to parse of clock configuration
>   ALSA: fireface: add support for Fireface UCX

Applied all patches now.  Thanks.


Takashi