Jonathan et all, Well actually this issues is in the build_channel_array function located in iio_utils.c, but when testing my LIDAR driver with the generic_buffer tool I found the following corner case. So in_distance_* has a scale entry but no offset so it in turn it fails.. at line 495 in iio_utils.c Thanks, Matt -- 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