Reputation: 1460
I'm fairly new to the Linux kernel development and very new to IIO, I'm confused about the IIO interface.
I see that with IIO there are two interfaces for the user:
INDIO_DIRECT_MODE
), where each channel can be read/written individually.I'm writing a driver on Nvidia Jetson for a mechanical device that can move, in the driver there's a device with two channels:
I would like to expose those value to the user directly (no need for sampling, just read/write values as the user reads/writes), so something like option (1.) above, but the sysfs files that are created belong to root:root
and their permission is 0600
.
Upvotes: 0
Views: 56