create an ${HOME}/.config/jack/<config_file_name>.conf file which contain your configuration then
% 66-enable jackd@ <config_file_name>
Thank you, but I think such module type services with an @ need to have such an explanation somewhere, we can't guess what it is. I ended up trying things like jackd@ alsa jackd@ audiointerface ....

wpa_supplicant does it need to have @ wlan0 or other if name? Forum search results in both ...

If I had figured out how to get my wpa_supplicant running I would have written a wiki about it.
a month later
This is total and utter bullshit, months and months, everytime I go reading and reading, wikis, ardour site, forums, not a single instance of what this config should have in it, no clue what is missing, not a single instance of jack starting even disfunctional.

Maybe I should install debian or manjaro to see whether jack works there.
Could not open component .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
Could not open component .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
jack_get_descriptor : dll
jack_get_descriptor returns null for 'jack_firewire.so'
Could not open component .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
Cannot lock down 107341338 byte memory area (Cannot allocate memory)
Failed to connect to session bus for device reservation: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead

To bypass device reservation via session bus, set JACK_NO_AUDIO_RESERVATION=1 prior to starting jackd.

Audio device hw:0 cannot be acquired...
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server

% pkg -F /usr/lib/jack/jack_firewire.so
usr/lib/jack/jack_firewire.so is owned by obcommunity/jack2 1.9.18-2
usr/lib/jack/jack_firewire.so is owned by extra/jack 0.125.0-9
usr/lib/jack/jack_firewire.so is owned by community/jack2 1.9.18-1

extra/libraw1394 2.1.2-3 [installed]
    Provides an API to the Linux IEEE1394 (FireWire) driver

Traceback (most recent call last):
  File "/usr/bin/jack_control", line 403, in <module>
    sys.exit(main())
  File "/usr/bin/jack_control", line 159, in main
    bus = dbus.SessionBus()
  File "/usr/lib/python3.9/site-packages/dbus/_dbus.py", line 212, in __new__
    return Bus.__new__(cls, Bus.TYPE_SESSION, private=private,
  File "/usr/lib/python3.9/site-packages/dbus/_dbus.py", line 102, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/python3.9/site-packages/dbus/bus.py", line 124, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
Traceback (most recent call last):
  File "/usr/bin/jack_control", line 403, in <module>
    sys.exit(main())
  File "/usr/bin/jack_control", line 159, in main
    bus = dbus.SessionBus()
  File "/usr/lib/python3.9/site-packages/dbus/_dbus.py", line 212, in __new__
    return Bus.__new__(cls, Bus.TYPE_SESSION, private=private,
  File "/usr/lib/python3.9/site-packages/dbus/_dbus.py", line 102, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/python3.9/site-packages/dbus/bus.py", line 124, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
Traceback (most recent call last):
  File "/usr/bin/jack_control", line 403, in <module>
    sys.exit(main())
  File "/usr/bin/jack_control", line 159, in main
    bus = dbus.SessionBus()
  File "/usr/lib/python3.9/site-packages/dbus/_dbus.py", line 212, in __new__
    return Bus.__new__(cls, Bus.TYPE_SESSION, private=private,
  File "/usr/lib/python3.9/site-packages/dbus/_dbus.py", line 102, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/python3.9/site-packages/dbus/bus.py", line 124, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
Traceback (most recent call last):
  File "/usr/bin/jack_control", line 403, in <module>
    sys.exit(main())
  File "/usr/bin/jack_control", line 159, in main
    bus = dbus.SessionBus()
  File "/usr/lib/python3.9/site-packages/dbus/_dbus.py", line 212, in __new__
    return Bus.__new__(cls, Bus.TYPE_SESSION, private=private,
  File "/usr/lib/python3.9/site-packages/dbus/_dbus.py", line 102, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/python3.9/site-packages/dbus/bus.py", line 124, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
Traceback (most recent call last):
  File "/usr/bin/jack_control", line 403, in <module>
    sys.exit(main())
  File "/usr/bin/jack_control", line 159, in main
    bus = dbus.SessionBus()
  File "/usr/lib/python3.9/site-packages/dbus/_dbus.py", line 212, in __new__
    return Bus.__new__(cls, Bus.TYPE_SESSION, private=private,
  File "/usr/lib/python3.9/site-packages/dbus/_dbus.py", line 102, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/python3.9/site-packages/dbus/bus.py", line 124, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
Traceback (most recent call last):
  File "/usr/bin/jack_control", line 403, in <module>
    sys.exit(main())
  File "/usr/bin/jack_control", line 159, in main
    bus = dbus.SessionBus()
  File "/usr/lib/python3.9/site-packages/dbus/_dbus.py", line 212, in __new__
    return Bus.__new__(cls, Bus.TYPE_SESSION, private=private,
  File "/usr/lib/python3.9/site-packages/dbus/_dbus.py", line 102, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/python3.9/site-packages/dbus/bus.py", line 124, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
Traceback (most recent call last):
  File "/usr/bin/a2j_control", line 203, in <module>
    A2JControl()
  File "/usr/bin/a2j_control", line 197, in __init__
    self.initialize_dbus_controller_interface()
  File "/usr/bin/a2j_control", line 87, in initialize_dbus_controller_interface
    controller = dbus.SessionBus().get_object(self.service_name, "/")
  File "/usr/lib/python3.9/site-packages/dbus/_dbus.py", line 212, in __new__
    return Bus.__new__(cls, Bus.TYPE_SESSION, private=private,
  File "/usr/lib/python3.9/site-packages/dbus/_dbus.py", line 102, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/python3.9/site-packages/dbus/bus.py", line 124, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
Traceback (most recent call last):
  File "/usr/bin/a2j_control", line 203, in <module>
    A2JControl()
  File "/usr/bin/a2j_control", line 197, in __init__
    self.initialize_dbus_controller_interface()
  File "/usr/bin/a2j_control", line 87, in initialize_dbus_controller_interface
    controller = dbus.SessionBus().get_object(self.service_name, "/")
  File "/usr/lib/python3.9/site-packages/dbus/_dbus.py", line 212, in __new__
    return Bus.__new__(cls, Bus.TYPE_SESSION, private=private,
  File "/usr/lib/python3.9/site-packages/dbus/_dbus.py", line 102, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/python3.9/site-packages/dbus/bus.py", line 124, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
jack.sh: line 13: qjackctl: command not found

# Note:   qjackctl  is built against qt6-base which requires systmed for the past 3-4 months.

qjackctl: error while loading shared libraries: libsystemd.so.0: cannot open shared object file: No such file or directory

There is a whole bunch of software that relate to music that require for jack to be running, not just installed.
jack-66serv needs jack2, most instructions for starting jack daemon fail with jack2
Maybe our own official musician :p (jm) can answer to this. If i remember well , he use jack.
2 months later
the script calls for a config at /etc/jack there is no such directory created by default by jack

so let's say I create one called /etc/jack and add ./PCH.conf in it
66-enable -t audio -v4 -F jackd@ /etc/jack/PCH.conf
66-enable(src/lib66/parser_enabled.c: parse_service_before(): 42): tracing: start parse process of service: /usr/lib/66/service/jackd@ /etc/jack/PCH.conf
66-enable(src/lib66/parser_enabled.c: parse_service_before(): 82): tracing: read service file of: /usr/lib/66/service/jackd@ /etc/jack/PCH.conf
66-enable(src/lib66/ss_utils.c: read_svfile(): 315): warning: unable to open /usr/lib/66/service/jackd@ /etc/jack/PCH.conf: Not a directory
66-enable(src/lib66/ssexec_enable.c: start_parser(): 84): fatal: unable to parse service file: /usr/lib/66/service/jackd@ /etc/jack/PCH.conf: or its dependencies

sudo 66-enable -t audio -v4 -FS jackd@ /etc/jack
66-enable(src/lib66/parser_enabled.c: parse_service_before(): 42): tracing: start parse process of service: /usr/lib/66/service/jackd@ /etc/jack
66-enable(src/lib66/parser_enabled.c: parse_service_before(): 82): tracing: read service file of: /usr/lib/66/service/jackd@ /etc/jack
66-enable(src/lib66/ss_utils.c: read_svfile(): 315): warning: unable to open /usr/lib/66/service/jackd@ /etc/jack: Not a directory
66-enable(src/lib66/ssexec_enable.c: start_parser(): 84): fatal: unable to parse service file: /usr/lib/66/service/jackd@ /etc/jack: or its dependencies
a month later
4 months have passed and there still is no response to the initial question, the software exists, the service file undocumented exists, but NOBODY here has a clue or the willingness to explain.

Maybe by my 4 year birthday on this system it is time to move on, don't know where, but this "community" has failed to act like one. I mean even a "fuck off I am not helping you" or "we don't know how this works, we are just offering to anyone who might figure it out and let us know how it does" is better than silence.

The dev doesn't know, the assistant dev doesn't know, the community doesn't know ... nobody does....

Is it not weird and I am just making shit up or do you see responses that I don't.


Hasta manana .....
  • [deleted]

You decided to wear your horse blinders to the bitter end while porting accusation on others of not solving your problem ? First of all if as an assistant it concerns me, you are the only one to say that I do not know and for your concern I never used this service. If I am not mistaken you have the sufficient knowledge to understand the piece of code in the service. It is also however quite clear in all the logs you have sent what is wrong if you take off your horse blinders.

You're moaning against yourself and behind your blinders you need a culprit to run away from yourself. Bravo! You had a bad day, so do I but I do not come here accusing the community of my problems.

The community doesn't know ... nobody does.... so what? That doesn't give you the possiblity to find out, to go beyond yourself to be the one who know ? It's not C or C ++ that you have to learn to understand the service or the logs.

No kidding, sometimes you exaggerate.
I think jack-66serv should be taken off the repository

Nobody knows if it would work, so why keep it?
Nobody knows if it would work, so why keep it?
because one day, some user can find how to deal with jack. I cannot know everything ....

Anyway, with my old age my memory go away sometime and so i forgot thing like answering to a post :/.
so let's say I create one called /etc/jack and add ./PCH.conf in it
in that case you should do
# 66-enable -t audio -v4 -F jackd@ PCH
according to
[main]
@ type = longrun
@ version = @ VERSION@
@ description = "JACK server using @ I.conf profile"
@ user = ( user )
@ options = ( log )

[start]
@ execute = (

	importas HOME HOME
	execl-envfile -l /etc/jack/@ I.conf
	execl-envfile -l ${HOME}/.config/jack/@ I.conf
	execl-cmdline -s { jackd ${JACK_OPTIONS} -d ${DRIVER} -d ${DEVICE} ${DRIVER_SETTINGS} }
)
every single @ I will be replaced by the name of service and so in your case @ I will be replaced by "PCH".

Please do not repeat me that instantiated need documentation, i know but for the moment the new 66 package release is not ready.

Powered by Obarun