[Bug] Bluetooth paring can't be undone

asked 2019-05-27 14:51:38 +0300

updated 2019-05-27 15:38:08 +0300

Problem starts after successfully paring a car Bluetooth adapter and using it. I simply can't remove this device any more by means of the GUI. Of course the pairing can be removed, but every time I'm entering the Bluetooth perimeter of this car the phone automatically does the pairing with it.

The only way to stop this is to delete the very device in /var/lib/bluetooth/<BT-MAC>/cache/ using the <device-MAC>. As I hardly know the MAC's of my bluetooth devices I first hat to find the right device while it was paired under /var/lib/bluetooth/<BT-MAC>/<device-MAC>. In every /<device-mac> folder is a file name info (use more info the see the content) which holds the name of the device in the [General] section. Alternatively viewing every <device-MAC> in the /cache folder is possible, but there could be a lot. Maybe somebody knows a smart shell command to list all device name with there names in one shot. </device-mac>

Using the command prompt shouldn't be the way to perform such a task as this requires developer mode to do so. E.g. there should be a third context menu entry under remove paring maybe forget device

OS: SFOS h/p: Sony Xperia X

edit retag flag offensive close delete


Regarding automatic pairing: there's an option in every bluetooth device settings called "Always allow connections from this device". I think this causes the automatic connection, did you check that?

Pohli ( 2019-05-27 15:56:37 +0300 )edit

Yes. But I only works in one direction, namely yes. Either you're prompted for the connection or not (not means it connects without notification), when entering the Bluetooth perimeter of a device. No way to answer no with never ever ask again.

Vieno ( 2019-05-27 16:01:45 +0300 )edit

It sounds to me that the problem is on the car device's side. I think your phone is still stored in a device list of the car device. If so can you remove your phone from the list?

Pohli ( 2019-05-27 16:16:02 +0300 )edit

Do not forget to remove the smartphone from the car too.

DrYak ( 2019-05-27 17:17:21 +0300 )edit

@DrYak: That's what I meant.

Pohli ( 2019-05-27 17:22:08 +0300 )edit