I will do the backticks next time
No. there is no sound with the second DAC (DA2) when the message appear, I did not manage to co-relate the aural problem with the system message in my previous post, but this one I did.
- I turn on the system
- Load driver, run jackd, and use jack_connect to link my program
- DAC1 has sound, DAC2 has no sound, open dmesg ... this time two errors
[ 178.985106] bone_capemgr bone_capemgr: part_number 'BB-CTAG-SW-8CH', version 'N/A'
[ 178.985143] bone_capemgr bone_capemgr: slot #4: override
[ 178.985160] bone_capemgr bone_capemgr: Using override eeprom data at slot 4
[ 178.985177] bone_capemgr bone_capemgr: slot #4: 'Override Board Name,00A0,Override Manuf,BB-CTAG-SW-8CH'
[ 179.003229] bone_capemgr bone_capemgr: slot #4: dtbo 'BB-CTAG-SW-8CH-00A0.dtbo' loaded; overlay id #0
[ 179.056299] snd_ctag_face_2_4 ocp:sound: using only one audio codec (no daisy chain).
[ 179.056375] snd_ctag_face_2_4 ocp:sound: mclk not found.
[ 179.056418] snd_ctag_face_2_4 ocp:sound: ASoC: CODEC DAI ad193x-hifi not registered
[ 179.064301] snd_ctag_face_2_4 ocp:sound: snd_soc_register_card failed (-517)
[ 179.102165] snd_ctag_face_2_4 ocp:sound: using only one audio codec (no daisy chain).
[ 179.102240] snd_ctag_face_2_4 ocp:sound: mclk not found.
[ 179.102286] snd_ctag_face_2_4 ocp:sound: ASoC: CODEC DAI ad193x-hifi not registered
[ 179.110121] snd_ctag_face_2_4 ocp:sound: snd_soc_register_card failed (-517)
[ 179.139441] snd_ctag_face_2_4 ocp:sound: using only one audio codec (no daisy chain).
[ 179.139519] snd_ctag_face_2_4 ocp:sound: mclk not found.
[ 179.146176] snd_ctag_face_2_4 ocp:sound: Using audio routing configuration from dt overlay.
[ 179.146245] snd_ctag_face_2_4 ocp:sound: Using 8 TDM slots.
[ 179.154102] snd_ctag_face_2_4 ocp:sound: ad193x-hifi <-> 48038000.mcasp mapping ok
[ 266.928160] davinci-mcasp 48038000.mcasp: Set codec DAI clock rate to 24576000.
[ 266.928195] davinci-mcasp 48038000.mcasp: Set CPU DAI clock rate to 24576000.
[ 266.929208] ad193x spi32766.0: AD193X register 0: 0x5
[ 266.929312] ad193x spi32766.0: AD193X register 1: 0x0
[ 266.929398] ad193x spi32766.0: AD193X register 2: 0x40
[ 266.929479] ad193x spi32766.0: AD193X register 3: 0xc
[ 266.933811] ad193x spi32766.0: AD193X register 4: 0x1a
[ 266.933967] ad193x spi32766.0: AD193X register 5: 0x0
[ 266.934665] ad193x spi32766.0: AD193X register 6: 0x0
[ 266.934773] ad193x spi32766.0: AD193X register 7: 0x0
[ 266.934860] ad193x spi32766.0: AD193X register 8: 0x0
[ 266.934943] ad193x spi32766.0: AD193X register 9: 0x0
[ 266.935025] ad193x spi32766.0: AD193X register 10: 0x0
[ 266.935107] ad193x spi32766.0: AD193X register 11: 0x0
[ 266.936600] ad193x spi32766.0: AD193X register 12: 0x0
[ 266.936727] ad193x spi32766.0: AD193X register 13: 0x0
[ 266.936812] ad193x spi32766.0: AD193X register 14: 0x1
[ 266.936895] ad193x spi32766.0: AD193X register 15: 0x23
[ 266.936977] ad193x spi32766.0: AD193X register 16: 0x6c
[ 266.939479] davinci-mcasp 48038000.mcasp: Set codec DAI clock rate to 24576000.
[ 266.939512] davinci-mcasp 48038000.mcasp: Set CPU DAI clock rate to 24576000.
[ 266.942756] ad193x spi32766.0: AD193X register 0: 0x84
[ 266.942856] ad193x spi32766.0: AD193X register 1: 0x0
[ 266.942939] ad193x spi32766.0: AD193X register 2: 0x40
[ 266.943021] ad193x spi32766.0: AD193X register 3: 0xc
[ 266.943102] ad193x spi32766.0: AD193X register 4: 0x1a
[ 266.943184] ad193x spi32766.0: AD193X register 5: 0x0
[ 266.943264] ad193x spi32766.0: AD193X register 6: 0x0
[ 266.943345] ad193x spi32766.0: AD193X register 7: 0x0
[ 266.945008] ad193x spi32766.0: AD193X register 8: 0x0
[ 266.945144] ad193x spi32766.0: AD193X register 9: 0x0
[ 266.945233] ad193x spi32766.0: AD193X register 10: 0x0
[ 266.945316] ad193x spi32766.0: AD193X register 11: 0x0
[ 266.945396] ad193x spi32766.0: AD193X register 12: 0x0
[ 266.945478] ad193x spi32766.0: AD193X register 13: 0x0
[ 266.946649] ad193x spi32766.0: AD193X register 14: 0x0
[ 266.946780] ad193x spi32766.0: AD193X register 15: 0x23
[ 266.946867] ad193x spi32766.0: AD193X register 16: 0x6c
Please note the above is one instance of the startup process time, the whole picture is that the chance of error occurance is 30%, which means it fail every 3 times in 10, and the other 7 times works perfectly, and when it works it can works perfectly for many hours.