RDing TEMPer Gold USB thermometer on OpenBSD
Frederic Cambus May 16, 2015 [OpenBSD]A few weeks ago, I ordered a RDing TEMPer Gold USB thermometer from PCsensor, a cute little device allowing to easily perform room temperature measurements.
As mentioned on the package, an USB cable should be used unless the goal is to measure chasis temperature.
On OpenBSD, the device is fully supported by the ugold(4) driver:
uhidev0 at uhub0 port 4 configuration 1 interface 0 "RDing TEMPerV1.4" rev 2.00/0.01 addr 3
uhidev0: iclass 3/1, 1 report id
ukbd0 at uhidev0 reportid 1: 8 variable keys, 5 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub0 port 4 configuration 1 interface 1 "RDing TEMPerV1.4" rev 2.00/0.01 addr 3
uhidev1: iclass 3/1
ugold0 at uhidev1
ugold0: 1 sensor type ds75/12bit (temperature)
Sensor values can be retrieved via the sysctl interface:
sysctl hw.sensors.ugold0
hw.sensors.ugold0.temp0=26.75 degC (inner)
Alternatively, the -n switch can be used to only display the field value:
sysctl -n hw.sensors.ugold0
26.75 degC (inner)