Bugzilla – Bug 155013
kcontrol shows wrong data in the bluetooth Paired Devices module
Last modified: 2019-10-24 14:35:29 UTC
Paired Devices in the KDE Control Modul shows wrong data. the device-addresses are wrong and the shown time too. For example the entry for today (Fr Mar 2006) paired devices shows "Mon Aug 30 2004" the dongle's address is: 00:04:61:81:27:7C shown as 3A:30:36:3A:30:30 the phone's address is: 00:60:57:59:29:BD shown as 3A:39:335:3A:37:35
I wonder how it can make up such values :)
typing error, the phones address is shown as 3A:39:35:3A:37:35
~> rpm -q --changelog bluez-utils * Wed Apr 20 2005 - behlert@suse.de - updated to v2.16: * Store link keys in ASCII based file format. Someone way later adapted the file name and position but it's still read as binary data.
Seife, you changed something with the link-keys as far as I remember, and I think that affected this link-key file, or am I wrong?
probably. Not my change, but the update to v2.16 probably broke kdebluetooth. Is there a newer version? Otherwise we probably should not build the kcm-module.
The update was nearly a year ago, your change only some weeks, so I suspected your change, sorry :)
The problem is the content of the linkkeys file and the change from binary(?) to ASCII base file format. I don't know the old linkkey file format but the new one doesn't provide the same information. kdebluetooth try to get the MAC address of both paired devices and the date of creation. The new format only provide the MAC address of the paired device and the linkkey. Where can the missing information (MAC address of bluetooth device and date of creation) be found? Or doesn't provide bluez-utils this anymore?
The MAC address of the bluetooth device is in the directory under /var/lib/bluetooth, better it is the directory name. In that directory you have a linkkeys file. /var/lib/bluetoot/linkkeys is an link to the file in the directory of the last used dongle. So using /var/lib/bluetooth/linkkeys just shows you the last used bluetooth dongle and his paires. I think the time when the pairs were created isn't saved anymore.
Updated kdebluetooth package for the bluez ASCII linkkey format. Also it can handle now more then one local bluetooth device. Checked in for beta 8.