Requirements:
- bluetoothctl (probably installed by default on raspbian)
- bluealsa (apt installable)
- alsa_out (comes with jackd)
- libsbc1 (apt installable)
tldr; 1) the weakest part of this whole Rube Goldberg machine is alsa_out
-- it's exceedingly
noisy (logging-wise), and temperamental and 2) firing a script on device connect under rasbian
is a bitch
You must add --noplugin=sap
to the "ExecStart=/usr/lib/bluetooth/bluetoothd" command in "/etc/systemd/system/bluetooth.target.wants/bluetooth.service"
'~/.asoundrc' works as-is, and is a hard requirement (the "device" entry has to match the user's actual device, natch)
Pairing/connecting once successfully using bluetoothctl
should be sufficient for
fates & headset to auto-connect after that
Discovering the in/out-puts for use with jack_connect
: use /usr/bin/jack_lsp
.
/usr/bin/jack_lsp
system:capture_1
system:capture_2
system:playback_1
system:playback_2
crone:input_1
crone:input_2
**snip**
crone:output_1
crone:output_2
**snip**
softcut:input_1
**snip**
SuperCollider:out_1
/usr/bin/jack_lsp
system:capture_1
**snip**
SuperCollider:out_1
boseqc35ii:playback_1
boseqc35ii:playback_2
Running systemctl start --user boseqc35ii
works to hook up the headset to jack. I tried setting it up
as a system service, thinking that permissions might be causing issues with udev, but it turns
out that root can't use the user's jackd...
"Hot-plugging" does indeed trigger udev -- but the service doesn't start...
The commented-out bits in the "Unit" section of 'boseqc35ii.service' should in theory work -- but don't
udev/systemd stuff - my primary source of info
Yep, moved the systemd file from '/etc/systemd/system' to '~/.config/systemd/user' and now I can successfully
systemctl start --user boseqc35ii
again.