Re: [RFC] Air quality sensor channel type

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

 



On Wed, Aug 26, 2015 at 10:41 PM, Jonathan Cameron
<jic23@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
>
> On 27 August 2015 05:55:39 BST, Matt Ranostay <mranostay@xxxxxxxxx> wrote:
>>Jonathan et all,
>>
>>Shortly going to be working an i2c air quality sensor and noticed
>>there is no current IIO_* channel attribute for anything VOC (volatile
>>organic compound) or CO2 readings. The data that this sensor would
>>report back is the parts per million of particles, so my first thought
>>is something like IIO_VOCPPM.
> Sounds sensible. Maybe throw together ABI docs in advance of driver.

Second thought a more generic IIO_PPM or IIO_PARTSPERMILLION makes
more sense since it couldn't always be VOC reported back. Like in this
sensor case it reports CO2 and VOC data differently.

I'll submit a RFC patch either tonight or tomorrow  to the list.

>
>>
>>Also which subdirectory would make sense in? Or a new one like
>>drivers/iio/voc ?
>
> New directory. Are there other forms of air quality sensor? Perhaps even
>  something general like IIO/chemical?
>
>
>
>>
>>MICS-VZ-89T I2C Datasheet:
>>* http://sgx.cdistore.com/datasheets/sgx/VZ-89-I2C-Specs.pdf
>>
>>
>>Thoughts? Comments?
>>
>>Thanks,
>>
>>Matt
>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
--
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