lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231204165004.8491-1-code@stefan-gloor.ch>
Date:   Mon,  4 Dec 2023 17:50:02 +0100
From:   Stefan Gloor <code@...fan-gloor.ch>
To:     jdelvare@...e.com, linux@...ck-us.net, corbet@....net,
        linux-hwmon@...r.kernel.org, linux-doc@...r.kernel.org,
        linux-kernel@...r.kernel.org
Cc:     Stefan Gloor <code@...fan-gloor.ch>
Subject: [PATCH v2 0/2] hwmon: sht3x: improve docs, read serial number

The temperature/humidity sensors of the STS3x/SHT3x family are
calibrated and factory-programmed with a unique serial number.
For some sensors, this serial number can be used to obtain a calibration
certificate via an API provided by the manufacturer (Sensirion).
Expose the serial number via debugfs.

Documentation is missing information about the sts3x support, add it.

Changelog
=========

v1 -> v2:
	- Change from sysfs to debugfs
	- Add documentation improvements

In v1 I stated that the serial number readout was not
documented for the whole SHT3x/STS3x series. I found that there is a
separate document for SHT3x documenting this feature.
For STS3x, the manufacturer confirmed with me that both families work
identically. Therefore, it is not needed to introduce more IDs than "sts3x"
and "sht3x", as they don't have different functionality.

Stefan Gloor (2):
  hwmon: sht3x: add sts3x support
  hwmon: sht3x: read out sensor serial number

 Documentation/hwmon/sht3x.rst | 40 ++++++++++++++++++++-----
 drivers/hwmon/sht3x.c         | 55 +++++++++++++++++++++++++++++++++++
 2 files changed, 87 insertions(+), 8 deletions(-)

-- 
2.41.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