CVS commit: src/share/man/man4

2025-03-12 Thread Brad Spencer
Module Name:src Committed By: brad Date: Wed Mar 12 14:13:57 UTC 2025 Modified Files: src/share/man/man4: emcfan.4 Log Message: There is a GPIO6 on EMC2103-2, EMC2103-4, EMC2104 and EMC2106 chips that has no other alternative function and is just a GPIO pin. Mention that i

CVS commit: src/share/man/man4

2025-03-12 Thread Brad Spencer
7 brad Exp $ .\" .\" Copyright (c) 2025 Brad Spencer .\" @@ -31,7 +31,7 @@ via I2C bus .Sh DESCRIPTION The .Nm -driver support the EMC210x family with the following models: +driver supports the EMC210x family with the following models: EMC2101, EMC2101-R, EMC2103-1, EMC2103-2, EMC210

CVS commit: src/usr.sbin/emcfanctl

2025-03-12 Thread Brad Spencer
Module Name:src Committed By: brad Date: Wed Mar 12 14:01:49 UTC 2025 Modified Files: src/usr.sbin/emcfanctl: emcfanctloutputs.c Log Message: So... when libmj says "integer" it really means int64_t. This is in the man page, I just missed it. Put some casts in place to ma

CVS commit: src/usr.sbin/emcfanctl

2025-03-12 Thread Brad Spencer
.sbin/emcfanctl/emcfanctloutputs.c:1.1 Tue Mar 11 13:56:48 2025 +++ src/usr.sbin/emcfanctl/emcfanctloutputs.c Wed Mar 12 14:01:49 2025 @@ -1,4 +1,4 @@ -/* $NetBSD: emcfanctloutputs.c,v 1.1 2025/03/11 13:56:48 brad Exp $ */ +/* $NetBSD: emcfanctloutputs.c,v 1.2 2025/03/12 14:01:49 brad Exp $ */ /* * Copyrigh

CVS commit: src

2025-03-11 Thread Brad Spencer
Module Name:src Committed By: brad Date: Tue Mar 11 14:06:08 UTC 2025 Modified Files: src/doc: CHANGES src/share/man/man4: iic.4 Log Message: Mention emcfan(4) and emcfanctl(8) To generate a diff of this commit: cvs rdiff -u -r1.3142 -r1.3143 src/doc/CHANGES cvs

CVS commit: src

2025-03-11 Thread Brad Spencer
Module Name:src Committed By: brad Date: Tue Mar 11 13:56:49 UTC 2025 Modified Files: src/distrib/sets/lists/base: mi src/distrib/sets/lists/comp: mi src/distrib/sets/lists/debug: mi module.mi src/distrib/sets/lists/man: mi src/distrib/sets/l

CVS commit: src

2025-03-11 Thread Brad Spencer
Module Name:src Committed By: brad Date: Tue Mar 11 14:06:08 UTC 2025 Modified Files: src/doc: CHANGES src/share/man/man4: iic.4 Log Message: Mention emcfan(4) and emcfanctl(8) To generate a diff of this commit: cvs rdiff -u -r1.3142 -r1.3143 src/doc/CHANGES cvs

CVS commit: src

2025-01-23 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Jan 23 19:26:29 UTC 2025 Modified Files: src/doc: CHANGES src/share/man/man4: iic.4 onewire.4 Log Message: Mention ds28e17iic(4) To generate a diff of this commit: cvs rdiff -u -r1.3127 -r1.3128 src/doc/CHANGES cvs rdi

CVS commit: src

2025-01-23 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Jan 23 19:26:29 UTC 2025 Modified Files: src/doc: CHANGES src/share/man/man4: iic.4 onewire.4 Log Message: Mention ds28e17iic(4) To generate a diff of this commit: cvs rdiff -u -r1.3127 -r1.3128 src/doc/CHANGES cvs rdi

CVS commit: src/share/man/man4

2025-01-23 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Jan 23 19:15:49 UTC 2025 Modified Files: src/share/man/man4: umcpmio.4 Log Message: Mention the fact that the MCP2221 / MCP2221A automatically deals with end devices that do I2C clock stretching. To generate a diff of this com

CVS commit: src/share/man/man4

2025-01-23 Thread Brad Spencer
--- src/share/man/man4/umcpmio.4:1.4 Mon Dec 16 21:45:04 2024 +++ src/share/man/man4/umcpmio.4 Thu Jan 23 19:15:49 2025 @@ -1,4 +1,4 @@ -.\" $NetBSD: umcpmio.4,v 1.4 2024/12/16 21:45:04 uwe Exp $ +.\" $NetBSD: umcpmio.4,v 1.5 2025/01/23 19:15:49 brad Exp $ .\" .\" Copyright (

CVS commit: src

2025-01-23 Thread Brad Spencer
23:11:25 brad Exp $ +.\" $NetBSD: sht3xtemp.4,v 1.4 2025/01/23 19:14:45 brad Exp $ .\" .\" Copyright (c) 2021 Brad Spencer .\" @@ -95,6 +95,14 @@ The delays are documented in the datashe The driver will attempt to read back the values readattempts number of times. The defa

CVS commit: src

2025-01-23 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Jan 23 19:14:46 UTC 2025 Modified Files: src/share/man/man4: sht3xtemp.4 src/sys/dev/i2c: sht3x.c sht3xvar.h Log Message: The SHT3x temperature and humidity sensor has a set of commands that can do the measurement by usi

CVS commit: src

2025-01-23 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Jan 23 19:13:19 UTC 2025 Modified Files: src/share/man/man4: si70xxtemp.4 src/sys/dev/i2c: si70xx.c si70xxvar.h Log Message: The SI70XX temperature and humidity sensor has a set of commands that can do the measurement by

CVS commit: src

2025-01-23 Thread Brad Spencer
; Copyright (c) 2017 Brad Spencer .\" @@ -75,6 +75,13 @@ times. The default is 40 which should be enough for most purposes. There is an initial wait of 10,500 microseconds followed by a additional 1,000 microseconds per read attempt. +.It hw.si70xxtemp0.clockstretch +The chip supports a set

CVS commit: src/sys/dev/i2c

2025-01-23 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Jan 23 19:05:51 UTC 2025 Modified Files: src/sys/dev/i2c: i2c.c Log Message: Fix a likely bug in iic_ioctl. The error variable was being over written by the copyout call. The effect here is that the I2C transaction could have

CVS commit: src/sys/dev/i2c

2025-01-23 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Jan 23 19:05:51 UTC 2025 Modified Files: src/sys/dev/i2c: i2c.c Log Message: Fix a likely bug in iic_ioctl. The error variable was being over written by the copyout call. The effect here is that the I2C transaction could have

CVS commit: src

2025-01-23 Thread Brad Spencer
n4/ds28e17iic.4 Thu Jan 23 19:02:42 2025 @@ -0,0 +1,92 @@ +.\" $NetBSD: ds28e17iic.4,v 1.1 2025/01/23 19:02:42 brad Exp $ +.\" +.\" Copyright (c) 2025 Brad Spencer +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without

CVS commit: src

2025-01-23 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Jan 23 19:02:43 UTC 2025 Modified Files: src/distrib/sets/lists/debug: module.mi src/distrib/sets/lists/man: mi src/distrib/sets/lists/manhtml: mi src/distrib/sets/lists/modules: mi src/share/man/m

CVS commit: src/sys/dev/onewire

2025-01-19 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sun Jan 19 19:39:45 UTC 2025 Modified Files: src/sys/dev/onewire: onewiredevs.h onewiredevs_data.h Log Message: Regen To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/onewire/onewiredevs.h \ src/sys/dev/

CVS commit: src/sys/dev/onewire

2025-01-19 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sun Jan 19 19:39:25 UTC 2025 Modified Files: src/sys/dev/onewire: onewiredevs Log Message: Add DS28E17 1-Wire to I2C bridge chip To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/onewire/onewiredevs Please n

CVS commit: src/sys/dev/onewire

2025-01-19 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sun Jan 19 19:39:45 UTC 2025 Modified Files: src/sys/dev/onewire: onewiredevs.h onewiredevs_data.h Log Message: Regen To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/onewire/onewiredevs.h \ src/sys/dev/

CVS commit: src/sys/dev/onewire

2025-01-19 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sun Jan 19 19:39:25 UTC 2025 Modified Files: src/sys/dev/onewire: onewiredevs Log Message: Add DS28E17 1-Wire to I2C bridge chip To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/onewire/onewiredevs Please n

CVS commit: src/usr.sbin/umcpmioctl

2024-12-21 Thread Brad Spencer
Mon Dec 16 16:37:40 2024 +++ src/usr.sbin/umcpmioctl/umcpmioctl.h Sat Dec 21 13:48:32 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: umcpmioctl.h,v 1.1 2024/12/16 16:37:40 brad Exp $ */ +/* $NetBSD: umcpmioctl.h,v 1.2 2024/12/21 13:48:32 brad Exp $ */ /* * Copyright (c) 2024 Brad Spencer @@ -17,7 +17,7

CVS commit: src/usr.sbin/umcpmioctl

2024-12-21 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sat Dec 21 13:48:32 UTC 2024 Modified Files: src/usr.sbin/umcpmioctl: umcpmioctl.h Log Message: Fix typo in guard define. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/umcpmioctl/umcpmioctl.h Please not

CVS commit: src

2024-12-16 Thread Brad Spencer
Module Name:src Committed By: brad Date: Mon Dec 16 16:42:22 UTC 2024 Modified Files: src/doc: CHANGES src/share/man/man4: gpio.4 iic.4 Log Message: Mention umcpmio(4) To generate a diff of this commit: cvs rdiff -u -r1.3119 -r1.3120 src/doc/CHANGES cvs rdiff -u

CVS commit: src

2024-12-16 Thread Brad Spencer
Module Name:src Committed By: brad Date: Mon Dec 16 16:42:22 UTC 2024 Modified Files: src/doc: CHANGES src/share/man/man4: gpio.4 iic.4 Log Message: Mention umcpmio(4) To generate a diff of this commit: cvs rdiff -u -r1.3119 -r1.3120 src/doc/CHANGES cvs rdiff -u

CVS commit: src

2024-12-16 Thread Brad Spencer
Module Name:src Committed By: brad Date: Mon Dec 16 16:37:40 UTC 2024 Modified Files: src/distrib/sets/lists/base: mi src/distrib/sets/lists/comp: mi src/distrib/sets/lists/debug: mi src/distrib/sets/lists/man: mi src/distrib/sets/lists/manht

CVS commit: src/sys/dev/usb

2024-11-27 Thread Brad Spencer
Module Name:src Committed By: brad Date: Wed Nov 27 12:47:05 UTC 2024 Modified Files: src/sys/dev/usb: usbdevs.h usbdevs_data.h Log Message: Regen To generate a diff of this commit: cvs rdiff -u -r1.809 -r1.810 src/sys/dev/usb/usbdevs.h \ src/sys/dev/usb/usbdevs_data

CVS commit: src/sys/dev/usb

2024-11-27 Thread Brad Spencer
Module Name:src Committed By: brad Date: Wed Nov 27 12:46:37 UTC 2024 Modified Files: src/sys/dev/usb: usbdevs Log Message: Add the MCP2221 / MCP2221A multi-io chip To generate a diff of this commit: cvs rdiff -u -r1.817 -r1.818 src/sys/dev/usb/usbdevs Please note that

CVS commit: src/sys/dev/usb

2024-11-27 Thread Brad Spencer
Module Name:src Committed By: brad Date: Wed Nov 27 12:46:37 UTC 2024 Modified Files: src/sys/dev/usb: usbdevs Log Message: Add the MCP2221 / MCP2221A multi-io chip To generate a diff of this commit: cvs rdiff -u -r1.817 -r1.818 src/sys/dev/usb/usbdevs Please note that

CVS commit: src/sys/dev/i2c

2024-11-07 Thread Brad Spencer
ed Apr 27 23:11:25 2022 +++ src/sys/dev/i2c/sht3x.c Thu Nov 7 20:06:21 2024 @@ -1,5 +1,5 @@ -/* $NetBSD: sht3x.c,v 1.7 2022/04/27 23:11:25 brad Exp $ */ +/* $NetBSD: sht3x.c,v 1.8 2024/11/07 20:06:21 brad Exp $ */ /* * Copyright (c) 2021 Brad Spencer @@ -18,7 +18,7 @@ */ #include -_

