Hi. I am figuring out how to set up my Apple Magic keyboard to wake up my Gentoo box from sleep and hibernation. So far, my computer can suspend/hibernation when I connect my keyboard in USB wired mode. However, I couldn't get suspend and hibernation working properly when I use my keyboard in Bluetooth mode.
Occasionally, I could get Gentoo to wake up from suspend/hibernation but usually not properly such as lost the last power state and restart. Even though I could get the machine properly resumed, I got my Bluetooth adapter missing after. In that case, I have to issue the command
Code: Select all
modprobe -r btusb
Code: Select all
modprobe btusb
Is there anyone know how to set up wake by Bluetooth keyboard? I did searching Google for how to do that but I can't find out any guide and script code to do that. Also, Apple keyboard is missing F2-F6 keys in Bluetooth mode but not when it is USB wired. I can't find out how to solve that.
