Regarding Pressure sensors for atmospheric, station, and barometric pressures.
From: Bruce Mitchell <hidden>
Date: 2021-06-02 18:14:26
Also in:
linux-iio
Hello Guenter, I've been asked to expand the To list to include you and hwmon. In reference to: https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-bus-iio There is this section: What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_raw What: /sys/bus/iio/devices/iio:deviceX/in_pressure_raw KernelVersion: 3.8 Contact: linux-iio@vger.kernel.org Description: Raw pressure measurement from channel Y. Units after application of scale and offset are kilopascal. What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_input What: /sys/bus/iio/devices/iio:deviceX/in_pressure_input KernelVersion: 3.8 Contact: linux-iio@vger.kernel.org Description: Scaled pressure measurement from channel Y, in kilopascal. What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_raw KernelVersion: 3.14 Contact: linux-iio@vger.kernel.org Description: Raw humidity measurement of air. Units after application of scale and offset are milli percent. What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_input KernelVersion: 3.14 Contact: linux-iio@vger.kernel.org Description: Scaled humidity measurement in milli percent. Nowhere do I find the unit kilopascal used in atmospheric pressure. To stick with International System of Units and its Prefixes https://en.wikipedia.org/wiki/International_System_of_Units#Prefixes The standard unit for used in atmospheric pressure measurements or readings is the hectopascal (hPa), in meteorology, for atmospheric pressure, the modern equivalent of the traditional millibar. What would it take to make this change to the standard for https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-bus-iio ? Thank you. -- Bruce Mitchell