On 2022/03/20 19:51, Stuart Henderson wrote: > On 2022/03/20 18:13, Stuart Henderson wrote: > > On 2022/03/20 18:13, Solene Rapenne wrote: > > > I'm proposing a very simple change to the automatic policy of the CPU > > > frequency scheduler. > > > > > > Currently, every 100ms the scheduler is doing this: > > > > > > - when the CPU load exceeds the threshold, CPU frequency is set to the > > > maximum and the variable downbeats is set to 5. > > > - when the CPU load is below the threshold, downbeats is decremented, if > > > it's == 0 then the CPU load is reduced to 0 > > > > > > my proposal is to change the downbeat to be adaptive to the load, instead > > > of setting it to 5 all the time, I propose to increment it with a limit > > > of 5. Instead of having the frequency set at max for 500ms (5 cycles) > > > every time the CPU usage is above the treshold, we will keep the > > > frequency high for a number of cycles depending how long it was high > > > (up to 5). So, in case of short CPU usage burst like opening a new MP3 > > > file for decoding or a click on a GUI, we have a frequency burst of > > > 100ms instead of 500ms. > > Running with this now btw (on AC power, but I have #ifdef'd out the > relevant parts of kern/sched_bsd.c). Watching with 'iwatch -i0.05 apm' > it seems to be reacting nicely to changes in use, for example a very > short blip at full speed when opening a new term and it drops down > again quickly. And stays at high cpu during compiles as I'd expect. > Also importantly, it stays at low speed with a browser with various > tabs running, during which time there is some cpu load but not a high > demand. > > > > > I've been using it for a few days, I noticed a huge battery life > > ^^^^^^^^^^^^^^^^^ > > > improvement with no responsiveness change. > > ^^^^^^^^^^^ > > > > This (and the couple of complaints from people who have now seen the fan > > stay on when plugged in, when it didn't previously) suggests that mwait > > is not everything and it _would_ still make sense to still have a way to > > set automatic frequency rather than just force-high for plugged-in use > > too... > > Just remembered I've got a shelly 1pm coming next week for something else, > before I do that I can bodge a cable to plug my laptop in through it and > get some figures that I'm hoping should be a bit more useful than the > instantaneous readings from my UPS. > > (As of next month's prices here, 10W continuous will be approx GBP30/year, > I've been trying to drop my base load as much as I can, everything helps!) >
Some results from this. Firefox with ~75 tabs mostly idling, chromium 1 tab idling, vlc playing a network radio stream, and a bunch of terminals, on an X1Y4 i7-8565U (dmesg below) 17.5-25W apm -H 13.4-15.7W apm -A (kernel patched to allow auto on AC, and using Solene's diff to adjust the CPU freq scheduler) 13.5W apm -L I was also interested in how things looked with a busier CPU; with a loop of md5 -t (single instance not multiple in parallel, I wanted to give as much chance of allowing turbo to kick in as possible on -H) looking at times and power: apm -L, steady 14.7W around 0.74sec apm -A or -H, starts around 35W 0.21sec but after a few seconds throttles 29W then 22W around 0.27sec. OpenBSD 7.1-beta (GENERIC.MP) #10: Sun Mar 20 19:24:32 GMT 2022 st...@bamboo.spacehopper.org:/sys/arch/amd64/compile/GENERIC.MP real mem = 16926281728 (16142MB) avail mem = 16396013568 (15636MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 3.1 @ 0x77d49000 (64 entries) bios0: vendor LENOVO version "N2HET63W (1.46 )" date 06/01/2021 bios0: LENOVO 20QF00B2UK acpi0 at bios0: ACPI 6.1 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT SSDT SSDT SSDT SSDT TPM2 UEFI SSDT HPET APIC MCFG ECDT SSDT SSDT SSDT BOOT SLIC SSDT LPIT WSMT SSDT DBGP DBG2 MSDM BATB NHLT FPDT UEFI acpi0: wakeup devices GLAN(S4) XHC_(S3) XDCI(S4) HDAS(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) RP07(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 23999999 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 1795.82 MHz, 06-8e-0c 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,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu0: 256KB 64b/line 8-way L2 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) i7-8565U CPU @ 1.80GHz, 1795.82 MHz, 06-8e-0c 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,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 1774.74 MHz, 06-8e-0c 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,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 6 (application processor) cpu3: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 1696.05 MHz, 06-8e-0c 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,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 0, core 3, package 0 cpu4 at mainbus0: apid 1 (application processor) cpu4: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 1696.05 MHz, 06-8e-0c cpu4: 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,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu4: 256KB 64b/line 8-way L2 cache cpu4: smt 1, core 0, package 0 cpu5 at mainbus0: apid 3 (application processor) cpu5: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 1696.05 MHz, 06-8e-0c cpu5: 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,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu5: 256KB 64b/line 8-way L2 cache cpu5: smt 1, core 1, package 0 cpu6 at mainbus0: apid 5 (application processor) cpu6: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 1690.70 MHz, 06-8e-0c cpu6: 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,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu6: 256KB 64b/line 8-way L2 cache cpu6: smt 1, core 2, package 0 cpu7 at mainbus0: apid 7 (application processor) cpu7: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 1691.79 MHz, 06-8e-0c cpu7: 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,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu7: 256KB 64b/line 8-way L2 cache cpu7: smt 1, core 3, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins acpimcfg0 at acpi0 acpimcfg0: addr 0xf0000000, bus 0-127 acpiec0 at acpi0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (RP01) acpiprt2 at acpi0: bus -1 (RP02) acpiprt3 at acpi0: bus -1 (RP03) acpiprt4 at acpi0: bus -1 (RP04) acpiprt5 at acpi0: bus -1 (RP05) acpiprt6 at acpi0: bus -1 (RP06) acpiprt7 at acpi0: bus -1 (RP07) acpiprt8 at acpi0: bus -1 (RP08) acpiprt9 at acpi0: bus 3 (RP09) acpiprt10 at acpi0: bus -1 (RP10) acpiprt11 at acpi0: bus -1 (RP11) acpiprt12 at acpi0: bus -1 (RP12) acpiprt13 at acpi0: bus 5 (RP13) acpiprt14 at acpi0: bus -1 (RP14) acpiprt15 at acpi0: bus -1 (RP15) acpiprt16 at acpi0: bus -1 (RP16) acpiprt17 at acpi0: bus -1 (RP17) acpiprt18 at acpi0: bus -1 (RP18) acpiprt19 at acpi0: bus -1 (RP19) acpiprt20 at acpi0: bus -1 (RP20) acpiprt21 at acpi0: bus -1 (RP21) acpiprt22 at acpi0: bus -1 (RP22) acpiprt23 at acpi0: bus -1 (RP23) acpiprt24 at acpi0: bus -1 (RP24) acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001 acpithinkpad0 at acpi0: version 2.0 acpiac0 at acpi0: AC unit offline acpibat0 at acpi0: BAT0 model "5B10W13932" serial 4238 type LiP oem "Celxpert" "PNP0C60" at acpi0 not configured "LEN0111" at acpi0 not configured "LEN0100" at acpi0 not configured "INT3403" at acpi0 not configured "INT3403" at acpi0 not configured "LEN0110" at acpi0 not configured pchgpio0 at acpi0 GPI0 addr 0xfd6e0000/0x10000 0xfd6d0000/0x10000 0xfd6a0000/0x10000 irq 14, 320 pins "NXP1001" at acpi0 not configured "SYNA8005" at acpi0 not configured "ACPI000E" 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: LID_ "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured "INT3400" at acpi0 not configured tpm0 at acpi0 TPM_ 2.0 (TIS) addr 0xfed40000/0x5000, device 0x0000104a rev 0x4e "USBC000" at acpi0 not configured acpipwrres0 at acpi0: PUBS, resource for XHC_ acpipwrres1 at acpi0: BTPR, resource for HS10 acpipwrres2 at acpi0: USBC, resource for XDCI acpipwrres3 at acpi0: PXP_, resource for RP01, PXSX acpipwrres4 at acpi0: PXP_, resource for RP13 acpipwrres5 at acpi0: V0PR acpipwrres6 at acpi0: V1PR acpipwrres7 at acpi0: V2PR acpipwrres8 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 acpicpu6 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu7 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpitz0 at acpi0: critical temperature is 128 degC acpipwrres9 at acpi0: PIN_ acpipwrres10 at acpi0: PINP acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD1F cpu0: Enhanced SpeedStep 1795 MHz: speeds: 2001, 2000, 1900, 1800, 1700, 1500, 1400, 1300, 1200, 1100, 1000, 800, 700, 600, 500, 400 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 8G Host" rev 0x0c inteldrm0 at pci0 dev 2 function 0 "Intel UHD Graphics 620" rev 0x02 drm0 at inteldrm0 inteldrm0: msi, COFFEELAKE, gen 9 "Intel Core 6G Thermal" rev 0x0c at pci0 dev 4 function 0 not configured "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 0x11 "Intel 300 Series ISH" rev 0x11 at pci0 dev 19 function 0 not configured xhci0 at pci0 dev 20 function 0 "Intel 300 Series xHCI" rev 0x11: 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 0x11 at pci0 dev 20 function 2 not configured iwm0 at pci0 dev 20 function 3 "Intel AC 9560" rev 0x11, msix dwiic0 at pci0 dev 21 function 0 "Intel 300 Series I2C" rev 0x11: apic 2 int 16 iic0 at dwiic0 "NXP1001" at iic0 addr 0x29 not configured dwiic1 at pci0 dev 21 function 1 "Intel 300 Series I2C" rev 0x11: apic 2 int 17 iic1 at dwiic1 ihidev0 at iic1 addr 0x2c gpio 100, vendor 0x6cb product 0xcd8c, SYNA8005 ihidev0: 14 report ids imt0 at ihidev0: clickpad, 5 contacts wsmouse0 at imt0 mux 0 ims0 at ihidev0 reportid 2: 2 buttons wsmouse1 at ims0 mux 0 hid at ihidev0 reportid 6 not configured hid at ihidev0 reportid 7 not configured hid at ihidev0 reportid 9 not configured hid at ihidev0 reportid 10 not configured hid at ihidev0 reportid 11 not configured hid at ihidev0 reportid 12 not configured hid at ihidev0 reportid 13 not configured hid at ihidev0 reportid 14 not configured "Intel 300 Series MEI" rev 0x11 at pci0 dev 22 function 0 not configured ppb0 at pci0 dev 28 function 0 "Intel 300 Series PCIE" rev 0xf1: msi pci1 at ppb0 bus 2 vendor "Intel", unknown product 0x7360 (class wireless unknown subclass 0x40, rev 0x01) at pci1 dev 0 function 0 not configured ppb1 at pci0 dev 29 function 0 "Intel 300 Series PCIE" rev 0xf1: msi pci2 at ppb1 bus 3 nvme0 at pci2 dev 0 function 0 "SanDisk WD Black NVMe" rev 0x00: msix, NVMe 1.3 nvme0: WDC PC SN730 SDBQNTY-512G-1001, firmware 11170101, serial 20369C803302 scsibus1 at nvme0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: <NVMe, WDC PC SN730 SDB, 1117> sd0: 488386MB, 512 bytes/sector, 1000215216 sectors ppb2 at pci0 dev 29 function 4 "Intel 300 Series PCIE" rev 0xf1: msi pci3 at ppb2 bus 5 ppb3 at pci3 dev 0 function 0 "Intel JHL6540 Thunderbolt" rev 0x02 pci4 at ppb3 bus 6 ppb4 at pci4 dev 0 function 0 "Intel JHL6540 Thunderbolt" rev 0x02: msi pci5 at ppb4 bus 7 "Intel JHL6540 Thunderbolt" rev 0x02 at pci5 dev 0 function 0 not configured ppb5 at pci4 dev 1 function 0 "Intel JHL6540 Thunderbolt" rev 0x02: msi pci6 at ppb5 bus 8 ppb6 at pci4 dev 2 function 0 "Intel JHL6540 Thunderbolt" rev 0x02: msi pci7 at ppb6 bus 45 xhci1 at pci7 dev 0 function 0 "Intel JHL6540 Thunderbolt" rev 0x02: msi, xHCI 1.10 usb1 at xhci1: USB revision 3.0 uhub1 at usb1 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 ppb7 at pci4 dev 4 function 0 "Intel JHL6540 Thunderbolt" rev 0x02: msi pci8 at ppb7 bus 46 pcib0 at pci0 dev 31 function 0 "Intel 300 Series LPC" rev 0x11 azalia0 at pci0 dev 31 function 3 "Intel 300 Series HD Audio" rev 0x11: msi azalia0: codecs: Realtek ALC285, Intel/0x280b, using Realtek ALC285 audio0 at azalia0 ichiic0 at pci0 dev 31 function 4 "Intel 300 Series SMBus" rev 0x11: apic 2 int 16 iic2 at ichiic0 ichiic0: abort failed, status 0x41<BUSY,INUSE> "Intel 300 Series SPI" rev 0x11 at pci0 dev 31 function 5 not configured em0 at pci0 dev 31 function 6 "Intel I219-V" rev 0x11: msi, address 98:fa:9b:bc:55:37 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 pms0 at pckbc0 (aux slot) wsmouse2 at pms0 mux 0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 efifb at mainbus0 not configured uhub2 at uhub0 port 2 configuration 1 interface 0 "VIA Labs, Inc. USB2.0 Hub" rev 2.10/90.81 addr 2 uhidev0 at uhub2 port 2 configuration 1 interface 0 "Yubico YubiKey OTP+FIDO+CCID" rev 2.00/5.43 addr 3 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 6 key codes wskbd1 at ukbd0 mux 1 uhidev1 at uhub2 port 2 configuration 1 interface 1 "Yubico YubiKey OTP+FIDO+CCID" rev 2.00/5.43 addr 3 uhidev1: iclass 3/0 fido0 at uhidev1: input=64, output=64, feature=0 ugen0 at uhub2 port 2 configuration 1 "Yubico YubiKey OTP+FIDO+CCID" rev 2.00/5.43 addr 3 ugen1 at uhub2 port 5 "AnkerInnovations Limited Anker USB-C Hub Device" rev 2.01/0.01 addr 4 uhidev2 at uhub0 port 6 configuration 1 interface 0 "Wacom Co.,Ltd. Pen and multitouch sensor" rev 2.00/0.02 addr 5 uhidev2: iclass 3/0, 14 report ids uhid0 at uhidev2 reportid 2: input=0, output=0, feature=1 uhid1 at uhidev2 reportid 3: input=39, output=0, feature=63 uhid2 at uhidev2 reportid 4: input=0, output=0, feature=15 uhid3 at uhidev2 reportid 7: input=0, output=0, feature=255 uhid4 at uhidev2 reportid 8: input=0, output=0, feature=135 uhid5 at uhidev2 reportid 9: input=0, output=0, feature=63 ums0 at uhidev2 reportid 10: 0 buttons wsmouse3 at ums0 mux 0 ums1 at uhidev2 reportid 12: 1 button, tip wsmouse4 at ums1 mux 0 uhid6 at uhidev2 reportid 13: input=0, output=0, feature=7 uhid7 at uhidev2 reportid 14: input=0, output=0, feature=2 uhidev3 at uhub0 port 6 configuration 1 interface 1 "Wacom Co.,Ltd. Pen and multitouch sensor" rev 2.00/0.02 addr 5 uhidev3: iclass 3/0, 19 report ids ums2 at uhidev3 reportid 1: 2 buttons wsmouse5 at ums2 mux 0 uhid8 at uhidev3 reportid 5: input=58, output=0, feature=8 ums3 at uhidev3 reportid 6: 3 buttons, tip, barrel, eraser wsmouse6 at ums3 mux 0 uhid9 at uhidev3 reportid 11: input=17, output=0, feature=63 uhid10 at uhidev3 reportid 15: input=40, output=0, feature=7 uhid11 at uhidev3 reportid 16: input=20, output=0, feature=63 uhid12 at uhidev3 reportid 17: input=0, output=0, feature=9 uvideo0 at uhub0 port 8 configuration 1 interface 0 "Azurewave Integrated Camera" rev 2.01/70.01 addr 6 video0 at uvideo0 uvideo1 at uhub0 port 8 configuration 1 interface 2 "Azurewave Integrated Camera" rev 2.01/70.01 addr 6 video1 at uvideo1 ugen2 at uhub0 port 9 "Synaptics Fingerprint Reader" rev 2.00/0.00 addr 7 ugen3 at uhub0 port 10 "Intel product 0x0aaa" rev 2.00/0.02 addr 8 uhub3 at uhub1 port 3 configuration 1 interface 0 "VIA Labs, Inc. USB3.0 Hub" rev 3.20/90.81 addr 2 umass0 at uhub3 port 3 configuration 1 interface 0 "Norelsys NS1081" rev 3.00/1.00 addr 3 umass0: using SCSI over Bulk-Only scsibus2 at umass0: 2 targets, initiator 0 probe(umass0:1:0): Check Condition (error 0) on opcode 0x0 probe(umass0:1:0): Check Condition (error 0) on opcode 0x0 sd1 at scsibus2 targ 1 lun 0: <NORELSYS, 1081CS0, > removable probe(umass0:1:1): Check Condition (error 0) on opcode 0x0 sd2 at scsibus2 targ 1 lun 1: <NORELSYS, 1081CS1, > removable vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets sd3 at scsibus4 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006> sd3: 192196MB, 512 bytes/sector, 393618928 sectors root on sd3a (4fe85f1ea61c50e3.a) swap on sd3b dump on sd3b drm:pid0:intel_ddi_sanitize_encoder_pll_mapping *NOTICE* [drm] [ENCODER:94:DDI \M-*/PHY h] is disabled/in DSI mode with an ungated DDI clock, gate it [00] BAD 00 ff ff ff ff ff ff 00 ff ff ff ff ff ff ff ff [00] BAD ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [00] BAD ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [00] BAD ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [00] BAD ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [00] BAD ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [00] BAD ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [00] BAD ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff inteldrm0: 1920x1200, 32bpp wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0 wskbd1: connecting to wsdisplay0 wsdisplay0: screen 1-5 added (std, vt100 emulation) iwm0: hw rev 0x310, fw ver 46.4e1ceb39.0, address 50:eb:71:7c:af:5b