CVS commit: src/sys/dev/i2c

2024-11-07 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Nov 7 20:06:22 UTC 2024 Modified Files: src/sys/dev/i2c: sht3x.c Log Message: The SHT3X_READ_SERIAL_NUMBER command on the SHT3x sensors is undocumented, but used in a lot of other drivers. When I wrote the driver it didn't see

CVS commit: src

2024-11-04 Thread Brad Spencer
Module Name:src Committed By: brad Date: Mon Nov 4 21:02:01 UTC 2024 Modified Files: src/doc: CHANGES src/share/man/man4: iic.4 Log Message: Mention ds2482ow To generate a diff of this commit: cvs rdiff -u -r1.3111 -r1.3112 src/doc/CHANGES cvs rdiff -u -r1.35 -r

CVS commit: src

2024-11-04 Thread Brad Spencer
Module Name:src Committed By: brad Date: Mon Nov 4 21:02:01 UTC 2024 Modified Files: src/doc: CHANGES src/share/man/man4: iic.4 Log Message: Mention ds2482ow To generate a diff of this commit: cvs rdiff -u -r1.3111 -r1.3112 src/doc/CHANGES cvs rdiff -u -r1.35 -r

CVS commit: src

2024-11-04 Thread Brad Spencer
ow.4 diff -u /dev/null src/share/man/man4/ds2482ow.4:1.1 --- /dev/null Mon Nov 4 20:43:39 2024 +++ src/share/man/man4/ds2482ow.4 Mon Nov 4 20:43:37 2024 @@ -0,0 +1,87 @@ +.\" $NetBSD: ds2482ow.4,v 1.1 2024/11/04 20:43:37 brad Exp $ +.\" +.\" Copyright (c) 2024 Brad Spencer

CVS commit: src

