Determination of mounting type