• Takashi Sakamoto's avatar
    ALSA: firewire-motu: add support for MOTU 896HD · 23c671be
    Takashi Sakamoto authored
    Mark of the Unicorn (MOTU) shipped 896HD 2003 as one of models in second
    generation of its FireWire series, and already discontinued it. The model
    consists of below ICs:
    
     * Texas Instruments TSB41AB2
     * Phillips Semiconductors PDI1394L40
     * Altera cyclone EP1C3
     * Texas Instruments TMS320VC5402
    
    It supports sampling transmission frequency up to 192.0 kHz. The packet
    format differs depending on both of sampling transfer frequency and enabling
    ADAT channels. The model doesn't support MIDI message transmission.
    
    This commit adds support for it.
    
    $ python3 crpp < /sys/bus/firewire/devices/fw1/config_rom
                   ROM header and bus information block
                   -----------------------------------------------------------------
    400  04101b66  bus_info_length 4, crc_length 16, crc 7014
    404  31333934  bus_name "1394"
    408  20001000  irmc 0, cmc 0, isc 1, bmc 0, cyc_clk_acc 0, max_rec 1 (4)
    40c  0001f200  company_id 0001f2     |
    410  0001dbce  device_id 000001dbce  | EUI-64 0001f2000001dbce
    
                   root directory
                   -----------------------------------------------------------------
    414  0004c65c  directory_length 4, crc 50780
    418  030001f2  vendor
    41c  0c0083c0  node capabilities per IEEE 1394
    420  8d000006  --> eui-64 leaf at 438
    424  d1000001  --> unit directory at 428
    
                   unit directory at 428
                   -----------------------------------------------------------------
    428  0003dcc1  directory_length 3, crc 56513
    42c  120001f2  specifier id
    430  13000005  version
    434  17102800  model
    
                   eui-64 leaf at 438
                   -----------------------------------------------------------------
    438  000264f2  leaf_length 2, crc 25842
    43c  0001f200  company_id 0001f2     |
    440  0001dbce  device_id 000001dbce  | EUI-64 0001f2000001dbce
    Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
    Link: https://lore.kernel.org/r/20210823085741.33864-1-o-takashi@sakamocchi.jpSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    23c671be
motu.c 4.83 KB