add a callback for dumping device status information