> Why does a uthum(4) unit show up as two devices?  The sensors are
> only attached to the second one.
> 
> uhidev2 at uhub2 port 2 configuration 1 interface 0 "Ten X Technology, Inc. 
> TEMPer sensor" rev 1.10/1.50 addr 4
> uhidev2: iclass 3/1
> uthum0 at uhidev2
> uhidev3 at uhub2 port 2 configuration 1 interface 1 "Ten X Technology, Inc. 
> TEMPer sensor" rev 1.10/1.50 addr 4
> uhidev3: iclass 3/0
> uthum1 at uhidev3
> 
> $ sysctl hw.sensors | grep uthum
> hw.sensors.uthum1.temp0=22.31 degC (temp)
> hw.sensors.uthum1.percent0=41.98% (humidity)

There are two uhid's on the device.  The first one is a eeprom that
says which type of sensor it is.  Not connecting it as a device is
more difficult than connecting it.

Reply via email to