Kegan Simpson Posted December 25, 2019 Share Posted December 25, 2019 Hello. I'm writing a program that requires sound.target. I was reading about sound.target and how it's a special systemd unit that doesn't load until the system finds the sound card. Armbian takes quite a bit of time to find the sound card on the OPi, around 30 seconds. Or, maybe it's something else that's making it take so long. I was wondering if there was a way I could mess around with systemd or something else to make the sound card found faster, thus sound.target and my program loading faster upon powering on the device. Thank you Link to comment Share on other sites More sharing options...
Igor Posted December 25, 2019 Share Posted December 25, 2019 7 hours ago, Kegan Simpson said: faster upon powering on the device. Armbian is general purpose OS and for us this is good enough. If you want such severe changes, you need to make a totally custom Linux OS from scratch with Buildroot or Yocto. Which will ofc cost you a lot of your resources ... Link to comment Share on other sites More sharing options...
Tido Posted December 25, 2019 Share Posted December 25, 2019 13 hours ago, Kegan Simpson said: I could mess around with systemd Well, systemd offers some diagnose options: systemd-analyze time systemd-analyze plot > OPi_boottime-$(date +%Y%m%d_%H%M%S).svg man systemctl systemctl And if you really want to tweak the very last millisecond: https://forum.armbian.com/topic/8315-daily-tech-related-news-diet/?do=findComment&comment=90239 Link to comment Share on other sites More sharing options...
Recommended Posts