drive detection