[PATCH 1/2] asus-laptop: let WLED alone on L1400B

2011-02-06 Thread Corentin Chary
From: Corentin Chary corentin.ch...@gmail.com Asus took the DSDT from another model (L84F), made some change to make it work, but forgot to remove WLED method (the laptop doesn't have a wireless card). They even didn't change the model name. ref: https://bugzilla.kernel.org/show_bug.cgi?id=25712

[PATCH v2 07/18] eeepc-wmi: add hibernate/resume callbacks

2011-02-06 Thread Corentin Chary
Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/eeepc-wmi.c | 49 ++ 1 files changed, 49 insertions(+), 0 deletions(-) diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c index de501fb..583ba78 100644

[PATCH v2 17/18] eeepc-wmi: add touchpad sysfs file

2011-02-06 Thread Corentin Chary
Signed-off-by: Corentin Chary corenti...@iksaif.net --- Documentation/ABI/testing/sysfs-platform-eeepc-wmi |7 +++ drivers/platform/x86/eeepc-wmi.c |5 + 2 files changed, 12 insertions(+), 0 deletions(-) diff --git

[PATCH v2 02/18] eeepc-wmi: add wlan key found on 1015P

2011-02-06 Thread Corentin Chary
Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/eeepc-wmi.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c index 350b7bc..0d8217d 100644 ---

[PATCH v2 03/18] eeepc-wmi: add hotplug code for Eeepc 1000H

2011-02-06 Thread Corentin Chary
Implement wireless like hotplug handling (code stolen from eeepc-laptop). Reminder: on some models rfkill is implemented by logically unplugging the wireless card from the PCI bus. Despite sending ACPI notifications, this does not appear to be implemented using standard ACPI hotplug - nor does

[PATCH v2 05/18] eeepc-wmi: return proper error code in eeepc_rfkill_set()

2011-02-06 Thread Corentin Chary
Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/eeepc-wmi.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c index eb4c0ce..d823458 100644 ---

[PATCH v2 08/18] eeepc-wmi: switch to platform_create_bundle()

2011-02-06 Thread Corentin Chary
This allow to remove ~30 lines of code. Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/eeepc-wmi.c | 75 +++--- 1 files changed, 22 insertions(+), 53 deletions(-) diff --git a/drivers/platform/x86/eeepc-wmi.c

[PATCH v2 09/18] eeepc-wmi: reorder defines

2011-02-06 Thread Corentin Chary
Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/eeepc-wmi.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c index 1fc191b..aa9e1d1 100644 ---

[PATCH v2 10/18] eeepc-wmi: use the presence bit correctly

2011-02-06 Thread Corentin Chary
I checked some more DSDT, and it seems that I wasn't totally right about the meaning of DSTS return value. Bit 0 is clearly the status of the device, and I discovered that bit 16 is set when the device is present. Signed-off-by: Corentin Chary corenti...@iksaif.net ---

[PATCH v2 11/18] eeepc-wmi: add camera and card reader support

2011-02-06 Thread Corentin Chary
Signed-off-by: Corentin Chary corenti...@iksaif.net --- Documentation/ABI/testing/sysfs-platform-eeepc-wmi | 14 +++ drivers/platform/x86/eeepc-wmi.c | 89 +++- 2 files changed, 102 insertions(+), 1 deletions(-) diff --git

[PATCH v2 12/18] eeepc-wmi: add wimax support

2011-02-06 Thread Corentin Chary
Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/eeepc-wmi.c | 20 +++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c index 83415dd..0db7009 100644 ---

[PATCH v2 15/18] eeepc-wmi: respect wireless_hotplug setting

2011-02-06 Thread Corentin Chary
Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/eeepc-wmi.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c index 910eb00..bc71333 100644 ---

[PATCH 0/2] eeepc-wmi input patchs

2011-02-06 Thread Corentin Chary
Hi, These two patchs are separated from the other batch because they may be delayed or re-worked. The first patch add some camera specific keys, we can probably use arrows and +/- to do the same thing, but then we loose some keyboard information (eg: no distinction between Fn+E and Arrow Up).

[PATCH v2 01/18] eeepc-wmi: reorder keymap

2011-02-06 Thread Corentin Chary
Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/eeepc-wmi.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c index 4d38f98..350b7bc 100644 ---

[PATCH 2/2] asus-laptop: remove deprecated interfaces (lcd_switch and display_get)

2011-02-06 Thread Corentin Chary
From: Corentin Chary corentin.ch...@gmail.com I should have done that one year ago, so it's more than time to do it. These two features use non-standard interfaces. There are the only features that really need multiple path to guess what's the right method name on a specific laptop. Removing