raspberry pi / leap 15.4 / blacklisting modules
![](https://seccdn.libravatar.org/avatar/7131ec792f05bac4a6cb0fb370439522.jpg?s=120&d=mm&r=g)
Context - I have a Raspi (raspi1) running Leap 15.0, controlling some SK6812 LEDs. Has been working very well since 15.0, but I thought it was probably time to consider an upgrade. I have a 2nd Raspi (raspi2) now running 15.4. I am having trouble getting access to the GPIO I need, and I noticed that 15.4 has a lot more miscellaneous modules being loaded. I don't seem to be able to prevent loading modules with this: /etc/modprobe.d/99-local.conf blacklist this-or-that In my limited understanding, this ought to prevent this-or-that from being loaded, but it doesn't. Any thoughts? -- Per Jessen, Zürich (6.3°C) Member, openSUSE Heroes (2016 - present) We're hiring - https://en.opensuse.org/openSUSE:Heroes
![](https://seccdn.libravatar.org/avatar/9435667f7160374bc34a8600b686aecd.jpg?s=120&d=mm&r=g)
On 04.04.2023 20:12, Per Jessen wrote:
Context - I have a Raspi (raspi1) running Leap 15.0, controlling some SK6812 LEDs. Has been working very well since 15.0, but I thought it was probably time to consider an upgrade. I have a 2nd Raspi (raspi2) now running 15.4.
I am having trouble getting access to the GPIO I need, and I noticed that 15.4 has a lot more miscellaneous modules being loaded.
I don't seem to be able to prevent loading modules with this:
/etc/modprobe.d/99-local.conf
blacklist this-or-that
In my limited understanding, this ought to prevent this-or-that from being loaded, but it doesn't. Any thoughts?
"blacklist" is not applied to modules loaded as dependency.
![](https://seccdn.libravatar.org/avatar/7131ec792f05bac4a6cb0fb370439522.jpg?s=120&d=mm&r=g)
Andrei Borzenkov wrote:
On 04.04.2023 20:12, Per Jessen wrote:
Context - I have a Raspi (raspi1) running Leap 15.0, controlling some SK6812 LEDs. Has been working very well since 15.0, but I thought it was probably time to consider an upgrade. I have a 2nd Raspi (raspi2) now running 15.4.
I am having trouble getting access to the GPIO I need, and I noticed that 15.4 has a lot more miscellaneous modules being loaded.
I don't seem to be able to prevent loading modules with this:
/etc/modprobe.d/99-local.conf
blacklist this-or-that
In my limited understanding, this ought to prevent this-or-that from being loaded, but it doesn't. Any thoughts?
"blacklist" is not applied to modules loaded as dependency.
Thanks, that was it. Didn't solve my problem, but that's a different story. I might whine about that later. -- Per Jessen, Zürich (1.8°C) Member, openSUSE Heroes (2016 - present) We're hiring - https://en.opensuse.org/openSUSE:Heroes
![](https://seccdn.libravatar.org/avatar/7131ec792f05bac4a6cb0fb370439522.jpg?s=120&d=mm&r=g)
Per Jessen wrote:
Andrei Borzenkov wrote:
"blacklist" is not applied to modules loaded as dependency.
Thanks, that was it. Didn't solve my problem, but that's a different story. I might whine about that later.
Last time I installed raspi1 was November 2019, pre-corona. Lots of water under the bridge since then. One of the things I had conveniently forgotten was having to rebuild the kernel ... I needed a new module plus disable CONFIG_STRICT_DEVMEM. Does anyone here dabble much with Raspberry Pis, or is that more of a topic for the arm list? -- Per Jessen, Zürich (2.1°C) Member, openSUSE Heroes (2016 - present) We're hiring - https://en.opensuse.org/openSUSE:Heroes
participants (2)
-
Andrei Borzenkov
-
Per Jessen