Impact:
A type of Dell Inspiron Mini does not turn off bluetooth physically when
pressing F2 (rfkill hotkey).
Fix:
Current kernel code expects hardware to handle the hard-rfkill switching
spontaneously and only notify rfkill subsystem with the status change.
This patch makes kernel to explicitly fire a SMI to switch on/off
rfkill devices if BIOS reports that the hardware switch is not supported.
This patch depends on the following sauce patch in lucid kernel so is not going upstream:
UBUNTU: SAUCE: dell-laptop: Store the HW switch status internally rather than requerying every time
Testcase:
I tested the patch on a Dell Mini 10. It works smoothly.
SRU Justification:
Impact:
A type of Dell Inspiron Mini does not turn off bluetooth physically when
pressing F2 (rfkill hotkey).
Fix:
Current kernel code expects hardware to handle the hard-rfkill switching
spontaneously and only notify rfkill subsystem with the status change.
This patch makes kernel to explicitly fire a SMI to switch on/off
rfkill devices if BIOS reports that the hardware switch is not supported.
This patch depends on the following sauce patch in lucid kernel so is not going upstream:
UBUNTU: SAUCE: dell-laptop: Store the HW switch status internally rather than requerying every time
Testcase:
I tested the patch on a Dell Mini 10. It works smoothly.