RE: working with IIO

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

 



[...]
>  Not for replicating the
> >same mmap()ed data for multiple clients of course, but IIRC yes, v4l
> >allows multiple channels to be opened. E.g. for peeking full video,
> >preview and teletext or for switching between video sources on the same
> >grabber. Making the whole major node singleton is a bit harsh
> >restriction IMHO.
> Sure to that but here equivalent is opening main stream an pulling out
> different frame rates. Equivalent of your example is a multiple sample rate
> hardware device. Those are handled using multiple instances of iio_Dev.

We actually considered creating a separate iio_dev per "virtual" sensor (pair of {sensor, rate}). The problem is, they can pop-up dynamically and even if we opened a backdoor interface of silently creating new chardevs, we can't eat up all major numbers in the system. And we can get dangerously close to that :-(

Best regards,
Daniel

---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
��.n��������+%������w��{.n�����{��(��)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥





[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