SI70XXTEMP(4)

πŸ“¦ version 11.0, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, this is si70xxtemp(4) from the Kernel Interfaces Manual β€” the driver for Silicon Labs SI7013/SI7020/SI7021, HTU21D and SHT21 sensor chip via I2C bus. it's giving β€œtiny humidity/temperature girlie” and honestly? iconic. πŸ’…

✨ SYNOPSIS ✨

si70xxtemp* at iic? addr 0x40

πŸ’– DESCRIPTION πŸ’–

The si70xxtemp driver provides measurements from the SI7013/SI7020/SI7021 humidity/temperature sensors via the envsys(4) framework. no cap, that's the whole vibe. 🌸

The si70xxtemp addr locator selects the address at the iic(4) bus. The resolution, heater control and crc validity can be changed through sysctl(8) nodes. lowkey powerful. ✨

🌸 SYSCTL VARIABLES 🌸

The following sysctl(8) variables are provided:

  • hw.si70xxtemp0.resolutions β€” Lists the resolutions supported by the driver and chip. bestie, this is your menu of options. πŸ“
  • hw.si70xxtemp0.resolution β€” Set the resolution, or number of bits, used for %RH and temperature. Use one of the strings listed in hw.si70xxtemp.resolutions. πŸ’«
  • hw.si70xxtemp0.ignorecrc β€” If set, the crc calculation for %RH and temperature will be ignored. do with that info what you will. 🫢
  • hw.si70xxtemp0.vddok β€” If 1, the chip is getting enough power. power check: passed, slay. πŸ”‹
  • hw.si70xxtemp0.heateron β€” Turn the heater on and off. cozy mode: activated. πŸ”₯
  • hw.si70xxtemp0.heaterstrength β€” From 1 to 6, the amount of energy put into the heater. The higher the number, the more power used. it's giving dial-up but for warmth. 😭
    • Some HTU21D chips do not support a heater register. These chips are detected and the heater features of the driver will be disabled.
  • hw.si70xxtemp0.debug β€” If the driver is compiled with SI70XX_DEBUG, this node will appear and can be used to set the debugging level. debug girlie era. 🧚
  • hw.si70xxtemp0.readattempts β€” To read %RH or temperature the driver uses a No Hold Master command. This command needs to be sent to the device, a wait must then occur and then another read command is sent to read back the values. Depending on the resolution, and other factors, the wait time varies. The driver will attempt to read back the values readattempts number of 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. persistence is main character energy, fr fr. ⏳
  • hw.si70xxtemp0.clockstretch β€” The chip supports a set of commands that lets it use I2C clock stretching to perform the temperature or humidity measurement. If this is set to 1 then use the clock stretching commands with the device. Note that the I2C controller must support clock stretching in order for this to work reliability. When this option is enabled, the readattempts sysctl noted above will not be used. iykyk, clock stretching is a whole lifestyle. πŸ¦‹

πŸ¦‹ SEE ALSO πŸ¦‹

⭐ HISTORY ⭐

The si70xxtemp driver first appeared in NetBSD 8.0. vintage but still cute. πŸŽ€

πŸ‘‘ AUTHORS πŸ‘‘

The si70xxtemp driver was written by Brad Spencer <brad@anduin.eldar.org>. king behavior, honestly. πŸ‘‘


okay that's the whole page, bestie. the footer credits Debian and is dated December 28, 2017. go measure some humidity, ily πŸ’œ

πŸ“¦ where this page comes from