STM32MP157F-DK2, iio_info error
Running the iio_info command on a terminal into a STM32MP157F-DK2 (booting from the shipped SD-card) reports some errors:
root@stm32mp1:~# iio_info
Library version: 0.23 (git tag: 92d6a35)
Compiled with backends: local xml ip usb serial
IIO context created with local backend.
Backend version: 0.23 (git tag: 92d6a35)
Backend description string: Linux stm32mp1 5.15.45 #1 SMP PREEMPT Mon Jun 6 06:43:42 UTC 2022 armv7l
IIO context has 2 attributes:
local,kernel: 5.15.45
uri: local:
IIO context has 2 devices:
iio:device0: 48003000.adc:adc@0 (buffer capable)
2 channels found:
...
ERROR: checking for trigger : Input/output error (5)
iio:device1: 48003000.adc:adc@100 (buffer capable)
4 channels found:
...
ERROR: checking for trigger : Input/output error (5)
(Several dozen lines dropped here. And trying to format the output as 'code' throws HTML errors).
What do these trigger - related errors tell me?
If this is supposed to mean the EIO error (clib errno), i.e. a file read/write error, isn't iio_info supposed to know what are readable/writable files, and what not ?
I suppose it's related to /sys/bus/iio/devices/iio:device<n>/trigger.
I have some difficulties wrapping my head around ST's libiio implementation.
