Hey, I have a couple of bugs filed against iio-sensor-proxy where the problem is in my code's wrong way of doing device detection. I want to detect compasses, accelerometers, and ambient light sensors, both those using triggers, and those that require polling. I'll try to answer my own questions, and you can tell me whether I'm wrong. To detect accelerometers: - Check whether in_accel_x, in_accel_y and in_accel_z files exist To detect ambient light sensors: - Check whether in_intensity_both, or in_illuminance_input or in_illuminance_raw exists (the intensity one looks wrong...) To detect compasses: - Check whether in_rot_from_north_magnetic_tilt_comp exists To detect whether the device needs polling, or has a trigger, construct a trigger name like <name>-dev<device number> for example, magn_3d- dev0. Is that all correct? Cheers -- 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