On Sat, Jul 04, 2015 at 09:38:51PM +0100, Raf Czlonka wrote: > On Sat, Jul 04, 2015 at 04:18:54PM BST, Joerg Jung wrote: > > > Can you try the diff below please? Building kernel with this should > > make your device working, attaching as ugold(4) and providing the > > hygrometer values as well. > > Thanks for a quick reply and the diff, Joerg. > > Indeed, the device now attaches as ugold. > > # dmesg | grep ugold > > ugold0 at uhidev1 > ugold0: 2 sensors type si7005 (temperature and humidity) > > The temperature is way off, however! Not sure about humidity, though.
Thanks for testing! It looks like your newer RDing TEMPERHUM1V1.2 has a different chip. As far as Google knows, it seems to be a si7006, which requires a slightly different formula with the temperature and humidity readings. Also, in contrast to the si7005 (of TEMPERHUM1V1.0), the linearization and compensation seems not to be needed. I will try to come up with a better diff making your device work correctly. > # sysctl hw.sensors.ugold0 > > hw.sensors.ugold0.temp0=828.12 degC (inner) > hw.sensors.ugold0.humidity0=91.15% (RH)
