-.\" $OpenBSD: ugold.4,v 1.10 2023/12/21 19:40:47 miod Exp $
+.\" $OpenBSD: ugold.4,v 1.11 2024/07/27 17:31:49 miod Exp $
.\"
.\" Copyright (c) 2013 Takayoshi SASANO <sasano@openbsd.org>
.\" Copyright (c) 2013 Martin Pieuchot <mpi@openbsd.org>
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: December 21 2023 $
+.Dd $Mdocdate: July 27 2024 $
.Dt UGOLD 4
.Os
.Sh NAME
.It Li "RDing TEMPerHum1V1.2" Ta "1 Temperature and 1 Humidity"
.It Li "RDing TEMPerHUM_V3.9" Ta "1 Temperature and 1 Humidity"
.It Li "RDing TEMPerHUM_V4.0" Ta "1 Temperature and 1 Humidity"
+.It Li "RDing TEMPerHUM_V4.1" Ta "1 Temperature and 1 Humidity"
.It Li "RDing TEMPer1F_H1V1.5F" Ta "1 Temperature and 1 Humidity"
.It Li "RDing TEMPerX_V3.1" Ta "1 Temperature and 1 Humidity"
.It Li "RDing TEMPerX_V3.3" Ta "1 Temperature and 1 Humidity"
-/* $OpenBSD: ugold.c,v 1.28 2024/05/23 03:21:09 jsg Exp $ */
+/* $OpenBSD: ugold.c,v 1.29 2024/07/27 17:31:49 miod Exp $ */
/*
* Copyright (c) 2013 Takayoshi SASANO <uaa@openbsd.org>
if (sc->sc_model_len >= 9 &&
memcmp(sc->sc_model, "TEMPerHUM", 9) == 0) {
if (memcmp(sc->sc_model + 9, "_V3.9 ", 16 - 9) == 0 ||
- memcmp(sc->sc_model + 9, "_V4.0 ", 16 - 9) == 0) {
+ memcmp(sc->sc_model + 9, "_V4.0 ", 16 - 9) == 0 ||
+ memcmp(sc->sc_model + 9, "_V4.1\0\0", 16 - 9) == 0) {
sc->sc_type = UGOLD_TYPE_TEMPERX;
descr = "temperx (temperature and humidity)";
goto identified;
sc->sc_type = UGOLD_TYPE_GOLD;
/*
* TEMPer1F devices lack the internal sensor, but will never
- * report data for it, so it will never gets marked as valid.
+ * report data for it, so it will never get marked as valid.
* We thus keep the value of sc_num_sensors unchanged at 2,
* and make sure we will only report one single sensor below.
*/