return value of opening i2c devices checked