diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2015-10-18 17:09:40 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-10-19 12:01:22 +0200 |
commit | 759a2f40c9fa3839c021f7cdc4ec19d10fd63b44 (patch) | |
tree | 17a0085a6a27fb1066d18fd636caa6931eb0c28c | |
parent | bb71da43469679bf53dc97433dc02895e4d58352 (diff) | |
download | op-kernel-dev-759a2f40c9fa3839c021f7cdc4ec19d10fd63b44.zip op-kernel-dev-759a2f40c9fa3839c021f7cdc4ec19d10fd63b44.tar.gz |
ALSA: oxfw: add an entry for TASCAM FireOne
TASCAM FireOne is based on OXFW971 and ALSA OXFW driver can support it.
These are values of identical registers.
$ ./firewire-request /dev/fw1 read 0xfffff0050000
result: 97100105
$ ./firewire-request /dev/fw1 read 0xfffff0090020
result: 39373100
This commit adds an entry for this model. This model has physical controls
and its MIDI control messages are transferred to second MIDI data stream
multiplexed in one MIDI conformant data channel.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/firewire/oxfw/oxfw.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sound/firewire/oxfw/oxfw.c b/sound/firewire/oxfw/oxfw.c index d606e3a..588b93f 100644 --- a/sound/firewire/oxfw/oxfw.c +++ b/sound/firewire/oxfw/oxfw.c @@ -18,6 +18,7 @@ #define VENDOR_GRIFFIN 0x001292 #define VENDOR_BEHRINGER 0x001564 #define VENDOR_LACIE 0x00d04b +#define VENDOR_TASCAM 0x00022e #define MODEL_SATELLITE 0x00200f @@ -154,6 +155,15 @@ static void detect_quirks(struct snd_oxfw *oxfw) */ if (vendor == VENDOR_LOUD && model == MODEL_SATELLITE) oxfw->wrong_dbs = true; + + /* + * TASCAM FireOne has physical control and requires a pair of additional + * MIDI ports. + */ + if (vendor == VENDOR_TASCAM) { + oxfw->midi_input_ports++; + oxfw->midi_output_ports++; + } } static int oxfw_probe(struct fw_unit *unit, @@ -323,6 +333,13 @@ static const struct ieee1394_device_id oxfw_id_table[] = { .specifier_id = SPECIFIER_1394TA, .version = VERSION_AVC, }, + /* TASCAM, FireOne */ + { + .match_flags = IEEE1394_MATCH_VENDOR_ID | + IEEE1394_MATCH_MODEL_ID, + .vendor_id = VENDOR_TASCAM, + .model_id = 0x800007, + }, { } }; MODULE_DEVICE_TABLE(ieee1394, oxfw_id_table); |