Changeset 2168
- Timestamp:
- 06/20/12 18:01:21 (12 years ago)
- Files:
-
- trunk/libffado/src/motu/motu_avdevice.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/src/motu/motu_avdevice.cpp
r2085 r2168 66 66 namespace Motu { 67 67 68 // Define the supported devices. Device ordering is arbitary here. 68 // Define the supported devices. Device ordering is arbitary here. To include a MOTU 69 // device which cannot yet be used (for identification purposes only), set the model 70 // field to MOTU_MODEL_NONE. 71 // 72 // The V4HD device includes 4 sub-devices. Include all in the definition as a way 73 // of documenting it. It's likely that only one of these is of interest for audio 74 // but that's still to be determined. 69 75 static VendorModelEntry supportedDeviceList[] = 70 76 { … … 80 86 {FW_VENDORID_MOTU, 0, 0x00000019, 0x000001f2, MOTU_MODEL_ULTRALITEmk3, "MOTU", "UltraLiteMk3"}, 81 87 {FW_VENDORID_MOTU, 0, 0x0000001b, 0x000001f2, MOTU_MODEL_TRAVELERmk3, "MOTU", "TravelerMk3"}, 88 {FW_VENDORID_MOTU, 0, 0x00000021, 0x000001f2, MOTU_MODEL_NONE, "MOTU", "V4HD subdevice 0"}, 89 {FW_VENDORID_MOTU, 0, 0x00000022, 0x000001f2, MOTU_MODEL_NONE, "MOTU", "V4HD subdevice 1"}, 90 {FW_VENDORID_MOTU, 0, 0x00000023, 0x000001f2, MOTU_MODEL_NONE, "MOTU", "V4HD subdevice 2"}, 91 {FW_VENDORID_MOTU, 0, 0x00000024, 0x000001f2, MOTU_MODEL_NONE, "MOTU", "V4HD subdevice 3"}, 82 92 {FW_VENDORID_MOTU, 0, 0x00000030, 0x000001f2, MOTU_MODEL_ULTRALITEmk3_HYB, "MOTU", "UltraLiteMk3-hybrid"}, 83 93 }; … … 800 810 ) 801 811 { 812 if (supportedDeviceList[i].model == MOTU_MODEL_NONE) { 813 debugOutput( DEBUG_LEVEL_VERBOSE, "%s %s found but is not currently supported by FFADO\n", 814 supportedDeviceList[i].vendor_name, supportedDeviceList[i].model_name); 815 debugOutput( DEBUG_LEVEL_VERBOSE, " unitVersion=0x%08x\n", unitVersion); 816 return false; 817 } 818 802 819 return true; 803 820 } … … 840 857 debugOutput( DEBUG_LEVEL_VERBOSE, "found %s %s\n", 841 858 m_model->vendor_name, m_model->model_name); 859 860 if (m_motu_model == MOTU_MODEL_NONE) { 861 debugOutput( DEBUG_LEVEL_VERBOSE, "This MOTU device is not currently supported by FFADO\n"); 862 return false; 863 } 842 864 843 865 if (!buildMixer()) {