Try to be smart about the device path