From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <help-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp11.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms9.migadu.com with LMTPS
	id EGUxBNR4bmTFJQAASxT56A
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 24 May 2023 22:51:32 +0200
Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp11.migadu.com with LMTPS
	id mGVJBNR4bmQcBgAA9RJhRA
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 24 May 2023 22:51:32 +0200
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 291742E3E4
	for <larch@yhetil.org>; Wed, 24 May 2023 22:51:30 +0200 (CEST)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <help-guix-bounces@gnu.org>)
	id 1q1vRb-0003JW-KC; Wed, 24 May 2023 16:50:51 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ws@wolfsnet.cz>) id 1q1vRa-0003J9-Di
 for help-guix@gnu.org; Wed, 24 May 2023 16:50:50 -0400
Received: from wolfsden.cz ([37.205.8.62])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ws@wolfsnet.cz>) id 1q1vRX-0004DK-S6
 for help-guix@gnu.org; Wed, 24 May 2023 16:50:50 -0400
Received: by wolfsden.cz (Postfix, from userid 104)
 id 1B0F725E2FD; Wed, 24 May 2023 20:50:41 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1684961441; bh=vpLTZUM6lt7NGLUh1W+VRUrrTlrPMF6TwT76e3OS94I=;
 h=Date:From:To:Subject;
 b=w8BxazST/z3PQW6dFWcGccSAdj8/iqCEWsc/+xZHhXsqXs1lL51iQQtGUPkJ7+s75
 GMqosqbYE/WhEPqLLzb8hTECkwK/sR2Bs1/MmhYwx7i4HdvKtZQ2zxEWKiiZNa5uMy
 87qryfXXDpudPpOYpJ/jImNhMbJZjogLarnUXm/+i4vUsowsIGP/wx5Q5guSrbNm9D
 ZuQqDfZqtrMX+P5ICnXP00V0Joo28LENHaqq1AiztuMLIggOYl6NMzyeH4MgUxxaE2
 Nk+NoNeaQ3cXBNAJYc2qcwZj8gpEE8ybHj8ppXcEf26UwWUTu3XgI9yzu7tgYou5E7
 3D4tA9X6nP/gA4bmefKbWJ1D+/9M+IJbBKufiYLWvdEZaCyoBarRCCaUbB3CLuOe+C
 SGi3T6m0a2zNsHARmc/9VlOLqkvQOQLOELL1QM6jqLDgLtdHTpF8bKiSkRyoSAFoB6
 m1T6wn4xSiZgOZvtk8i+qGoCMQpJh3p6vtGIDwzDHT+SWCNLjldHcSj7OKzGwo7mwc
 IadoqHhDO+YyN/L7F/cOOoOaz/+T8AGppXq7f/3fAv0bFt5mWtHupspuGLnF4H4Lhb
 LARjRwPmY3YOqkM6NB0hQM0Q1uPhDAKdF+ccRMHkmIRNkzFhOFVuXCNukl4v5gek21
 gynbpZx7SqxtngtDTTSV4zA4=
Received: from localhost (unknown [128.0.188.242])
 by wolfsden.cz (Postfix) with ESMTPSA id CE67D25D4C5
 for <help-guix@gnu.org>; Wed, 24 May 2023 20:50:39 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1684961439; bh=vpLTZUM6lt7NGLUh1W+VRUrrTlrPMF6TwT76e3OS94I=;
 h=Date:From:To:Subject;
 b=dbvYOuBFW/e/kJQ1kl1gGZpGJIOwrLVKcMZuP1Bro4ITDIHKqEIn2UkImfjE4mTtT
 x4WbahyWsCBB1MJAljHqj/Ty+h6GAgU9NGftrvwDWD9on4r+aZdeFP1MHOtlVNlrR4
 ssSwxkubUaD2uNq1fCPfbPmnoYY6KRwL37k3wS2pvbOr4zK1jD28TR1qV5VgGwEPPN
 +TmOSL3mLjn3kaUaBqLxuHg5h2lkMZl00xNn5r6Y+QDw+y1wyZIvv5UN/C6vgNAeHb
 ouz7oZfqeU9XbkfxDXnjUOx0q3DJBBmnmJx574KS1Tbk0ON41kkFkO+2wT65tfqaQo
 Gwi1Qs3fB7CSZ7M2TdQlhtobwEEdawu0cMDgwaZ+nxZmah9+VsNkYsE2fouB5subEX
 uioqgq6jP2lF6XsX5ZDEI51nuXX7mAbzR+vM32wA6wCay7ndwYJ5hsaLqmk5Y0DzP1
 AHTrIPh3wKhmfXMHtaKruRX2ez1NNiFEf1zUIkx3dmCFJ0sAMSVLAwLh4KslqceC49
 GYHOS7einjHv79jqgyntyysteoXkLdMPMEb/bmaUDTik2YJ9VShaIxytL7KDbZDAgf
 ZgpghkP9IrgnH50L47EuZnta1DW3rGcz+AM8og93Xltbfh4Ddhz4fsHjT9AJdsmJzL
 L16B6atBOZEw2yCZ100v54Ok=
Received: from localhost (localhost [local])
 by localhost (OpenSMTPD) with ESMTPA id 0638ff99
 for <help-guix@gnu.org>; Wed, 24 May 2023 20:50:39 +0000 (UTC)
Date: Wed, 24 May 2023 22:50:39 +0200
From: wolf <wolf@wolfsden.cz>
To: help-guix@gnu.org
Subject: Xorg output hot-plug not working
Message-ID: <ZG54nx6RisreAy7j@ws>
Mail-Followup-To: help-guix@gnu.org
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="T9JwuaYzW2BTuvsg"
Content-Disposition: inline
Received-SPF: none client-ip=37.205.8.62; envelope-from=ws@wolfsnet.cz;
 helo=wolfsden.cz
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
 SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01,
 UNPARSEABLE_RELAY=0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-BeenThere: help-guix@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <help-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-guix>,
 <mailto:help-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/help-guix>
List-Post: <mailto:help-guix@gnu.org>
List-Help: <mailto:help-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-guix>,
 <mailto:help-guix-request@gnu.org?subject=subscribe>
Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org
Sender: help-guix-bounces+larch=yhetil.org@gnu.org
X-Migadu-Country: US
X-Migadu-Flow: FLOW_IN
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684961491; a=rsa-sha256; cv=none;
	b=dlmPEXAu8afPSxmlJaQ2ns+Cf5zSKftS74KvzZZCXQV6UlxakW3HG2D+ausiQkWIefaSL7
	VhTDqlN5FnsnXotTqU2tntnJbEPBBZ/xYEM7YcYMCykhN6Uz3laWmBmB/YtSzhjSifK/ky
	DtJ9JaVLv+MspKccoFfkzHOBV1Ty2tIE1HULgQ7pInXUvU7Dl1X7l4Z9rSmYRZFvHQ9OQL
	WFUo809dMc+rwQIU/oBpR32AVHq0vwbZoxHoU4C5jPBm3bL8W6vkfNSDzeWFKsraCHQ2q1
	ah6d0t5w4jEgn8HwqhhNlfPBZEJEsFxSRwFRcUCtb6ZXrEItaylYR9NZeEpvrg==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=wolfsden.cz header.s=mail header.b=w8BxazST;
	dkim=pass header.d=wolfsden.cz header.s=mail header.b=dbvYOuBF;
	dmarc=pass (policy=none) header.from=wolfsden.cz;
	spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1684961491;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:mime-version:mime-version:
	 content-type:content-type:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=00J3OeGhJ910hTLO18REozQMKfA8+Ok0xdXnzzyia7M=;
	b=ksBakZl1HdrXmJ8kF3E5LwjGaSqMNhoB46GPP/Sif4RZ5Jrk4IO/tfb5GSDNULefy1bDou
	MhcRBG7D8Iu1ifBHYQ0PkFmLakl0NA/yiedeDdecqXUvK28ErXcWX4pmdp536k6JyDyeuc
	Zm+8JZS0nqcpDQUp9daYaGHmQXVnhO0yTicfSuEnQirNO9yRkakGrD/pRL1KCXHfhWhIGz
	D2nr5/JCDLDRIX8hiAJ3XzM/px0IIu5wfu6Ql2z4oxlS4u0LMGF5u2R7qembLRJcqEwNDf
	VG9EgGWXWIRTWy0h4dzCh13oPZM8vKuZk04XzjA3mFSpkYRcmhDymP25o7xyhA==
