Skip to content

Commit 3b7bd79

Browse files
takaswiegregkh
authored andcommitted
ALSA: bebob: add support for ToneWeal FW66
[ Upstream commit 50ebe56 ] A user of FFADO project reported the issue of ToneWeal FW66. As a result, the device is identified as one of applications of BeBoB solution. I note that in the report the device returns contradictory result in plug discovery process for audio subunit. Fortunately ALSA BeBoB driver doesn't perform it thus it's likely to handle the device without issues. I receive no reaction to test request for this patch yet, however it would be worth to add support for it. daniel@gibbonmoon:/sys/bus/firewire/devices/fw1$ grep -r . * Binary file config_rom matches dev:244:1 guid:0x0023270002000000 hardware_version:0x000002 is_local:0 model:0x020002 model_name:FW66 power/runtime_active_time:0 power/runtime_active_kids:0 power/runtime_usage:0 power/runtime_status:unsupported power/async:disabled power/runtime_suspended_time:0 power/runtime_enabled:disabled power/control:auto subsystem/drivers_autoprobe:1 uevent:MAJOR=244 uevent:MINOR=1 uevent:DEVNAME=fw1 units:0x00a02d:0x010001 vendor:0x002327 vendor_name:ToneWeal fw1.0/uevent:MODALIAS=ieee1394:ven00002327mo00020002sp0000A02Dver00010001 fw1.0/power/runtime_active_time:0 fw1.0/power/runtime_active_kids:0 fw1.0/power/runtime_usage:0 fw1.0/power/runtime_status:unsupported fw1.0/power/async:disabled fw1.0/power/runtime_suspended_time:0 fw1.0/power/runtime_enabled:disabled fw1.0/power/control:auto fw1.0/model:0x020002 fw1.0/rom_index:15 fw1.0/specifier_id:0x00a02d fw1.0/model_name:FW66 fw1.0/version:0x010001 fw1.0/modalias:ieee1394:ven00002327mo00020002sp0000A02Dver00010001 Cc: Daniel Jozsef <daniel.jozsef@gmail.com> Reference: https://lore.kernel.org/alsa-devel/20200119164335.GA11974@workstation/ Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Link: https://lore.kernel.org/r/20210619083922.16060-1-o-takashi@sakamocchi.jp Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 90cd79a commit 3b7bd79

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎sound/firewire/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ config SND_BEBOB
110110
* M-Audio Ozonic/NRV10/ProfireLightBridge
111111
* M-Audio FireWire 1814/ProjectMix IO
112112
* Digidesign Mbox 2 Pro
113+
* ToneWeal FW66
113114

114115
To compile this driver as a module, choose M here: the module
115116
will be called snd-bebob.

‎sound/firewire/bebob/bebob.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ static DECLARE_BITMAP(devices_used, SNDRV_CARDS);
5959
#define VEN_MAUDIO1 0x00000d6c
6060
#define VEN_MAUDIO2 0x000007f5
6161
#define VEN_DIGIDESIGN 0x00a07e
62+
#define OUI_SHOUYO 0x002327
6263

6364
#define MODEL_FOCUSRITE_SAFFIRE_BOTH 0x00000000
6465
#define MODEL_MAUDIO_AUDIOPHILE_BOTH 0x00010060
@@ -486,6 +487,8 @@ static const struct ieee1394_device_id bebob_id_table[] = {
486487
&maudio_special_spec),
487488
/* Digidesign Mbox 2 Pro */
488489
SND_BEBOB_DEV_ENTRY(VEN_DIGIDESIGN, 0x0000a9, &spec_normal),
490+
// Toneweal FW66.
491+
SND_BEBOB_DEV_ENTRY(OUI_SHOUYO, 0x020002, &spec_normal),
489492
/* IDs are unknown but able to be supported */
490493
/* Apogee, Mini-ME Firewire */
491494
/* Apogee, Mini-DAC Firewire */

0 commit comments

Comments
 (0)