Re: Raw data block input: is IIO a good choice?

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

 




On 12 April 2017 01:05:17 BST, Pavel Roskin <plroskin@xxxxxxxxx> wrote:
>Hi Jonathan,
>
>I tried to describe all channels, and it turns out many of them cannot
>be adequately described by the types in iio_chan_type. How do I
>describe the message sequence number? 
That wouldn't normally be of interest to userspace as driver would guarantee order.

How about the control register
>value at the time when the data was captured? That data needs to be
>passed to the userspace.

Is it changing on its own? If not normally that is represented via out of band reads of sysfs.

>
>I checked sca3000 driver. I see that it uses
>sca3000_read_first_n_hw_rb() to read the data from the buffer. Can
>that data be accessed by the userspace as is, without any processing?

It is supplied raw to userspace. You can do what you like.

J
>
>Pavel

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
--
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