[Bug 1094744] Re: MS Sculpt Touch Mouse needs to be re-paired periodically
Rostislav Georgiev
pisaro at mail.bg
Fri Jun 21 19:27:23 UTC 2013
Hello Marcos,
Indeed that file exists and is the same format as your patch. I tried it
and it worked.
However, being a professional embedded Linux developer, I had worked quite a bit with Bluez and decided to track the problem in source.
In fact the problem is that the mouse supports only encrypted connection which requires a key. That key normally should be stored in /var/lib/bluetooth/<host-mac>/linkkeys and it is. However it doesn't get loaded after connection is reestablished, because for some reason Bluez doesn't appear to load any keys from that file (only stores them there and deletes them when device is removed).
So Bluez isn't able to communicate with the mouse and attempts to automatically pair (that is why adding the PIN to the pairing agent's default list of PINs works). After pairing Bluez receives the key again and is able to communicate with the mouse until connection is dropped.
As of this moment I'm still debugging it and I don't know if I'll be
able to produce patch any time soon. Your solution works for now and as
it is single liner you could send your patch to the KDE team to merge it
with their tree.
Best Regards,
Rostislav Georgiev
--
You received this bug notification because you are a member of
Bluetooth, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1094744
Title:
MS Sculpt Touch Mouse needs to be re-paired periodically
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1094744/+subscriptions
More information about the Ubuntu-bluetooth
mailing list