Answer to question no. 1:
You have to know which module is in use for your Bluetooth radio. With Bluetooth having been enabled in BIOS, type this in your terminal:
- Code: Select all
lsmod | grep blue
You will get a list of modules that use the module called "bluetooth" and one of them should have hcd
in its name (e.g. hci_hcd, ehci_hcd, hci_usb). That is the module used by the kernel to control your Bluetooth radio.
Assuming that the module is called hci_hcd
, all you would have to do next is add a line to your hibernate and suspend scripts that will unload the respective module (hci_hcd) whenever you invoke suspend or hibernate. The scripts in question are commonly located in /usr/lib/hal/scripts/linux/, hal-system-power-hibernate-linux for hibernate and hal-system-power-suspend-linux for suspend.
As for question no. 2, I will leave that to the devs.