How to enable bluetooth connection in anyremote on Ubuntu 17.10
As you can see in http://anyremote.sourceforge.net/tips-tricks.html , anyremote uses sdptool.
The issue is the following:
sdptool search --bdaddr local SP
Failed to connect to SDP server on FF:FF:FF:00:00:00: No such file or directory
To enable it on Ubuntu 17.10, you need enable compatibility mode in /etc/systemd/system/dbus-org.bluez.service file replacing:
ExecStart=/usr/lib/bluetooth/bluetoothd
by
ExecStart=/usr/lib/bluetooth/bluetoothd --compat
After that, you must restart bluetooth daemon with the following command:
sudo systemctl daemon-reload
sudo systemctl restart bluetooth
Now, change permissions and run sdptool again:
sudo chmod 777 /var/run/sdp
sdptool search --bdaddr local SP
Searching for SP on FF:FF:FF:00:00:00 ...
Enjoy it!
NOTE: This method also allow to fix the following issue:
bluetooth.btcommon.BluetoothError: (2, 'No such file or directory')
The issue is the following:
sdptool search --bdaddr local SP
Failed to connect to SDP server on FF:FF:FF:00:00:00: No such file or directory
To enable it on Ubuntu 17.10, you need enable compatibility mode in /etc/systemd/system/dbus-org.bluez.service file replacing:
ExecStart=/usr/lib/bluetooth/bluetoothd
by
ExecStart=/usr/lib/bluetooth/bluetoothd --compat
After that, you must restart bluetooth daemon with the following command:
sudo systemctl daemon-reload
sudo systemctl restart bluetooth
Now, change permissions and run sdptool again:
sudo chmod 777 /var/run/sdp
sdptool search --bdaddr local SP
Searching for SP on FF:FF:FF:00:00:00 ...
Enjoy it!
NOTE: This method also allow to fix the following issue:
bluetooth.btcommon.BluetoothError: (2, 'No such file or directory')
Comments
Post a Comment