That script will handle the installation ok, but we still the issue that the jack config is not persistent.
It can set it after boot with qjackctl, but it get over written each time.
Where is Jackd run in the zynthian boot process, is there a config file I can modify?
jack_connect “a2j:Game Drumkit Client [128] (capture): Game Drumkit port 2” “ZynMidiRouter:main_in”
works from command line, but not from rc.local, is zynthian over writing it somehow ?
I take it Zynthian start applications somewhere other than rc.local ?
We really want to bolt this in to the system the same way we do everything else.
We need to add systemd support and include some way of configuring ( config file ) the port that it appears on. Althou’ qjackctl is great for seeing what is going on it will end up fighting the zynthian systemd based infrastructure which is systemd based.
In answer to my own question above:
CMake is a system to generate make files based on the platform (i.e. CMake is cross platform) which you can then make using the generated makefiles. While make is you directly writing makefile for a specific platform that you are working with. If your product is crossplatform, then CMake is a better choice.
systemctl start, should start it … but it doesn’t seem to like the paths?
root@zynthian:~# systemctl status rbdrums2midi_daemon.service
● rbdrums2midi_daemon.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
systemd isn’t so much about delays but dependencies. I suspect it requires some other service to be loaded before it will start as a service.
If you do systemctl status you get to see the whole tree so if you manually start up your services you should see what they are dependent on with the status command.
And you have enabled the service …?
Enabling and Disabling Services
The above commands are useful for starting or stopping commands during the current session. To tell systemd to start services automatically at boot, you must enable them.
To start a service at boot, use the enable command: