Running OpenBSD 7.5 on AMD64. Full dmesg is at the end of this message. This sensor used to work well with OpenBSD 7.4. Since I moved to 7.5, the following issue is reproducible...
The sensor is plugged into the USB port, and the PC (in this case, laptop) is powered up. After the boot is complete, I log in and issue: > sysctl -a | grep ugold and I get nothing. So I unplug the sensor, and plug it back in. After issuing that same command, I see hw.sensors.ugold0.temp0=21.27 degC (inner) hw.sensors.ugold0.humidity0=47.55% (RH) Excerpts from dmesg are: Initial boot-up: ugen0 at uhub3 port 1 "QinHeng Electronics product 0x55e0" rev 1.10/1.00 addr 3 After unplugging the sensor and plugging it in again: ugen0 detached uhidev0 at uhub3 port 1 configuration 1 interface 0 "PC Sensors TEMPer sensor" rev 1.10/0.00 addr 3 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 6 key codes wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhidev1 at uhub3 port 1 configuration 1 interface 1 "PC Sensors TEMPer sensor" rev 1.10/0.00 addr 3 uhidev1: iclass 3/1 ugold0 at uhidev1 ugold0: "TEMPerX_V3.3 ", 2 sensors type temperx (temperature and humidity) This sensor is now off the production PC and is sitting on a test PC, so I can try things if needed. Let me know. Full dmesg: OpenBSD 7.5 (GENERIC.MP) #82: Wed Mar 20 15:48:40 MDT 2024 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 4129800192 (3938MB) avail mem = 3983650816 (3799MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xe0010 (78 entries) bios0: vendor LENOVO version "6IET75WW (1.35 )" date 02/01/2011 bios0: LENOVO 2522DU5 acpi0 at bios0: ACPI 4.0 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET ASF! SLIC BOOT SSDT TCPA SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) EXP5(S4) EHC1(S3) EHC2(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz, 2926.21 MHz, 06-25-05, patch 00000007 cpu0: 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,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,AES,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,MELTDOWN cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 4-way I-cache, 256KB 64b/line 8-way L2 cache, 3MB 64b/line 12-way L3 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 133MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz, 2926.34 MHz, 06-25-05, patch 00000007 cpu1: 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,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,AES,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,MELTDOWN cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 4-way I-cache, 256KB 64b/line 8-way L2 cache, 3MB 64b/line 12-way L3 cache cpu1: smt 1, core 0, package 0 cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz, 2926.21 MHz, 06-25-05, patch 00000007 cpu2: 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,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,AES,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,MELTDOWN cpu2: 32KB 64b/line 8-way D-cache, 32KB 64b/line 4-way I-cache, 256KB 64b/line 8-way L2 cache, 3MB 64b/line 12-way L3 cache cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 5 (application processor) cpu3: Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz, 2926.81 MHz, 06-25-05, patch 00000007 cpu3: 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,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,AES,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,MELTDOWN cpu3: 32KB 64b/line 8-way D-cache, 32KB 64b/line 4-way I-cache, 256KB 64b/line 8-way L2 cache, 3MB 64b/line 12-way L3 cache cpu3: smt 1, core 2, package 0 ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins, remapped acpimcfg0 at acpi0 acpimcfg0: addr 0xe0000000, bus 0-255 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PEG_) acpiprt2 at acpi0: bus 2 (EXP1) acpiprt3 at acpi0: bus 3 (EXP2) acpiprt4 at acpi0: bus -1 (EXP3) acpiprt5 at acpi0: bus 5 (EXP4) acpiprt6 at acpi0: bus 13 (EXP5) acpibtn0 at acpi0: LID_(wakeup) acpibtn1 at acpi0: SLPB(wakeup) acpipci0 at acpi0 UNCR acpipci1 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001 acpicmos0 at acpi0 acpibat0 at acpi0: BAT0 model "42T4911" serial 21260 type LION oem "LGC" acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0: version 1.0 "*pnp0c14" at acpi0 not configured "PNP0C14" at acpi0 not configured acpicpu0 at acpi0: C3(350@245 mwait.3@0x20), C2(500@205 mwait.3@0x10), C1(1000@3 mwait.1), PSS acpicpu1 at acpi0: C3(350@245 mwait.3@0x20), C2(500@205 mwait.3@0x10), C1(1000@3 mwait.1), PSS acpicpu2 at acpi0: C3(350@245 mwait.3@0x20), C2(500@205 mwait.3@0x10), C1(1000@3 mwait.1), PSS acpicpu3 at acpi0: C3(350@245 mwait.3@0x20), C2(500@205 mwait.3@0x10), C1(1000@3 mwait.1), PSS acpipwrres0 at acpi0: PUBS, resource for EHC1, EHC2 acpitz0 at acpi0: critical temperature is 100 degC acpivideo0 at acpi0: VID_ acpivout0 at acpivideo0: LCD0 acpivideo1 at acpi0: VID_ acpivout1 at acpivideo1: LCD0 cpu0: using IvyBridge MDS workaround cpu0: Enhanced SpeedStep 2926 MHz: speeds: 2667, 2666, 2533, 2399, 2266, 2133, 1999, 1866, 1733, 1599, 1466, 1333, 1199 MHz pci0 at mainbus0 bus 255 pchb0 at pci0 dev 0 function 0 "Intel QuickPath" rev 0x02 pchb1 at pci0 dev 0 function 1 "Intel QuickPath" rev 0x02 pchb2 at pci0 dev 2 function 0 "Intel QPI Link" rev 0x02 pchb3 at pci0 dev 2 function 1 "Intel QPI Physical" rev 0x02 pchb4 at pci0 dev 2 function 2 "Intel Reserved" rev 0x02 pchb5 at pci0 dev 2 function 3 "Intel Reserved" rev 0x02 pci1 at mainbus0 bus 0 pchb6 at pci1 dev 0 function 0 "Intel Core Host" rev 0x02 ppb0 at pci1 dev 1 function 0 "Intel 3400 PCIE" rev 0x02: msi pci2 at ppb0 bus 1 vga1 at pci2 dev 0 function 0 vendor "NVIDIA", unknown product 0x0a6c rev 0xa2 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) azalia0 at pci2 dev 0 function 1 vendor "NVIDIA", unknown product 0x0be3 rev 0xa1: msi azalia0: no supported codecs "Intel 3400 MEI" rev 0x06 at pci1 dev 22 function 0 not configured em0 at pci1 dev 25 function 0 "Intel 82577LM" rev 0x06: msi, address [] ehci0 at pci1 dev 26 function 0 "Intel 3400 USB" rev 0x06: apic 1 int 23 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia1 at pci1 dev 27 function 0 "Intel 3400 HD Audio" rev 0x06: msi azalia1: codecs: Conexant/0x5069 audio0 at azalia1 ppb1 at pci1 dev 28 function 0 "Intel 3400 PCIE" rev 0x06: msi pci3 at ppb1 bus 2 ppb2 at pci1 dev 28 function 1 "Intel 3400 PCIE" rev 0x06: msi pci4 at ppb2 bus 3 iwn0 at pci4 dev 0 function 0 "Intel Centrino Advanced-N 6200" rev 0x35: msi, MIMO 2T2R, MoW, address 18:3d:a2:2d:55:28 ppb3 at pci1 dev 28 function 3 "Intel 3400 PCIE" rev 0x06: msi pci5 at ppb3 bus 5 ppb4 at pci1 dev 28 function 4 "Intel 3400 PCIE" rev 0x06: msi pci6 at ppb4 bus 13 sdhc0 at pci6 dev 0 function 0 "Ricoh 5U822 SD/MMC" rev 0x01: apic 1 int 16 sdhc0: SDHC 1.00, 50 MHz base clock sdmmc0 at sdhc0: 4-bit, sd high-speed, mmc high-speed "Ricoh 5U230 Memory Stick" rev 0x01 at pci6 dev 0 function 1 not configured "Ricoh 5U832 Firewire" rev 0x01 at pci6 dev 0 function 3 not configured ehci1 at pci1 dev 29 function 0 "Intel 3400 USB" rev 0x06: apic 1 int 19 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb5 at pci1 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xa6 pci7 at ppb5 bus 14 pcib0 at pci1 dev 31 function 0 "Intel QM57 LPC" rev 0x06 ahci0 at pci1 dev 31 function 2 "Intel 3400 AHCI" rev 0x06: msi, AHCI 1.3 ahci0: port 0: 1.5Gb/s ahci0: port 1: 1.5Gb/s scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: <ATA, Hitachi HTS72106, MC3O> t10.ATA_Hitachi_HTS721060G9SA00_MPCC18Y3GN0RVJ sd0: 55796MB, 512 bytes/sector, 114270345 sectors cd0 at scsibus1 targ 1 lun 0: <Optiarc, DVD RW AD-7930H, 1.D1> removable ichiic0 at pci1 dev 31 function 3 "Intel 3400 SMBus" rev 0x06: apic 1 int 23 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600 SO-DIMM spdmem1 at iic0 addr 0x51: 2GB DDR3 SDRAM PC3-10600 SO-DIMM itherm0 at pci1 dev 31 function 6 "Intel 3400 Thermal" rev 0x06 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, using wsdisplay0 pms0 at pckbc0 (aux slot) wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 aps0 at isa0 port 0x1600/31 uhub2 at uhub0 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 ugen0 at uhub3 port 1 "QinHeng Electronics product 0x55e0" rev 1.10/1.00 addr 3 ugen1 at uhub3 port 4 "Qualcomm Incorporated Qualcomm Gobi 2000" rev 2.00/0.02 addr 4 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (55d214801c5fe69d.a) swap on sd0b dump on sd0b WARNING: clock gained 4 days WARNING: CHECK AND RESET THE DATE! ugen0 detached uhidev0 at uhub3 port 1 configuration 1 interface 0 "PC Sensors TEMPer sensor" rev 1.10/0.00 addr 3 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 6 key codes wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhidev1 at uhub3 port 1 configuration 1 interface 1 "PC Sensors TEMPer sensor" rev 1.10/0.00 addr 3 uhidev1: iclass 3/1 ugold0 at uhidev1 ugold0: "TEMPerX_V3.3 ", 2 sensors type temperx (temperature and humidity)