Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Aug 2018 08:33:20 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        Andriy Gapon <avg@FreeBSD.org>, cem@freebsd.org, Johannes Lundberg <johalun0@gmail.com>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: acpiconf -s 3 does not call acpi sleep event handlers
Message-ID:  <1533220400.1369.31.camel@freebsd.org>
In-Reply-To: <a91831c9-0eea-5e1a-6c98-1d71f7e77ff1@FreeBSD.org>
References:  <CAECmPwt7sU4TUNiLuCvvJpkuO8WV_D7qTzK_fXtUzOQZzEijiQ@mail.gmail.com> <CAG6CVpVtzr=7rtVwPh6EDSk2=%2BH_dsSxb=HW=VvDO4t3NLpRew@mail.gmail.com> <CAECmPwu16DAh5kp=nOLjjSttVaEjZheNzfPkf0vO-U3-Xk0jtg@mail.gmail.com> <CAG6CVpUuRsjoN2vHHNMwFVgk54tYMoC457Q%2BjX_UK9%2BPt%2BqReA@mail.gmail.com> <CAECmPwvT-WcTPY7hKMxavbvk6orw3fanLe%2B7zZhqSU-5bkRCxw@mail.gmail.com> <CAG6CVpXet_qvEOVUihoOT7wrFoJWrrsAG%2BqDk6ynedF8iTZ4PQ@mail.gmail.com> <a91831c9-0eea-5e1a-6c98-1d71f7e77ff1@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2018-08-02 at 08:20 +0300, 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.
> 

Or if there is some listener in some proprietary or local module that's
not part of base freebsd. The ability to support modules that didn't
exist at the time the event was added is exactly the main benefit of a
loose-runtime-binding scheme such as event notifications.

-- Ian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1533220400.1369.31.camel>