Hello Jonathan, > > /sys/bus/iio/devices/iio:deviceX/out_voltageY&Z_raw > err. that's curious. You can't set that... Goes to show I should review > changes to this file more carefully. I just shouted down adding the stuff that > would provide that precisely because it made no sense. I leave that to you > > in iio.h: > > * @channel: What number or name do we wish to assign the channel. > > what is meant by 'name' here? > Oops. Comment has rotted. Drop the name bit if you fancy doing a patch. will do > > * @indexed: Specify the channel has a numerical index. If not, > > * the value in channel will be suppressed for attribute > > * but not for event codes. Typically set it to 0 when > > * the index is false. > > I am not sure what an 'attribute code' is (sysfs name?) > attribute name (which is just a sysfs name as you call it) Again, > could do with fixing. * @indexed: Specify the channel has a numerical index. If not, * the channel index number will be suppressed for sysfs * attributes but not for event codes. Typically set it * to 0 when the index is 0. > > I am not sure what 'index is false' means > index == 0; Oops, more good points. Thanks! or should it be 'Typically set it to 0 when the index is 0 and there is just one channel.'? 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