Changeset 1218

Show
Ignore:
Timestamp:
05/25/08 07:55:01 (13 years ago)
Author:
ppalmers
Message:

add Alesis io|14 quirk (thx Adrian Knoth)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/dice/dice_avdevice.cpp

    r1142 r1218  
    4848{ 
    4949    // vendor id, model id, vendor name, model name 
    50     {FW_VENDORID_TCAT, 0x00000002, "TCAT", "DiceII EVM"}, 
    51     {FW_VENDORID_TCAT, 0x00000004, "TCAT", "DiceII EVM (vxx)"}, 
    52     {FW_VENDORID_TCAT, 0x00000021, "TC Electronic", "Konnekt 8"}, 
    53     {FW_VENDORID_TCAT, 0x00000023, "TC Electronic", "Konnekt Live"}, 
     50    {FW_VENDORID_TCAT,   0x00000002, "TCAT", "DiceII EVM"}, 
     51    {FW_VENDORID_TCAT,   0x00000004, "TCAT", "DiceII EVM (vxx)"}, 
     52    {FW_VENDORID_TCAT,   0x00000021, "TC Electronic", "Konnekt 8"}, 
     53    {FW_VENDORID_TCAT,   0x00000023, "TC Electronic", "Konnekt Live"}, 
     54    {FW_VENDORID_ALESIS, 0x00000001, "Alesis", "io|14"}, 
    5455}; 
    5556 
     
    14281429        return false; 
    14291430    } 
     1431 
     1432    // FIXME: verify this and clean it up. 
     1433    /* special case for io14, which announces two receive transmitters, 
     1434     * but only has one 
     1435     */ 
     1436    if ((FW_VENDORID_ALESIS == getConfigRom().getNodeVendorId()) && 
     1437            (0x00000001 == getConfigRom().getModelId())) { 
     1438        m_nb_rx = 1; 
     1439    } 
     1440 
    14301441    if(!readReg(m_tx_reg_offset + DICE_REGISTER_RX_SZ_RX, &m_rx_size)) { 
    14311442        debugError("Could not initialize m_rx_size\n"); 
  • trunk/libffado/src/libieee1394/vendor_model_ids.h

    r864 r1218  
    3838#define FW_VENDORID_MOTU         0x0001f2 
    3939#define FW_VENDORID_TCAT         0x000166 
     40#define FW_VENDORID_ALESIS       0x000595 
    4041 
    4142// this is the one we assign ourselves