[systemd-devel] how to get a device name matching .device to use into a dynamic at .unit ?

Lennart Poettering lennart at poettering.net
Mon Jun 17 09:40:54 PDT 2013


On Thu, 13.06.13 13:20, Pablo Saratxaga (pablo at walon.org) wrote:

> Hello,
> 
> I'm learning (and appreciating) the new systemd; and I'm currently trying to
> make it work to load some firmware, in the most generic way.
> 
> The hardware needing that firmware is a cheap bluetooth usb dongle;
> so cheap that without loading the firware it just plain doesn't work.

If firmware loading is a one-time thing you need to execute when the
device is plugged in, and is relatively quick to execute there is no
need to involve a systemd service and you can simply run this from a
udev rule directly.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list