Implemented detection of newly connected and disconnected pads on Linux.