From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Sakamoto Subject: Re: [PATCH] ALSA: bebob: add Digidesign Mbox 2 Pro support Date: Sat, 23 May 2015 12:43:07 +0900 Message-ID: <555FF74B.7090209@sakamocchi.jp> References: <1432352196-16157-1-git-send-email-o-takashi@sakamocchi.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from smtp310.phy.lolipop.jp (smtp310.phy.lolipop.jp [210.157.22.78]) by alsa0.perex.cz (Postfix) with ESMTP id 4728C2604BC for ; Sat, 23 May 2015 05:43:12 +0200 (CEST) In-Reply-To: <1432352196-16157-1-git-send-email-o-takashi@sakamocchi.jp> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: clemens@ladisch.de, tiwai@suse.de Cc: alsa-devel@alsa-project.org, ffado-devel@lists.sf.net List-Id: alsa-devel@alsa-project.org On May 23 2015 12:36, Takashi Sakamoto wrote: > This device is based on DM1000E and BeBoB version 1 is installed. > > $ cat /proc/asound/cards > 0 [Pro ]: BeBoB - Mbox 2 Pro > DIGIDESIGN Mbox 2 Pro (id:1, rev:1), > GUID 00a07e0100a90000 at fw1.0, S400 > > $ cat /proc/asound/Pro/firewire/firmware > Manufacturer: bridgeCo > Protocol Ver: 1 > Build Ver: 0 > GUID: 0x00A07E0100A90000 > Model ID: 0x01 > Model Rev: 1 > Firmware Date: 20071031 > Firmware Time: 034402 > Firmware ID: 0xA9 > Firmware Ver: 16777215 > Base Addr: 0x20080000 > Max Size: 1572864 > Loader Date: 20051207 > Loader Time: 205554 > > Signed-off-by: Takashi Sakamoto > --- > sound/firewire/Kconfig | 1 + > sound/firewire/bebob/bebob.c | 3 +++ > 2 files changed, 4 insertions(+) > > diff --git a/sound/firewire/Kconfig b/sound/firewire/Kconfig > index ecec547..2a0a9aa 100644 > --- a/sound/firewire/Kconfig > +++ b/sound/firewire/Kconfig > @@ -114,6 +114,7 @@ config SND_BEBOB > * M-Audio FireWire410/AudioPhile/Solo > * M-Audio Ozonic/NRV10/ProfireLightBridge > * M-Audio FireWire 1814/ProjectMix IO > + * Digidesign Mbox 2 Pro > > To compile this driver as a module, choose M here: the module > will be called snd-bebob. > diff --git a/sound/firewire/bebob/bebob.c b/sound/firewire/bebob/bebob.c > index 611b7da..e71bd35 100644 > --- a/sound/firewire/bebob/bebob.c > +++ b/sound/firewire/bebob/bebob.c > @@ -57,6 +57,7 @@ static DECLARE_BITMAP(devices_used, SNDRV_CARDS); > #define VEN_FOCUSRITE 0x0000130e > #define VEN_MAUDIO1 0x00000d6c > #define VEN_MAUDIO2 0x000007f5 > +#define VEN_DIGIDESIGN 0x00a07e > > #define MODEL_FOCUSRITE_SAFFIRE_BOTH 0x00000000 > #define MODEL_MAUDIO_AUDIOPHILE_BOTH 0x00010060 > @@ -433,6 +434,8 @@ static const struct ieee1394_device_id bebob_id_table[] = { > /* M-Audio ProjectMix */ > SND_BEBOB_DEV_ENTRY(VEN_MAUDIO1, MODEL_MAUDIO_PROJECTMIX, > &maudio_special_spec), > + /* Digidesign Mbox 2 Pro */ > + SND_BEBOB_DEV_ENTRY(VEN_DIGIDESIGN, 0x0000a9, &spec_normal), > /* IDs are unknown but able to be supported */ > /* Apogee, Mini-ME Firewire */ > /* Apogee, Mini-DAC Firewire */ ALSA BeBoB driver supports streaming functionality only, while this model require internal multiplexer setting to generate any sounds from its analog/digital audio ports. See: http://subversion.ffado.org/wiki/AvcModels/DigiDesignMboxPro2 Currently I have little time to implement them into userspace control applications such as ffado-dbus-server/ffado-mixer. Instead of them, users can hear any sounds by setting correct parameters via linux-firewire-utils or something. https://github.com/cladisch/linux-firewire-utils Regards Takashi Sakamoto