Changeset 2015

Show
Ignore:
Timestamp:
12/09/11 03:33:05 (9 years ago)
Author:
jwoithe
Message:

motu: more 828mk1 debugging

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/motu/motu_avdevice.cpp

    r2013 r2015  
    16771677         * it's important that this be done. 
    16781678         */ 
     1679#if 1 
    16791680        WriteRegister(MOTU_G1_REG_UNKNOWN_1, 0xffc10001); 
    16801681        WriteRegister(MOTU_G1_REG_UNKNOWN_2, 0x00000000); 
     
    17081709debugOutput(DEBUG_LEVEL_VERBOSE, "MOTU g1: 0b10 reg: %x\n", 
    17091710  ReadRegister(MOTU_G1_REG_CONFIG_2)); 
     1711 
     1712#else 
     1713  WriteRegister(0xb04, 0xffc10001); 
     1714  WriteRegister(0xb08, 0x00000000); 
     1715  WriteRegister(0xb00, 0x80810828); 
     1716  WriteRegister(0xb10, 0x000000c2); 
     1717  WriteRegister(0xb00, 0xc0c10828); 
     1718  WriteRegister(0xb00, 0x000008a8); 
     1719#endif 
    17101720 
    17111721        return true; 
  • trunk/libffado/support/mixer-qt4/ffado/widgets/matrixmixer.py

    r2013 r2015  
    9797 
    9898    def directValues(self,text): 
    99         log.debug("MixerNode.directValues( '%s' )" % text) 
     99        #log.debug("MixerNode.directValues( '%s' )" % text) 
    100100        text = text.split(" ")[0].replace(",",".") 
    101101        n = pow(10, (float(text)/20)) * pow(2,14) 
    102         log.debug("%g" % n) 
     102        #log.debug("%g" % n) 
    103103        self.setValue(n) 
    104104