Return device number when setting the device. Shuts up the initialization