From owner-freebsd-current@freebsd.org Thu Aug 2 05:20:19 2018 Return-Path: Delivered-To: freebsd-current@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 438B81058268 for ; Thu, 2 Aug 2018 05:20:19 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C3316738DF; Thu, 2 Aug 2018 05:20:18 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-pg1-f173.google.com with SMTP id y5-v6so563449pgv.1; Wed, 01 Aug 2018 22:20:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=6hdGdfhKqeBOxJnJ7bBPrqXtHk7IcbuUtSBAQ2qFdCA=; b=Il+IbrRR3KZJDSVguGlt03bmeFx//13ukZe82OpexFihhmL7gVHs9rfDh6Tt81oZme cimncF+AC9f6hf9cMYBz1zsDxyV9UIeNKMA+mxVFkdDFs2NeDzwVo6Jht4kJ68+yVoe6 eObOWX+i8OtEp+6NK5zAHiTf2Ay1EU1xK6HGPdU8vWFdo7H2H9V6kFLxrHgFL+/wADge Av1/ffvoIbnUo0yLaHWLsODo4bVw/3k1JYrvT5AslnG3Sc2ECzp9m8EEkD1BLwGYH9+4 RCDqrb+OHhMNfohlG8xHXexPNM+eWwA9FkiDeD0rn2tXGIESWY5mq7sYqjycdj+ZgwjV KevQ== X-Gm-Message-State: AOUpUlG1os42XK63wE3kMo20P5f5Y3pWLfMT6k+1nzXN18mjk4Xgq+lj fe+c1clerR83vqENuKxYy1RQ7l8M X-Google-Smtp-Source: AAOMgpeX0fvAA8P25kaNkoO/OW4n9/jjotqE9s80CG7ymKra9sDJjimRSR660aaOx7C6ZLuu3V8B6Q== X-Received: by 2002:a62:b917:: with SMTP id z23-v6mr1355202pfe.131.1533187212297; Wed, 01 Aug 2018 22:20:12 -0700 (PDT) Received: from [192.168.1.36] (broadband-82-140-196-15.atc.tvcom.ru. [82.140.196.15]) by smtp.googlemail.com with ESMTPSA id c85-v6sm1839858pfd.110.2018.08.01.22.20.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Aug 2018 22:20:11 -0700 (PDT) Subject: Re: acpiconf -s 3 does not call acpi sleep event handlers To: cem@freebsd.org, Johannes Lundberg Cc: freebsd-current References: From: Andriy Gapon Message-ID: Date: Thu, 2 Aug 2018 08:20:08 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2018 05:20:19 -0000 On 02/08/2018 01:17, Conrad Meyer wrote: > I don't understand the concern. There is only one listener to the > event and it just invokes ReqSleepState, which is responsible for > performing all suspend behavior. The behavior is identical between > lid close and acpiconf. Unless someone is adding a new listener for that event. -- Andriy Gapon