Swap в module at boot

I am trying to использовал в версию of bbswitch hacked for в T450s mentioned in this issue on bumblebee-project/bbswitch. It works well and now my Nvidia 940m card turns off properly.

To install it I run make load from it's root, which executes the following commands:

-rmmod bbswitch
insmod bbswitch.ko

I now would like to get that модулировал replacing the existing bbswitch модулировал at boot (rather than being в command I have to invoke). To do that гve written the following modprobe.d file:

/etc/modprobe.d/50-bbswitch.conf:

# Remove the old bbswitch
blacklist bbswitch
remove bbswitch

# Load the new bbswitch
install bbswitch.ko /bin/true

Problem is that it doesn't seem to be loading the new модулировал. When I run dmesg | grep bbswitch I get:

[    8.357206] bbswitch: version 0.7

The hacked bbswitch - the версия code 0.8. So my install bbswitch.ko /bin/true line isn't actually loading the модулируйте. And it means that my blacklist... remove... lines aren't unloading the old bbswitch модулируйте.

Хан anyone explain how to do this?

0
задан 3 December 2015 в 02:06

1 ответ

Я, возможно, неправильно понял Вашу проблему, но чтобы использоваться во время начальной загрузки, это должно быть в initrd (начальный псевдодиск). Не очень трудно достигнуть, но это некоторое время, так как я сделал эти вещи, таким образом, Вы, вероятно, лучше из гугления практических руководств.

0
ответ дан 30 September 2019 в 02:13

Другие вопросы по тегам:

Похожие вопросы: