Using a debian based OS - Kuiper - on plutosdr arm (Zynq)
It seems that uri context local: is only allowed to root.
Logged as a regular user (analog)
iio_readdev -u local: -b 256 -s 256 cf-ad9361-lpc
Unable to allocate buffer: Permission denied (13)
sudo iio_readdev -u local: -b 256 -s 256 cf-ad9361-lpc is working
But using uri:ip:127.0.0.1
iio_readdev -u local: -b 256 -s 256 cf-ad9361-lpc is working
As I need fast transfer , is there any way to allow regular user (analog) to access to local: ? udev rule ?
After further investigation, local: use mmap which is allowed only to root.
It means that softwares could not use high speed transfers without priviledge. It is a bit weird ! Maybe a solution is to transfer this particular mode to kernel ?
Any hints appreciated.
Regards
Evariste F5OEO
Edit Notes
Further investigation[edited by: F5OEO at 10:21 AM (GMT -4) on 15 Oct 2025]