From nobody Sat Jul 20 12:59:14 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 4WR67Z14gsz5Rchn for ; Sat, 20 Jul 2024 12:59:22 +0000 (UTC) (envelope-from freebsd-questions@m.gmane-mx.org) Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WR67Y2CPNz48jD for ; Sat, 20 Jul 2024 12:59:21 +0000 (UTC) (envelope-from freebsd-questions@m.gmane-mx.org) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (mx1.freebsd.org: domain of freebsd-questions@m.gmane-mx.org designates 116.202.254.214 as permitted sender) smtp.mailfrom=freebsd-questions@m.gmane-mx.org Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1sV9gF-0009dU-FA for freebsd-questions@freebsd.org; Sat, 20 Jul 2024 14:59:19 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Anton Shepelev Subject: Re: Handling the opening and closing of laptop lid Date: Sat, 20 Jul 2024 15:59:14 +0300 Message-ID: <20240720155914.56fe71f4176fd98db541cfef@gmail.com> References: <20240720133729.d0c633674649c0e9621d958c@gmail.com> 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) X-Spamd-Bar: / X-Spamd-Result: default: False [-0.51 / 15.00]; NEURAL_HAM_SHORT(-0.84)[-0.842]; NEURAL_HAM_MEDIUM(-0.80)[-0.801]; MV_CASE(0.50)[]; NEURAL_SPAM_LONG(0.43)[0.429]; FORGED_SENDER(0.30)[antontxt@gmail.com,freebsd-questions@m.gmane-mx.org]; R_SPF_ALLOW(-0.20)[+mx]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : SPF not aligned (relaxed), No valid DKIM,none]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:24940, ipnet:116.202.0.0/16, country:DE]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; RCPT_COUNT_ONE(0.00)[1]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; FROM_NEQ_ENVFROM(0.00)[antontxt@gmail.com,freebsd-questions@m.gmane-mx.org]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4WR67Y2CPNz48jD I wrote: > 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. This problem was fixed by resetting the XF86Display from the xfce4-keyboard-shortcuts section of Xfce settings: https://forums.freebsd.org/threads/90827/#post-627318 I still don't understand what it was there for and on what conditon it was invoked. The most imporatant remaining problem upon wake-up are: 1. camcontrol(8) settings made at boot via /etc/rc.local become reset 2. (just noticed it) WiFi stops working, althugh networkmgr shows it connected. Restarting the network helps.