commit | 8539d5dcf2d04cfc1985e3272fb20b3109ebb492 | [log] [tgz] |
---|---|---|
author | Enrico Granata <egranata@chromium.org> | Mon May 06 18:05:23 2019 |
committer | chrome-bot <chrome-bot@chromium.org> | Fri May 10 17:43:54 2019 |
tree | c833ec48adce0fbdc24fecae3fdd12eabf61b604 | |
parent | dba08b05437f955bd7c1220c71d49bc7f33b3b2c [diff] |
CHROMIUM: HACK: ignore error in set up of cros_ec_sensor_ring iio_device cros-ec-ring exposes attributes that are tricky for libiio to parse due to its use of extended_name on a few of its channels. Since this driver is slated for removal, and the correct fix for this general issue is tricky and likely to require design work, the path of least friction is a temporary hack in our internal repo to allow the iio_context to proceed to being created even if cros-ec-ring causes a parse error BUG=chromium:958236 TEST=run mems_setup with the sensor ring driver loaded, observe it ignore the device instead of failing Change-Id: I51f825c6797a23f469703aaba4a5551bf5a60b61 Signed-off-by: Enrico Granata <egranata@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1597153 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Library for interfacing with Linux IIO devices
libiio is used to interface to the Linux Industrial Input/Output (IIO) Subsystem. The Linux IIO subsystem is intended to provide support for devices that in some sense are analog to digital or digital to analog converters (ADCs, DACs). This includes, but is not limited to ADCs, Accelerometers, Gyros, IMUs, Capacitance to Digital Converters (CDCs), Pressure Sensors, Color, Light and Proximity Sensors, Temperature Sensors, Magnetometers, DACs, DDS (Direct Digital Synthesis), PLLs (Phase Locked Loops), Variable/Programmable Gain Amplifiers (VGA, PGA), and RF transceivers. You can use libiio natively on an embedded Linux target (local mode), or use libiio to communicate remotely to that same target from a host Linux, Windows or MAC over USB or Ethernet or Serial.
Although libiio was primarily developed by Analog Devices Inc., it is an active open source library, which many people have contributed to. It released under the GNU Lesser General Public License, version 2.1 or later, this open-source license allows anyone to use the library, on any vendors processor/FPGA/SoC, which may be controlling any vendors peripheral device (ADC, DAC, etc) either locally or remotely. This includes closed or open-source, commercial or non-commercial applications (subject to the LGPL license freedoms, obligations and restrictions).
License : Latest Release : Downloads :
Scans : Release docs: Issues :
Support:
If you have a question about libiio and an Analog Devices IIO kernel driver please ask on : . If you have a question about a non-ADI devices, please ask it on github.
As with many open source packages, we use GitHub to do develop and maintain the source, and Travis CI and Appveyor for continuous integration.
If you use it, and like it - please let us know. If you use it, and hate it - please let us know that too. The goal of the project is to try to make Linux IIO devices easier to use on a variety of platforms. If we aren't doing that - we will try to make it better.
Feedback is appreciated (in order of preference):
Weblinks: