Skip to content

Incompatibility with bluetooth "input" plugin #8

Open
@mart1nro

Description

@mart1nro

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions