From: Johannes Thyssen Tishman Subject: Re: return of the chromebook keyboard diff To: Miod Vallat Cc: tech@openbsd.org Date: Thu, 30 Jan 2025 14:08:14 +0000 2025-01-27T18:33:47+0000 Miod Vallat : > New year, new diff! Sorry for taking too much time. > > This new diff tries to do the following: > - attach to the ACPI keyboard node, if we run on a machine where we know > it helps. > - attach to the ACPI mouse node, if we have attached to the keyboard > node, and the mouse node provides interrupt information. > - use regular interrupts as well as GPIO interrupts. > > If you have a system where your keyboard does not work correctly with > "pckbc0 at isa0" and running this diff does not make "pckbc1 at acpi0" > appear, you can force the pckbc at acpi attachment by changing device > flags in UKC. > > To do this, pass the -c option when booting. After the kernel loads, it > will drop you to a "UKC>" prompt. Enter "find pckbc". You will get > something like: > 273 pckbc0 at isa0 (more stuff on the line) > 478 pckbc* at acpi0 addr -1 flags 0x0 > You need to change the flags of the acpi attachment; in my case, number > 478, but this may be slightly different on your machine. So enter > "change 478". The 478 line will be reprinted, and you'll be asked to > confirm you want to change it with "y". Keep the "addr" value unchanged > (press enter), then enter "1" for the "flags" value. The kernel will > display something like: > 478 pckbc* changed > 478 pckbc* at acpi0 addr -1 flags 0x1 > (note the flags value has changed). Then enter "quit" for the kernel to > resume booting. > > I am interested (obviously) in test reports, both positive and negative. > Don't forget to try to suspend your system, too, and see if the keyboard > and trackpad are still working upon resume. > > Beware: I have only compile-tested the GPIO-related code as none of the > systems I have been able to test use GPIO interrupts. Thank you very much for this Miod. I just tested this on my Thinkpad E14 Gen 6 and the keyboard is working as well as the trackpoint and the trackpoint buttons (three buttons above trackpad). I had to force the pckbc at acpi attachment as you explained (dmesgs below - the first one without forcing the attachment). Now I can finally ditch the trackpad for the trackpoint :) So to summarize: Before (using first chromebook keyboard diff from 2024-10-08): Keyboard: Working Trackpad: Working Trackpoint: Not working Trackpoint Buttons: Not working After: Keyboard: Working Trackpad: Working Trackpoint: Working Trackpoint Buttons: Working To make this persistant on my machine, should I configure this on /etc/bsd.re-config or should "LEN0071" be appended to pckbc_acpi_cids_kbd? Lastly, I tried suspending the system (which last I tried was broken with both sysctl machdep.lidaction={1,-1}) and as expected, the screen went blank, but the power button LED remained lit (it should blink when suspended) and I couldn't wake up the system. I'll try again and report back if/when this is fixed. Thanks again Miod. OpenBSD 7.6-current (GENERIC.MP) #25: Thu Jan 30 13:17:16 CET 2025 johannes@e14.thyssentishman.local:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 67374571520 (64253MB) avail mem = 65308372992 (62282MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 3.3 @ 0x47561000 (58 entries) bios0: vendor LENOVO version "R2KET27W (1.10 )" date 09/23/2024 bios0: LENOVO 21M3CTO1WW efi0 at bios0: UEFI 2.7 efi0: Lenovo rev 0x1100 acpi0 at bios0: ACPI 6.3Undefined scope: \\_SB_.PCI0.GPP0 acpi0: sleep states S0ix S4 S5 acpi0: tables DSDT FACP SSDT SSDT SSDT SSDT SSDT SSDT TPM2 POAT BATB HPET APIC MCFG SBST WSMT VFCT SSDT CRAT CDIT SDEV FPDT SSDT SSDT SSDT BGRT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT UEFI IVRS SSDT SSDT acpi0: wakeup devices GPP5(S0) LID_(S4) SLPB(S3) acpitimer0 at acpi0: 3579545 Hz, 32 bits acpihpet0 at acpi0: 14318180 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Ryzen 7 7735U with Radeon Graphics, 2700.00 MHz, 19-44-01, patch 0a404107 cpu0: cpuid 1 edx=178bfbff ecx=76f8320b cpu0: cpuid 6 eax=4 ecx=1 cpu0: cpuid 7.0 ebx=219c97a9 ecx=40068c edx=10 cpu0: cpuid d.1 eax=f cpu0: cpuid 80000001 edx=2fd3fbff ecx=75c237ff cpu0: cpuid 80000007 edx=6799 cpu0: cpuid 80000008 ebx=191ef657 cpu0: cpuid 8000001F eax=1780f edx=1 cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 8-way L2 cache, 16MB 64b/line 16-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 24MHz cpu0: mwait min=64, max=64, C-substates=1.1, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Ryzen 7 7735U with Radeon Graphics, 2700.00 MHz, 19-44-01, patch 0a404107 cpu1: smt 1, core 0, package 0 tsc: cpu0/cpu1: sync test failed timecounter: active counter changed: tsc -> acpihpet0 cpu2 at mainbus0: apid 2 (application processor) cpu2: AMD Ryzen 7 7735U with Radeon Graphics, 2700.00 MHz, 19-44-01, patch 0a404107 cpu2: smt 0, core 1, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: AMD Ryzen 7 7735U with Radeon Graphics, 2700.01 MHz, 19-44-01, patch 0a404107 cpu3: smt 1, core 1, package 0 cpu4 at mainbus0: apid 4 (application processor) cpu4: AMD Ryzen 7 7735U with Radeon Graphics, 2700.00 MHz, 19-44-01, patch 0a404107 cpu4: smt 0, core 2, package 0 cpu5 at mainbus0: apid 5 (application processor) cpu5: AMD Ryzen 7 7735U with Radeon Graphics, 2700.01 MHz, 19-44-01, patch 0a404107 cpu5: smt 1, core 2, package 0 cpu6 at mainbus0: apid 6 (application processor) cpu6: AMD Ryzen 7 7735U with Radeon Graphics, 2700.00 MHz, 19-44-01, patch 0a404107 cpu6: smt 0, core 3, package 0 cpu7 at mainbus0: apid 7 (application processor) cpu7: AMD Ryzen 7 7735U with Radeon Graphics, 2700.01 MHz, 19-44-01, patch 0a404107 cpu7: smt 1, core 3, package 0 cpu8 at mainbus0: apid 8 (application processor) cpu8: AMD Ryzen 7 7735U with Radeon Graphics, 2700.00 MHz, 19-44-01, patch 0a404107 cpu8: smt 0, core 4, package 0 cpu9 at mainbus0: apid 9 (application processor) cpu9: AMD Ryzen 7 7735U with Radeon Graphics, 2700.01 MHz, 19-44-01, patch 0a404107 cpu9: smt 1, core 4, package 0 cpu10 at mainbus0: apid 10 (application processor) cpu10: AMD Ryzen 7 7735U with Radeon Graphics, 2700.00 MHz, 19-44-01, patch 0a404107 cpu10: smt 0, core 5, package 0 cpu11 at mainbus0: apid 11 (application processor) cpu11: AMD Ryzen 7 7735U with Radeon Graphics, 2700.01 MHz, 19-44-01, patch 0a404107 cpu11: smt 1, core 5, package 0 cpu12 at mainbus0: apid 12 (application processor) cpu12: AMD Ryzen 7 7735U with Radeon Graphics, 2700.00 MHz, 19-44-01, patch 0a404107 cpu12: smt 0, core 6, package 0 cpu13 at mainbus0: apid 13 (application processor) cpu13: AMD Ryzen 7 7735U with Radeon Graphics, 2700.00 MHz, 19-44-01, patch 0a404107 cpu13: smt 1, core 6, package 0 cpu14 at mainbus0: apid 14 (application processor) cpu14: AMD Ryzen 7 7735U with Radeon Graphics, 2700.00 MHz, 19-44-01, patch 0a404107 cpu14: smt 0, core 7, package 0 cpu15 at mainbus0: apid 15 (application processor) cpu15: AMD Ryzen 7 7735U with Radeon Graphics, 2700.01 MHz, 19-44-01, patch 0a404107 cpu15: smt 1, core 7, package 0 ioapic0 at mainbus0: apid 32 pa 0xfec00000, version 21, 24 pins, can't remap ioapic1 at mainbus0: apid 33 pa 0xfec01000, version 21, 32 pins, can't remap acpimcfg0 at acpi0 acpimcfg0: addr 0xe0000000, bus 0-255 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (GPP1) acpiprt2 at acpi0: bus 2 (GPP5) acpiprt3 at acpi0: bus 3 (GPP6) acpiprt4 at acpi0: bus 4 (GPP8) acpiprt5 at acpi0: bus 5 (GP17) acpiprt6 at acpi0: bus -1 (GP18) acpiprt7 at acpi0: bus 6 (GP19) acpiec0 at acpi0 "AMDI0007" at acpi0 not configured "ACPI0010" at acpi0 not configured acpicpu0 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu1 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu2 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu3 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu4 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu5 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu6 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu7 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu8 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu9 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu10 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu11 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu12 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu13 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu14 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu15 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpibtn0 at acpi0: PWRB acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000 acpicmos0 at acpi0 "LEN0071" at acpi0 not configured "LEN0325" at acpi0 not configured acpibat0 at acpi0: BAT0 model "L23D3PG2" serial 2764 type LiP oem "Sunwoda" acpiac0 at acpi0: AC unit offline acpithinkpad0 at acpi0: version 2.0 "LEN0111" at acpi0 not configured "LEN0102" at acpi0 not configured "LEN0130" at acpi0 not configured acpibtn1 at acpi0: LID_(wakeup) acpibtn2 at acpi0: SLPB(wakeup) "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured amdgpio0 at acpi0 GPIO uid 0 addr 0xfed81500/0x400 irq 7, 184 pins "AMDI0052" at acpi0 not configured dwiic0 at acpi0 I2CA addr 0xfedc2000/0x1000 irq 10 iic0 at dwiic0 dwiic1 at acpi0 I2CB addr 0xfedc3000/0x1000 irq 11 iic1 at dwiic1 ihidev0 at iic1 addr 0x2c gpio 8, vendor 0x6cb product 0xce5c, SYNA8020 ihidev0: 15 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 hid at ihidev0 reportid 15 not configured "USBC000" at acpi0 not configured "ACPI000E" at acpi0 not configured tpm0 at acpi0 TPM_ 2.0 (TIS) addr 0xfed40000/0x5000, device 0x0003104a rev 0x0 acpipwrres0 at acpi0: P0NV, resource for NVME acpipwrres1 at acpi0: WRST acpipwrres2 at acpi0: P0NV, resource for NVME acpipwrres3 at acpi0: PWRS, resource for GP11 acpipwrres4 at acpi0: PWRS, resource for SWUS acpipwrres5 at acpi0: PWRS, resource for GP12 acpipwrres6 at acpi0: PWRS, resource for SWUS acpipwrres7 at acpi0: PWRS, resource for VGA_ acpipwrres8 at acpi0: PWRS, resource for ACP_ acpipwrres9 at acpi0: PWRS, resource for AZAL acpipwrres10 at acpi0: PWRS, resource for HDAU acpipwrres11 at acpi0: BTRT acpipwrres12 at acpi0: PWRS, resource for XHC0 acpipwrres13 at acpi0: BTPR acpipwrres14 at acpi0: PWRS, resource for XHC1 acpipwrres15 at acpi0: PWRS, resource for GP17 acpipwrres16 at acpi0: P0S0, resource for SATA acpipwrres17 at acpi0: P3S0, resource for SATA acpipwrres18 at acpi0: PWRS, resource for NHI0 acpipwrres19 at acpi0: PWRS, resource for NHI1 acpipwrres20 at acpi0: PWRS, resource for XHC2 acpipwrres21 at acpi0: PWRS, resource for XHC3 acpipwrres22 at acpi0: PWRS, resource for XHC4 acpitz0 at acpi0acpitz0: THM0: failed to read _CRT acpitz0: THM0: failed to read _CRT : no critical temperature defined acpitz1 at acpi0: critical temperature is 110 degC acpivideo0 at acpi0: VGA_ acpivout0 at acpivideo0: LCD_ cpu0: 2700 MHz: speeds: 2700 1800 1600 MHz pci0 at mainbus0 bus 0 ksmn0 at pci0 dev 0 function 0 "AMD 19h/4xh Root Complex" rev 0x01 "AMD 19h/4xh IOMMU" rev 0x00 at pci0 dev 0 function 2 not configured pchb0 at pci0 dev 1 function 0 "AMD 19h/4xh Host" rev 0x01 ppb0 at pci0 dev 1 function 2 vendor "AMD", unknown product 0x14b8 rev 0x00: msi pci1 at ppb0 bus 1 nvme0 at pci1 dev 0 function 0 "Kingston KC3000" rev 0x01: msix, NVMe 1.4 nvme0: KINGSTON SFYRS1000G, firmware EIFK31.6, serial 50026B7686AF5A75 scsibus1 at nvme0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: sd0: 953869MB, 512 bytes/sector, 1953525168 sectors pchb1 at pci0 dev 2 function 0 "AMD 19h/4xh Host" rev 0x01 ppb1 at pci0 dev 2 function 1 "AMD 19h/4xh PCIE" rev 0x00: msi pci2 at ppb1 bus 2 re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x15: RTL8168H/8111H (0x5400), msi, address XX:XX:XX:XX:XX:XX rgephy0 at re0 phy 7: RTL8251, rev. 0 ppb2 at pci0 dev 2 function 2 "AMD 19h/4xh PCIE" rev 0x00: msi pci3 at ppb2 bus 3 iwx0 at pci3 dev 0 function 0 "Intel Wi-Fi 6 AX210" rev 0x1a, msix ppb3 at pci0 dev 2 function 4 "AMD 19h/4xh PCIE" rev 0x00: msi pci4 at ppb3 bus 4 nvme1 at pci4 dev 0 function 0 "Samsung PM9C1a NVMe" rev 0x00: msix, NVMe 2.0 nvme1: SAMSUNG MZAL81T0HDLB-00BLL, firmware 5L2QKXD7, serial S7DXNE0X411269 scsibus2 at nvme1: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: sd1: 976762MB, 512 bytes/sector, 2000409264 sectors pchb2 at pci0 dev 3 function 0 "AMD 19h/4xh Host" rev 0x01 pchb3 at pci0 dev 4 function 0 "AMD 19h/4xh Host" rev 0x01 pchb4 at pci0 dev 8 function 0 "AMD 19h/4xh Host" rev 0x01 ppb4 at pci0 dev 8 function 1 "AMD 19h/4xh PCIE" rev 0x10 pci5 at ppb4 bus 5 amdgpu0 at pci5 dev 0 function 0 "ATI Rembrandt" rev 0x0c drm0 at amdgpu0 amdgpu0: msi azalia0 at pci5 dev 0 function 1 "ATI Van Gogh HD Audio" rev 0x00: msi azalia0: no supported codecs ccp0 at pci5 dev 0 function 2 "AMD 17h/90h Crypto" rev 0x00 xhci0 at pci5 dev 0 function 3 "AMD 19h/4xh xHCI" rev 0x00: msix, xHCI 1.20 usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 addr 1 xhci1 at pci5 dev 0 function 4 "AMD 19h/4xh xHCI" rev 0x00: msix, xHCI 1.20 usb1 at xhci1: USB revision 3.0 uhub1 at usb1 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 addr 1 "AMD 17h/1xh I2S Audio" rev 0x60 at pci5 dev 0 function 5 not configured azalia1 at pci5 dev 0 function 6 "AMD 17h/1xh HD Audio" rev 0x00: msi azalia1: codecs: Conexant/0x1f86 audio0 at azalia1 ppb5 at pci0 dev 8 function 3 "AMD 19h/4xh PCIE" rev 0x10 pci6 at ppb5 bus 6 xhci2 at pci6 dev 0 function 0 "AMD 19h/4xh xHCI" rev 0x00: msix, xHCI 1.20 usb2 at xhci2: USB revision 3.0 uhub2 at usb2 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 addr 1 xhci3 at pci6 dev 0 function 3 "AMD 19h/4xh xHCI" rev 0x00: msix, xHCI 1.20 usb3 at xhci3: USB revision 3.0 uhub3 at usb3 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 addr 1 xhci4 at pci6 dev 0 function 4 "AMD 19h/4xh xHCI" rev 0x00: msix, xHCI 1.20 usb4 at xhci4: USB revision 3.0 uhub4 at usb4 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 addr 1 piixpm0 at pci0 dev 20 function 0 "AMD FCH SMBus" rev 0x71: polling iic2 at piixpm0 iic3 at piixpm0 pcib0 at pci0 dev 20 function 3 "AMD FCH LPC" rev 0x51 pchb5 at pci0 dev 24 function 0 "AMD 19h/4xh Data Fabric" rev 0x00 pchb6 at pci0 dev 24 function 1 "AMD 19h/4xh Data Fabric" rev 0x00 pchb7 at pci0 dev 24 function 2 "AMD 19h/4xh Data Fabric" rev 0x00 pchb8 at pci0 dev 24 function 3 "AMD 19h/4xh Data Fabric" rev 0x00 pchb9 at pci0 dev 24 function 4 "AMD 19h/4xh Data Fabric" rev 0x00 pchb10 at pci0 dev 24 function 5 "AMD 19h/4xh Data Fabric" rev 0x00 pchb11 at pci0 dev 24 function 6 "AMD 19h/4xh Data Fabric" rev 0x00 pchb12 at pci0 dev 24 function 7 "AMD 19h/4xh Data Fabric" rev 0x00 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 wbsio0 at isa0 port 0x4e/2: W83627THF rev 0x27 vmm0 at mainbus0: SVM/RVI efifb at mainbus0 not configured ugen0 at uhub0 port 4 "Intel Bluetooth" rev 2.01/0.00 addr 2 uhidev0 at uhub1 port 2 configuration 1 interface 0 "Lenovo ThinkPad Compact USB Keyboard with TrackPoint" rev 2.00/3.30 addr 2 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 6 key codes wskbd1 at ukbd0 mux 1 uhidev1 at uhub1 port 2 configuration 1 interface 1 "Lenovo ThinkPad Compact USB Keyboard with TrackPoint" rev 2.00/3.30 addr 2 uhidev1: iclass 3/1, 22 report ids ums0 at uhidev1 reportid 1: 5 buttons, Z and W dir wsmouse3 at ums0 mux 0 ucc0 at uhidev1 reportid 16: 573 usages, 20 keys, array wskbd2 at ucc0 mux 1 uhid0 at uhidev1 reportid 17: input=2, output=0, feature=0 uhid1 at uhidev1 reportid 19: input=8, output=8, feature=8 uhid2 at uhidev1 reportid 21: input=2, output=0, feature=0 uhid3 at uhidev1 reportid 22: input=2, output=0, feature=0 uvideo0 at uhub2 port 1 configuration 1 interface 0 "8SSC21M05461V1SR3CM01JE Integrated RGB Camera" rev 2.01/10.17 addr 2 video0 at uvideo0 uvideo1 at uhub2 port 1 configuration 1 interface 2 "8SSC21M05461V1SR3CM01JE Integrated RGB Camera" rev 2.01/10.17 addr 2 video1 at uvideo1 ugen1 at uhub2 port 1 configuration 1 "8SSC21M05461V1SR3CM01JE Integrated RGB Camera" rev 2.01/10.17 addr 2 vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets sd2 at scsibus4 targ 1 lun 0: sd2: 953609MB, 512 bytes/sector, 1952992063 sectors root on sd2a (ab604ec743749b3d.a) swap on sd2b dump on sd2b iwx0: hw rev 0x420, fw 77.f92b5fed.0, pnvm ce1a5094, address XX:XX:XX:XX:XX:XX amdgpu0: YELLOW_CARP GC 10.3.3 12 CU rev 0x02 amdgpu0: 1920x1080, 32bpp wsdisplay0 at amdgpu0 mux 1: console (std, vt100 emulation), using wskbd0 wskbd1: connecting to wsdisplay0 wskbd2: connecting to wsdisplay0 wsdisplay0: screen 1-5 added (std, vt100 emulation) [drm] REG_WAIT timeout 1us * 100000 tries - optc1_wait_for_state line:841 [drm] REG_WAIT timeout 1us * 100000 tries - optc1_wait_for_state line:841 [drm] REG_WAIT timeout 1us * 100000 tries - optc1_wait_for_state line:841 pckbc: command timeout pckbc: command timeout pckbc: command timeout pckbc: command timeout pckbc: command timeout pckbc: command timeout pckbc: command timeout pckbc: command timeout pckbc: command timeout OpenBSD 7.6-current (GENERIC.MP) #25: Thu Jan 30 13:17:16 CET 2025 johannes@e14.thyssentishman.local:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 67374571520 (64253MB) avail mem = 65308372992 (62282MB) User Kernel Config UKC> find pckbc 273 pckbc0 at isa0 port -1 size 0 iomem -1 iosiz 0 irq -1 drq -1 drq2 -1 flags 0x0 478 pckbc* at acpi0 addr -1 flags 0x0 UKC> change 478 478 pckbc* at acpi0 addr -1 flags 0x0 change (y/n) ? addr [-1] ? flags [0] ? 1 478 pckbc* changed 478 pckbc* at acpi0 addr -1 flags 0x1 UKC> quit Continuing... random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 3.3 @ 0x47561000 (58 entries) bios0: vendor LENOVO version "R2KET27W (1.10 )" date 09/23/2024 bios0: LENOVO 21M3CTO1WW efi0 at bios0: UEFI 2.7 efi0: Lenovo rev 0x1100 acpi0 at bios0: ACPI 6.3Undefined scope: \\_SB_.PCI0.GPP0 acpi0: sleep states S0ix S4 S5 acpi0: tables DSDT FACP SSDT SSDT SSDT SSDT SSDT SSDT TPM2 POAT BATB HPET APIC MCFG SBST WSMT VFCT SSDT CRAT CDIT SDEV FPDT SSDT SSDT SSDT BGRT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT UEFI IVRS SSDT SSDT acpi0: wakeup devices GPP5(S0) LID_(S4) SLPB(S3) acpitimer0 at acpi0: 3579545 Hz, 32 bits acpihpet0 at acpi0: 14318180 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Ryzen 7 7735U with Radeon Graphics, 2700.00 MHz, 19-44-01, patch 0a404107 cpu0: cpuid 1 edx=178bfbff ecx=76f8320b cpu0: cpuid 6 eax=4 ecx=1 cpu0: cpuid 7.0 ebx=219c97a9 ecx=40068c edx=10 cpu0: cpuid d.1 eax=f cpu0: cpuid 80000001 edx=2fd3fbff ecx=75c237ff cpu0: cpuid 80000007 edx=6799 cpu0: cpuid 80000008 ebx=191ef657 cpu0: cpuid 8000001F eax=1780f edx=1 cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 8-way L2 cache, 16MB 64b/line 16-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 24MHz cpu0: mwait min=64, max=64, C-substates=1.1, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Ryzen 7 7735U with Radeon Graphics, 2700.00 MHz, 19-44-01, patch 0a404107 cpu1: smt 1, core 0, package 0 tsc: cpu0/cpu1: sync test failed timecounter: active counter changed: tsc -> acpihpet0 cpu2 at mainbus0: apid 2 (application processor) cpu2: AMD Ryzen 7 7735U with Radeon Graphics, 2700.00 MHz, 19-44-01, patch 0a404107 cpu2: smt 0, core 1, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: AMD Ryzen 7 7735U with Radeon Graphics, 2700.00 MHz, 19-44-01, patch 0a404107 cpu3: smt 1, core 1, package 0 cpu4 at mainbus0: apid 4 (application processor) cpu4: AMD Ryzen 7 7735U with Radeon Graphics, 2700.00 MHz, 19-44-01, patch 0a404107 cpu4: smt 0, core 2, package 0 cpu5 at mainbus0: apid 5 (application processor) cpu5: AMD Ryzen 7 7735U with Radeon Graphics, 2700.01 MHz, 19-44-01, patch 0a404107 cpu5: smt 1, core 2, package 0 cpu6 at mainbus0: apid 6 (application processor) cpu6: AMD Ryzen 7 7735U with Radeon Graphics, 2700.00 MHz, 19-44-01, patch 0a404107 cpu6: smt 0, core 3, package 0 cpu7 at mainbus0: apid 7 (application processor) cpu7: AMD Ryzen 7 7735U with Radeon Graphics, 2700.01 MHz, 19-44-01, patch 0a404107 cpu7: smt 1, core 3, package 0 cpu8 at mainbus0: apid 8 (application processor) cpu8: AMD Ryzen 7 7735U with Radeon Graphics, 2700.00 MHz, 19-44-01, patch 0a404107 cpu8: smt 0, core 4, package 0 cpu9 at mainbus0: apid 9 (application processor) cpu9: AMD Ryzen 7 7735U with Radeon Graphics, 2700.01 MHz, 19-44-01, patch 0a404107 cpu9: smt 1, core 4, package 0 cpu10 at mainbus0: apid 10 (application processor) cpu10: AMD Ryzen 7 7735U with Radeon Graphics, 2700.00 MHz, 19-44-01, patch 0a404107 cpu10: smt 0, core 5, package 0 cpu11 at mainbus0: apid 11 (application processor) cpu11: AMD Ryzen 7 7735U with Radeon Graphics, 2700.01 MHz, 19-44-01, patch 0a404107 cpu11: smt 1, core 5, package 0 cpu12 at mainbus0: apid 12 (application processor) cpu12: AMD Ryzen 7 7735U with Radeon Graphics, 2700.00 MHz, 19-44-01, patch 0a404107 cpu12: smt 0, core 6, package 0 cpu13 at mainbus0: apid 13 (application processor) cpu13: AMD Ryzen 7 7735U with Radeon Graphics, 2700.01 MHz, 19-44-01, patch 0a404107 cpu13: smt 1, core 6, package 0 cpu14 at mainbus0: apid 14 (application processor) cpu14: AMD Ryzen 7 7735U with Radeon Graphics, 2700.00 MHz, 19-44-01, patch 0a404107 cpu14: smt 0, core 7, package 0 cpu15 at mainbus0: apid 15 (application processor) cpu15: AMD Ryzen 7 7735U with Radeon Graphics, 2700.01 MHz, 19-44-01, patch 0a404107 cpu15: smt 1, core 7, package 0 ioapic0 at mainbus0: apid 32 pa 0xfec00000, version 21, 24 pins, can't remap ioapic1 at mainbus0: apid 33 pa 0xfec01000, version 21, 32 pins, can't remap acpimcfg0 at acpi0 acpimcfg0: addr 0xe0000000, bus 0-255 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (GPP1) acpiprt2 at acpi0: bus 2 (GPP5) acpiprt3 at acpi0: bus 3 (GPP6) acpiprt4 at acpi0: bus 4 (GPP8) acpiprt5 at acpi0: bus 5 (GP17) acpiprt6 at acpi0: bus -1 (GP18) acpiprt7 at acpi0: bus 6 (GP19) acpiec0 at acpi0 "AMDI0007" at acpi0 not configured "ACPI0010" at acpi0 not configured acpicpu0 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu1 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu2 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu3 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu4 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu5 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu6 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu7 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu8 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu9 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu10 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu11 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu12 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu13 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu14 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpicpu15 at acpi0: C3(0@350 io@0x415), C2(0@18 io@0x414), C1(0@1 mwait), PSS acpibtn0 at acpi0: PWRB acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000 acpicmos0 at acpi0 pckbc1 at acpi0 addr 0x60/0x1 0x64/0x1 irq 1: "LEN0071" pckbd0 at pckbc1 (kbd slot) wskbd0 at pckbd0: console keyboard pms0 at pckbc1 (aux slot) wsmouse0 at pms0 mux 0 pckbc2 at acpi0 irq 12: "LEN0325" acpibat0 at acpi0: BAT0 model "L23D3PG2" serial 2764 type LiP oem "Sunwoda" acpiac0 at acpi0: AC unit offline acpithinkpad0 at acpi0: version 2.0 "LEN0111" at acpi0 not configured "LEN0102" at acpi0 not configured "LEN0130" at acpi0 not configured acpibtn1 at acpi0: LID_(wakeup) acpibtn2 at acpi0: SLPB(wakeup) "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured amdgpio0 at acpi0 GPIO uid 0 addr 0xfed81500/0x400 irq 7, 184 pins "AMDI0052" at acpi0 not configured dwiic0 at acpi0 I2CA addr 0xfedc2000/0x1000 irq 10 iic0 at dwiic0 dwiic1 at acpi0 I2CB addr 0xfedc3000/0x1000 irq 11 iic1 at dwiic1 ihidev0 at iic1 addr 0x2c gpio 8, vendor 0x6cb product 0xce5c, SYNA8020 ihidev0: 15 report ids imt0 at ihidev0: clickpad, 5 contacts wsmouse1 at imt0 mux 0 ims0 at ihidev0 reportid 2: 2 buttons wsmouse2 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 hid at ihidev0 reportid 15 not configured "USBC000" at acpi0 not configured "ACPI000E" at acpi0 not configured tpm0 at acpi0 TPM_ 2.0 (TIS) addr 0xfed40000/0x5000, device 0x0003104a rev 0x0 acpipwrres0 at acpi0: P0NV, resource for NVME acpipwrres1 at acpi0: WRST acpipwrres2 at acpi0: P0NV, resource for NVME acpipwrres3 at acpi0: PWRS, resource for GP11 acpipwrres4 at acpi0: PWRS, resource for SWUS acpipwrres5 at acpi0: PWRS, resource for GP12 acpipwrres6 at acpi0: PWRS, resource for SWUS acpipwrres7 at acpi0: PWRS, resource for VGA_ acpipwrres8 at acpi0: PWRS, resource for ACP_ acpipwrres9 at acpi0: PWRS, resource for AZAL acpipwrres10 at acpi0: PWRS, resource for HDAU acpipwrres11 at acpi0: BTRT acpipwrres12 at acpi0: PWRS, resource for XHC0 acpipwrres13 at acpi0: BTPR acpipwrres14 at acpi0: PWRS, resource for XHC1 acpipwrres15 at acpi0: PWRS, resource for GP17 acpipwrres16 at acpi0: P0S0, resource for SATA acpipwrres17 at acpi0: P3S0, resource for SATA acpipwrres18 at acpi0: PWRS, resource for NHI0 acpipwrres19 at acpi0: PWRS, resource for NHI1 acpipwrres20 at acpi0: PWRS, resource for XHC2 acpipwrres21 at acpi0: PWRS, resource for XHC3 acpipwrres22 at acpi0: PWRS, resource for XHC4 acpitz0 at acpi0acpitz0: THM0: failed to read _CRT acpitz0: THM0: failed to read _CRT : no critical temperature defined acpitz1 at acpi0: critical temperature is 110 degC acpivideo0 at acpi0: VGA_ acpivout0 at acpivideo0: LCD_ cpu0: 2700 MHz: speeds: 2700 1800 1600 MHz pci0 at mainbus0 bus 0 ksmn0 at pci0 dev 0 function 0 "AMD 19h/4xh Root Complex" rev 0x01 "AMD 19h/4xh IOMMU" rev 0x00 at pci0 dev 0 function 2 not configured pchb0 at pci0 dev 1 function 0 "AMD 19h/4xh Host" rev 0x01 ppb0 at pci0 dev 1 function 2 vendor "AMD", unknown product 0x14b8 rev 0x00: msi pci1 at ppb0 bus 1 nvme0 at pci1 dev 0 function 0 "Kingston KC3000" rev 0x01: msix, NVMe 1.4 nvme0: KINGSTON SFYRS1000G, firmware EIFK31.6, serial 50026B7686AF5A75 scsibus1 at nvme0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: sd0: 953869MB, 512 bytes/sector, 1953525168 sectors pchb1 at pci0 dev 2 function 0 "AMD 19h/4xh Host" rev 0x01 ppb1 at pci0 dev 2 function 1 "AMD 19h/4xh PCIE" rev 0x00: msi pci2 at ppb1 bus 2 re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x15: RTL8168H/8111H (0x5400), msi, address XX:XX:XX:XX:XX:XX rgephy0 at re0 phy 7: RTL8251, rev. 0 ppb2 at pci0 dev 2 function 2 "AMD 19h/4xh PCIE" rev 0x00: msi pci3 at ppb2 bus 3 iwx0 at pci3 dev 0 function 0 "Intel Wi-Fi 6 AX210" rev 0x1a, msix ppb3 at pci0 dev 2 function 4 "AMD 19h/4xh PCIE" rev 0x00: msi pci4 at ppb3 bus 4 nvme1 at pci4 dev 0 function 0 "Samsung PM9C1a NVMe" rev 0x00: msix, NVMe 2.0 nvme1: SAMSUNG MZAL81T0HDLB-00BLL, firmware 5L2QKXD7, serial S7DXNE0X411269 scsibus2 at nvme1: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: sd1: 976762MB, 512 bytes/sector, 2000409264 sectors pchb2 at pci0 dev 3 function 0 "AMD 19h/4xh Host" rev 0x01 pchb3 at pci0 dev 4 function 0 "AMD 19h/4xh Host" rev 0x01 pchb4 at pci0 dev 8 function 0 "AMD 19h/4xh Host" rev 0x01 ppb4 at pci0 dev 8 function 1 "AMD 19h/4xh PCIE" rev 0x10 pci5 at ppb4 bus 5 amdgpu0 at pci5 dev 0 function 0 "ATI Rembrandt" rev 0x0c drm0 at amdgpu0 amdgpu0: msi azalia0 at pci5 dev 0 function 1 "ATI Van Gogh HD Audio" rev 0x00: msi azalia0: no supported codecs ccp0 at pci5 dev 0 function 2 "AMD 17h/90h Crypto" rev 0x00 xhci0 at pci5 dev 0 function 3 "AMD 19h/4xh xHCI" rev 0x00: msix, xHCI 1.20 usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 addr 1 xhci1 at pci5 dev 0 function 4 "AMD 19h/4xh xHCI" rev 0x00: msix, xHCI 1.20 usb1 at xhci1: USB revision 3.0 uhub1 at usb1 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 addr 1 "AMD 17h/1xh I2S Audio" rev 0x60 at pci5 dev 0 function 5 not configured azalia1 at pci5 dev 0 function 6 "AMD 17h/1xh HD Audio" rev 0x00: msi azalia1: codecs: Conexant/0x1f86 audio0 at azalia1 ppb5 at pci0 dev 8 function 3 "AMD 19h/4xh PCIE" rev 0x10 pci6 at ppb5 bus 6 xhci2 at pci6 dev 0 function 0 "AMD 19h/4xh xHCI" rev 0x00: msix, xHCI 1.20 usb2 at xhci2: USB revision 3.0 uhub2 at usb2 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 addr 1 xhci3 at pci6 dev 0 function 3 "AMD 19h/4xh xHCI" rev 0x00: msix, xHCI 1.20 usb3 at xhci3: USB revision 3.0 uhub3 at usb3 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 addr 1 xhci4 at pci6 dev 0 function 4 "AMD 19h/4xh xHCI" rev 0x00: msix, xHCI 1.20 usb4 at xhci4: USB revision 3.0 uhub4 at usb4 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 addr 1 piixpm0 at pci0 dev 20 function 0 "AMD FCH SMBus" rev 0x71: polling iic2 at piixpm0 iic3 at piixpm0 pcib0 at pci0 dev 20 function 3 "AMD FCH LPC" rev 0x51 pchb5 at pci0 dev 24 function 0 "AMD 19h/4xh Data Fabric" rev 0x00 pchb6 at pci0 dev 24 function 1 "AMD 19h/4xh Data Fabric" rev 0x00 pchb7 at pci0 dev 24 function 2 "AMD 19h/4xh Data Fabric" rev 0x00 pchb8 at pci0 dev 24 function 3 "AMD 19h/4xh Data Fabric" rev 0x00 pchb9 at pci0 dev 24 function 4 "AMD 19h/4xh Data Fabric" rev 0x00 pchb10 at pci0 dev 24 function 5 "AMD 19h/4xh Data Fabric" rev 0x00 pchb11 at pci0 dev 24 function 6 "AMD 19h/4xh Data Fabric" rev 0x00 pchb12 at pci0 dev 24 function 7 "AMD 19h/4xh Data Fabric" rev 0x00 isa0 at pcib0 isadma0 at isa0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 wbsio0 at isa0 port 0x4e/2: W83627THF rev 0x27 vmm0 at mainbus0: SVM/RVI efifb at mainbus0 not configured ugen0 at uhub0 port 4 "Intel Bluetooth" rev 2.01/0.00 addr 2 uhidev0 at uhub1 port 2 configuration 1 interface 0 "Lenovo ThinkPad Compact USB Keyboard with TrackPoint" rev 2.00/3.30 addr 2 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 6 key codes wskbd1 at ukbd0 mux 1 uhidev1 at uhub1 port 2 configuration 1 interface 1 "Lenovo ThinkPad Compact USB Keyboard with TrackPoint" rev 2.00/3.30 addr 2 uhidev1: iclass 3/1, 22 report ids ums0 at uhidev1 reportid 1: 5 buttons, Z and W dir wsmouse3 at ums0 mux 0 ucc0 at uhidev1 reportid 16: 573 usages, 20 keys, array wskbd2 at ucc0 mux 1 uhid0 at uhidev1 reportid 17: input=2, output=0, feature=0 uhid1 at uhidev1 reportid 19: input=8, output=8, feature=8 uhid2 at uhidev1 reportid 21: input=2, output=0, feature=0 uhid3 at uhidev1 reportid 22: input=2, output=0, feature=0 uvideo0 at uhub2 port 1 configuration 1 interface 0 "8SSC21M05461V1SR3CM01JE Integrated RGB Camera" rev 2.01/10.17 addr 2 video0 at uvideo0 uvideo1 at uhub2 port 1 configuration 1 interface 2 "8SSC21M05461V1SR3CM01JE Integrated RGB Camera" rev 2.01/10.17 addr 2 video1 at uvideo1 ugen1 at uhub2 port 1 configuration 1 "8SSC21M05461V1SR3CM01JE Integrated RGB Camera" rev 2.01/10.17 addr 2 vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets sd2 at scsibus4 targ 1 lun 0: sd2: 953609MB, 512 bytes/sector, 1952992063 sectors root on sd2a (ab604ec743749b3d.a) swap on sd2b dump on sd2b iwx0: hw rev 0x420, fw 77.f92b5fed.0, pnvm ce1a5094, address XX:XX:XX:XX:XX:XX amdgpu0: YELLOW_CARP GC 10.3.3 12 CU rev 0x02 amdgpu0: 1920x1080, 32bpp wsdisplay0 at amdgpu0 mux 1: console (std, vt100 emulation), using wskbd0 wskbd1: connecting to wsdisplay0 wskbd2: connecting to wsdisplay0 wsdisplay0: screen 1-5 added (std, vt100 emulation) [drm] REG_WAIT timeout 1us * 100000 tries - optc1_wait_for_state line:841 [drm] REG_WAIT timeout 1us * 100000 tries - optc1_wait_for_state line:841 [drm] REG_WAIT timeout 1us * 100000 tries - optc1_wait_for_state line:841