1 What: /sys/bus/iio/devices/triggerX/ 1 What: /sys/bus/iio/devices/triggerX/trigger_now 2 KernelVersion: 2.6.38 2 KernelVersion: 2.6.38 3 Contact: linux-iio@vger.kernel.org 3 Contact: linux-iio@vger.kernel.org 4 Description: 4 Description: 5 This file is provided by the i 5 This file is provided by the iio-trig-sysfs stand-alone trigger 6 driver. Writing this file with 6 driver. Writing this file with any value triggers an event 7 driven driver, associated with 7 driven driver, associated with this trigger, to capture data 8 into an in kernel buffer. This 8 into an in kernel buffer. This approach can be valuable during 9 automated testing or in situat 9 automated testing or in situations, where other trigger methods 10 are not applicable. For exampl 10 are not applicable. For example no RTC or spare GPIOs. 11 X is the IIO index of the trig 11 X is the IIO index of the trigger. 12 12 13 What: /sys/bus/iio/devices/triggerX/ 13 What: /sys/bus/iio/devices/triggerX/name 14 KernelVersion: 2.6.39 14 KernelVersion: 2.6.39 15 Contact: linux-iio@vger.kernel.org 15 Contact: linux-iio@vger.kernel.org 16 Description: 16 Description: 17 The name attribute holds a des 17 The name attribute holds a description string for the current 18 trigger. In order to associate 18 trigger. In order to associate the trigger with an IIO device 19 one should write this name str 19 one should write this name string to 20 /sys/bus/iio/devices/iio:devic 20 /sys/bus/iio/devices/iio:deviceY/trigger/current_trigger. 21 21 22 What: /sys/bus/iio/devices/iio_sysfs 22 What: /sys/bus/iio/devices/iio_sysfs_trigger/add_trigger 23 KernelVersion: 2.6.39 23 KernelVersion: 2.6.39 24 Contact: linux-iio@vger.kernel.org 24 Contact: linux-iio@vger.kernel.org 25 Description: 25 Description: 26 This attribute is provided by 26 This attribute is provided by the iio-trig-sysfs stand-alone 27 driver and it is used to activ 27 driver and it is used to activate the creation of a new trigger. 28 In order to achieve this, one 28 In order to achieve this, one should write a positive integer 29 into the associated file, whic 29 into the associated file, which will serve as the id of the 30 trigger. If the trigger with t 30 trigger. If the trigger with the specified id is already present 31 in the system, an invalid argu 31 in the system, an invalid argument message will be returned. 32 32 33 What: /sys/bus/iio/devices/iio_sysfs 33 What: /sys/bus/iio/devices/iio_sysfs_trigger/remove_trigger 34 KernelVersion: 2.6.39 34 KernelVersion: 2.6.39 35 Contact: linux-iio@vger.kernel.org 35 Contact: linux-iio@vger.kernel.org 36 Description: 36 Description: 37 This attribute is used to unre 37 This attribute is used to unregister and delete a previously 38 created trigger from the list 38 created trigger from the list of available triggers. In order to 39 achieve this, one should write 39 achieve this, one should write a positive integer into the 40 associated file, representing 40 associated file, representing the id of the trigger that needs 41 to be removed. If the trigger 41 to be removed. If the trigger can't be found, an invalid 42 argument message will be retur 42 argument message will be returned to the user.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.