lib added devicemanager, working on raspberry pi