edison-fw / meta-intel-edison

Here is the meta-intel-edison that builds, tries to stay up to date. Master is based on Yocto Poky Gatesgarth LTS 5.10.yy vanilla kernels. It builds a 32bit kernel (Gatesgarth branch 64bit) with ACPI enabled and corresponding rootfs. Telegram group: https://t.me/IntelEdison Web-site:
https://edison-fw.github.io/meta-intel-edison/
MIT License
60 stars 37 forks source link

mraa iio init wants "events" #110

Closed xlla closed 4 years ago

xlla commented 4 years ago

for mraa_iio_init, it is want to open folder

/sys/bus/iio/devices/iio\:device1/events

but in our system, there is only

/sys/bus/iio/devices/iio\:device1/uevent

is it deprecated?

andy-shev commented 4 years ago

Nope, AFAICS, https://elixir.bootlin.com/linux/v5.7-rc6/source/Documentation/ABI/testing/sysfs-bus-iio#L603

I think MRAA developers simple doesn't know how to program middle layer libraries.

That folder according to the above ABI exists only for some amount of sensors / drivers. It's optional and IIO drivers aren't obliged to implement it.

Basically you need to report it there, not here.