All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
To: clemens@ladisch.de, tiwai@suse.de
Cc: alsa-devel@alsa-project.org, ffado-devel@lists.sf.net
Subject: [PATCH 00/25] ALSA: support AMDTP variants
Date: Thu, 13 Aug 2015 09:19:56 +0900	[thread overview]
Message-ID: <1439425221-30826-1-git-send-email-o-takashi@sakamocchi.jp> (raw)

This patchset updates my previous RFC, excluding control/status message for
TASCAM FireWire series and a MOTU driver,

[alsa-devel] [RFC][PATCH 00/37] ALSA: firewire: support AMDTP variants
http://mailman.alsa-project.org/pipermail/alsa-devel/2015-July/094789.html

Unfortunately, I've got no dedicated testers to this patchset. While, the
supported models have little time to live. I think it's time to merge them.


This patchset supports playbacking/capturing PCM samples/MIDI messages.
Model specific functionalities such as MIDI mapping to physical controls
should be done in userspace, with propper asynchronous transactions.

I hope users to remind that my work is done by reasoning and assuming with
a result of investigating packets on IEEE 1394 bus. There's no published
specification, thus these drivers cannot fully satisfies users'
expectation which comes from Windows or OS X.


Changes:
 * Fix minor bugs, mainly for asynchronous transaction helper for MIDI port.
 * Regain PCM hardware constraint (I missed it).
 * Fix TASCAM quirk for MIDI transactions, as much as possible.

Rest of work (but may not be done in this developing period):
 * Handling control/status messages for TASCAM driver.
 * Supporting MIDI exclusive message for outgoing packets.
 * Researching a reason to de-synchronize for Digi00x family.
 * Improving MIDI throttle for asynchronous transaction helper

