There was a patch for keyboards not coming back again after suspend on April 14th. You should try a newer snapshot.
On 04/19/16 15:18, Riccardo Mottola wrote: > Hi, > > I can suspend my laptop by closing the lid, hitting the powerbutton the > computer comes up again, however it looks frozen, I cannot type anything (or > I may type 1 or two chars before it locks up). It happens both under console > as with X11 > Actually, it is not frozen. I noticed that with a mouse, under X11 and I also > can ssh into the machine and get a dmesg, which contains also the resume > messages. > > I notice there is a "stack trace". Is that a hint to the issue? Someone other > experience such a behaviour? > > Riccardo > > $ dmesg > OpenBSD 5.9 (GENERIC.MP) #1888: Fri Feb 26 01:20:19 MST 2016 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > RTC BIOS diagnostic error > 9d<clock_battery,memory_size,fixed_disk,invalid_time> > real mem = 4209762304 (4014MB) > avail mem = 4077973504 (3889MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xacdb6000 (25 entries) > bios0: vendor Hewlett-Packard version "68SRR Ver. F.41" date 05/22/2013 > bios0: Hewlett-Packard HP ProBook 4530s > acpi0 at bios0: rev 2 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP HPET APIC MCFG ASF! SSDT SSDT SLIC SSDT SSDT > acpi0: wakeup devices LANC(S0) EHC1(S0) EHC2(S0) PCIB(S5) RP02(S4) ECF0(S4) > RP03(S4) RP04(S5) WNIC(S5) RP06(S0) NIC_(S0) RP07(S4) RP08(S0) HST1(S5) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpihpet0 at acpi0: 14318179 Hz > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz, 2494.73 MHz > 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT > 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 99MHz > cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE > cpu1 at mainbus0: apid 1 (application processor) > cpu1: Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz, 2494.34 MHz > 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT > cpu1: 256KB 64b/line 8-way L2 cache > cpu1: smt 1, core 0, package 0 > cpu2 at mainbus0: apid 2 (application processor) > cpu2: Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz, 2494.34 MHz > 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT > cpu2: 256KB 64b/line 8-way L2 cache > cpu2: smt 0, core 1, package 0 > cpu3 at mainbus0: apid 3 (application processor) > cpu3: Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz, 2494.34 MHz > 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT > cpu3: 256KB 64b/line 8-way L2 cache > cpu3: smt 1, core 1, package 0 > ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 20, 24 pins > acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 > acpiprt0 at acpi0: bus -1 (PEGP) > acpiprt1 at acpi0: bus -1 (PCIB) > acpiprt2 at acpi0: bus 1 (RP01) > acpiprt3 at acpi0: bus 2 (RP02) > acpiprt4 at acpi0: bus 35 (RP03) > acpiprt5 at acpi0: bus 36 (RP04) > acpiprt6 at acpi0: bus 37 (RP06) > acpiprt7 at acpi0: bus 38 (RP08) > acpiprt8 at acpi0: bus 0 (PCI0) > acpiec0 at acpi0 > acpicpu0 at acpi0: C3(350@104 mwait.1@0x20), C1(1000@1 mwait.1), PSS > acpicpu1 at acpi0: C3(350@104 mwait.1@0x20), C1(1000@1 mwait.1), PSS > acpicpu2 at acpi0: C3(350@104 mwait.1@0x20), C1(1000@1 mwait.1), PSS > acpicpu3 at acpi0: C3(350@104 mwait.1@0x20), C1(1000@1 mwait.1), PSS > acpipwrres0 at acpi0: APPR, resource for HDEF > acpipwrres1 at acpi0: COMP, resource for COM1 > acpipwrres2 at acpi0: LPP_, resource for LPT0 > acpitz0 at acpi0: critical temperature is 128 degC > acpitz1 at acpi0: critical temperature is 128 degC > acpitz2 at acpi0: critical temperature is 128 degC > acpitz3 at acpi0: critical temperature is 128 degC > acpitz4 at acpi0: critical temperature is 128 degC > acpitz5 at acpi0: critical temperature is 128 degC > acpitz6 at acpi0: critical temperature is 128 degC > acpitz7 at acpi0: critical temperature is 128 degC > acpibat0 at acpi0: BAT0 model "Primary" serial 03294 2011/09/28 type LIon oem > "Hewlett-Packard" > acpibat1 at acpi0: BAT1 not present > acpiac0 at acpi0: AC unit online > acpibtn0 at acpi0: SLPB > acpibtn1 at acpi0: LID_ > acpivideo0 at acpi0: GFX0 > acpivout0 at acpivideo0: DD02 > cpu0: Enhanced SpeedStep 2494 MHz: speeds: 2501, 2500, 2000, 1800, 1600, > 1400, 1200, 1000, 800 MHz > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09 > inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09 > drm0 at inteldrm0 > inteldrm0: msi > inteldrm0: 1366x768 > wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) > wsdisplay0: screen 1-5 added (std, vt100 emulation) > "Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured > ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x04: apic 0 int 16 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 > azalia0 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x04: msi > azalia0: codecs: IDT/0x76d1, Intel/0x2805, using IDT/0x76d1 > audio0 at azalia0 > ppb0 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb4: msi > pci1 at ppb0 bus 1 > ppb1 at pci0 dev 28 function 1 "Intel 6 Series PCIE" rev 0xb4: msi > pci2 at ppb1 bus 2 > ppb2 at pci0 dev 28 function 2 "Intel 6 Series PCIE" rev 0xb4: msi > pci3 at ppb2 bus 35 > "JMicron SD/MMC" rev 0x30 at pci3 dev 0 function 0 not configured > sdhc0 at pci3 dev 0 function 2 "JMicron SD Host Controller" rev 0x30: apic 0 > int 18 > sdmmc0 at sdhc0 > "JMicron Memory Stick" rev 0x30 at pci3 dev 0 function 3 not configured > ppb3 at pci0 dev 28 function 3 "Intel 6 Series PCIE" rev 0xb4: msi > pci4 at ppb3 bus 36 > rtwn0 at pci4 dev 0 function 0 "Realtek 8188CE" rev 0x01: msi > rtwn0: MAC/BB RTL8188CE, RF 6052 1T1R, address ac:81:12:e3:d3:aa > ppb4 at pci0 dev 28 function 5 "Intel 6 Series PCIE" rev 0xb4: msi > pci5 at ppb4 bus 37 > re0 at pci5 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E > (0x2c00), msi, address e4:11:5b:37:1b:bf > rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 4 > ppb5 at pci0 dev 28 function 7 "Intel 6 Series PCIE" rev 0xb4: msi > pci6 at ppb5 bus 38 > xhci0 at pci6 dev 0 function 0 "NEC xHCI" rev 0x04: msi > usb1 at xhci0: USB revision 3.0 > uhub1 at usb1 "NEC xHCI root hub" rev 3.00/1.00 addr 1 > ehci1 at pci0 dev 29 function 0 "Intel 6 Series USB" rev 0x04: apic 0 int 16 > usb2 at ehci1: USB revision 2.0 > uhub2 at usb2 "Intel EHCI root hub" rev 2.00/1.00 addr 1 > pcib0 at pci0 dev 31 function 0 "Intel HM65 LPC" rev 0x04 > ahci0 at pci0 dev 31 function 2 "Intel 6 Series AHCI" rev 0x04: msi, AHCI 1.3 > ahci0: port 0: 3.0Gb/s > ahci0: port 1: 1.5Gb/s > scsibus1 at ahci0: 32 targets > sd0 at scsibus1 targ 0 lun 0: <ATA, TOSHIBA MK6476GS, GS00> SCSI3 0/direct > fixed naa.50000393b56870a5 > sd0: 610480MB, 512 bytes/sector, 1250263728 sectors > cd0 at scsibus1 targ 1 lun 0: <hp, DVD-RAM UJ8B1, H.03> ATAPI 5/cdrom > removable > 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 > pms0: Synaptics touchpad, firmware 7.5 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > uhub3 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 > ugen0 at uhub3 port 1 "Validity Sensors VFS471 Fingerprint Reader" rev > 1.10/0.86 addr 3 > uhidev0 at uhub1 port 3 configuration 1 interface 0 "vendor 0x0000 USB > OPTICAL MOUSE" rev 1.10/1.00 addr 2 > uhidev0: iclass 3/1, 1 report id > ums0 at uhidev0 reportid 1: 3 buttons, Z dir > wsmouse1 at ums0 mux 0 > uhub4 at uhub2 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 > uvideo0 at uhub4 port 4 configuration 1 interface 0 "6047B0027101A0119HDJ1 HP > HD Webcam [Fixed]" rev 2.00/3.04 addr 3 > video0 at uvideo0 > vscsi0 at root > scsibus2 at vscsi0: 256 targets > softraid0 at root > scsibus3 at softraid0: 256 targets > root on sd0a (6c9a4c51144f1b4c.a) swap on sd0b dump on sd0b > ugen0 detached > uhub3 detached > uhub0 detached > wsmouse1 detached > ums0 detached > uhidev0 detached > uhub1 detached > video0 detached > uvideo0 detached > uhub4 detached > uhub2 detached > Starting stack trace... > tsleep() at tsleep+0x117 > rtwn_fw_reset() at rtwn_fw_reset+0x71 > rtwn_stop() at rtwn_stop+0x1c4 > rtwn_activate() at rtwn_activate+0x32 > config_suspend() at config_suspend+0x37 > config_activate_children() at config_activate_children+0x4d > pciactivate() at pciactivate+0x38 > config_suspend() at config_suspend+0x37 > config_activate_children() at config_activate_children+0x4d > ppbactivate() at ppbactivate+0x75 > config_suspend() at config_suspend+0x37 > config_activate_children() at config_activate_children+0x4d > pciactivate() at pciactivate+0x38 > config_suspend() at config_suspend+0x37 > config_activate_children() at config_activate_children+0x4d > config_suspend() at config_suspend+0x5c > acpi_sleep_state() at acpi_sleep_state+0x221 > acpi_sleep_task() at acpi_sleep_task+0x13 > acpi_dotask() at acpi_dotask+0x55 > acpi_thread() at acpi_thread+0x11d > end trace frame: 0x0, count: 237 > End of stack trace. > uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 > uhub1 at usb1 "NEC xHCI root hub" rev 3.00/1.00 addr 1 > uhub2 at usb2 "Intel EHCI root hub" rev 2.00/1.00 addr 1 > uhub3 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 > ugen0 at uhub3 port 1 "Validity Sensors VFS471 Fingerprint Reader" rev > 1.10/0.86 addr 3 > uhidev0 at uhub1 port 3 configuration 1 interface 0 "vendor 0x0000 USB > OPTICAL MOUSE" rev 1.10/1.00 addr 2 > uhidev0: iclass 3/1, 1 report id > ums0 at uhidev0 reportid 1: 3 buttons, Z dir > wsmouse1 at ums0 mux 0 > uhub4 at uhub2 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 > uvideo0 at uhub4 port 4 configuration 1 interface 0 "6047B0027101A0119HDJ1 HP > HD Webcam [Fixed]" rev 2.00/3.04 addr 3 > video0 at uvideo0