iio: Multiple iio_buffer per device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all.

I've got some custom hardware that provides data in response to an
explicit request (or stream of such requests).  I'd like to use
iio_buffer to catch the data that is returned .  However, I'd also
like multiple users (i.e. multiple openers of the device) to be able
to be able to send requests to the device and each receive the results
into their own separate buffer.

I've implemented a system like this in the past through ad-hoc use of
mmap(), wrote my own userspace buffer interaction library (a la
libiio), and allowing requests to be submitted through ioctl().
However, I'd like to use iio_buffer here if possible, as it is more
widely-supported than my own one-off solution.

Are there any instances of multiple buffers being associated with an
IIO device (or such buffers being created on-the-fly)?  Has this kind
of idea ever been discussed before?

Thanks.
-Jeremy Trimble
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux