On 11/12/16 04:48, Pandruvada, Srinivas wrote: > Hi Jonathan, > > HID sensor defines common illuminance field which can be output from > light sensor and color sensors. Currently we are presenting this as > intensity. > There are some user spaces expecting only illuminance attribute for > reading this and getting request to add this. > The only option I see is to add a duplicate channel. > > What do you think? Hi Srinivas, This isn't the first time we have run into this sort of issue. As you say, presenting a duplicate channel is pretty much the only option as we can't break userspace by removing the old one. As long as it is actually in the right units etc for illuminance, feel free to add the channel. If things get 'interesting' for buffered output it may be necessary to only have one of them available via that interface. Obviously this could be worked around but it is probably more trouble that it is worth to do so! Jonathan > > > Thanks, > SrinivasN�����r��y���b�X��ǧv�^�){.n�+����{��*"��^n�r���z���h����&���G���h�(�階�ݢj"���m�����z�ޖ���f���h���~�mml== > -- 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