Replace scheduling with generic poll interface; to be used for device detection