Open HassanSlim opened 1 day ago
Typically iio_info emits:
X debug attributes found: debug attr 0: direct_reg_access value: 0x90262
Did you mount debugfs? Does your device expose a debugfs direct_reg_access attribute?
Can you check: root@analog:~# ls /sys/kernel/debug/iio/iio\:device2/
$ ls /sys/kernel/debug/iio/iio:device2/
ls: /sys/kernel/debug/iio/iio:device2/: No such file or directory
I didn't mount debugfs, I didn't expect that debugfs is required for normal operation of IIO
Reading and writing registers is not a normal operation. Therefore it's part of debugfs, and needs to be specifically mounted by root.
https://elixir.bootlin.com/linux/v6.13-rc1/source/Documentation/ABI/testing/debugfs-iio-backend
Hi, I am building a yocto kirkstone image on xilinx zynq 7020 device. I am facing the following error when trying to read from a register.
The IIO versions that I tried till now are:
The python version which is used in zeus is 3.7, while in kirkstone is v3.10 (if this plays a role) Running iio_info in kirkstone I get the following:
The device that I am trying to access is the
streaming_core
. Any help is appreciated.Best regards, Hassan