Re: systemd: how to enable auto-loading kernel modules
Mike Looijmans
Likely there's a problem with the
underscore. Recipes (and packages) with an underscore don't work
properly because it's used as a version separator.
Rename "my_module" to "my-module".
Having said that, kernel modules rarely
need to be forced to load. The rare exceptions are modules that
aren't linked to hardware (e.g. some software pipe, or typical
test modules that do their thing during init) or modules that need
special parameters to work (uio needs this for example).
Normally you'd have a match in the
devicetree (or ACPI or PCI or USB or ...) and the match with your
module will automatically trigger loading the module (and its
dependencies). If your module is hardware related, this is how it
should load. If that doesn't work, your hardware wasn't detected
anyway and the module, after loading, likely won't do anything
anyway.
On 26-10-2022 08:07, Merlin via
lists.yoctoproject.org wrote:
-- Mike Looijmans Met vriendelijke groet / kind regards,
Please consider the environment before printing this e-mail |
||||||||||||||||||
|