Please ignore - unplugging and re-plugging it fixed the issue, and it now shows up even after reboot.
Given that it has, seeming, showed up in both dmesg(8) and usbdevs(8) output, and the fact that it is on an end of a long USB cable, and I mostly use this machine remotely, I've only tried it now. Still don't understand why this was at all required and why several snapshot upgrades, and reboots, didn't resolve the issue :^/ Either way, sorry for the noise. Cheers, Raf On Thu, Jun 27, 2024 at 09:12:14AM BST, Raf Czlonka wrote: > >Synopsis: ugold(4) temperature and humidity entries disappeared from > >sysctl hw.sensors > >Category: system kernel > >Environment: > System : OpenBSD 7.5 > Details : OpenBSD 7.5-current (GENERIC.MP) #152: Wed Jun 26 > 20:42:02 MDT 2024 > > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > Architecture: OpenBSD.amd64 > Machine : amd64 > >Description: > A couple of days ago - after I updated to a new snapshot > on the 24th June - ugold(4) entries have disappeared from > sysctl hw.sensors, i.e. > > # sysctl hw.sensors.ugold0.temp0 > # sysctl hw.sensors.ugold0.humidity0 > > would output current temperature and humidity respectively > - now they're not there any more: > > # sysctl hw.sensors > hw.sensors.cpu0.temp0=32.00 degC > hw.sensors.cpu0.frequency0=900000000.00 Hz > hw.sensors.cpu1.frequency0=900000000.00 Hz > hw.sensors.cpu2.frequency0=900000000.00 Hz > hw.sensors.cpu3.frequency0=900000000.00 Hz > hw.sensors.cpu4.frequency0=900000000.00 Hz > hw.sensors.cpu5.frequency0=900000000.00 Hz > hw.sensors.acpitz0.temp0=27.80 degC (zone temperature) > hw.sensors.pchtemp0.temp0=48.00 degC > > >How-To-Repeat: > > Plug in a ugold(4)-compatible device and run: > > # sysctl hw.sensors > > >Fix: > None. > > P.S. As you can see from the dmesg(8) and usbdevs(8) output below, > the device is plugged in and detected - verbose usbdevs(8) output > just in case: > > # usbdevs -vv -a 3 > addr 03: 0c45:7402 RDing, TEMPERHUM1V1.2 > low speed, power 100 mA, config 1, rev 0.01 > driver: uhidev0 > driver: uhidev1 > > Regards, > > Raf > > dmesg: > OpenBSD 7.5-current (GENERIC.MP) #152: Wed Jun 26 20:42:02 MDT 2024 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 16950669312 (16165MB) > avail mem = 16413675520 (15653MB) > random: good seed from bootblocks > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 3.1 @ 0xe0000 (102 entries) > bios0: vendor Dell Inc. version "1.1.4" date 07/10/2018 > bios0: Dell Inc. OptiPlex 7060 > efi0 at bios0: UEFI 2.7 > efi0: American Megatrends rev 0x5000d > acpi0 at bios0: ACPI 6.1 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP APIC FPDT FIDT MCFG SSDT SSDT HPET SSDT SSDT UEFI > LPIT SSDT SSDT DBGP DBG2 MSDM SLIC DMAR BGRT TPM2 ASF! > acpi0: wakeup devices RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) > RP04(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) RP07(S4) PXSX(S4) > RP08(S4) PXSX(S4) [...] > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz, 2993.03 MHz, 06-9e-0a, patch > 000000f6 > cpu0: cpuid 1 > edx=bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > > ecx=77fafbff<SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND> > cpu0: cpuid 6 eax=27f7<SENSOR,ARAT> ecx=9<EFFFREQ> > cpu0: cpuid 7.0 > ebx=29c6fbf<FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT> > ecx=40000000 > edx=bc002e00<SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD> > cpu0: cpuid a vers=4, gp=8, gpwidth=48, ff=3, ffwidth=48 > cpu0: cpuid d.1 eax=f<XSAVEOPT,XSAVEC,XGETBV1,XSAVES> > cpu0: cpuid 80000001 edx=2c100800<NXE,PAGE1GB,RDTSCP,LONG> > ecx=121<LAHF,ABM,3DNOWP> > cpu0: cpuid 80000007 edx=100<ITSC> > cpu0: msr 10a=2000c04<RSBA,MISC_PKG_CT,ENERGY_FILT,GDS_CTRL> > cpu0: MELTDOWN > cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB > 64b/line 4-way L2 cache, 9MB 64b/line 12-way L3 cache > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges > cpu0: apic clock running at 24MHz > cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE > cpu1 at mainbus0: apid 2 (application processor) > cpu1: Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz, 2993.04 MHz, 06-9e-0a, patch > 000000f6 > cpu1: smt 0, core 1, package 0 > cpu2 at mainbus0: apid 4 (application processor) > cpu2: Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz, 2993.03 MHz, 06-9e-0a, patch > 000000f6 > cpu2: smt 0, core 2, package 0 > cpu3 at mainbus0: apid 6 (application processor) > cpu3: Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz, 2993.03 MHz, 06-9e-0a, patch > 000000f6 > cpu3: smt 0, core 3, package 0 > cpu4 at mainbus0: apid 8 (application processor) > cpu4: Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz, 2993.03 MHz, 06-9e-0a, patch > 000000f6 > cpu4: smt 0, core 4, package 0 > cpu5 at mainbus0: apid 10 (application processor) > cpu5: Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz, 2993.03 MHz, 06-9e-0a, patch > 000000f6 > cpu5: smt 0, core 5, package 0 > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins > acpimcfg0 at acpi0 > acpimcfg0: addr 0xf0000000, bus 0-127 > acpihpet0 at acpi0: 23999999 Hz > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus -1 (PEG1) > acpiprt2 at acpi0: bus -1 (PEG2) > acpiprt3 at acpi0: bus -1 (RP01) > acpiprt4 at acpi0: bus -1 (RP02) > acpiprt5 at acpi0: bus -1 (RP03) > acpiprt6 at acpi0: bus -1 (RP04) > acpiprt7 at acpi0: bus -1 (RP05) > acpiprt8 at acpi0: bus -1 (RP06) > acpiprt9 at acpi0: bus -1 (RP07) > acpiprt10 at acpi0: bus -1 (RP08) > acpiprt11 at acpi0: bus -1 (RP09) > acpiprt12 at acpi0: bus -1 (RP10) > acpiprt13 at acpi0: bus -1 (RP11) > acpiprt14 at acpi0: bus -1 (RP12) > acpiprt15 at acpi0: bus -1 (RP13) > acpiprt16 at acpi0: bus -1 (RP14) > acpiprt17 at acpi0: bus -1 (RP15) > acpiprt18 at acpi0: bus -1 (RP16) > acpiprt19 at acpi0: bus -1 (RP18) > acpiprt20 at acpi0: bus -1 (RP19) > acpiprt21 at acpi0: bus -1 (RP20) > acpiprt22 at acpi0: bus -1 (RP21) > acpiprt23 at acpi0: bus -1 (RP22) > acpiprt24 at acpi0: bus -1 (RP23) > acpiprt25 at acpi0: bus -1 (RP24) > acpiprt26 at acpi0: bus -1 (PEG0) > acpiprt27 at acpi0: bus -1 (RP17) > "PNP0C14" at acpi0 not configured > acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000 > com0 at acpi0 UAR1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo > acpicmos0 at acpi0 > pchgpio0 at acpi0 GPI0 addr 0xfd6e0000/0x10000 0xfd6d0000/0x10000 > 0xfd6b0000/0x10000 0xfd6a0000/0x10000 irq 14, 384 pins > "CYP0004" at acpi0 not configured > "PNP0C14" at acpi0 not configured > acpibtn0 at acpi0: SLPB > "PNP0C14" at acpi0 not configured > "PNP0C14" at acpi0 not configured > "INT33A1" at acpi0 not configured > acpibtn1 at acpi0: PWRB > tpm0 at acpi0 TPM_ 2.0 (TIS) addr 0xfed40000/0x5000, device 0x00fc1050 rev 0x1 > "PNP0C14" at acpi0 not configured > "PNP0C0B" at acpi0 not configured > "PNP0C0B" at acpi0 not configured > "PNP0C0B" at acpi0 not configured > "PNP0C0B" at acpi0 not configured > "PNP0C0B" at acpi0 not configured > acpipwrres0 at acpi0: USBC, resource for XDCI > acpipwrres1 at acpi0: V0PR > acpipwrres2 at acpi0: V1PR > acpipwrres3 at acpi0: V2PR > acpipwrres4 at acpi0: WRST > acpicpu0 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), > C1(1000@1 mwait.1), PSS > acpicpu1 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), > C1(1000@1 mwait.1), PSS > acpicpu2 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), > C1(1000@1 mwait.1), PSS > acpicpu3 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), > C1(1000@1 mwait.1), PSS > acpicpu4 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), > C1(1000@1 mwait.1), PSS > acpicpu5 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), > C1(1000@1 mwait.1), PSS > acpipwrres5 at acpi0: FN00, resource for FAN0 > acpipwrres6 at acpi0: FN01, resource for FAN1 > acpipwrres7 at acpi0: FN02, resource for FAN2 > acpipwrres8 at acpi0: FN03, resource for FAN3 > acpipwrres9 at acpi0: FN04, resource for FAN4 > acpitz0 at acpi0: critical temperature is 119 degC > acpipwrres10 at acpi0: PIN_ > acpivideo0 at acpi0: GFX0 > acpivout0 at acpivideo0: DD1F > cpu0: using VERW MDS workaround (except on vmm entry) > cpu0: Enhanced SpeedStep 2993 MHz: speeds: 3001, 3000, 2800, 2700, 2500, > 2400, 2200, 2100, 1900, 1700, 1600, 1400, 1300, 1100, 1000, 800 MHz > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "Intel Core 8G Host" rev 0x07 > inteldrm0 at pci0 dev 2 function 0 "Intel UHD Graphics 630" rev 0x00 > drm0 at inteldrm0 > inteldrm0: msi, COFFEELAKE, gen 9 > "Intel Core GMM" rev 0x00 at pci0 dev 8 function 0 not configured > pchtemp0 at pci0 dev 18 function 0 "Intel 300 Series Thermal" rev 0x10 > xhci0 at pci0 dev 20 function 0 "Intel 300 Series xHCI" rev 0x10: msi, xHCI > 1.10 > usb0 at xhci0: USB revision 3.0 > uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 > addr 1 > "Intel 300 Series Shared SRAM" rev 0x10 at pci0 dev 20 function 2 not > configured > dwiic0 at pci0 dev 21 function 0 "Intel 300 Series I2C" rev 0x10: apic 2 int > 16 > iic0 at dwiic0 > "Intel 300 Series HECI" rev 0x10 at pci0 dev 22 function 0 not configured > puc0 at pci0 dev 22 function 3 "Intel 300 Series KT" rev 0x10: ports: 16 com > com4 at puc0 port 0 apic 2 int 17: ns16550a, 16 byte fifo > ahci0 at pci0 dev 23 function 0 "Intel 300 Series AHCI" rev 0x10: msi, AHCI > 1.3.1 > ahci0: PHY offline on port 0 > ahci0: port 2: 1.5Gb/s > ahci0: PHY offline on port 3 > ahci0: port 4: 6.0Gb/s > scsibus1 at ahci0: 32 targets > cd0 at scsibus1 targ 2 lun 0: <PLDS, DVD+-RW DU-8A5LH, 6D1M> removable > sd0 at scsibus1 targ 4 lun 0: <ATA, TOSHIBA KSG60ZMV, ABDA> > naa.500080d9110f47ef > sd0: 244198MB, 512 bytes/sector, 500118192 sectors, thin > pcib0 at pci0 dev 31 function 0 "Intel Q370 LPC" rev 0x10 > azalia0 at pci0 dev 31 function 3 "Intel 300 Series cAVS" rev 0x10: msi > azalia0: codecs: Realtek ALC255, Intel/0x280b, using Realtek ALC255 > audio0 at azalia0 > ichiic0 at pci0 dev 31 function 4 "Intel 300 Series SMBus" rev 0x10: apic 2 > int 21 > iic1 at ichiic0 > spdmem0 at iic1 addr 0x51: 8GB DDR4 SDRAM PC4-21300 > spdmem1 at iic1 addr 0x53: 8GB DDR4 SDRAM PC4-21300 > "Intel 300 Series SPI" rev 0x10 at pci0 dev 31 function 5 not configured > em0 at pci0 dev 31 function 6 "Intel I219-LM" rev 0x10: msi, address > 54:bf:64:6b:6d:bf > isa0 at pcib0 > isadma0 at isa0 > pckbc0 at isa0 port 0x60/5 irq 1 irq 12 > pckbd0 at pckbc0 (kbd slot) > wskbd0 at pckbd0: console keyboard > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > vmm0 at mainbus0: VMX/EPT > efifb at mainbus0 not configured > uaudio0 at uhub0 port 1 configuration 1 interface 2 "Microsoft USB camera" > rev 1.10/1.01 addr 2 > uaudio0: class v1, full-speed, sync, channels: 0 play, 1 rec, 3 ctls > audio1 at uaudio0 > ugen0 at uhub0 port 1 configuration 1 "Microsoft USB camera" rev 1.10/1.01 > addr 2 > uhidev0 at uhub0 port 8 configuration 1 interface 0 "RDing TEMPERHUM1V1.2" > 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 > uhidev1 at uhub0 port 8 configuration 1 interface 1 "RDing TEMPERHUM1V1.2" > rev 2.00/0.01 addr 3 > uhidev1: iclass 3/1 > ugold0 at uhidev1 > vscsi0 at root > scsibus2 at vscsi0: 256 targets > softraid0 at root > scsibus3 at softraid0: 256 targets > root on sd0a (c7c0587617865329.a) swap on sd0b dump on sd0b > inteldrm0: 1680x1050, 32bpp > wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0 > wskbd1: connecting to wsdisplay0 > wsdisplay0: screen 1-5 added (std, vt100 emulation) > > usbdevs: > Controller /dev/usb0: > addr 01: 8086:0000 Intel, xHCI root hub > super speed, self powered, config 1, rev 1.00 > driver: uhub0 > addr 02: 045e:00f5 Microsoft, USB camera > full speed, power 500 mA, config 1, rev 1.01 > driver: uaudio0 > driver: ugen0 > addr 03: 0c45:7402 RDing, TEMPERHUM1V1.2 > low speed, power 100 mA, config 1, rev 0.01 > driver: uhidev0 > driver: uhidev1