Hi, > I'm afraid I don't follow why you don't just make scale writeable > rather than introducing a second element to control the same thing. > Calibscale is intended for the case where the hardware can change > the scale without it being apparent from the raw readings. Sometimes > it also gets used to handling amplifiers in cases where the conversion > function is 'interesting' and we have no choice but to do it in kernel > in order to have data provided to userspace in a comprehensible form > but that doesn't apply here. I guess this is reminiscent of the staging code which had magn_range and scale; magn_range being the nice, human-readable measurement range (such as +- 1.9 Gauss) setting the expected measurement range sounds like calibration to me... I think this is one of the biggest issues of iio: that there is no guideline when to use what regards, p. -- Peter Meerwald +43-664-2444418 (mobile) -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html