[systemd-devel] How to wait for a group of devices?
Manuel Reimer
Manuel.Spam at nurfuerspam.de
Mon Aug 19 08:35:35 PDT 2013
On 08/19/2013 04:53 PM, Greg KH wrote:
>> The second one wants to access DVB devices.
>>
>> These could be connected via PCI, PCI express or USB. So here I need
>> "Wait until all possible, currently connected, DVB devices are
>> initialized and drivers are loaded".
>
> Same here, there is no way to ever do this (PCI devices can be
> hotplugged at anytime, just like USB).
>
> Instead, just do something based on _when_ you see a specific type of
> USB device, that way everything will work properly, no need to "wait"
> for anything.
I'm not the developer of that daemon. I just want to run it reliably on
a distribution, using systemd.
Isn't there some kind of event, I can wait for, when the system did the
first run over the connected devices?
Greetings,
Manuel
More information about the systemd-devel
mailing list