[yocto] systemd - how do I wait for a driver to load?

Sven Ebenfeld sven.ebenfeld at gmail.com
Tue Aug 26 13:02:37 PDT 2014


You should look at  "ConditionPathExists=" Options of systemd-units.
Otherwise if udev is loading your device module, you could add the
device-unit to "Requires=" option.

Am 26.08.2014 21:52, schrieb Chris Tapp:
> I've got a service running under systemd that will only start once a kernel module has loaded and created its /dev/dvb/adaptor nodes.
> 
> Unfortunately, it doesn't load until after the service has failed and gone into an error state due to too many restarts.
> 
> I could "fix" this by increasing the restart interval, but is there a way of adding a dependancy on the kernel module?
> 
> --
> 
> Chris Tapp
> opensource at keylevel.com
> www.keylevel.com
> 
> 
> 
> 



More information about the yocto mailing list