I have a temperory idea: as I know, if the sleep time of keyboard is long (several minutes) the disconnection issue happen. so can some one write a shell script to watch the keyboard connection state and as soon as disccoent, force to reconnect it with MAC address?!