Re: IIO and Comedi

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

 



On Fri, Dec 17, 2010 at 03:13:02PM -0500, Robin Getz wrote:
> 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 totally agree.

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

There's a desire to figure out a standardized kernel/user api for these
types of devices, if they are similar.

But, we also have to be mindful of the many years of applications that
rely on the comedi libraries.  comedi has been around since the 2.0
days, so ideally if we can keep the userspace library from having to
change its external api, we can do what we want with the kernel side.

So, any work you might want to do in this area is most appreciated.

thanks,

greg k-h
--
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