2024-11-04 Thread Brad Spencer
Module Name:src Committed By: brad Date: Mon Nov 4 20:43:39 UTC 2024 Modified Files: src/distrib/sets/lists/man: mi src/distrib/sets/lists/manhtml: mi src/distrib/sets/lists/modules: mi src/share/man/man4: Makefile src/sys/dev/i2c: files.i2c

CVS commit: src/share/man/man4

2024-07-29 Thread Brad Spencer
/share/man/man4/sht4xtemp.4 Mon Jul 29 20:12:58 2024 @@ -1,4 +1,4 @@ -.\" $NetBSD: sht4xtemp.4,v 1.2 2021/10/03 18:20:13 wiz Exp $ +.\" $NetBSD: sht4xtemp.4,v 1.3 2024/07/29 20:12:58 brad Exp $ .\" .\" Copyright (c) 2021 Brad Spencer .\" @@ -68,7 +68,7 @@ Use one of t

CVS commit: src/share/man/man4

2024-07-29 Thread Brad Spencer
Module Name:src Committed By: brad Date: Mon Jul 29 20:12:58 UTC 2024 Modified Files: src/share/man/man4: sht4xtemp.4 Log Message: Fix a typo in the man page. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/sht4xtemp.4 Please note that dif

CVS commit: src

2023-11-24 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri Nov 24 15:13:36 UTC 2023 Modified Files: src/share/man/man4: gpiosim.4 src/sys/dev/gpio: gpiosim.c Log Message: Style changes. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/shar

CVS commit: src

2023-11-24 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri Nov 24 15:13:36 UTC 2023 Modified Files: src/share/man/man4: gpiosim.4 src/sys/dev/gpio: gpiosim.c Log Message: Style changes. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/shar

CVS commit: src/sys/dev/gpio

2023-11-10 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri Nov 10 13:17:17 UTC 2023 Modified Files: src/sys/dev/gpio: gpioirq.c Log Message: For /dev/ reads against gpioirq(4) implement the following: o O_NONBLOCK on reads o Add a d_poll function and associated sel[init|notify|record|

CVS commit: src/sys/dev/gpio

2023-11-10 Thread Brad Spencer
@@ -/* $NetBSD: gpioirq.c,v 1.2 2023/11/06 00:35:05 brad Exp $ */ +/* $NetBSD: gpioirq.c,v 1.3 2023/11/10 13:17:17 brad Exp $ */ /* * Copyright (c) 2016, 2023 Brad Spencer @@ -17,7 +17,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: gpioirq.c,v 1.2 2023/11/06 00:35:05 bra

CVS commit: src

2023-11-08 Thread Brad Spencer
4 , .Xr sysctl 8 .Sh AUTHORS .An -nosplit The .Nm driver was written by -.An Marc Balmer Aq Mt m...@msys.ch . +.An Marc Balmer Aq Mt m...@msys.ch +Simulated interrupts added by +.An Brad Spencer Aq Mt b...@anduin.eldar.org . Index: src/sys/dev/gpio/gpiosim.c diff -u src/sys/dev/gpio/gpiosim.c

CVS commit: src

2023-11-08 Thread Brad Spencer
Module Name:src Committed By: brad Date: Wed Nov 8 23:46:55 UTC 2023 Modified Files: src/doc: CHANGES src/share/man/man4: gpiosim.4 src/sys/dev/gpio: gpiosim.c Log Message: Simple simulated interrupts for the simulated GPIO device gpiosim(4) To generate

CVS commit: src

2023-11-05 Thread Brad Spencer
0:35:05 2023 @@ -1,6 +1,6 @@ -.\" $NetBSD: gpioirq.4,v 1.3 2023/08/01 20:39:15 andvar Exp $ +.\" $NetBSD: gpioirq.4,v 1.4 2023/11/06 00:35:05 brad Exp $ .\" -.\" Copyright (c) 2016 Brad Spencer +.\" Copyright (c) 2016, 2023 Brad Spencer .\" .\" Permission to use,

CVS commit: src

2023-11-05 Thread Brad Spencer
Module Name:src Committed By: brad Date: Mon Nov 6 00:35:06 UTC 2023 Modified Files: src/doc: CHANGES src/etc: MAKEDEV.tmpl src/share/man/man4: gpioirq.4 src/sys/conf: majors src/sys/dev/gpio: gpio.c gpioirq.c gpiovar.h Log Message: gpioirq

CVS commit: src/sys/dev/ic

2023-04-16 Thread Brad Spencer
/sys/dev/ic/bmx280.c Sun Apr 16 17:16:45 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: bmx280.c,v 1.1 2022/12/03 01:04:43 brad Exp $ */ +/* $NetBSD: bmx280.c,v 1.2 2023/04/16 17:16:45 brad Exp $ */ /* * Copyright (c) 2022 Brad Spencer @@ -17,7 +17,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: bmx

CVS commit: src/sys/dev/ic

2023-04-16 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sun Apr 16 17:16:45 UTC 2023 Modified Files: src/sys/dev/ic: bmx280.c Log Message: Do not create the sysctl tree if the initial setup of the chip fails. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/ic/bm

CVS commit: src

2022-12-02 Thread Brad Spencer
/man4/bmx280thp.4:1.4 Wed Nov 23 23:49:23 2022 +++ src/share/man/man4/bmx280thp.4 Sat Dec 3 01:04:42 2022 @@ -1,4 +1,4 @@ -.\" $NetBSD: bmx280thp.4,v 1.4 2022/11/23 23:49:23 wiz Exp $ +.\" $NetBSD: bmx280thp.4,v 1.5 2022/12/03 01:04:42 brad Exp $ .\" .\" Copyright (c) 202

CVS commit: src

2022-12-02 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sat Dec 3 01:04:43 UTC 2022 Modified Files: src/distrib/sets/lists/debug: module.mi src/distrib/sets/lists/modules: mi src/share/man/man4: bmx280thp.4 spi.4 src/sys/conf: files src/sys/dev/i2c: files.

CVS commit: src/sys/dev/i2c

2022-11-30 Thread Brad Spencer
/bmx280.c Thu Dec 1 02:29:37 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: bmx280.c,v 1.5 2022/12/01 00:47:51 brad Exp $ */ +/* $NetBSD: bmx280.c,v 1.6 2022/12/01 02:29:37 brad Exp $ */ /* * Copyright (c) 2022 Brad Spencer @@ -17,7 +17,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: bmx280.c,v 1.5 20

CVS commit: src/sys/dev/i2c

2022-11-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Dec 1 02:29:37 UTC 2022 Modified Files: src/sys/dev/i2c: bmx280.c Log Message: Use a better choice for the print format string. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/bmx280.c Please note

CVS commit: src/sys/dev/i2c

2022-11-30 Thread Brad Spencer
.c Thu Dec 1 00:47:51 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: bmx280.c,v 1.4 2022/11/24 21:07:05 brad Exp $ */ +/* $NetBSD: bmx280.c,v 1.5 2022/12/01 00:47:51 brad Exp $ */ /* * Copyright (c) 2022 Brad Spencer @@ -17,7 +17,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: bmx280.c,v 1.4 2022/

CVS commit: src/sys/dev/i2c

2022-11-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Dec 1 00:47:51 UTC 2022 Modified Files: src/sys/dev/i2c: bmx280.c Log Message: Correct the humidity conversion for the BME280 To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/bmx280.c Please note t

CVS commit: src/sys/dev/i2c

2022-11-24 Thread Brad Spencer
+++ src/sys/dev/i2c/bmx280.c Thu Nov 24 21:07:05 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: bmx280.c,v 1.3 2022/11/23 23:45:29 brad Exp $ */ +/* $NetBSD: bmx280.c,v 1.4 2022/11/24 21:07:05 brad Exp $ */ /* * Copyright (c) 2022 Brad Spencer @@ -17,7 +17,7 @@ */ #include -__KERNEL_RCSID(0, "$N

CVS commit: src/sys/dev/i2c

2022-11-24 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Nov 24 21:07:05 UTC 2022 Modified Files: src/sys/dev/i2c: bmx280.c Log Message: Mention where in the datasheet the compensation algorithms came from. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/i2c/

Re: CVS commit: src/sys/dev/i2c

2022-11-24 Thread Brad Spencer
e three compensation formulas are pulled mostly literally from the docs. All I really did was changed the types to match the kernel names and unglobal'ed some of the variables for the factory calibration settings. Peeking at Adafruit's Ardunio code, they did the same thing. -- Brad Spencer - b...@anduin.eldar.org - KC8VKS - http://anduin.eldar.org

CVS commit: src

2022-11-23 Thread Brad Spencer
21 23:51:10 2022 +++ src/share/man/man4/bmx280thp.4 Wed Nov 23 23:45:30 2022 @@ -1,4 +1,4 @@ -.\" $NetBSD: bmx280thp.4,v 1.2 2022/11/21 23:51:10 wiz Exp $ +.\" $NetBSD: bmx280thp.4,v 1.3 2022/11/23 23:45:30 brad Exp $ .\" .\" Copyright (c) 2022 Brad Spencer .\" @@ -55,6

CVS commit: src

2022-11-23 Thread Brad Spencer
Module Name:src Committed By: brad Date: Wed Nov 23 23:45:30 UTC 2022 Modified Files: src/share/man/man4: bmx280thp.4 src/sys/dev/i2c: bmx280.c bmx280var.h Log Message: Use kpause() instead of delay() in the measurement cycle. Try and derive the proper wait delay

Re: CVS commit: src/sys/dev/i2c

2022-11-22 Thread Brad Spencer
a big "however" is that it is possible (even for a RPI) to read the status register BEFORE the chip has even started to do its measurements, get a positive response (i.e. not busy) and then read the data registers and get junk. This was, as one might say, a "surprising develop

CVS commit: src/sys/dev/i2c

2022-11-22 Thread Brad Spencer
Brad Spencer @@ -17,7 +17,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: bmx280.c,v 1.1 2022/11/21 21:24:01 brad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: bmx280.c,v 1.2 2022/11/22 19:40:31 brad Exp $"); /* Driver for the Bosch BMP280/BME280 temperature, humidity (some

CVS commit: src/sys/dev/i2c

2022-11-22 Thread Brad Spencer
Module Name:src Committed By: brad Date: Tue Nov 22 19:40:31 UTC 2022 Modified Files: src/sys/dev/i2c: bmx280.c Log Message: Read the datasheet more closely and put in some delays. The chip will just return junk if the wait is not long enough to allow a measurement to sta

CVS commit: src

2022-11-21 Thread Brad Spencer
Module Name:src Committed By: brad Date: Mon Nov 21 21:29:33 UTC 2022 Modified Files: src/doc: CHANGES src/share/man/man4: iic.4 Log Message: Mention the driver for the Bosch BMP280/BME280 To generate a diff of this commit: cvs rdiff -u -r1.2931 -r1.2932 src/doc/

CVS commit: src

2022-11-21 Thread Brad Spencer
Module Name:src Committed By: brad Date: Mon Nov 21 21:29:33 UTC 2022 Modified Files: src/doc: CHANGES src/share/man/man4: iic.4 Log Message: Mention the driver for the Bosch BMP280/BME280 To generate a diff of this commit: cvs rdiff -u -r1.2931 -r1.2932 src/doc/

CVS commit: src

2022-11-21 Thread Brad Spencer
ge DC") == 0) Added files: Index: src/share/man/man4/bmx280thp.4 diff -u /dev/null src/share/man/man4/bmx280thp.4:1.1 --- /dev/null Mon Nov 21 21:24:02 2022 +++ src/share/man/man4/bmx280thp.4 Mon Nov 21 21:24:00 2022 @@ -0,0 +1,89 @@ +.\" $NetBSD: bmx280thp.4,v 1.1 2022/11/21 21:24:00 brad

CVS commit: src

2022-11-21 Thread Brad Spencer
Module Name:src Committed By: brad Date: Mon Nov 21 21:24:02 UTC 2022 Modified Files: src/distrib/sets/lists/debug: module.mi src/distrib/sets/lists/man: mi src/distrib/sets/lists/modules: mi src/share/man/man4: Makefile src/sys/dev/i2c: file

CVS commit: src

2022-11-17 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Nov 17 20:43:39 UTC 2022 Modified Files: src/doc: CHANGES src/share/man/man4: iic.4 Log Message: Mention the AHT20 driver To generate a diff of this commit: cvs rdiff -u -r1.2930 -r1.2931 src/doc/CHANGES cvs rdiff -u -

CVS commit: src

2022-11-17 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Nov 17 20:43:39 UTC 2022 Modified Files: src/doc: CHANGES src/share/man/man4: iic.4 Log Message: Mention the AHT20 driver To generate a diff of this commit: cvs rdiff -u -r1.2930 -r1.2931 src/doc/CHANGES cvs rdiff -u -

CVS commit: src

2022-11-17 Thread Brad Spencer
src/share/man/man4/aht20temp.4 Thu Nov 17 19:20:05 2022 @@ -0,0 +1,76 @@ +.\" $NetBSD: aht20temp.4,v 1.1 2022/11/17 19:20:05 brad Exp $ +.\" +.\" Copyright (c) 2022 Brad Spencer +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purp

CVS commit: src

2022-11-17 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Nov 17 19:20:06 UTC 2022 Modified Files: src/distrib/sets/lists/debug: module.mi src/distrib/sets/lists/man: mi src/distrib/sets/lists/modules: mi src/share/man/man4: Makefile src/sys/dev/i2c: file

CVS commit: src/share/man/man4

2022-06-15 Thread Brad Spencer
Module Name:src Committed By: brad Date: Wed Jun 15 15:54:40 UTC 2022 Modified Files: src/share/man/man4: ssdfb.4 Log Message: Fix typo .. the Adafruit 931 module is mask 0x03 and the 938 module is mask 0x04. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 s

CVS commit: src/share/man/man4

2022-06-15 Thread Brad Spencer
Module Name:src Committed By: brad Date: Wed Jun 15 15:54:40 UTC 2022 Modified Files: src/share/man/man4: ssdfb.4 Log Message: Fix typo .. the Adafruit 931 module is mask 0x03 and the 938 module is mask 0x04. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 s

CVS commit: src

2022-05-13 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri May 13 16:39:33 UTC 2022 Modified Files: src/distrib/sets/lists/base: mi src/distrib/sets/lists/man: mi src/external/mpl/bind/bin/confgen/ddns-confgen: Makefile Log Message: Add LINKS and MLINKS to the ddns-confg

CVS commit: src

2022-05-13 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri May 13 16:39:33 UTC 2022 Modified Files: src/distrib/sets/lists/base: mi src/distrib/sets/lists/man: mi src/external/mpl/bind/bin/confgen/ddns-confgen: Makefile Log Message: Add LINKS and MLINKS to the ddns-confg

CVS commit: src/doc

2022-04-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sat Apr 30 15:45:41 UTC 2022 Modified Files: src/doc: CHANGES Log Message: Mention the changes for /etc/rc.d/gpio To generate a diff of this commit: cvs rdiff -u -r1.2870 -r1.2871 src/doc/CHANGES Please note that diffs are not pu

CVS commit: src/doc

2022-04-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sat Apr 30 15:45:41 UTC 2022 Modified Files: src/doc: CHANGES Log Message: Mention the changes for /etc/rc.d/gpio To generate a diff of this commit: cvs rdiff -u -r1.2870 -r1.2871 src/doc/CHANGES Please note that diffs are not pu

CVS commit: src

2022-04-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sat Apr 30 13:48:09 UTC 2022 Modified Files: src/etc/rc.d: gpio src/share/man/man5: gpio.conf.5 Log Message: Like /etc/rc.d/network, add the ability to put a '!' character as the first character in /etc/gpio.conf and have th

CVS commit: src

2022-04-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sat Apr 30 13:48:09 UTC 2022 Modified Files: src/etc/rc.d: gpio src/share/man/man5: gpio.conf.5 Log Message: Like /etc/rc.d/network, add the ability to put a '!' character as the first character in /etc/gpio.conf and have th

CVS commit: src/sys/dev/gpio

2022-04-27 Thread Brad Spencer
Module Name:src Committed By: brad Date: Wed Apr 27 23:15:30 UTC 2022 Modified Files: src/sys/dev/gpio: gpio.c Log Message: I have been using this for a while and forgot to commit it. This add a number of KERNEL_LOCK() calls and at the very least prevents gpioiic from pan

CVS commit: src/sys/dev/gpio

2022-04-27 Thread Brad Spencer
Module Name:src Committed By: brad Date: Wed Apr 27 23:15:30 UTC 2022 Modified Files: src/sys/dev/gpio: gpio.c Log Message: I have been using this for a while and forgot to commit it. This add a number of KERNEL_LOCK() calls and at the very least prevents gpioiic from pan

CVS commit: src

2022-04-27 Thread Brad Spencer
mp.4,v 1.3 2022/04/27 23:11:25 brad Exp $ .\" .\" Copyright (c) 2021 Brad Spencer .\" @@ -119,3 +119,6 @@ The .Nm driver was written by .An Brad Spencer Aq Mt b...@anduin.eldar.org . +.Sh BUGS +The datasheet did not provide enough information to get the alarm +function of the

CVS commit: src

2022-04-27 Thread Brad Spencer
Module Name:src Committed By: brad Date: Wed Apr 27 23:11:25 UTC 2022 Modified Files: src/share/man/man4: sht3xtemp.4 src/sys/dev/i2c: sht3x.c sht3xreg.h Log Message: After testing with a couple of more samples of the SHT3x sensor chip it was found that the datashe

Re: CVS commit: src/etc

2022-03-13 Thread Brad Spencer
case in the correct manor. Even if it were possible to know the root filesystem type in a simple manor like one can know the root filesystem device and partition, I don't think that it would be possible to guess all of the cases correctly. -- Brad Spencer - b...@anduin.eldar.org - KC8VKS - http://anduin.eldar.org

Re: CVS commit: src/etc

2022-03-12 Thread Brad Spencer
and Oracle never really ran to that conclusion either. No one is at all suggesting that any filesystem become second class in the NetBSD realization of ZFS. So the term legacy when speaking of ZFS is used to refer to a filesystem that uses whatever /etc/... files you use and uses the usual mou

Re: CVS commit: src/etc

2022-02-05 Thread Brad Spencer
Alexander Nasonov writes: > Brad Spencer wrote: >> Alexander Nasonov writes: >> > Are there any downside of mixing legacy and non-legacy mountpoints? >> > E.g. if my /var is legacy but /var/crash is a normal ZFS mountpoint? >> >> That should work fine as

Re: CVS commit: src/etc

2022-02-05 Thread Brad Spencer
ld be perfectly workable even from single user when /usr isn't available yet for most simple use cases. -- Brad Spencer - b...@anduin.eldar.org - KC8VKS - http://anduin.eldar.org

CVS commit: src

2021-12-07 Thread Brad Spencer
Module Name:src Committed By: brad Date: Tue Dec 7 17:50:27 UTC 2021 Modified Files: src/doc: CHANGES src/share/man/man4: iic.4 spi.4 Log Message: Mention the SCMD device To generate a diff of this commit: cvs rdiff -u -r1.2852 -r1.2853 src/doc/CHANGES cvs rdiff

CVS commit: src

2021-12-07 Thread Brad Spencer
Module Name:src Committed By: brad Date: Tue Dec 7 17:50:27 UTC 2021 Modified Files: src/doc: CHANGES src/share/man/man4: iic.4 spi.4 Log Message: Mention the SCMD device To generate a diff of this commit: cvs rdiff -u -r1.2852 -r1.2853 src/doc/CHANGES cvs rdiff

CVS commit: src

2021-12-07 Thread Brad Spencer
Module Name:src Committed By: brad Date: Tue Dec 7 17:39:55 UTC 2021 Modified Files: src/distrib/sets/lists/base: mi src/distrib/sets/lists/comp: mi src/distrib/sets/lists/debug: mi module.mi src/distrib/sets/lists/man: mi src/distrib/sets/l

CVS commit: src/sys/dev/i2c

2021-11-14 Thread Brad Spencer
36:13 2021 @@ -1,4 +1,5 @@ -/* $NetBSD: sht3x.c,v 1.3 2021/11/13 13:36:42 christos Exp $ */ + +/* $NetBSD: sht3x.c,v 1.4 2021/11/14 18:36:13 brad Exp $ */ /* * Copyright (c) 2021 Brad Spencer @@ -17,7 +18,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sht3x.c,v 1.3 2021/11/13 13:36:42 ch

CVS commit: src/sys/dev/i2c

2021-11-14 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sun Nov 14 18:36:13 UTC 2021 Modified Files: src/sys/dev/i2c: sht3x.c Log Message: Fix some regressions that were introduced. One must make sure that you release the i2c bus if you acquire. One must not try to release the i2c bus

CVS commit: src

2021-11-12 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri Nov 12 15:12:11 UTC 2021 Modified Files: src/share/man/man4: si70xxtemp.4 src/sys/dev/i2c: si70xx.c Log Message: Fix the serial number handling of the HTU21D chip and probably others. Increase the number of read attempts

CVS commit: src

2021-11-12 Thread Brad Spencer
:11 2021 @@ -1,4 +1,4 @@ -.\" $NetBSD: si70xxtemp.4,v 1.6 2021/11/11 14:24:24 wiz Exp $ +.\" $NetBSD: si70xxtemp.4,v 1.7 2021/11/12 15:12:11 brad Exp $ .\" .\" Copyright (c) 2017 Brad Spencer .\" @@ -72,7 +72,7 @@ and then another read command is sent to Depending on

CVS commit: src

2021-11-11 Thread Brad Spencer
++ src/sys/dev/i2c/si70xx.c Thu Nov 11 14:16:04 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: si70xx.c,v 1.8 2021/08/21 11:55:25 andvar Exp $ */ +/* $NetBSD: si70xx.c,v 1.9 2021/11/11 14:16:04 brad Exp $ */ /* * Copyright (c) 2017 Brad Spencer @@ -17,10 +17,10 @@ */ #include -__KERNEL_RCSID(0, "

CVS commit: src

2021-11-11 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Nov 11 14:16:05 UTC 2021 Modified Files: src/share/man/man4: si70xxtemp.4 src/sys/dev/i2c: si70xx.c si70xxvar.h Log Message: Some HTU21D chips do not have a heater register and apparently no heater element. Disable the

CVS commit: src/doc

2021-11-06 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sat Nov 6 13:39:06 UTC 2021 Modified Files: src/doc: CHANGES Log Message: Mention sht3xtemp(4) To generate a diff of this commit: cvs rdiff -u -r1.2847 -r1.2848 src/doc/CHANGES Please note that diffs are not public domain; they

CVS commit: src/doc

2021-11-06 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sat Nov 6 13:39:06 UTC 2021 Modified Files: src/doc: CHANGES Log Message: Mention sht3xtemp(4) To generate a diff of this commit: cvs rdiff -u -r1.2847 -r1.2848 src/doc/CHANGES Please note that diffs are not public domain; they

CVS commit: src/share/man/man4

2021-11-06 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sat Nov 6 13:36:34 UTC 2021 Modified Files: src/share/man/man4: iic.4 Log Message: Mention sht3xtemp(4) To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/share/man/man4/iic.4 Please note that diffs are not public

CVS commit: src/share/man/man4

2021-11-06 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sat Nov 6 13:36:34 UTC 2021 Modified Files: src/share/man/man4: iic.4 Log Message: Mention sht3xtemp(4) To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/share/man/man4/iic.4 Please note that diffs are not public

  1   2   >