You are not logged in.
I have two files in my /etc/modprobe.d directory:
10_bbswitch.conf:
options bbswitch load_state=050_blacklist.conf:
blacklist nouveau
blacklist nvidiaHowever, bbswitch makes no attempt to power off my discrete GPU, nor does it produce any output in dmesg ("sudo dmesg | grep bbswitch").
Additionally, neither nouveau or nvidia is actually blacklisted, so Linux the nvidia driver when I boot. Adding "modprobe.blacklist=nouveau,nvidia" to the linux command line arguments instead works as expected. It just seems like files in "/etc/modprobe.d" have absolutely on effect.
Am I wrong in assuming this should work? Have I misunderstood anything?
Last edited by Hubro (2022-07-09 16:21:14)
Offline
Have you regenerate the initramfs ?
Offline
Have you regenerate the initramfs ?
Do I have to do that every time I change a file in /etc/modprobe.d? :S
Offline
yes, of course...
Offline
yes, of course...
That's why they call it newbie corner. Thanks!
(It's not obvious for a newbie which files under /etc require a rebuild of something. I checked several Arch wiki articles, plus "man modprobe" and "man modprobe.d", and I never got the impression I needed to rebuild anything.)
Offline
To be more precise, you need to do that to impact modules that you added (ex- or implicitly) to the initramfs.
For testing purposes, you can blacklist and provide module parameters as kernel parameter.
https://wiki.archlinux.org/title/Kernel_parameters
https://wiki.archlinux.org/title/Kernel … mmand_line
https://wiki.archlinux.org/title/Kernel … and_line_2
Offline