Why does my keyboard and mouse track pad not work?

Sometimes if I disconnect the tablet and reconnect it to the keyboard and track pad, the keyboard works for a minute or two and then stops. The track pad doesn't work at all and there is no cursor on the screen even when the tablet is connected.

crwdns2893858:0crwdne2893858:0 crwdns2893862:0crwdne2893862:0

crwdns2894050:0crwdne2894050:0

crwdns2889612:0crwdne2889612:0 0
crwdns2892346:0crwdne2892346:0