57 lines · plain
1What: /sys/.../events/in_illuminance0_thresh_either_en2Date: April 20123KernelVersion: 3.54Contact: Johan Hovold <jhovold@gmail.com>5Description:6 Event generated when channel passes one of the four thresholds7 in each direction (rising|falling) and a zone change occurs.8 The corresponding light zone can be read from9 in_illuminance0_zone.10 11What: /sys/.../events/in_illuminance0_threshY_hysteresis12Date: May 201213KernelVersion: 3.514Contact: Johan Hovold <jhovold@gmail.com>15Description:16 Get the hysteresis for thresholds Y, that is,17 threshY_hysteresis = threshY_raising - threshY_falling18 19What: /sys/.../events/illuminance_threshY_falling_value20What: /sys/.../events/illuminance_threshY_raising_value21Date: April 201222KernelVersion: 3.523Contact: Johan Hovold <jhovold@gmail.com>24Description:25 Specifies the value of threshold that the device is comparing26 against for the events enabled by27 in_illuminance0_thresh_either_en (0..255), where Y in 0..3.28 29 Note that threshY_falling must be less than or equal to30 threshY_raising.31 32 These thresholds correspond to the eight zone-boundary33 registers (boundaryY_{low,high}) and define the five light34 zones.35 36What: /sys/bus/iio/devices/iio:deviceX/in_illuminance0_zone37Date: April 201238KernelVersion: 3.539Contact: Johan Hovold <jhovold@gmail.com>40Description:41 Get the current light zone (0..4) as defined by the42 in_illuminance0_threshY_{falling,rising} thresholds.43 44What: /sys/bus/iio/devices/iio:deviceX/out_currentY_currentZ_raw45Date: May 201246KernelVersion: 3.547Contact: Johan Hovold <jhovold@gmail.com>48Description:49 Set the output current for channel out_currentY when in zone50 Z (0..255), where Y in 0..2 and Z in 0..4.51 52 These values correspond to the ALS-mapper target registers for53 ALS-mapper Y + 1.54 55 Note that out_currentY_raw provides the current for the56 current zone.57