Takashi Sakamoto (25):
  ALSA: firewire-lib: rename 'amdtp' to 'amdtp-stream' for functional
    separation
  ALSA: firewire-lib: functional separation for packet transmission
    layer and data processing layer
  ALSA: firewire-lib: add helper functions for asynchronous MIDI port
  ALSA: firewire-lib: add a restriction for a transaction at once
  ALSA: firewire-lib: schedule tasklet again when MIDI substream has
    rest of MIDI messages
  ALSA: firewire-lib: add throttle for MIDI data rate
  ALSA: firewire-lib: avoid endless loop to transfer MIDI messages at
    fatal error
  ALSA: firewire-digi00x: add skeleton for Digi 002/003 family
  ALSA: firewire-digi00x: add data processing layer
  ALSA: firewire-digi00x: add stream functionality
  ALSA: firewire-digi00x: add proc node to show clock status
  ALSA: firewire-digi00x: add PCM functionality
  ALSA: firewire-digi00x: add MIDI functionality
  ALSA: firewire-digi00x: add hwdep interface
  ALSA: firewire-digi00x: add support for asynchronous messaging
  ALSA: firewire-digi00x: add support for MIDI ports for machine control
  ALSA: firewire-tascam: add skeleton for TASCAM FireWire series
  ALSA: firewire-tascam: add a structure for model-dependent parameters.
  ALSA: firewire-tascam: add proc node to show firmware information
  ALSA: firewire-tascam: add data processing layer
  ALSA: firewire-tascam: add streaming functionality
  ALSA: firewire-tascam: add PCM functionality
  ALSA: firewire-tascam: add transaction functionality
  ALSA: firewire-tascam: add MIDI functionality
  ALSA: firewire-tascam: add hwdep interface

 include/uapi/sound/asound.h                  |   4 +-
 include/uapi/sound/firewire.h                |   9 +
 sound/firewire/Kconfig                       |  27 ++
 sound/firewire/Makefile                      |   4 +-
 sound/firewire/amdtp-am824.c                 | 451 ++++++++++++++++++++++++
 sound/firewire/amdtp-am824.h                 |  47 +++
 sound/firewire/{amdtp.c => amdtp-stream.c}   | 375 ++++----------------
 sound/firewire/{amdtp.h => amdtp-stream.h}   | 113 ++----
 sound/firewire/bebob/bebob.h                 |   2 +-
 sound/firewire/bebob/bebob_midi.c            |  16 +-
 sound/firewire/bebob/bebob_pcm.c             |  12 +-
 sound/firewire/bebob/bebob_stream.c          |  34 +-
 sound/firewire/dice/dice-midi.c              |  16 +-
 sound/firewire/dice/dice-pcm.c               |  12 +-
 sound/firewire/dice/dice-stream.c            |  41 ++-
 sound/firewire/dice/dice.h                   |   2 +-
 sound/firewire/digi00x/Makefile              |   4 +
 sound/firewire/digi00x/amdtp-dot.c           | 436 +++++++++++++++++++++++
 sound/firewire/digi00x/digi00x-hwdep.c       | 200 +++++++++++
 sound/firewire/digi00x/digi00x-midi.c        | 198 +++++++++++
 sound/firewire/digi00x/digi00x-pcm.c         | 353 +++++++++++++++++++
 sound/firewire/digi00x/digi00x-proc.c        |  99 ++++++
 sound/firewire/digi00x/digi00x-stream.c      | 422 +++++++++++++++++++++++
 sound/firewire/digi00x/digi00x-transaction.c | 137 ++++++++
 sound/firewire/digi00x/digi00x.c             | 174 ++++++++++
 sound/firewire/digi00x/digi00x.h             | 157 +++++++++
 sound/firewire/fcp.c                         |   2 +-
 sound/firewire/fireworks/fireworks.c         |  12 +-
 sound/firewire/fireworks/fireworks.h         |   2 +-
 sound/firewire/fireworks/fireworks_midi.c    |  16 +-
 sound/firewire/fireworks/fireworks_pcm.c     |  10 +-
 sound/firewire/fireworks/fireworks_stream.c  |   8 +-
 sound/firewire/lib.c                         | 129 +++++++
 sound/firewire/lib.h                         |  52 +++
 sound/firewire/oxfw/oxfw-midi.c              |  16 +-
 sound/firewire/oxfw/oxfw-pcm.c               |  10 +-
 sound/firewire/oxfw/oxfw-stream.c            |  11 +-
 sound/firewire/oxfw/oxfw.h                   |   2 +-
 sound/firewire/tascam/Makefile               |   4 +
 sound/firewire/tascam/amdtp-tascam.c         | 248 +++++++++++++
 sound/firewire/tascam/tascam-hwdep.c         | 202 +++++++++++
 sound/firewire/tascam/tascam-midi.c          | 162 +++++++++
 sound/firewire/tascam/tascam-pcm.c           | 298 ++++++++++++++++
 sound/firewire/tascam/tascam-proc.c          |  88 +++++
 sound/firewire/tascam/tascam-stream.c        | 497 +++++++++++++++++++++++++++
 sound/firewire/tascam/tascam-transaction.c   | 291 ++++++++++++++++
 sound/firewire/tascam/tascam.c               | 230 +++++++++++++
 sound/firewire/tascam/tascam.h               | 140 ++++++++
 48 files changed, 5277 insertions(+), 498 deletions(-)
 create mode 100644 sound/firewire/amdtp-am824.c
 create mode 100644 sound/firewire/amdtp-am824.h
 rename sound/firewire/{amdtp.c => amdtp-stream.c} (70%)
 rename sound/firewire/{amdtp.h => amdtp-stream.h} (77%)
 create mode 100644 sound/firewire/digi00x/Makefile
 create mode 100644 sound/firewire/digi00x/amdtp-dot.c
 create mode 100644 sound/firewire/digi00x/digi00x-hwdep.c
 create mode 100644 sound/firewire/digi00x/digi00x-midi.c
 create mode 100644 sound/firewire/digi00x/digi00x-pcm.c
 create mode 100644 sound/firewire/digi00x/digi00x-proc.c
 create mode 100644 sound/firewire/digi00x/digi00x-stream.c
 create mode 100644 sound/firewire/digi00x/digi00x-transaction.c
 create mode 100644 sound/firewire/digi00x/digi00x.c
 create mode 100644 sound/firewire/digi00x/digi00x.h
 create mode 100644 sound/firewire/tascam/Makefile
 create mode 100644 sound/firewire/tascam/amdtp-tascam.c
 create mode 100644 sound/firewire/tascam/tascam-hwdep.c
 create mode 100644 sound/firewire/tascam/tascam-midi.c
 create mode 100644 sound/firewire/tascam/tascam-pcm.c
 create mode 100644 sound/firewire/tascam/tascam-proc.c
 create mode 100644 sound/firewire/tascam/tascam-stream.c
 create mode 100644 sound/firewire/tascam/tascam-transaction.c
 create mode 100644 sound/firewire/tascam/tascam.c
 create mode 100644 sound/firewire/tascam/tascam.h

