updates for latest rust, refinement to try devices until available is found