Generic selection of device