X-Migadu-Spam-Score: -5.57
X-Spam-Score: -5.57
X-Migadu-Queue-Id: 291742E3E4
X-Migadu-Scanner: scn0.migadu.com
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=wolfsden.cz header.s=mail header.b=w8BxazST;
	dkim=pass header.d=wolfsden.cz header.s=mail header.b=dbvYOuBF;
	dmarc=pass (policy=none) header.from=wolfsden.cz;
	spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"
X-TUID: i7iS3dDuT6VW


--T9JwuaYzW2BTuvsg
Content-Type: multipart/mixed; boundary="ayE/lNxsvyMBvg3W"
Content-Disposition: inline


--ayE/lNxsvyMBvg3W
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello,

for quite some time now I am trying to figure out how to get hot-plugging of
Xorg outputs working.  When I connect my USB-C docking station to my laptop=
, the
outputs DisplayPort-3 (and -4) are not showing up in xrandr.

However, when I restart the X server (while the dock is still connected), t=
he
outputs are visible and usable.  Under Alpine linux, even the hot-plugging =
works
correctly.  Therefore it does not look like hardware nor driver issue.  But=
 I
have no idea how to debug this further.  Would anyone how any ideas what co=
uld
be the cause and how could I fix this?

I did attach my configuration, but I believe I am not doing anything specia=
l.

Thank you,
W.

--=20
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

--ayE/lNxsvyMBvg3W
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="test.scm"

(use-modules (facts test)
	     (wn utils))

(use-modules (gnu)
	     (gnu packages certs)
	     (gnu packages linux)
	     (gnu packages gnome)
	     (gnu packages ssh)
	     (gnu packages xorg)
	     (gnu services)
	     (gnu services desktop)
	     (gnu services networking)
	     (gnu services ssh)
	     (gnu services xorg)
	     (nongnu packages linux)
	     (nongnu system linux-initrd))

