From owner-freebsd-current@freebsd.org Thu Aug 2 21:05:56 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 E1C2A1050807 for ; Thu, 2 Aug 2018 21:05:56 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-it0-f50.google.com (mail-it0-f50.google.com [209.85.214.50]) (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 696227C67F for ; Thu, 2 Aug 2018 21:05:56 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-it0-f50.google.com with SMTP id g141-v6so5480007ita.4 for ; Thu, 02 Aug 2018 14:05:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to; bh=Fmp9Fr+JPwFr0xT5z3ZNYQaTyj5cviS9XK4weAPgmvM=; b=FZD9QyKaBk15QNnO5GA2JDpnkpoffedvQs8/EN+UBtd7tCzgmkkSpg5ljnymsaODMZ DzHPqCMe4mbz4szk3tWDta6ATTpK+s93GyDM/8qPtjo4CmG5My/CEmXC2xrJY0xemJ80 a1npw+o3BXJy3LW/Gq5EKG9DQcs0poLT+4yzpqmX1EtwGEbOgr6yMkpNnUovHNI1Qnqm yIZk7U1BT/FC/0WCNrsa9pvOfMTkKE7B+5Guf/Vi4BPIQwZ/khxHnzSjZKetyfRKJ57C NfiQ9U4UhuqflcbzOV3k6ZLhHd9t/TL9YP1DqMyZvl5lPJwi94iltbh+lFMUKt2de2b6 pMZw== X-Gm-Message-State: AOUpUlH0ivK2KRGIIS9lHbRkeeIV8xpOITgXQQkZ+zm0Tt23jGfxVdvj DKKrADKuoo2ziJULO56JWyvsNasF X-Google-Smtp-Source: AAOMgpenqg9DWBezl940ekPXVAY/BNx7JAuNNHPrCPw1g6VMkRVDoffKS3QCcnyc1OJo4F5WzlQ2nw== X-Received: by 2002:a24:7686:: with SMTP id z128-v6mr4369928itb.9.1533243949847; Thu, 02 Aug 2018 14:05:49 -0700 (PDT) Received: from mail-it0-f51.google.com (mail-it0-f51.google.com. [209.85.214.51]) by smtp.gmail.com with ESMTPSA id g185-v6sm1323641ita.17.2018.08.02.14.05.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Aug 2018 14:05:49 -0700 (PDT) Received: by mail-it0-f51.google.com with SMTP id j81-v6so3797658ite.0 for ; Thu, 02 Aug 2018 14:05:49 -0700 (PDT) X-Received: by 2002:a24:a308:: with SMTP id p8-v6mr4187974ite.53.1533243949632; Thu, 02 Aug 2018 14:05:49 -0700 (PDT) MIME-Version: 1.0 Reply-To: cem@freebsd.org Received: by 2002:a02:7e0a:0:0:0:0:0 with HTTP; Thu, 2 Aug 2018 14:05:49 -0700 (PDT) In-Reply-To: References: From: Conrad Meyer Date: Thu, 2 Aug 2018 14:05:49 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: acpiconf -s 3 does not call acpi sleep event handlers To: freebsd-current Content-Type: text/plain; charset="UTF-8" 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 21:05:57 -0000 For those not on the bug, this is being followed up in PR 230290. On Wed, Aug 1, 2018 at 10:27 PM, Johannes Lundberg wrote: > > > On Thu, Aug 2, 2018 at 06:20 Andriy Gapon wrote: >> >> 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. > > > Exactly my point. > >> >> -- >> Andriy Gapon