From: Andreas Fink <finkandreas@web.de>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Strange behaviour disconnecting and reconnecting USB-C screen
Date: Tue, 11 Jan 2022 10:25:44 +0100 [thread overview]
Message-ID: <20220111102544.6992b86f@anfink-laptop> (raw)
Hello,
I've got a new laptop and see a strange behaviour when disconnecting
and reconnecting my USB-C screen.
Here are the steps that I am doing. I have a dual screen setup with
xrandr, with my notebook screen being the primary screen and a second
large external screen connected via USB-C to my notebook directly.
Now I disconnect the USB-C cable and do not do anything software wise,
i.e. my X-Server is still pretending to run on two screens, I can move
the screen outside of my notebook screen (into the area where the
external screen).
Now I reconnect the USB-C cable but the screens stays blank (the the
screen it says "No USB Type-C connection from your computer"). The only
way to get a signal again is to first use xrandr to only use my
notebook screen, and at the exact time udev gets a DRM event, and
suddently my external monitor appears within xrandr as connected (I did
not touch the cable, I only ran an xrandr command to use only the
notebook screen). Right after the DRM event I can run the xrandr
command to use both screens, but it is annoying to degrade first to one
screen, because all windows are moved around and I do not end up with
the same window setup as before.
Using the same screen with the same experiment as described above but
with a different notebook the screen is able to pick up the signal
again, so it's not purely a problem with the external screen.
Any idea what is going on and how I can workaround it? I just want to
disconnect the cable and reconnect it without the need to switch any
xrandr setup.
Thanks for your ideas and help
Andreas
next reply other threads:[~2022-01-11 9:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-11 9:25 Andreas Fink [this message]
2022-01-11 9:57 ` [gentoo-user] Strange behaviour disconnecting and reconnecting USB-C screen Benjamin Blanz
2022-01-11 11:13 ` Andreas Fink
2022-01-11 12:55 ` Benjamin Blanz
2022-01-12 0:14 ` ny6p01
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=20220111102544.6992b86f@anfink-laptop \
--to=finkandreas@web.de \
--cc=gentoo-user@lists.gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox