Overhaul device identification logic in order to make matching on
authormiod <miod@openbsd.org>
Thu, 30 Nov 2023 20:08:23 +0000 (20:08 +0000)
committermiod <miod@openbsd.org>
Thu, 30 Nov 2023 20:08:23 +0000 (20:08 +0000)
commit5063850952979bf992989c64687836025c81e92b
tree2279c37bb7a5dd3750fe801570023f74c8ff99e3
parent6692cda136f4d2b19a7cbaf3db0b1563186fb8ee
Overhaul device identification logic in order to make matching on
device-provided information easier.

Add support for a few more devices.

Trigger state machine updates quickly so as not to have to wait 6 seconds to
get the device identified, then 6 more seconds to get the first sensor data.

Tested on:
TEMPerX_V3.3 by landry@
TEMPerF1.4M by sthen@
TEMPerHUM_V4.0, TEMPer2_V4.1, TEMPer1F_V4.1 and TEMPerGold_V3.4 by yours truly
share/man/man4/ugold.4
sys/dev/usb/ugold.c