All of lore.kernel.org
 help / color / mirror / Atom feed
* active_scan_mask
@ 2021-05-26 18:50 Henk
  2021-05-27  9:02 ` active_scan_mask Alexandru Ardelean
  0 siblings, 1 reply; 10+ messages in thread
From: Henk @ 2021-05-26 18:50 UTC (permalink / raw)
  To: linux-iio

Dear all,

I created a custom IIO device in FPGA which in fact contains a bunch of 
ADC channels which I can acquire and stream to disk. I use analog 
devices' libiio and specifically their iio_readdev application together 
with my custom FPGA design and custom iio kernel driver.

Question: what mechanism is updating the indio_dev->active_scan_mask field.

With the iio_readdev application I can add command arguments where I can 
activate the channels that I want to retrieve (voltage0 voltage1 
...etc). When I use 8 channels as command argument in iio_readdev then 
the active_scan_mask seems to be updated with the enabled channels. When 
adding even more channels the field is extended. However, when trying to 
acquire new data and dropping some of the channel arguments then the 
active_scan_mask field does not seem to revert back to the less enabled 
(or requested) channels.

So.. I am searching which mechanisms updates that field with the aim to 
fix that bug.

Any help is appreciated.

Kind regards

Henk


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-06-09 13:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-26 18:50 active_scan_mask Henk
2021-05-27  9:02 ` active_scan_mask Alexandru Ardelean
2021-05-27 10:06   ` active_scan_mask Henk Medenblik
2021-06-07 10:53     ` active_scan_mask Alexandru Ardelean
2021-06-09  7:03       ` active_scan_mask Henk Medenblik
2021-06-09  8:19         ` active_scan_mask Sa, Nuno
2021-06-09  8:55           ` active_scan_mask Lars-Peter Clausen
2021-06-09  9:37             ` active_scan_mask Henk Medenblik
2021-06-09 13:43               ` active_scan_mask Lars-Peter Clausen
2021-06-09 13:52                 ` active_scan_mask Sa, Nuno

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.