This has been asked, and answered, a million times before. And I think I've read almost all those questions and answers, and tried as many of the solutions as I can.
However, I still can't get the mouse to automatically reconnect after a sleep, or a shutdown, or any cessation of use. I'm using a Microsoft Sculpt Comfort Mouse under Kubuntu 14.04, 64bit. I can connect manually, of course.
My latest effort was to add the lines
<!-- Microsoft Sculpt Comfort mouse --> <device oui="28:18:78:" name="Microsoft Sculpt Comfort Mouse" pin="0000"/>
/usr/share/kde4/apps/bluedevilwizard/pin-code-database.xml and then restart bluetooth with
sudo service bluetooth restart
But nothing. The mouse still has to be manually paired.
And just now, after trying a few
hcitool commands - the mouse won't connect at all! All I now get are timeout messages. I don't know what I've done, but as of now the mouse refuses to connect at all.
I'm a bit confused here....