Load SPIDev earlier

SPIDev currently loads quite late in the boot up process causing my application to wait until it is ready. Is there any way to safely move this to an earlier phase of loading?

Create a new file:

/etc/modules-load.d/spidev.conf

spidev

You can also try re-building the kernel with it built-in vs a module… I’m trying to remember why we’ve always kept it a module, probally some old bug/race condition.

Regards,

Would that go in /etc/modules-load.d/modules.conf or do I make a new spidev.conf or does it matter?

It’s recommened to keep them isolated, just create a new file *

/etc/modules-load.d/your-personal-file-name-perference.conf

Regards,