From owner-freebsd-acpi@freebsd.org Tue Aug 16 09:20:29 2016 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 743B9BBB074 for ; Tue, 16 Aug 2016 09:20:29 +0000 (UTC) (envelope-from pribyl@lowlevel.cz) Received: from mx.sandbox.cz (sandbox.cz [87.236.197.188]) by mx1.freebsd.org (Postfix) with ESMTP id 3C8661A2E for ; Tue, 16 Aug 2016 09:20:27 +0000 (UTC) (envelope-from pribyl@lowlevel.cz) Received: by sandbox.cz (Postfix, from userid 1007) id 6E7E86017E4; Tue, 16 Aug 2016 11:14:37 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by sandbox.cz (Postfix) with ESMTP id 60A066017E3 for ; Tue, 16 Aug 2016 11:14:37 +0200 (CEST) Date: Tue, 16 Aug 2016 11:14:37 +0200 (CEST) From: Adam Pribyl X-X-Sender: covex@sandbox.cz To: freebsd-acpi@freebsd.org Subject: ACPI resume code Message-ID: User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2016 09:20:29 -0000 I am trying to make suspend/resume working on Zotac ZBOX Nano AQ2 with 10.3: https://forums.freebsd.org/threads/57253/ The acpiconf -s 3 suspends OK but it does not resume. Setting sysctl debug.acpi.resume_beep=1 produces a long beep, then it probaly restarts, shortly beeps as during normal POST and boots up (no resume). What is this "resume code" that should take care of wakeup? ASL? It looks like the system reboots during its execution. How can one debug this? Thanks Adam Pribyl