aha/drivers/platform/x86
Alan Jenkins fbc97e4c5c eeepc-laptop: fix wlan rfkill state change during init
When an rfkill device is registered, the rfkill core will change its
state to the system default. So we need to prepare for state changes
*before* we register it. That means installing the eeepc-specific ACPI
callback which handles the hotplug of the wireless network adaptor.

This problem doesn't occur during normal operation.  You have to

1) Boot with wireless enabled. eeepc-laptop should load automatically.
2) modprobe -r eeepc-laptop
3) modprobe eeepc-laptop

On boot, the default rfkill state will be set to enabled.
With the current core code, step 2) will disable the wireless.
Therefore in step 3), the wireless will change state during registration,
from disabled to enabled.  But without this fix, the PCI device for the
wireless adaptor will not appear.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Acked-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Len Brown <len.brown@intel.com>
2009-05-14 11:14:42 -04:00
..
acer-wmi.c acer-wmi: Update copyright notice & documentation 2009-04-04 12:36:31 -04:00
asus-laptop.c asus-laptop: restore acpi_generate_proc_event() 2009-03-16 00:37:31 -04:00
asus_acpi.c proc 2/2: remove struct proc_dir_entry::owner 2009-03-31 01:14:44 +04:00
compal-laptop.c
dell-laptop.c dmi: Let dmi_walk() users pass private data 2009-03-30 21:46:44 +02:00
dell-wmi.c dell-wmi: new driver for hotkey control 2009-04-03 22:54:50 -04:00
eeepc-laptop.c eeepc-laptop: fix wlan rfkill state change during init 2009-05-14 11:14:42 -04:00
fujitsu-laptop.c fujitsu-laptop: use .notify method instead of installing hotkey handler directly 2009-04-07 16:26:58 -04:00
hp-wmi.c hp-wmi: notify of a potential docking state change on resume 2009-03-15 23:45:28 -04:00
intel_menlow.c thermal: use integers rather than strings for thermal values 2009-02-20 10:52:37 -05:00
Kconfig Merge branch 'dell-wmi' into release 2009-04-05 01:51:22 -04:00
Makefile dell-wmi: new driver for hotkey control 2009-04-03 22:54:50 -04:00
msi-laptop.c
panasonic-laptop.c Merge branches 'release', 'APERF', 'ARAT', 'misc', 'kelvin', 'device-lock' and 'bjorn.notify' into release 2009-04-07 18:18:42 -04:00
sony-laptop.c sony-laptop: always try to unblock rfkill on load 2009-04-23 23:57:34 -04:00
tc1100-wmi.c tc1100-wmi: Fix state reporting 2009-04-03 12:03:27 -04:00
thinkpad_acpi.c thinkpad-acpi: bump up version to 0.23 2009-04-18 01:19:54 -04:00
toshiba_acpi.c proc 2/2: remove struct proc_dir_entry::owner 2009-03-31 01:14:44 +04:00
wmi.c ACPI: WMI: use .notify method instead of installing handler directly 2009-04-07 16:26:58 -04:00