Re: [systemd-devel] Reliably waiting for udevd to finish processing triggered events

2015-03-16 Thread David Herrmann
Hi On Mon, Mar 9, 2015 at 8:58 PM, Ray Strode wrote: >> No, applications should not watch the queue. And the file is internal >> to udev anyway. If you watch it, you get to keep the pieces. > udev recently gained public api for monitoring the queue. > Regardless, I think using a timeout is a bett

Re: [systemd-devel] Reliably waiting for udevd to finish processing triggered events

2015-03-09 Thread Ray Strode
Hi, On Mon, Mar 9, 2015 at 1:21 PM, Tom Gundersen wrote: > This sounds like a broken model (even if the problems you outlined > below were fixed). There is no reason to believe that all drm devices > will be available by the time udev has finished coldplug. Devices may > be enumerated at any time

Re: [systemd-devel] Reliably waiting for udevd to finish processing triggered events

2015-03-09 Thread Ray Strode
Hi, >> plymouth watches for the creation of drm display devices during boot. >> If it finds one, it starts a graphical splash and that is that. >> However, if the system finishes loading drivers and no drm device is >> available, it falls back onto a fbdev-based splash or a text-based >> boot. Once

Re: [systemd-devel] Reliably waiting for udevd to finish processing triggered events

2015-03-09 Thread Tom Gundersen
On Fri, Mar 6, 2015 at 9:22 PM, Daniel Drake wrote: > plymouth watches for the creation of drm display devices during boot. > If it finds one, it starts a graphical splash and that is that. > However, if the system finishes loading drivers and no drm device is > available, it falls back onto a fbd

Re: [systemd-devel] Reliably waiting for udevd to finish processing triggered events

2015-03-09 Thread Lennart Poettering
On Mon, 09.03.15 06:49, Daniel Drake (dr...@endlessm.com) wrote: > Hi, > > On Sun, Mar 8, 2015 at 3:50 PM, Lennart Poettering > wrote: > > On Fri, 06.03.15 14:22, Daniel Drake (dr...@endlessm.com) wrote: > > To my knowledge newer versions don't do this anymore and actively > > watch drm devices

Re: [systemd-devel] Reliably waiting for udevd to finish processing triggered events

2015-03-09 Thread Daniel Drake
Hi, On Sun, Mar 8, 2015 at 3:50 PM, Lennart Poettering wrote: > On Fri, 06.03.15 14:22, Daniel Drake (dr...@endlessm.com) wrote: > To my knowledge newer versions don't do this anymore and actively > watch drm devices coming. I'm describing the behaviour of the newer version here. The issue is cu

Re: [systemd-devel] Reliably waiting for udevd to finish processing triggered events

2015-03-08 Thread Lennart Poettering
On Fri, 06.03.15 14:22, Daniel Drake (dr...@endlessm.com) wrote: > Hi, > > I'm looking at some issues with the plymouth boot splash system, and > why it intermittently fails to get graphics on screen. > > plymouth watches for the creation of drm display devices during boot. > If it finds one, it

[systemd-devel] Reliably waiting for udevd to finish processing triggered events

2015-03-06 Thread Daniel Drake
Hi, I'm looking at some issues with the plymouth boot splash system, and why it intermittently fails to get graphics on screen. plymouth watches for the creation of drm display devices during boot. If it finds one, it starts a graphical splash and that is that. However, if the system finishes loa