Solved suspend and resume problem

Raffeale

Active Member

Reaction score: 20
Messages: 104

my laptop is HP 735G6 ,it have an AMD apu.
the laptop only support S3,S4,S5
i try suspend and resume in vt2,
i try to run acpiconf -s 3 to suspend the laptop , suspend funcion is ok, when i press power button to resume it, the everything is ok except the screen does not power up , but the system is work ,i can type find / and the hdd indicator led is blinking.

this is part of dmesg log
Code:
eb 21 11:50:12 Raffeale acpi[35860]: suspend at 20200221 11:50:12
Feb 21 11:50:33 Raffeale kernel: acpi_timer0: switching timecounter, TSC -> ACPI-fast
Feb 21 11:50:33 Raffeale kernel: pcib1: wake_prep disabled wake for \_SB_.PCI0.GPP2 (S3)
Feb 21 11:50:33 Raffeale kernel: re0: wake_prep disabled wake for \_SB_.PCI0.GPP2.NIC_ (S3)
Feb 21 11:50:33 Raffeale kernel: pcib2: wake_prep disabled wake for \_SB_.PCI0.GPP3 (S3)
Feb 21 11:50:33 Raffeale kernel: iwm0: wake_prep disabled wake for \_SB_.PCI0.GPP3.NCRD (S3)
Feb 21 11:50:33 Raffeale kernel: xhci0: wake_prep disabled wake for \_SB_.PCI0.BUSA.XHC0 (S3)
Feb 21 11:50:33 Raffeale kernel: xhci1: wake_prep disabled wake for \_SB_.PCI0.BUSA.XHC1 (S3)
Feb 21 11:50:33 Raffeale kernel: pci0:4:0:6: Transition from D0 to D3
Feb 21 11:50:33 Raffeale kernel: pci4: set ACPI power state D3 on \_SB_.PCI0.BUSA.HDEF
Feb 21 11:50:33 Raffeale kernel: uhub1: at usbus2, port 1, addr 1 (disconnected)
Feb 21 11:50:33 Raffeale kernel: ugen2.2: <vendor 0x05e3 USB2.0 Hub> at usbus2 (disconnected)
Feb 21 11:50:33 Raffeale kernel: uhub3: at uhub1, port 1, addr 1 (disconnected)
Feb 21 11:50:33 Raffeale kernel: ugen2.3: <vendor 0x06cb product 0x00b7> at usbus2 (disconnected)
Feb 21 11:50:33 Raffeale kernel: uhub3: detached
Feb 21 11:50:33 Raffeale kernel: pci0:4:0:4: Transition from D0 to D3
Feb 21 11:50:33 Raffeale kernel: uhub0: at usbus1, port 1, addr 1 (disconnected)
Feb 21 11:50:33 Raffeale kernel: ugen1.2: <RAPOO Rapoo 2.4G Wireless Device> at usbus1 (disconnected)
Feb 21 11:50:33 Raffeale kernel: ums0: at uhub0, port 2, addr 1 (disconnected)
Feb 21 11:50:33 Raffeale kernel: ums0: detached
Feb 21 11:50:33 Raffeale kernel: ukbd0: at uhub0, port 2, addr 1 (disconnected)
Feb 21 11:50:33 Raffeale kernel: ukbd0: detached
Feb 21 11:50:33 Raffeale kernel: pci0:4:0:3: Transition from D0 to D3
Feb 21 11:50:33 Raffeale kernel: pci0:4:0:1: Transition from D0 to D3
Feb 21 11:50:33 Raffeale kernel: pci0:4:0:0: Transition from D0 to D3
Feb 21 11:50:33 Raffeale kernel: pci0:0:8:1: Transition from D0 to D3
Feb 21 11:50:33 Raffeale kernel: pci0:3:0:0: Transition from D0 to D3
Feb 21 11:50:33 Raffeale kernel: pci0:0:1:7: Transition from D0 to D3
Feb 21 11:50:33 Raffeale kernel: wlan0: link state changed to DOWN
Feb 21 11:50:33 Raffeale kernel: pci0:2:0:0: Transition from D0 to D3
Feb 21 11:50:33 Raffeale kernel: pci0:0:1:4: Transition from D0 to D3
Feb 21 11:50:33 Raffeale kernel: uhub2: at usbus0, port 1, addr 1 (disconnected)
Feb 21 11:50:33 Raffeale kernel: pci0:1:0:4: Transition from D0 to D3
Feb 21 11:50:33 Raffeale kernel: pci0:1:0:0: Transition from D0 to D3
Feb 21 11:50:33 Raffeale kernel: pci0:0:1:3: Transition from D0 to D3
Feb 21 11:50:33 Raffeale kernel: acpi0: cleared fixed power button status
Feb 21 11:50:33 Raffeale kernel: cpu0: set ACPI power state D0 on \_PR_.C000
Feb 21 11:50:33 Raffeale kernel: cpu1: set ACPI power state D0 on \_PR_.C001
Feb 21 11:50:33 Raffeale kernel: cpu2: set ACPI power state D0 on \_PR_.C002
Feb 21 11:50:33 Raffeale kernel: cpu3: set ACPI power state D0 on \_PR_.C003
Feb 21 11:50:33 Raffeale kernel: cpu4: set ACPI power state D0 on \_PR_.C004
Feb 21 11:50:33 Raffeale kernel: cpu5: set ACPI power state D0 on \_PR_.C005
Feb 21 11:50:33 Raffeale kernel: cpu6: set ACPI power state D0 on \_PR_.C006
Feb 21 11:50:33 Raffeale kernel: cpu7: set ACPI power state D0 on \_PR_.C007
Feb 21 11:50:33 Raffeale kernel: acpi_sysresource0: set ACPI power state D0 on \_SB_.PCI0.LPCB.SYSR
Feb 21 11:50:33 Raffeale kernel: acpi_sysresource1: set ACPI power state D0 on \_SB_.PCI0.LPCB.MEM_
Feb 21 11:50:33 Raffeale kernel: acpi_sysresource2: set ACPI power state D0 on \_SB_.PCI0.LPCB.NSHM
Feb 21 11:50:33 Raffeale kernel: acpi_sysresource3: set ACPI power state D0 on \_SB_.PCI0.MEMR
Feb 21 11:50:33 Raffeale kernel: acpi_sysresource4: set ACPI power state D0 on \_SB_.AWR0
Feb 21 11:50:33 Raffeale kernel: acpi_sysresource5: set ACPI power state D0 on \_SB_.AWR0.ABR0
Feb 21 11:50:33 Raffeale kernel: acpi_sysresource6: set ACPI power state D0 on \_SB_.AWR0.ABR1
Feb 21 11:50:33 Raffeale kernel: acpi_sysresource7: set ACPI power state D0 on \_SB_.AWR0.ABR2
Feb 21 11:50:33 Raffeale kernel: acpi_sysresource8: set ACPI power state D0 on \_SB_.AWR0.ABR3
Feb 21 11:50:33 Raffeale kernel: acpi_sysresource9: set ACPI power state D0 on \_SB_.AWR0.ABR4
Feb 21 11:50:33 Raffeale kernel: acpi_sysresource10: set ACPI power state D0 on \_SB_.AWR0.ABR5
Feb 21 11:50:33 Raffeale kernel: acpi_sysresource11: set ACPI power state D0 on \_SB_.AWR0.ABR6
Feb 21 11:50:33 Raffeale kernel: atrtc0: set ACPI power state D0 on \_SB_.PCI0.LPCB.RTC_
Feb 21 11:50:33 Raffeale kernel: attimer0: set ACPI power state D0 on \_SB_.PCI0.LPCB.TMR_
Feb 21 11:50:33 Raffeale kernel: hpet0: set ACPI power state D0 on \_SB_.PCI0.HPET
Feb 21 11:50:33 Raffeale kernel: acpi_ec0: set ACPI power state D0 on \_SB_.PCI0.LPCB.EC0_
Feb 21 11:50:33 Raffeale kernel: pci_link0: set ACPI power state D0 on \LNKA
Feb 21 11:50:33 Raffeale kernel: pci_link1: set ACPI power state D0 on \LNKB
Feb 21 11:50:33 Raffeale kernel: pci_link2: set ACPI power state D0 on \LNKC
Feb 21 11:50:33 Raffeale kernel: pci_link3: set ACPI power state D0 on \LNKD
Feb 21 11:50:33 Raffeale kernel: pci_link4: set ACPI power state D0 on \LNKE
Feb 21 11:50:33 Raffeale kernel: pci_link5: set ACPI power state D0 on \LNKF
Feb 21 11:50:33 Raffeale kernel: pci_link6: set ACPI power state D0 on \LNKG
Feb 21 11:50:33 Raffeale kernel: pci_link7: set ACPI power state D0 on \LNKH
Feb 21 11:50:33 Raffeale kernel: acpi_button0: set ACPI power state D0 on \_SB_.PWRB
Feb 21 11:50:33 Raffeale kernel: pcib0: set ACPI power state D0 on \_SB_.PCI0
Feb 21 11:50:33 Raffeale kernel: battery0: set ACPI power state D0 on \_SB_.BAT0
Feb 21 11:50:33 Raffeale kernel: acpi_acad0: set ACPI power state D0 on \_SB_.AC__
Feb 21 11:50:33 Raffeale kernel: acpi_button1: set ACPI power state D0 on \_SB_.SLPB
Feb 21 11:50:33 Raffeale kernel: acpi_lid0: set ACPI power state D0 on \_SB_.LID_
Feb 21 11:50:33 Raffeale kernel: acpi_tz0: set ACPI power state D0 on \_TZ_.CPUZ
Feb 21 11:50:33 Raffeale kernel: acpi_tz1: set ACPI power state D0 on \_TZ_.GFXZ
Feb 21 11:50:33 Raffeale kernel: acpi_tz2: set ACPI power state D0 on \_TZ_.EXTZ
Feb 21 11:50:33 Raffeale kernel: acpi_tz3: set ACPI power state D0 on \_TZ_.LOCZ
Feb 21 11:50:33 Raffeale kernel: acpi_tz4: set ACPI power state D0 on \_TZ_.BATZ
Feb 21 11:50:33 Raffeale kernel: acpi_tz5: set ACPI power state D0 on \_TZ_.CHGZ
Feb 21 11:50:33 Raffeale kernel: atdma0: set ACPI power state D0 on \_SB_.PCI0.LPCB.DMAC
Feb 21 11:50:33 Raffeale kernel: fpupnp0: set ACPI power state D0 on \_SB_.PCI0.LPCB.COPR
Feb 21 11:50:33 Raffeale kernel: atkbdc0: set ACPI power state D0 on \_SB_.PCI0.LPCB.KBC0
Feb 21 11:50:33 Raffeale kernel: psmcpnp0: set ACPI power state D0 on \_SB_.PCI0.LPCB.PS2M
Feb 21 11:50:33 Raffeale kernel: acpi_tz6: set ACPI power state D0 on \_SB_.PCI0.LPCB.EC0_.HEPZ
Feb 21 11:50:33 Raffeale kernel: pci0: set ACPI power state D0 on \_SB_.PCI0.GPP2
Feb 21 11:50:33 Raffeale kernel: pci1: set ACPI power state D0 on \_SB_.PCI0.GPP2.NIC_
Feb 21 11:50:33 Raffeale kernel: pci0: set ACPI power state D0 on \_SB_.PCI0.GPP3
Feb 21 11:50:33 Raffeale kernel: pci2: set ACPI power state D0 on \_SB_.PCI0.GPP3.NCRD
Feb 21 11:50:33 Raffeale kernel: Index (0x000000005) is beyond end of object (length 0x5) (20181213/exoparg2-569)
Feb 21 11:50:33 Raffeale kernel: ACPI Error: Method parse/execution failed \_TZ.GTTP, AE_AML_PACKAGE_LIMIT (20181213/psparse-689)
Feb 21 11:50:33 Raffeale kernel: ACPI Error: Method parse/execution failed \_TZ.CHGZ._TMP, AE_AML_PACKAGE_LIMIT (20181213/psparse-689)
Feb 21 11:50:33 Raffeale kernel: acpi_tz5: error fetching current temperature -- AE_AML_PACKAGE_LIMIT
Feb 21 11:50:33 Raffeale kernel: pci0: set ACPI power state D0 on \_SB_.PCI0.GPP6
Feb 21 11:50:33 Raffeale kernel: uhub0: <(0x10ec) EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
Feb 21 11:50:33 Raffeale kernel: pci0: set ACPI power state D0 on \_SB_.PCI0.BUSA
Feb 21 11:50:33 Raffeale kernel: pci4: set ACPI power state D0 on \_SB_.PCI0.BUSA.GFX0
Feb 21 11:50:33 Raffeale kernel: hdaa0: Pin sense: nid=3 sense=0x7fffffff (disconnected, ELD valid)
Feb 21 11:50:33 Raffeale kernel: hdaa0: Pin sense: nid=5 sense=0x7fffffff (disconnected, ELD valid)
Feb 21 11:50:33 Raffeale kernel: hdaa0: Pin sense: nid=7 sense=0x7fffffff (disconnected, ELD valid)
Feb 21 11:50:33 Raffeale kernel: hdaa0: Pin sense: nid=9 sense=0x7fffffff (disconnected, ELD valid)
Feb 21 11:50:33 Raffeale kernel: pci4: set ACPI power state D0 on \_SB_.PCI0.BUSA.XHC0
Feb 21 11:50:33 Raffeale kernel: pci4: set ACPI power state D0 on \_SB_.PCI0.BUSA.XHC1
Feb 21 11:50:33 Raffeale kernel: pci4: set ACPI power state D0 on \_SB_.PCI0.BUSA.HDEF
Feb 21 11:50:33 Raffeale kernel: hdaa1: Headphones redirection for association 2 nid=33 using unsolicited responses.
Feb 21 11:50:33 Raffeale kernel: hdaa1: Pin sense: nid=33 sense=0x00000000 (disconnected)
Feb 21 11:50:33 Raffeale kernel: pcm4: Redirect output to: main
Feb 21 11:50:33 Raffeale kernel: pcm4: Playback channel set is: Front Left, Front Right,
Feb 21 11:50:33 Raffeale kernel: pcm4: Playback channel matrix is: 2.0 (unknown)
Feb 21 11:50:33 Raffeale kernel: pci0: set ACPI power state D0 on \_SB_.PCI0.LPCB
Feb 21 11:50:33 Raffeale kernel: pci0: set ACPI power state D0 on \_SB_.PCI0.SMBS
Feb 21 11:50:33 Raffeale kernel: battery0: battery initialization start
Feb 21 11:50:33 Raffeale kernel: battery0: battery initialization done, tried 1 times
Feb 21 11:50:33 Raffeale kernel: hdaa1: Pin sense: nid=33 sense=0x80000000 (connected)
Feb 21 11:50:33 Raffeale kernel: pcm4: Redirect output to: headphones
Feb 21 11:50:33 Raffeale kernel: pcm4: Playback channel set is: Front Left, Front Right,
Feb 21 11:50:33 Raffeale kernel: pcm4: Playback channel matrix is: 2.0 (connected)
Feb 21 11:50:33 Raffeale kernel: atkbd: the current kbd controller command byte 0047
Feb 21 11:50:33 Raffeale kernel: atkbd: keyboard ID 0x41ab (2)
Feb 21 11:50:33 Raffeale kernel: kbdc: RESET_KBD return code:00fa
Feb 21 11:50:33 Raffeale kernel: kbdc: RESET_KBD status:00aa
Feb 21 11:50:33 Raffeale kernel: kbdc: TEST_AUX_PORT status:0000
Feb 21 11:50:33 Raffeale kernel: kbdc: RESET_AUX return code:00fa
Feb 21 11:50:33 Raffeale kernel: kbdc: RESET_AUX status:00aa
Feb 21 11:50:33 Raffeale kernel: kbdc: RESET_AUX ID:0000
Feb 21 11:50:33 Raffeale kernel: uhub1: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1
Feb 21 11:50:33 Raffeale kernel: uhub2: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus2
Feb 21 11:50:33 Raffeale kernel: uhub2: 3 ports with 3 removable, self powered
Feb 21 11:50:33 Raffeale kernel: uhub0: 1 port with 1 removable, self powered
Feb 21 11:50:33 Raffeale kernel: SMP: passed TSC synchronization test
Feb 21 11:50:33 Raffeale kernel: efirtc0: providing initial system time
Feb 21 11:50:33 Raffeale wpa_supplicant[74089]: wlan0: CTRL-EVENT-DISCONNECTED bssid=28:d1:b7:2f:0f:ca reason=0
Feb 21 11:50:33 Raffeale wpa_supplicant[74089]: ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Can't assign requested address
Feb 21 11:50:33 Raffeale kernel: WARNING cur_vblank != vblank->last failed at /root/kms-drm-drm-v5.0-fbsd12.1/drivers/gpu/drm/drm_vblank.c:261
Feb 21 11:50:33 Raffeale kernel: [drm] REG_WAIT timeout 1us * 10 tries - optc1_lock line:606
Feb 21 11:50:33 Raffeale kernel: WARNING !(0) failed at /root/kms-drm-drm-v5.0-fbsd12.1/drivers/gpu/drm/amd/display/dc/dc_helper.c:251
Feb 21 11:50:33 Raffeale kernel: acpi_timer0: restoring timecounter, ACPI-fast -> TSC
Feb 21 11:50:33 Raffeale kernel: uhub1: 8 ports with 8 removable, self powered
Feb 21 11:50:33 Raffeale acpi[36810]: resumed at 20200221 11:50:33
Feb 21 11:50:33 Raffeale kernel: ugen2.2: <vendor 0x05e3 USB2.0 Hub> at usbus2
Feb 21 11:50:34 Raffeale kernel: uhub3 on uhub2
Feb 21 11:50:34 Raffeale kernel: uhub3: <vendor 0x05e3 USB2.0 Hub, class 9/0, rev 2.00/60.60, addr 1> on usbus2
Feb 21 11:50:34 Raffeale kernel: uhub3: MTT enabled
Feb 21 11:50:34 Raffeale kernel: ugen1.2: <RAPOO Rapoo 2.4G Wireless Device> at usbus1
Feb 21 11:50:34 Raffeale kernel: ums0 on uhub1
Feb 21 11:50:34 Raffeale kernel: ums0: <RAPOO Rapoo 2.4G Wireless Device, class 0/0, rev 2.00/1.10, addr 1> on usbus1
Feb 21 11:50:34 Raffeale kernel: ums0: 5 buttons and [XYZ] coordinates ID=0
Feb 21 11:50:34 Raffeale kernel: ukbd0 on uhub1
Feb 21 11:50:34 Raffeale kernel: ukbd0: <RAPOO Rapoo 2.4G Wireless Device, class 0/0, rev 2.00/1.10, addr 1> on usbus1
Feb 21 11:50:34 Raffeale kernel: kbd2 at ukbd0
Feb 21 11:50:34 Raffeale kernel: kbd2: ukbd0, generic (0), config:0x0, flags:0x3d0000
Feb 21 11:50:34 Raffeale kernel: uhub3: 4 ports with 0 removable, self powered
Feb 21 11:50:34 Raffeale wpa_supplicant[74089]: wlan0: Trying to associate with 28:d1:b7:2f:0f:ca (SSID='lnunicom_gate' freq=2432 MHz)
Feb 21 11:50:34 Raffeale wpa_supplicant[74089]: Failed to add supported operating classes IE
Feb 21 11:50:34 Raffeale kernel: wlan0: link state changed to UP
Feb 21 11:50:34 Raffeale wpa_supplicant[74089]: wlan0: Associated with 28:d1:b7:2f:0f:ca
Feb 21 11:50:35 Raffeale dhclient[94251]: send_packet: No buffer space available
Feb 21 11:50:35 Raffeale syslogd: last message repeated 1 times
Feb 21 11:50:35 Raffeale kernel: ugen2.3: <vendor 0x06cb product 0x00b7> at usbus2
Feb 21 11:50:36 Raffeale wpa_supplicant[74089]: wlan0: WPA: Key negotiation completed with  [PTK=CCMP GTK=TKIP]
Feb 21 11:50:36 Raffeale wpa_supplicant[74089]: wlan0: CTRL-EVENT-CONNECTED - Connection to  completed [id=0 id_str=]
Feb 21 11:50:41 Raffeale kernel: Index (0x000000005) is beyond end of object (length 0x5) (20181213/exoparg2-569)
Feb 21 11:50:41 Raffeale kernel: ACPI Error: Method parse/execution failed \_TZ.GTTP, AE_AML_PACKAGE_LIMIT (20181213/psparse-689)
Feb 21 11:50:41 Raffeale kernel: ACPI Error: Method parse/execution failed \_TZ.CHGZ._TMP, AE_AML_PACKAGE_LIMIT (20181213/psparse-689)
Feb 21 11:50:41 Raffeale kernel: acpi_tz5: error fetching current temperature -- AE_AML_PACKAGE_LIMIT
Feb 21 11:50:43 Raffeale dhclient[94251]: unknown dhcp option value 0x7d
Feb 21 11:50:43 Raffeale dhclient[43188]: New IP Address (wlan0):
Feb 21 11:50:43 Raffeale dhclient[43236]: New Subnet Mask (wlan0): 255.255.255.0
Feb 21 11:50:43 Raffeale dhclient[43237]: New Broadcast Address (wlan0): 192.168.2.255
Feb 21 11:50:43 Raffeale dhclient[43343]: New Routers (wlan0): 192.168.2.1
Feb 21 11:50:43 Raffeale kernel: [drm ERROR :drm_atomic_helper_wait_for_flip_done] [CRTC:45:crtc-0] flip_done timed out
Feb 21 11:50:51 Raffeale kernel: Index (0x000000005) is beyond end of object (length 0x5) (20181213/exoparg2-569)
Feb 21 11:50:51 Raffeale kernel: ACPI Error: Method parse/execution failed \_TZ.GTTP, AE_AML_PACKAGE_LIMIT (20181213/psparse-689)
Feb 21 11:50:51 Raffeale kernel: ACPI Error: Method parse/execution failed \_TZ.CHGZ._TMP, AE_AML_PACKAGE_LIMIT (20181213/psparse-689)
Feb 21 11:50:51 Raffeale kernel: acpi_tz5: error fetching current temperature -- AE_AML_PACKAGE_LIMIT
 
Last edited:
OP
R

Raffeale

Active Member

Reaction score: 20
Messages: 104

the proble is solved now , the problem is from linuxkpi , its default compilation verion is lower than 50000, when linuxkpi is compiling it drops some member variable of struct for LINUXKPI_VERION lower than 50000 , it cause this issue, just put -DLINUXKPI_VERION=50000 in linux Makefile,
 
Top