From owner-freebsd-acpi@freebsd.org Fri Sep 28 13:05:03 2018 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F140D10B05DF for ; Fri, 28 Sep 2018 13:05:02 +0000 (UTC) (envelope-from petr.fischer@me.com) Received: from mr85p00im-ztdg06021201.me.com (mr85p00im-ztdg06021201.me.com [17.58.23.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7B445728BA for ; Fri, 28 Sep 2018 13:05:02 +0000 (UTC) (envelope-from petr.fischer@me.com) Received: from process-dkim-sign-daemon.mr85p00im-ztdg06021201.me.com by mr85p00im-ztdg06021201.me.com (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) id <0PFR00700LG32400@mr85p00im-ztdg06021201.me.com> for freebsd-acpi@freebsd.org; Fri, 28 Sep 2018 12:04:55 +0000 (GMT) Received: from icloud.com ([127.0.0.1]) by mr85p00im-ztdg06021201.me.com (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPSA id <0PFR00PRALK36Y00@mr85p00im-ztdg06021201.me.com> for freebsd-acpi@freebsd.org; Fri, 28 Sep 2018 12:04:54 +0000 (GMT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809280124 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-09-28_05:,, signatures=0 Date: Fri, 28 Sep 2018 14:04:51 +0200 From: Petr Fischer To: freebsd-acpi@freebsd.org Subject: Re: suspend to RAM stopped working on 11.2 (11.1 was OK) Message-id: <20180928120451.lkxyeervyo3wxyqb@pf-bsd> References: <20180927175917.7iea6w4ckyngrpto@pf-bsd> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline In-reply-to: User-Agent: NeoMutt/20180716 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Sep 2018 13:05:03 -0000 I am very sorry, but I forgot to describe the exact behavior: When I call "acpiconf -s 3", the system is put to sleep, the fan stops spinning, the LEDs on the laptop show the correct sleep state - but after cca 1 second, the system itself wakes up. Graphics are OK after "auto wake", everything works. The problem is automatic resume right after suspend. pf > are you in console or xorg? > > if in console try changing virtual consoles (alt-f2, alt-f1, etc) > > > -a > > > On Thu, 27 Sep 2018 at 10:59, Petr Fischer via freebsd-acpi < > freebsd-acpi@freebsd.org> wrote: > > > Hello, suspend to RAM stopped working on my laptop on 11.2 (11.1 was OK) > > > > freebsd: 11.2-RELEASE-p3 > > hardware: Toshiba Portege Z30 - Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz > > > > tried with i915kms from FreeBSD base (default) and also with > > drm-next-kmod-4.11.g20180822 > > (drm-stable-kmod-g20180822 freezes graphics 1 second after load) > > > > tried with hw.acpi.reset_video=0 and also with hw.acpi.reset_video=1 > > > > Is there someone who can help me with debug this problem? > > I can compile something and test when you say. > > > > Thanks very much! Petr Fischer > > > > > > /var/log/messages after acpiconf -s 3 command: > > --------------------- > > Sep 27 19:49:40 pf-bsd acpi: suspend at 20180927 19:49:40 > > Sep 27 19:49:54 pf-bsd kernel: Power well on > > Sep 27 19:49:54 pf-bsd kernel: vgapci0: child drmn0 requested > > pci_set_powerstate > > Sep 27 19:49:54 pf-bsd kernel: pci0: failed to set ACPI power state D3 on > > \_SB_.PCI0.GFX0: AE_BAD_PARAMETER > > Sep 27 19:49:54 pf-bsd kernel: hdac0: Command timeout on address 0 > > Sep 27 19:49:54 pf-bsd kernel: uhub0: at usbus0, port 1, addr 1 > > (disconnected) > > Sep 27 19:49:54 pf-bsd kernel: ugen0.2: at > > usbus0 (disconnected) > > Sep 27 19:49:54 pf-bsd kernel: ums0: at uhub0, port 5, addr 1 > > (disconnected) > > Sep 27 19:49:54 pf-bsd kernel: ums0: detached > > Sep 27 19:49:54 pf-bsd kernel: uhid0: at uhub0, port 5, addr 1 > > (disconnected) > > Sep 27 19:49:54 pf-bsd kernel: uhid0: detached > > Sep 27 19:49:54 pf-bsd kernel: ugen0.3: at > > usbus0 (disconnected) > > Sep 27 19:49:54 pf-bsd kernel: uhub3: at uhub0, port 6, addr 2 > > (disconnected) > > Sep 27 19:49:54 pf-bsd kernel: ugen0.4: at > > usbus0 (disconnected) > > Sep 27 19:49:54 pf-bsd kernel: uhub4: at uhub3, port 3, addr 3 > > (disconnected) > > Sep 27 19:49:54 pf-bsd kernel: ugen0.5: at > > usbus0 (disconnected) > > Sep 27 19:49:54 pf-bsd kernel: uhub4: detached > > Sep 27 19:49:54 pf-bsd kernel: uhub3: detached > > Sep 27 19:49:54 pf-bsd kernel: wlan0: link state changed to DOWN > > Sep 27 19:49:54 pf-bsd kernel: uhub1: at usbus1, port 1, addr 1 > > (disconnected) > > Sep 27 19:49:54 pf-bsd kernel: ugen1.2: at > > usbus1 (disconnected) > > Sep 27 19:49:54 pf-bsd kernel: uhub2: at uhub1, port 1, addr 2 > > (disconnected) > > Sep 27 19:49:54 pf-bsd kernel: uhub2: detached > > Sep 27 19:49:54 pf-bsd kernel: pcib0: failed to set ACPI power state D2 on > > \_SB_.PCI0: AE_BAD_PARAMETER > > Sep 27 19:49:54 pf-bsd kernel: acpi0: cleared fixed power button status > > Sep 27 19:49:54 pf-bsd kernel: vgapci0: child drmn0 requested > > pci_set_powerstate > > Sep 27 19:49:54 pf-bsd kernel: vgapci0: child drmn0 requested pci_enable_io > > Sep 27 19:49:54 pf-bsd kernel: vgapci0: child drmn0 requested pci_enable_io > > Sep 27 19:49:54 pf-bsd kernel: hdac0: Device stuck in reset > > Sep 27 19:49:54 pf-bsd kernel: hdac0: Command timeout on address 0 > > Sep 27 19:49:54 pf-bsd last message repeated 21 times > > Sep 27 19:49:54 pf-bsd kernel: xhci0: Port routing mask set to 0xffffffff > > Sep 27 19:49:54 pf-bsd kernel: uhub0: <0x8086 XHCI root HUB, class 9/0, > > rev 3.00/1.00, addr 1> on usbus0 > > Sep 27 19:49:54 pf-bsd kernel: uhub1: > 2.00/1.00, addr 1> on usbus1 > > Sep 27 19:49:54 pf-bsd wpa_supplicant[58136]: wlan0: > > CTRL-EVENT-DISCONNECTED bssid=f0:79:59:d2:7a:00 reason=0 > > Sep 27 19:49:54 pf-bsd wpa_supplicant[58136]: ioctl[SIOCS80211, op=20, > > val=0, arg_len=7]: Can't assign requested address > > Sep 27 19:49:54 pf-bsd acpi: resumed at 20180927 19:49:54 > > Sep 27 19:49:55 pf-bsd kernel: uhub0: 13 ports with 13 removable, self > > powered > > Sep 27 19:49:55 pf-bsd kernel: uhub1: 2 ports with 2 removable, self > > powered > > Sep 27 19:49:56 pf-bsd kernel: ugen0.2: at > > usbus0 > > Sep 27 19:49:56 pf-bsd kernel: ums0 on uhub0 > > Sep 27 19:49:56 pf-bsd kernel: ums0: > 0/0, rev 1.10/33.52, addr 1> on usbus0 > > Sep 27 19:49:56 pf-bsd kernel: ums0: 5 buttons and [XYZT] coordinates ID=1 > > Sep 27 19:49:56 pf-bsd kernel: uhid0 on uhub0 > > Sep 27 19:49:56 pf-bsd kernel: uhid0: > 0/0, rev 1.10/33.52, addr 1> on usbus0 > > Sep 27 19:49:56 pf-bsd kernel: ugen1.2: at > > usbus1 > > Sep 27 19:49:56 pf-bsd kernel: uhub2 on uhub1 > > Sep 27 19:49:56 pf-bsd kernel: uhub2: > 9/0, rev 2.00/0.04, addr 2> on usbus1 > > Sep 27 19:49:56 pf-bsd kernel: ugen0.3: at > > usbus0 > > Sep 27 19:49:56 pf-bsd kernel: uhub3 on uhub0 > > Sep 27 19:49:56 pf-bsd kernel: uhub3: > 9/0, rev 2.00/85.37, addr 2> on usbus0 > > Sep 27 19:49:56 pf-bsd kernel: uhub2: 8 ports with 8 removable, self > > powered > > Sep 27 19:49:57 pf-bsd kernel: uhub3: 3 ports with 0 removable, self > > powered > > Sep 27 19:49:57 pf-bsd kernel: ugen0.4: at > > usbus0 > > Sep 27 19:49:58 pf-bsd kernel: uhub4 on uhub3 > > Sep 27 19:49:58 pf-bsd kernel: uhub4: > 9/0, rev 1.10/1.10, addr 3> on usbus0 > > Sep 27 19:49:58 pf-bsd kernel: uhub4: 4 ports with 3 removable, self > > powered > > Sep 27 19:49:59 pf-bsd kernel: ugen0.5: at > > usbus0 > > Sep 27 19:49:59 pf-bsd root: Unknown USB device: vendor 0x0b97 product > > 0x7772 bus uhub4 > > Sep 27 19:50:02 pf-bsd wpa_supplicant[58136]: wlan0: Trying to associate > > with f0:79:59:d2:7a:00 (SSID='pf's Network' freq=2427 MHz) > > Sep 27 19:50:02 pf-bsd wpa_supplicant[58136]: wlan0: Associated with > > f0:79:59:d2:7a:00 > > Sep 27 19:50:02 pf-bsd kernel: wlan0: link state changed to UP > > _______________________________________________ > > freebsd-acpi@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-acpi > > To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@freebsd.org" > >