[alsa-devel] [RFC][PATCH 0/8] A new driver for OXFW970/971 based devices

Takashi Iwai tiwai at suse.de
Sun Jan 5 20:46:28 CET 2014


At Sun,  5 Jan 2014 20:13:29 +0900,
Takashi Sakamoto wrote:
> 
> This series of patch is based on my previous series below:
> http://mailman.alsa-project.org/pipermail/alsa-devel/2013-December/070424.html
> 
> This series of patch add a new driver, snd-oxfw, for OXFW970/971 based devices.
> These chipsets are already supported by snd-firewire-speakers but this new
> driver aim to support recording equipment.
> 
> Current supported devices:
>  * Behringer F-Control Audio 202
>  * Mackie Onyx-i series (former model)
>  * Mackie Onyx Satellite
> 
> Devices possible to be supported if identifying IDs:
>  * Mackie, d.2 pro
>  * Mackie, d.4 pro
>  * Mackie, U.420
>  * Mackie, U.420d
>  * Mackie, Tapco Link.Firewire
> 
> I worked with Behringer F-Control Audio 202. So I want someone to test with the other devices, especially about some quirks.
> 
> 
> Clemens, would you gime me your opinions about issues below?
> And if you know something about this chipset, would you share the information?
> 
> 1.snd-firewire-speakers and snd-oxfw
> With this series of patches, ALSA has two drivers for the same chipsets.
> Merging these two drivers is a bit difficult because:
>  - snd-firewire-speakers has control interface but snd-oxfw don't
>  - snd-firewire-speakers don't support in-stream but snd-oxfw supports

I don't see why these make things difficult to merge?
They sound rather like the functionalities don't conflict.

> 2.currently snd-oxfw works with streams in SYT-Match
> Due to invalid sequence of 'presentation timestamp' in transmitted packets.
> In detail, please see 4th patch.
> 
> 3.assumption of channnel formation
> Some commands may not be implemented.
> In detail, please see 3rd patch.
> 
> 4.don't check source of clock
> All of supported devices (including can be) don't have the functionality to switch source of clock. So I want to omit this.
> 
> For issue 3 and 4, Descriptor mechanism in 'Enhancements to the AV/C General
> Specification 3.0 Version 1.1' may be a best solution but it costs much to implement against the number of available devices. I want to avoid this huge mechanism if possible.

Note that since I haven't seen any ack from Clemens, I didn't take
previous patches yet.  And it's a bit too late for 3.14, we have
plenty of time for review and discussion for 3.15.


thanks,

Takashi

> 
> 
> Regards
> 
> Takashi Sakamoto
> 
> Takashi Sakamoto (8):
>   oxfw: Add skelton for OXFW970/971 based devices
>   oxfw: Read firmware version to name card
>   oxfw: Add some AV/C commands for channel formation of AMDTP stream
>   oxfw: Add connections and streams management
>   oxfw: Add proc interface for debugging purpose
>   oxfw: Add MIDI interface
>   oxfw: Add PCM interface
>   oxfw: Add hwdep interface
> 
>  include/uapi/sound/asound.h        |   3 +-
>  include/uapi/sound/firewire.h      |   3 +-
>  sound/firewire/Kconfig             |  17 +
>  sound/firewire/Makefile            |   1 +
>  sound/firewire/oxfw/Makefile       |   3 +
>  sound/firewire/oxfw/oxfw.c         | 243 ++++++++++++++
>  sound/firewire/oxfw/oxfw.h         | 140 ++++++++
>  sound/firewire/oxfw/oxfw_command.c | 161 ++++++++++
>  sound/firewire/oxfw/oxfw_hwdep.c   | 197 ++++++++++++
>  sound/firewire/oxfw/oxfw_midi.c    | 156 +++++++++
>  sound/firewire/oxfw/oxfw_pcm.c     | 421 ++++++++++++++++++++++++
>  sound/firewire/oxfw/oxfw_proc.c    |  61 ++++
>  sound/firewire/oxfw/oxfw_stream.c  | 639 +++++++++++++++++++++++++++++++++++++
>  13 files changed, 2043 insertions(+), 2 deletions(-)
>  create mode 100644 sound/firewire/oxfw/Makefile
>  create mode 100644 sound/firewire/oxfw/oxfw.c
>  create mode 100644 sound/firewire/oxfw/oxfw.h
>  create mode 100644 sound/firewire/oxfw/oxfw_command.c
>  create mode 100644 sound/firewire/oxfw/oxfw_hwdep.c
>  create mode 100644 sound/firewire/oxfw/oxfw_midi.c
>  create mode 100644 sound/firewire/oxfw/oxfw_pcm.c
>  create mode 100644 sound/firewire/oxfw/oxfw_proc.c
>  create mode 100644 sound/firewire/oxfw/oxfw_stream.c
> 
> -- 
> 1.8.3.2
> 


More information about the Alsa-devel mailing list