|
NAMEow_temp —
Dallas Semiconductor 1-Wire Temperature sensor
SYNOPSISdevice ow_temp
DESCRIPTIONTheow_temp module supports many of the 1-Wire
temperature sensors.
The sensor is read periodically and the results returned via a sysctl(3) as described below. HARDWAREThese temperature sensors are supported by theow_temp
driver:
The driver supports Family codes 0x10, 0x22, 0x28, and 0x3b. SYSCTLTheow_temp driver reports data via
sysctl(8)
entries in the device's node in the
sysctl(8)
tree:
Temperatures are reported in milli-Kelvin, even though the absolute accuracy is around 0.2 degrees for the good devices and around 1 degree for cheaper devices. The devices report in steps of 0.0625 degrees. The driver preserves the precision of the device's measurements in its sysctl(8) reports. These devices often have a much higher relative accuracy and repeatability than their absolute accuracy. This makes them well suited for control loops that strive for stability and become possible if the full precision is preserved. SEE ALSOow(4), owc(4), sysctl(8), owll(9), own(9)LEGAL1-Wire is a registered trademark of Maxim Integrated Products, Inc.HISTORYTheow_temp driver first appeared in
FreeBSD 11.0.
AUTHORSTheow_temp device driver and this manual page were
written by Warner Losh.
BUGSThe parasitic mode of the devices does not work. It requires support from the owc(4) driver that is unimplemented.The ID bits from the DS1825 are not recognized or reported. The type of the device is not reported via sysctl(8). Alarm mode is not supported. It is not possible to set the low and high alarm temperatures. There is no way to write to the EEPROM. “Convert Temperature” requests are sent directly to the device. There is no way to use the broadcast ability of the 1-Wire bus to do all the conversions in parallel. It is not possible to set the precision on those devices that support it. The time to convert is fixed at 1 second, even though some devices are faster. There is no character device to supply a stream of readings to a program. Programs interested in the temperature must poll the sysctl to get the temperature.
Visit the GSP FreeBSD Man Page Interface. |