Comment 9 for bug 1231725

Revision history for this message
Peter Wu (lekensteyn) wrote :

The default params are load_state=-1 unload_state=-1 ("do not change").

bumblebeed will write OFF to /proc/acpi/bbswitch which has no effect if it was already off. So it does not matter what values you use for load_state, the end result will be comparable to load_state=0.

On stop, bumblebeed does not rmmod bbswitch. It writes OFF to /proc/acpi/bbswitch (having the same effect as unload_state=0 && rmmod bbswitch).

Creating the bbswitch.conf modprobe conffile won't help if nothing unloads the module (as mentioned in the README). There are probably kernel interfaces to get notified on shutdown, maybe that could be used. On kernel panic and such, it will not be called anyway though.