Alsa-Devel Archive on lore.kernel.org
 help / color / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Cc: alsa-devel@alsa-project.org, clemens@ladisch.de,
	ffado-devel@lists.sf.net
Subject: Re: [GIT PULL][PATCH 00/39] Enhancement of support for Firewire devices
Date: Fri, 28 Feb 2014 07:36:27 +0100
Message-ID: <s5ha9dbn3pw.wl%tiwai@suse.de> (raw)
In-Reply-To: <1393558072-25926-1-git-send-email-o-takashi@sakamocchi.jp>

At Fri, 28 Feb 2014 12:27:13 +0900,
Takashi Sakamoto wrote:
> 
> This is a pull-request of my 39 patches to enhance support for Firewire
> devices. These patches extend firewire-lib, add new drivers (fireworks/bebob).
> 
> These drivers can handle playback/capture of PCM samples/MIDI messages and
> can support 70-80 models totally.
> 
> These drivers are designed not to interrupt FFADO (user-land driver project)
> functionality except for playbacking/capturing.
> 
> These drivers basically give no way to control device's internal mixer. For
> this purpose, users need to use applications such like
> ffado-dbus-server/ffado-mixer, or develop software to execute AV/C commands
> and device specific commands.
> 
> 
> Updates since RFC v3:
> [alsa-devel] [RFC v3] [PATCH 00/52] Enhancement for support of firewire devices
> http://mailman.alsa-project.org/pipermail/alsa-devel/2014-January/071820.html 
> 
> firewire-lib:
>  - improve operation for oPCR
>  - add fallbacks at transaction timeout for device's quirk
> 
> fireworks:
>  - add counter to maintain streams
>  - use memdup_user() for hwdep interface
> 
> bebob:
>  - add counter to maintain streams
>  - fix failure to handle bus reset
> 
> ----------------------------------------------------------------
> 
> The following changes since commit dde9c38779c1f30253485a160facc211b20ca222:
> 
>   Merge branch 'for-linus' (2014-02-27 12:46:40 +0100)

Please don't commit on top of master branch of sound git tree.
The master branch is a result of quick merges from all branches, thus
inappropriate as a development basis.  Rebase to for-next branch
instead.  The end-result patches must be identical, so you don't have
to resend them to ML, though.


thanks,

Takashi

