From nobody Tue Mar 15 13:09:22 2022 X-Original-To: freebsd-x11@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 3DBDC1A26312 for ; Tue, 15 Mar 2022 13:09:26 +0000 (UTC) (envelope-from freebsd-x11@dino.sk) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KHtz91TNDz3mwW; Tue, 15 Mar 2022 13:09:24 +0000 (UTC) (envelope-from freebsd-x11@dino.sk) Received: from zeta.dino.sk (fw3.dino.sk [84.245.95.254]) (AUTH: LOGIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by mailhost.netlabit.sk with ESMTPSA; Tue, 15 Mar 2022 14:09:23 +0100 id 00DADC23.62309003.0000F1B0 Date: Tue, 15 Mar 2022 14:09:22 +0100 From: Milan Obuch To: freebsd-x11@freebsd.org Cc: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: Re: Dynamic multimonitor setup question Message-ID: <20220315140922.3f88c78c@zeta.dino.sk> In-Reply-To: References: <20220228093951.30914524@zeta.dino.sk> <20220314101646.0042335c@zeta.dino.sk> <665f28bc-42b5-f862-3211-01b90b070fd4@FreeBSD.org> <20220315120121.45db2c3c@zeta.dino.sk> X-Mailer: Claws Mail 3.18.0git333 (GTK+ 2.24.33; i386-portbld-freebsd11.4) List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4KHtz91TNDz3mwW X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd-x11@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-x11@dino.sk X-Spamd-Result: default: False [-1.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.93)[-0.931]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[dino.sk]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.93)[0.932]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-x11]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:5578, ipnet:84.245.64.0/18, country:SK]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Tue, 15 Mar 2022 12:46:45 +0100 Mateusz Piotrowski <0mp@FreeBSD.org> wrote: > Hi, > > On 15/03/2022 12:01, Milan Obuch wrote: [ snip ] > > The main problem, however, still remains - action is done not when > > cable is being plugged/unplugged, but xrandr or arandr must be > > called manually, then intended action occurs. > Unfortunately, I don't have a solution at hand for this use case. > > > > What hardware do you have? > > I'm also using i915kms.ko, but I don't think it is a kernel module > issue. To me what you are describing sounds like something that could > be configured with a mix of xorg.conf and devd(8) (although even > devd(8) could be an overkill here). > Any idea? I did a verbose boot, and nothing is output to console on external monitor cable plugging in/out. I think there is no event generated. It looks I am forced to use manual reconfiguration... not that nice :( Regards, Milan