Description
The Switch can not connect to the ports of the emulated controller, if the "input" plugin in Bluez is enabled.
However, other Bluetooth input devices can't be connected, if the "input" plugin is disabled.
The currently implemented workaround is a restart of the Bluetooth stack, after sockets for the emulated controller are registered. If you have a similar use case like in issue #6, you need to reconnect your device after that restart.
If you don't need to connect any other Bluetooth input devices and want to avoid bluetooth restarts, you can disable the "input" plugin.
In order to do that, change the following line in /lib/systemd/system/bluetooth.service
from
ExecStart=/usr/lib/bluetooth/bluetoothd
to
ExecStart=/usr/lib/bluetooth/bluetoothd --noplugin=input
and restart Bluetooth with
sudo systemctl daemon-reload
sudo systemctl restart bluetooth