From: wolf <wolf@wolfsden.cz>
To: help-guix@gnu.org
Subject: Xorg output hot-plug not working
Date: Wed, 24 May 2023 22:50:39 +0200 [thread overview]
Message-ID: <ZG54nx6RisreAy7j@ws> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 811 bytes --]
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), the
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 could
be the cause and how could I fix this?
I did attach my configuration, but I believe I am not doing anything special.
Thank you,
W.
--
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.
[-- Attachment #1.2: test.scm --]
[-- Type: text/plain, Size: 3303 bytes --]
(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")
))))
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
reply other threads:[~2023-05-24 20:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZG54nx6RisreAy7j@ws \
--to=wolf@wolfsden.cz \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.