-- 
2.1.4

             reply	other threads:[~2015-08-13  0:20 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-13  0:19 Takashi Sakamoto [this message]
2015-08-13  0:19 ` [PATCH 01/25] ALSA: firewire-lib: rename 'amdtp' to 'amdtp-stream' for functional separation Takashi Sakamoto
2015-08-13  0:19 ` [PATCH 02/25] ALSA: firewire-lib: functional separation for packet transmission layer and data processing layer Takashi Sakamoto
2015-08-13  0:19 ` [PATCH 03/25] ALSA: firewire-lib: add helper functions for asynchronous MIDI port Takashi Sakamoto
2015-08-13  6:31   ` Takashi Iwai
2015-08-13  7:57     ` Takashi Sakamoto
2015-08-15 10:15       ` Stefan Richter
2015-08-15 10:19         ` Stefan Richter
2015-08-16  6:47         ` Takashi Iwai
2015-08-16 12:15           ` Stefan Richter
2015-08-17 14:01             ` Takashi Iwai
2015-08-13  0:20 ` [PATCH 04/25] ALSA: firewire-lib: add a restriction for a transaction at once Takashi Sakamoto
2015-08-13  0:20 ` [PATCH 05/25] ALSA: firewire-lib: schedule tasklet again when MIDI substream has rest of MIDI messages Takashi Sakamoto
2015-08-13  0:20 ` [PATCH 06/25] ALSA: firewire-lib: add throttle for MIDI data rate Takashi Sakamoto
2015-08-13 21:34   ` Takashi Sakamoto
2015-08-13  0:20 ` [PATCH 07/25] ALSA: firewire-lib: avoid endless loop to transfer MIDI messages at fatal error Takashi Sakamoto
2015-08-13  0:20 ` [PATCH 08/25] ALSA: firewire-digi00x: add skeleton for Digi 002/003 family Takashi Sakamoto
2015-08-13  6:33   ` Takashi Iwai
2015-08-13  0:20 ` [PATCH 09/25] ALSA: firewire-digi00x: add data processing layer Takashi Sakamoto
2015-08-13  0:20 ` [PATCH 10/25] ALSA: firewire-digi00x: add stream functionality Takashi Sakamoto
2015-08-13  0:20 ` [PATCH 11/25] ALSA: firewire-digi00x: add proc node to show clock status Takashi Sakamoto
2015-08-13  0:20 ` [PATCH 12/25] ALSA: firewire-digi00x: add PCM functionality Takashi Sakamoto
2015-08-13  0:20 ` [PATCH 13/25] ALSA: firewire-digi00x: add MIDI functionality Takashi Sakamoto
2015-08-13  0:20 ` [PATCH 14/25] ALSA: firewire-digi00x: add hwdep interface Takashi Sakamoto
2015-08-13  0:20 ` [PATCH 15/25] ALSA: firewire-digi00x: add support for asynchronous messaging Takashi Sakamoto
2015-08-13  0:20 ` [PATCH 16/25] ALSA: firewire-digi00x: add support for MIDI ports for machine control Takashi Sakamoto
2015-08-13  0:20 ` [PATCH 17/25] ALSA: firewire-tascam: add skeleton for TASCAM FireWire series Takashi Sakamoto
2015-08-13  6:24   ` Takashi Iwai
2015-08-13  7:18     ` Takashi Sakamoto
2015-08-13  0:20 ` [PATCH 18/25] ALSA: firewire-tascam: add a structure for model-dependent parameters Takashi Sakamoto
2015-08-13  0:20 ` [PATCH 19/25] ALSA: firewire-tascam: add proc node to show firmware information Takashi Sakamoto
2015-08-13  0:20 ` [PATCH 20/25] ALSA: firewire-tascam: add data processing layer Takashi Sakamoto
2015-08-13  0:20 ` [PATCH 21/25] ALSA: firewire-tascam: add streaming functionality Takashi Sakamoto
2015-08-13  0:20 ` [PATCH 22/25] ALSA: firewire-tascam: add PCM functionality Takashi Sakamoto
2015-08-13  0:20 ` [PATCH 23/25] ALSA: firewire-tascam: add transaction functionality Takashi Sakamoto
2015-08-13  0:20 ` [PATCH 24/25] ALSA: firewire-tascam: add MIDI functionality Takashi Sakamoto
2015-08-13  0:20 ` [PATCH 25/25] ALSA: firewire-tascam: add hwdep interface Takashi Sakamoto
2015-08-13  0:32 ` [PATCH 00/25] ALSA: support AMDTP variants Takashi Sakamoto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1439425221-30826-1-git-send-email-o-takashi@sakamocchi.jp \
    --to=o-takashi@sakamocchi.jp \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    --cc=ffado-devel@lists.sf.net \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.