> 
> are available in the git repository at:
> 
> 
>   https://github.com/takaswie/sound.git request
> 
> for you to fetch changes up to 0ed07c65fef2f80fcfc6223b0d689fca56fa6323:
> 
>   bebob: Add support for M-Audio special Firewire series (2014-02-28 11:30:52 +0900)
> 
> ----------------------------------------------------------------
> Takashi Sakamoto (39):
>       firewire-lib: Rename functions, structure, member for AMDTP
>       firewire-lib: Add macros instead of fixed value for AMDTP
>       firewire-lib: Add 'direction' member to 'amdtp_stream' structure
>       firewire-lib: Split some codes into functions to reuse for both streams
>       firewire-lib: Add support for AMDTP in-stream and PCM capture
>       firewire-lib: Add support for MIDI capture/playback
>       firewire-lib: Give syt value as parameter to handle_out_packet()
>       firewire-lib: Add support for duplex streams synchronization in blocking mode
>       firewire-lib: Add sort function for transmitted packet
>       firewire-lib: Add transfer delay to synchronized duplex streams
>       firewire-lib: Add support for channel mapping
>       firewire-lib: Rename macros, variables and functions for CMP
>       firewire-lib: Add 'direction' member to 'cmp_connection' structure
>       firewire-lib: Add handling output connection by CMP
>       firewire-lib: Add a new function to check others' connection
>       firewire-lib: Add some AV/C general commands
>       firewire-lib: Add quirks for Fireworks
>       firewire-lib: Add a fallback at RCODE_CANCELLED
>       fireworks: Add skelton for Fireworks based devices
>       fireworks: Add transaction and some commands
>       fireworks: Add connection and stream management
>       fireworks: Add proc interface for debugging purpose
>       fireworks: Add MIDI interface
>       fireworks: Add PCM interface
>       fireworks: Add hwdep interface
>       fireworks: Add command/response functionality into hwdep interface
>       bebob: Add skelton for BeBoB based devices
>       bebob: Add commands and connections/streams management
>       bebob: Add proc interface for debugging purpose
>       bebob: Add MIDI interface
>       bebob: Add PCM interface
>       bebob: Add hwdep interface
>       bebob: Prepare for device specific operations
>       bebob: Add support for Terratec PHASE, EWS series and Aureon
>       bebob: Add support for Yamaha GO series
>       bebob: Add support for Focusrite Saffire/SaffirePro series
>       bebob: Add support for M-Audio usual Firewire series
>       bebob: Send a cue to load firmware for M-Audio Firewire series
>       bebob: Add support for M-Audio special Firewire series
> 
>  include/uapi/sound/asound.h                      |   4 +-
>  include/uapi/sound/firewire.h                    |  22 +-
>  sound/firewire/Kconfig                           |  59 ++
>  sound/firewire/Makefile                          |   2 +
>  sound/firewire/amdtp.c                           | 891 ++++++++++++++++------
>  sound/firewire/amdtp.h                           | 175 ++++-
>  sound/firewire/bebob/Makefile                    |   4 +
>  sound/firewire/bebob/bebob.c                     | 450 +++++++++++
>  sound/firewire/bebob/bebob.h                     | 262 +++++++
>  sound/firewire/bebob/bebob_command.c             | 354 +++++++++
>  sound/firewire/bebob/bebob_focusrite.c           | 289 +++++++
>  sound/firewire/bebob/bebob_hwdep.c               | 197 +++++
>  sound/firewire/bebob/bebob_maudio.c              | 922 +++++++++++++++++++++++
>  sound/firewire/bebob/bebob_midi.c                | 170 +++++
>  sound/firewire/bebob/bebob_pcm.c                 | 451 +++++++++++
>  sound/firewire/bebob/bebob_proc.c                | 179 +++++
>  sound/firewire/bebob/bebob_stream.c              | 869 +++++++++++++++++++++
>  sound/firewire/bebob/bebob_terratec.c            |  68 ++
>  sound/firewire/bebob/bebob_yamaha.c              |  50 ++
>  sound/firewire/cmp.c                             | 229 ++++--
>  sound/firewire/cmp.h                             |  14 +-
>  sound/firewire/dice.c                            |  46 +-
>  sound/firewire/fcp.c                             | 160 +++-
>  sound/firewire/fcp.h                             |  21 +
>  sound/firewire/fireworks/Makefile                |   4 +
>  sound/firewire/fireworks/fireworks.c             | 324 ++++++++
>  sound/firewire/fireworks/fireworks.h             | 223 ++++++
>  sound/firewire/fireworks/fireworks_command.c     | 397 ++++++++++
>  sound/firewire/fireworks/fireworks_hwdep.c       | 294 ++++++++
>  sound/firewire/fireworks/fireworks_midi.c        | 179 +++++
>  sound/firewire/fireworks/fireworks_pcm.c         | 477 ++++++++++++
>  sound/firewire/fireworks/fireworks_proc.c        | 208 +++++
>  sound/firewire/fireworks/fireworks_stream.c      | 337 +++++++++
>  sound/firewire/fireworks/fireworks_transaction.c | 327 ++++++++
>  sound/firewire/lib.c                             |   6 +-
>  sound/firewire/lib.h                             |   1 +
>  sound/firewire/speakers.c                        |  93 +--
>  37 files changed, 8356 insertions(+), 402 deletions(-)
>  create mode 100644 sound/firewire/bebob/Makefile
>  create mode 100644 sound/firewire/bebob/bebob.c
>  create mode 100644 sound/firewire/bebob/bebob.h
>  create mode 100644 sound/firewire/bebob/bebob_command.c
>  create mode 100644 sound/firewire/bebob/bebob_focusrite.c
>  create mode 100644 sound/firewire/bebob/bebob_hwdep.c
>  create mode 100644 sound/firewire/bebob/bebob_maudio.c
>  create mode 100644 sound/firewire/bebob/bebob_midi.c
>  create mode 100644 sound/firewire/bebob/bebob_pcm.c
>  create mode 100644 sound/firewire/bebob/bebob_proc.c
>  create mode 100644 sound/firewire/bebob/bebob_stream.c
>  create mode 100644 sound/firewire/bebob/bebob_terratec.c
>  create mode 100644 sound/firewire/bebob/bebob_yamaha.c
>  create mode 100644 sound/firewire/fireworks/Makefile
>  create mode 100644 sound/firewire/fireworks/fireworks.c
>  create mode 100644 sound/firewire/fireworks/fireworks.h
>  create mode 100644 sound/firewire/fireworks/fireworks_command.c
>  create mode 100644 sound/firewire/fireworks/fireworks_hwdep.c
>  create mode 100644 sound/firewire/fireworks/fireworks_midi.c
>  create mode 100644 sound/firewire/fireworks/fireworks_pcm.c
>  create mode 100644 sound/firewire/fireworks/fireworks_proc.c
>  create mode 100644 sound/firewire/fireworks/fireworks_stream.c
>  create mode 100644 sound/firewire/fireworks/fireworks_transaction.c
> -- 
> 1.8.3.2
> 

  parent reply index

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-28  3:27 Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 01/39] firewire-lib: Rename functions, structure, member for AMDTP Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 02/39] firewire-lib: Add macros instead of fixed value " Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 03/39] firewire-lib: Add 'direction' member to 'amdtp_stream' structure Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 04/39] firewire-lib: Split some codes into functions to reuse for both streams Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 05/39] firewire-lib: Add support for AMDTP in-stream and PCM capture Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 06/39] firewire-lib: Add support for MIDI capture/playback Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 07/39] firewire-lib: Give syt value as parameter to handle_out_packet() Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 08/39] firewire-lib: Add support for duplex streams synchronization in blocking mode Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 09/39] firewire-lib: Add sort function for transmitted packet Takashi Sakamoto
2014-02-28  6:40   ` Takashi Iwai
2014-02-28 14:31     ` Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 10/39] firewire-lib: Add transfer delay to synchronized duplex streams Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 11/39] firewire-lib: Add support for channel mapping Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 12/39] firewire-lib: Rename macros, variables and functions for CMP Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 13/39] firewire-lib: Add 'direction' member to 'cmp_connection' structure Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 14/39] firewire-lib: Add handling output connection by CMP Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 15/39] firewire-lib: Add a new function to check others' connection Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 16/39] firewire-lib: Add some AV/C general commands Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 17/39] firewire-lib: Add quirks for Fireworks Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 18/39] firewire-lib: Add a fallback at RCODE_CANCELLED Takashi Sakamoto
2014-02-28 20:25   ` Stefan Richter
2014-02-28 20:39     ` Stefan Richter
2014-03-01  3:18     ` Takashi Sakamoto
2014-03-01 10:10       ` Stefan Richter
2014-03-01 12:22         ` Takashi Sakamoto
2014-03-01 14:20           ` Stefan Richter
2014-03-04  1:35             ` [FFADO-devel] " Jonathan Woithe
2014-03-04  8:33               ` Stefan Richter
2014-03-04  9:28                 ` Stefan Richter
2014-03-01 10:34   ` Stefan Richter
2014-03-01 12:23     ` Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 19/39] fireworks: Add skelton for Fireworks based devices Takashi Sakamoto
2014-02-28  6:51   ` Takashi Iwai
2014-02-28 15:05     ` Takashi Sakamoto
2014-02-28 15:10       ` Takashi Iwai
2014-02-28 15:36         ` Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 20/39] fireworks: Add transaction and some commands Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 21/39] fireworks: Add connection and stream management Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 22/39] fireworks: Add proc interface for debugging purpose Takashi Sakamoto
2014-02-28  6:54   ` Takashi Iwai
2014-03-01 13:17     ` Takashi Sakamoto
2014-03-03  9:01       ` Takashi Iwai
2014-03-04 14:10         ` Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 23/39] fireworks: Add MIDI interface Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 24/39] fireworks: Add PCM interface Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 25/39] fireworks: Add hwdep interface Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 26/39] fireworks: Add command/response functionality into " Takashi Sakamoto
2014-02-28  6:58   ` Takashi Iwai
2014-03-01 13:18     ` Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 27/39] bebob: Add skelton for BeBoB based devices Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 28/39] bebob: Add commands and connections/streams management Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 29/39] bebob: Add proc interface for debugging purpose Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 30/39] bebob: Add MIDI interface Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 31/39] bebob: Add PCM interface Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 32/39] bebob: Add hwdep interface Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 33/39] bebob: Prepare for device specific operations Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 34/39] bebob: Add support for Terratec PHASE, EWS series and Aureon Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 35/39] bebob: Add support for Yamaha GO series Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 36/39] bebob: Add support for Focusrite Saffire/SaffirePro series Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 37/39] bebob: Add support for M-Audio usual Firewire series Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 38/39] bebob: Send a cue to load firmware for M-Audio " Takashi Sakamoto
2014-02-28  3:27 ` [PATCH 39/39] bebob: Add support for M-Audio special " Takashi Sakamoto
2014-03-01 10:53   ` Stefan Richter
2014-03-01 13:06     ` Takashi Sakamoto
2014-03-01 14:32       ` Stefan Richter
2014-02-28  6:36 ` Takashi Iwai [this message]
2014-03-01 13:14   ` [GIT PULL][PATCH 00/39] Enhancement of support for Firewire devices 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=s5ha9dbn3pw.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    --cc=ffado-devel@lists.sf.net \
    --cc=o-takashi@sakamocchi.jp \
    /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

Alsa-Devel Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/alsa-devel/0 alsa-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 alsa-devel alsa-devel/ https://lore.kernel.org/alsa-devel \
		alsa-devel@alsa-project.org
	public-inbox-index alsa-devel

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.alsa-project.alsa-devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git