[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: How to refresh the list of outputs detected by xrandr?
From:       Łukasz Maśko <ed () yen ! ipipan ! waw ! pl>
Date:       2015-11-23 13:05:33
Message-ID: 2625296.spP0CJCHx1 () dlaptok
[Download RAW message or body]

Dnia czwartek, 19 listopada 2015 15:46:33 Łukasz Maśko pisze:
> Dnia czwartek, 19 listopada 2015 14:01:26 Chris Wilson pisze:
> [...]
> 
> > > Is there a way to generate such notification using currently available
> > > software tools, or am I limited to fix in the kernel to make it notify
> > > dock change?
> > 
> > Hmm, can't see a way to synthesize uevents. But still calling xrandr
> > should be enough to do a forced reprobe of outputs. Without a hotplug
> > event, there is a small 15s cache of the most recent probe.
> 
> As far as I've noticed - it does not. But maybe I should wait a bit longer.
> I'll check it as soon as possible.

Unfortunately, in my case xrandr does not refresh its state. I left my laptop 
connected for more than a minute, but it was still reporting "home settings", 
not the ones, it really should see at work. I had to un-dock it and re-dock it 
while it was on, then xrandr started reporting proper outputs and modes.

So I need a way to generate undock/dock event by software.
-- 
Łukasz Maśko                                                            _o)
Lukasz.Masko(at)ipipan.waw.pl                                           /\\
Registered Linux User #61028                                           _\_V
Ubuntu: staroafrykańskie słowo oznaczające "Nie umiem zainstalować Debiana"
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic