Page MenuHomeFreeBSD

Correct the sysctl names in gpioths(4)
ClosedPublic

Authored by otis on Mar 6 2022, 9:35 PM.
Tags
None
Referenced Files
F94538467: D34460.diff
Tue, Sep 17, 3:53 PM
F94482981: D34460.diff
Tue, Sep 17, 11:44 AM
Unknown Object (File)
Sun, Sep 8, 9:49 PM
Unknown Object (File)
Sun, Sep 8, 5:45 AM
Unknown Object (File)
Sat, Sep 7, 10:41 AM
Unknown Object (File)
Wed, Sep 4, 7:08 AM
Unknown Object (File)
Aug 4 2024, 7:16 PM
Unknown Object (File)
Jul 29 2024, 5:08 AM

Details

Summary

Temperature is exposed via temperature' leaf, humidity via humidity`
leaf.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 44678
Build 41566: arc lint + arc unit

Event Timeline

otis requested review of this revision.Mar 6 2022, 9:35 PM

English in change LGTM and appears consistent with sys/dev/gpio/gpioths.c to my untrained eye.

One thing I'd expect the likely audience (measurement/instrumentation devs or designers) to be interested in is the actual range and accuracy:

*   DHT11:  Temp   0c to 50c +-2.0c, Humidity 20% to  90% +-5%
*   DHT12:  Temp -20c to 60c +-0.5c, Humidity 20% to  95% +-5%
*   DHT21:  Temp -40c to 80c +-0.3c, Humidity  0% to 100% +-3%
*   DHT22:  Temp -40c to 80c +-0.3c, Humidity  0% to 100% +-2%
*   AM2301: Same as DHT21, but also supports i2c interface.
*   AM2302: Same as DHT22, but also supports i2c interface.

Not making them search for those in the kernel source would be good, I think.

This revision is now accepted and ready to land.Mar 7 2022, 8:52 AM