More data..
I have narrowed the issue down to these two lines in control_sgtl5000.cpp enable()
I'm reasonably sure if you can run these two lines in control_ethernet::enable(), then the issue will be resolved. I feel like there should be a way to do this with inheritance but I just don't know enough about the structure of the classes.
I see that AudioControlSGTL5000 extends AudioControl. So I thougth I could just replace AudioControl with AudioControlSGTL5000 in control_ethernet but it didn't quite work the way I was expecting...
I'll leave the fix up to smarter people than I.
I have narrowed the issue down to these two lines in control_sgtl5000.cpp enable()
Code:
write(CHIP_ANA_POWER, 0x40FF); // power up: lineout, hp, adc, dac // fixed "broken" teensy by downloading, but didnt survive reboot
write(CHIP_DIG_POWER, 0x0073); // power up all digital stuff // fixed reboot issue with previous line
I'm reasonably sure if you can run these two lines in control_ethernet::enable(), then the issue will be resolved. I feel like there should be a way to do this with inheritance but I just don't know enough about the structure of the classes.
I see that AudioControlSGTL5000 extends AudioControl. So I thougth I could just replace AudioControl with AudioControlSGTL5000 in control_ethernet but it didn't quite work the way I was expecting...
I'll leave the fix up to smarter people than I.