IIO and Comedi

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

 



I'm just trying to rationalise something in my head...

In staging, there exists both iio, and comedi - which both seem to do similar 
things (capture/create external analog signals), just with different 
busses -- which is really different platforms (Desktop - PCI, PCIe vs 
embedded - I2C, SPI, SoC, etc).

./staging/iio
./staging/comedi

the problem (to me) is two different userspace interfaces.

For userspace, for those "typical" applications - oscilloscope, generator, 
strip chart recorder, etc - it would be nice to have a common userspace lib 
between the two - so I can prototype on a desktop via PCI DAQ card, and run 
on my embedded system with a SPI converter.

I can't be the only one asking if there any desire to unify these before they 
are moved to mainline (out of staging). If there isn't - that's OK too.

Thanks
-Robin


For those not familiar with the other:

>From ./staging/iio/Documentation
------------------------------------
Overview of IIO

The Industrial I/O subsytem is intended to provide support for devices
that in some sense are analog to digital convertors (ADCs). As many
actual devices combine some ADCs with digital to analog convertors
(DACs) the intention is to add that functionality at a future date
(hence the name).

The aim is to fill the gap between the somewhat similar hwmon and
input subsystems.  Hwmon is very much directed at low sample rate
sensors used in applications such as fan speed control and temperature
measurement.  Input is, as it's name suggests focused on input
devices. In some cases there is considerable overlap between these and
IIO.

A typical device falling into this category would be connected via SPI
or I2C.
-----------------------------------

and from:
http://www.comedi.org/doc/index.html#INTRODUCTION

-----------------------------------
Comedi is a free software project that develops drivers, tools, and libraries 
for various forms of data acquisition: reading and writing of analog signals; 
reading and writing of digital inputs/outputs; pulse and frequency counting; 
pulse generation; reading encoders; etc.
-----------------------------------



--
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