(define custom-linux-lts
  (corrupt-linux linux-libre-5.15 #:configs '("CONFIG_MT7921E=m")))

(define %system
  (operating-system
   (host-name %wn/system)
   (locale "en_US.utf8")
   (timezone "Europe/Prague")

   (kernel custom-linux-lts)
   (kernel-arguments (delete "quiet"
			     %default-kernel-arguments))
   (initrd microcode-initrd)
   (firmware (list linux-firmware))

   (mapped-devices (list (mapped-device (source (uuid (list-ref %wn/luks-uuids 0)))
					(target (wn/luks-name %wn/system 0))
					(type luks-device-mapping))
			 (mapped-device (source (wn/vg-name %wn/system 0))
					(targets (list (wn/vg-part-name %wn/system 0 "swap")
						       (wn/vg-part-name %wn/system 0 "root")))
					(type lvm-device-mapping))))

   (file-systems (cons* (file-system (device (wn/vg-dev-for %wn/system 0 "root"))
				     (mount-point "/")
				     (type "btrfs")
				     (dependencies mapped-devices))
			(file-system (device (uuid (list-ref %wn/boot-uuids 0) 'fat))
				     (mount-point "/boot/efi0")
				     (type "vfat"))
			%base-file-systems))

   (swap-devices (list (swap-space (target (wn/vg-dev-for %wn/system 0 "swap"))
				   (dependencies mapped-devices))))

   (bootloader (bootloader-configuration (bootloader grub-efi-removable-bootloader)
					 (targets '("/boot/efi0"))))

   (users (cons* (user-account (name "wolf")
			       (group "wolf")
			       (uid 1000)
			       (supplementary-groups '("wheel"
						       "audio" "video"
						       "kvm")))
		 %base-user-accounts))

   (groups (cons* (user-group (name "wolf")
			      (id 1000))
		  %base-groups))

   (packages (cons* nss-certs

		    gnome

		    %base-packages))

   (services (cons*
	      (service static-networking-service-type
		       (list (static-networking
			      (addresses
			       (list (network-address
				      (device "enp4s0")
				      (value "192.168.0.130/24"))))
			      (routes
			       (list (network-route
				      (destination "default")
				      (gateway "192.168.0.1"))))
			      (name-servers '("192.168.0.1")))))

	      (service openssh-service-type
		       (openssh-configuration
			(openssh openssh-sans-x)
			(password-authentication? #f)
			(permit-root-login #t)
			(authorized-keys
			 `(("root" ,(local-file "files/wolf_ws.pub"))
			   ("wolf" ,(local-file "files/wolf_ws.pub"))))))

	      (modify-services %desktop-services
			       (delete network-manager-service-type)
			       (delete wpa-supplicant-service-type)
			       (guix-service-type
				config =>
				(guix-configuration
				 (inherit config)
				 (authorized-keys
				  (append `(,(local-file "/etc/guix/signing-key.pub"))
					  %default-authorized-guix-keys)))))))))

(list (machine
       (operating-system %system)
       (environment managed-host-environment-type)
       (configuration (machine-ssh-configuration
		       (host-name "192.168.0.130")
		       (system "x86_64-linux")
))))

--ayE/lNxsvyMBvg3W--

--T9JwuaYzW2BTuvsg
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmRueJ8ACgkQL7/ufbZ/
wakj1hAAqsRhO01/6kOT/V2roZUaPK8K+MPkQWb6x/D9asLjOymOrdpKXv/mc34n
vO99Mpvh9ON4hT3XPIqyLxnsMpWreNlWbPHn1ZQqokdSpsK/KbD6HEPDlfhiYQTw
qwhvDEq3viZiuhyfN+dhoQwvi2NmF52JxLbG7GN5IgU8RNy1EKj7u6Xjf/p0Brvv
tzpWcfWacpbu2Ivr7G7LERjRNI8/49GHMeTqrvsrGjuwHaQNbHAw4rqwkQpdMxm/
7mjeZc0rTgVFh5T7WoglefHYWJDGxgKNDlGqYIckBDonW8IrN66EJQYqtZelmr8j
tpYO9lKX/U8EFvOUZtscbg+MlSoJcfGAAkRBJJUEF4OaV4n2rMWjJ+2s0p7uh1Eg
9+/3GbGGVA8Hpmg2NSAX1Rk82EVjkExTE3mlJXJSamITCn5XnWDbrP3b9oRsEVAt
uhSTBkEHCFEOyZIL0yCN9S3vwpi7XKbJ97zZbIHwQeanfw6gZtF+HKXW58mCRTdh
ecnfZyUt8JDRYDMoM0yIsJapPMz9RzSNnVfLMtYlN4p5o5RHKuhE1h9t+7xE0I9a
7uvBMT7t7/D/jeXBOogkf/wiNllzxaxb/RcpBugvvGZ7P1H422LWvI7ksaSVQjbg
0/P5iNgZ5AVQbng4ZRroyGsFboL2UgUo1vNZIc43lDZSBR/j6uw=
=l7Ks
-----END PGP SIGNATURE-----

--T9JwuaYzW2BTuvsg--