On Tue, Jun 30, 2015 at 09:40:14AM BST, Joerg Jung wrote: > On Mon, Jun 29, 2015 at 09:50:19PM +0100, Raf Czlonka wrote: > > >Synopsis: uthum(4) - TEMPerHUM sensors not available through sysctl(8) > > >Category: system kernel > > >Environment: > > System : OpenBSD 5.8 > > Details : OpenBSD 5.8-beta (GENERIC) #952: Thu Jun 25 21:33:40 MDT > > 2015 > > > > [email protected]:/usr/src/sys/arch/i386/compile/GENERIC > > > > Architecture: OpenBSD.i386 > > Machine : i386 > > >Description: > > Recently, I have acquired a USB temperature and humidity sensor > > - TEMPerHUM. I had picked this one since it is listed as one of > > devices supported by the uthum(4) driver, which itself is actually > > named after the device in question, so it seems. > > > > However, neither the temperature nor humidity sensors are available > > through the sysctl(8) interface. > > Your device is not detected/attached to uthum(4). > > Because, currently uthum(4) only supports > idVendor:idProduct=0x0c45:0x7401 (LM75) based devices. > > Your *newer* device 0x0c45:0x7402 (AFAIK Si7005 chip) really is an > (unsupported) ugold(4) variant.
I did check the ugold(4) man page but since the driver only supports one device, and I wanted a hygrometer as well, I went with a uthum(4) supported one... or so I thought. > I bought a similar device and prepared a diff a while ago for ugold(4). > Once I find some time I will polish the diff and post it here for > testing. I'll keep an eye out. > > The device itself is otherwise fully functionsl - it has a physical > > button marked "TXT" which, after being pressed, causes the device to > > spew the readings of both sensors continuously onto the terminal or, > > in X, any window which has focus. > > The button is attached as generic usb keyboard and thus works somehow. uhidev (USB HID) - I figured that one out :^) Ta, Raf
