Jump to content

Getting sound.target to load faster


Kegan Simpson

Recommended Posts

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

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

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines