From nobody Sat Jul 20 11:00:47 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WR3W36Hr0z5RScC for ; Sat, 20 Jul 2024 11:01:03 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WR3W169vdz3y9g for ; Sat, 20 Jul 2024 11:01:01 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=X+7BT4Qq; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of michaelsprivate@gmail.com designates 2a00:1450:4864:20::133 as permitted sender) smtp.mailfrom=michaelsprivate@gmail.com Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-52e991fb456so1724989e87.0 for ; Sat, 20 Jul 2024 04:01:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721473260; x=1722078060; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=542DhUFMxAy0BUqg/HnCqRlcAtApBZPtkDSgKsBhu7o=; b=X+7BT4QqrCRcFEANkxWKiEIxPUqHlSQ0XtIF8noKuWdKjklmsfTsqaV5+laeJP3xxz aYYR2+cc8to5nbpx76o0zU8nWqQ0+oiobpHEHnpXVzTPl9khlrRsztQf2hr16Pt4ycEw Kw8gV3u1YScoWKH3emaHip37hE7062iUUIZLPEQsHxAP5pR0rKjmph02oH6rTxJjFi2D h6HkYVHx09YEnSBfDxwc4AreMmKf41kf0jpziUN0KFWQNViYBjO16rWp5fZ60O1tPPZE yLJCn5yR542KAx14E+2VEAKDF1HrOQeGiHx2Kq0k27XaMM4kUoJr0rtU/0HklBWI1toB gp+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721473260; x=1722078060; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=542DhUFMxAy0BUqg/HnCqRlcAtApBZPtkDSgKsBhu7o=; b=c3xlVAnhLu7YQkzREiGHFEUtwTrBroh2t+328nRtHQzZbKiqia920mjqwE0LYQWUs4 f2yCY3mkY6cCMw6KyDb1vfiIldikUgkXex3XQ6ziVv3mpg57+iAZUcXq5qyLQTMbfQLX s55lnZALb0HsWVL3TcYzMaXwQ0O6pTh3TVEOvF/YSKJ1pKDn5YZpPAA9NJtzEL+dIfFG ER3sx/1YUhEB+yUU3RRTPS379Ucl11aRcozunGacxOVWFjNSb5LRJ6FeDRYK2A8Ixhv9 sGVIIhnKPfYYWp5PZXsg0YMAxpilMkNL42MVLiC+OKgS7Z208SpvJSeZO7NF2UEeOzm8 BagA== X-Gm-Message-State: AOJu0YzsIGmcBhSiEuRgETKwY9iK+uyLuD93o/N0bCPW319BW2ai28N5 HynMhYit+gPCRY/pjLvAh+yQEuITUs/6EXyR6vn4WoDsTHykMM39We0KO+cGO89n3FW2gMh+xG5 jx+RydvkrPPtOL0SAG9j8ZMJw1oQ= X-Google-Smtp-Source: AGHT+IGMpxibo0mxOh/FxZjDjbpiwTso+hC3by+smKMKQUSK2UkSFCNWfBIeNCdqi2E7rvLfvYtdh7q8ssNvYDMtjJM= X-Received: by 2002:a05:6512:31d2:b0:52e:bdb0:effd with SMTP id 2adb3069b0e04-52ef07cd653mr1894710e87.25.1721473259393; Sat, 20 Jul 2024 04:00:59 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 References: <20240720133729.d0c633674649c0e9621d958c@gmail.com> In-Reply-To: <20240720133729.d0c633674649c0e9621d958c@gmail.com> From: Michael Schuster Date: Sat, 20 Jul 2024 13:00:47 +0200 Message-ID: Subject: Re: Handling the opening and closing of laptop lid To: Anton Shepelev Cc: freebsd-questions@freebsd.org Content-Type: multipart/alternative; boundary="0000000000001dd769061dabba18" X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-1.00)[-0.997]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MISSING_XM_UA(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; TAGGED_RCPT(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::133:from] X-Rspamd-Queue-Id: 4WR3W169vdz3y9g --0000000000001dd769061dabba18 Content-Type: text/plain; charset="UTF-8" Are you using a desktop environment like KDE? They usually have their own settings... Sent On Sat, Jul 20, 2024, 12:37 Anton Shepelev wrote: > Hello, all. > > Has anybody been able to cause FreeBSD with X to handle > gracefully the closing and opeining of a laptop lid? > Althogh I have: > hw.acpi.lid_switch_state=s4 > > on my HP 15bwoxx, closing the lid only turns the display > off, whereas the HDD continues to spin, the laptop still > buzzes, and upon opening the lid back up it goes into > operative state instantenously, with two new windows of the > "Settings/Display" application open in the centre of the X > screen. How can I cause it to hibernate or at least to > stand by, and to prevent the launchhing of two "Display" > applications every time I open the lid? > > > --0000000000001dd769061dabba18 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Are you using a desktop environment like KDE? They usually h= ave their own settings...

Sent

--0000000000001dd769061dabba18--