Re: Looking for some pointers on WMI/EC access

2010-04-22 Thread Corentin Chary
bother with the hotkeys, but as this is a tablet PC, the hotkeys on the screen side become really important all of a sudden... Yeah. I'll take a look and see if there's anything obvious. It may be linked VPC0._CFG .. -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send

Re: [PATCH] asus-laptop: return proper error for store_ledd if write_acpi_int fail

2010-07-08 Thread Corentin Chary
-- To unsubscribe from this list: send the line unsubscribe platform-driver-x86 in the body of a message to majord...@vger.kernel.org More majordomo info at  http://vger.kernel.org/majordomo-info.html Thanks ! Acked-by: Corentin Chary corenti...@iksaif.net -- Corentin Chary http://xf.iksaif.net

Re: Patch for toshiba_acpi driver : add illumination support

2010-07-28 Thread Corentin Chary
/git/mjg59/platform-drivers-x86.git $ hack $ git commit -sa $ git format-patch origin -o /tmp/patchs/ $ ./scripts/get_maintainer.pl /tmp/patchs/* $ ./scripts/checkpatch.pl /tmp/patchs/* $ git send-email --to=main mailing list -cc=maintainter0 -cc=maintainer1 Thanks -- Corentin Chary http

Re: [PATCH] Add support for Toshiba Illumination. This is a set of LEDs installed on some Toshiba laptops. It is controlled through ACPI, the commands has been found through reverse engineering. It

2010-07-29 Thread Corentin Chary
; +       } +        return 0;  } -- 1.7.1 -- To unsubscribe from this list: send the line unsubscribe platform-driver-x86 in the body of a message to majord...@vger.kernel.org More majordomo info at  http://vger.kernel.org/majordomo-info.html -- Corentin Chary http://xf.iksaif.net

Re: [PATCH] Lenovo IdeaPAD ACPI driver

2010-08-11 Thread Corentin Chary
(ideapad_acpi_module_init); +module_exit(ideapad_acpi_module_exit); -- 1.7.2.1 Also, it would be great not to use the there will only be one of these device anti-pattern. Of course, it will work, but I think it's better to get a clean, fully-reentrant driver. -- Corentin Chary http://xf.iksaif.net

Re: [PATCH] Lenovo IdeaPAD ACPI driver

2010-08-11 Thread Corentin Chary
On Wed, Aug 11, 2010 at 3:39 PM, David Woodhouse dw...@infradead.org wrote: On Wed, 2010-08-11 at 14:59 +0200, Corentin Chary wrote: I'd suggest to name it ideapad-laptop (IDEAPAD_LAPTOP). We try to use that name for laptop related drivers. OK. But ... new WMI drivers are named

[PATCH 2/3] asus-laptop: Add key found on Asus N61JQ

2010-08-24 Thread Corentin Chary
Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/asus-laptop.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c index ffab9b4..27298a4 100644 --- a/drivers/platform/x86

Re: [PATCH] asus-laptop: remove no longer used keycode_map field

2010-08-25 Thread Corentin Chary
unsubscribe platform-driver-x86 in the body of a message to majord...@vger.kernel.org More majordomo info at  http://vger.kernel.org/majordomo-info.html Acked-by: Corentin Chary corenti...@iksaif.net -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line

Re: [PATCH 1/2] eeepc-wmi: add additional hotkeys

2010-10-11 Thread Corentin Chary
On Mon, Oct 11, 2010 at 3:48 AM, ch...@cnpbagwell.com wrote: From: Chris Bagwell ch...@cnpbagwell.com Added 4 hotkeys using same keymap values as eeepc-latop. These are mousepad toggle, resolution change, screen off, and task manager.  These were tested on 1005PE and are the Fn-F3, F4, F7,

Re: [PATCH 2/2] eeepc-wmi: Add cpufv sysfs interface

2010-10-11 Thread Corentin Chary
to guess the current configuration and the number of available settings. Especially when all they do is calling the old device. -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line unsubscribe platform-driver-x86 in the body of a message to majord

Re: [PATCH 1/2] eeepc-wmi: add additional hotkeys

2010-10-11 Thread Corentin Chary
On Mon, Oct 11, 2010 at 3:25 PM, Chris Bagwell ch...@cnpbagwell.com wrote: On Mon, Oct 11, 2010 at 1:26 AM, Corentin Chary corentin.ch...@gmail.com wrote: On Mon, Oct 11, 2010 at 3:48 AM,  ch...@cnpbagwell.com wrote: From: Chris Bagwell ch...@cnpbagwell.com Added 4 hotkeys using same keymap

Re: [PATCH 2/3] Support enable Acer Launch Manager mode

2010-10-18 Thread Corentin Chary
On Mon, Oct 18, 2010 at 10:14 AM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Mon, Oct 18, 2010 at 09:55:57AM +0200, Corentin Chary wrote: On Mon, Oct 18, 2010 at 9:19 AM, Carlos Corbacho car...@strangeworlds.co.uk wrote: On Monday 18 October 2010 03:32:22 Joey Lee wrote: So, we

Re: [PATCH 2/3] Support enable Acer Launch Manager mode

2010-10-19 Thread Corentin Chary
On Tue, Oct 19, 2010 at 11:55 AM, Joey Lee j...@novell.com wrote: Hi Corentin, 於 一,2010-10-18 於 09:55 +0200,Corentin Chary 提到: On Mon, Oct 18, 2010 at 9:19 AM, Carlos Corbacho car...@strangeworlds.co.uk wrote: On Monday 18 October 2010 03:32:22 Joey Lee wrote: So, we choice remove rfkill

Re: [PATCH 2/3] Support enable Acer Launch Manager mode

2010-10-19 Thread Corentin Chary
On Tue, Oct 19, 2010 at 1:15 PM, Joey Lee j...@novell.com wrote: Hi Corentin, 於 二,2010-10-19 於 12:51 +0200,Corentin Chary 提到: Most of users will want the key to just toggle wlan/bluetooth. But some of them will be happy if they can configure the behavior of the key (cycle, only toggle

Re: [PATCH v2 1/2] eeepc-wmi: add additional hotkeys

2010-10-21 Thread Corentin Chary
} }, +       { KE_KEY, 0xe0, { KEY_PROG1 } }, +       { KE_KEY, 0x5c, { KEY_F15 } },        { KE_END, 0},  }; -- 1.7.3.1 Reviewed-by: Corentin Chary corenti...@iksaif.net Matthew, could you add this patch for 2.6.37 ? Thanks. -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from

Re: [PATCH v2] eeepc-wmi: add cpufv sysfs documentation

2010-10-26 Thread Corentin Chary
/testing/sysfs-platform-eeepc-wmi @@ -0,0 +1,10 @@ +What:          /sys/devices/platform/eeepc-wmi/cpufv +Date:          Oct 2010 +KernelVersion: 2.6.37 +Contact:       Corentin Chary corenti...@iksaif.net +Description: +               Change CPU clock configuration (write-only

Re: [PATCH 1/2] eeepc-wmi: add additional hotkeys

2010-11-06 Thread Corentin Chary
On Sat, Nov 6, 2010 at 4:02 AM, Chris Bagwell ch...@cnpbagwell.com wrote: On Mon, Oct 11, 2010 at 12:10 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Sunday, October 10, 2010 11:26:22 pm Corentin Chary wrote: On Mon, Oct 11, 2010 at 3:48 AM,  ch...@cnpbagwell.com wrote: From: Chris

Re: [PATCH] eeepc-wmi: fix compiler warning

2010-11-14 Thread Corentin Chary
the same patch on my repo, I should have read the list first. Matthew can you queue this one for next batch ? Thanks, -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line unsubscribe platform-driver-x86 in the body of a message to majord...@vger.kernel.org More

[PATCH 00/10] eeepc-wmi: updates for 2.6.38

2010-11-28 Thread Corentin Chary
Hi, I finally got a WMI aware Eeepc on my desk, so I made a quick series to add missing features to eeepc-wmi. Theses patchs were done and tested on an Eeepc 1005PE with an updated BIOS. Thanks, Corentin Chary (10): eeepc-wmi: rework eeepc_wmi_init and eeepc_wmi_exit eeepc-wmi: add touchpad

[PATCH 05/10] eeepc-wmi: add debugfs entries

2010-11-28 Thread Corentin Chary
to test new features without patching the drivers. Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/eeepc-wmi.c | 170 -- 1 files changed, 164 insertions(+), 6 deletions(-) diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform

[PATCH 02/10] eeepc-wmi: add touchpad led support

2010-11-28 Thread Corentin Chary
Most of the code comes from eeepc-laptop. Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/Kconfig |2 + drivers/platform/x86/eeepc-wmi.c | 113 ++ 2 files changed, 115 insertions(+), 0 deletions(-) diff --git a/drivers

[PATCH 08/10] eeepc-wmi: remove unneeded static

2010-11-28 Thread Corentin Chary
Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/eeepc-wmi.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c index 5f3f42c..52274e2 100644 --- a/drivers/platform/x86/eeepc

[PATCH 09/10] eeepc-laptop: add a getter for touchpad led

2010-11-28 Thread Corentin Chary
Allow te get the current led state in a more accurate way. Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/eeepc-laptop.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86

[PATCH 07/10] eeepc-wmi: claim eeepc-wmi maintainership

2010-11-28 Thread Corentin Chary
Since eeepc-wmi has currently no official maintainer, I claim maintainership of this driver, and add it to the acpi4asus project. Signed-off-by: Corentin Chary corenti...@iksaif.net --- MAINTAINERS |8 drivers/platform/x86/eeepc-wmi.c |1 + 2 files changed

[PATCH 10/10] eeepc-wmi: never load if legacy device is enabled

2010-11-28 Thread Corentin Chary
is not detected as Win 7. And when this is the case, the ASUS010 device is disabled. Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/eeepc-wmi.c | 33 + 1 files changed, 33 insertions(+), 0 deletions(-) diff --git a/drivers/platform/x86

Re: [RFC][PATCH] New ACPI-WMI driver for shuttle machines

2010-12-01 Thread Corentin Chary
On Wed, Dec 1, 2010 at 5:14 PM, Herton Ronaldo Krzesinski her...@mandriva.com.br wrote: Hi, I cut the message just to the comments, here we go: On Wed, 1 Dec 2010 00:22:03 +0100 Corentin Chary corentin.ch...@gmail.com wrote: On Tue, Nov 30, 2010 at 6:27 PM, Herton Ronaldo Krzesinski her

Re: [PATCH 2/4] Enabled Acer Launch Manager mode

2010-12-05 Thread Corentin Chary
to go back to the user (errno) and userspace programs won't be able to display appropriate errors (on modprobe, manipulating sysfs files, etc...). I didn't read the code, so it may not be an issue here, but you should check that meaningful error codes are sent back to userspace. -- Corentin Chary

Re: [PATCH] Add WMI driver for some Megaware notebook models.

2010-12-09 Thread Corentin Chary
(megaware_device); +       kfree(megaware); +} + +module_init(megaware_init); +module_exit(megaware_exit); -- 1.7.2.3 Otherwise, this looks like a clean wmi driver :) Thanks. -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line unsubscribe platform-driver-x86

Re: [PATCH] Add WMI driver for some Megaware notebook models.

2010-12-09 Thread Corentin Chary
On Fri, Dec 10, 2010 at 8:31 AM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Fri, Dec 10, 2010 at 08:12:53AM +0100, Corentin Chary wrote: On Fri, Dec 10, 2010 at 1:08 AM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: .remove is still needed but I guess Corentin refers to using

Re: [PATCH] eeepc-wmi: fix function return type to kill warning

2010-12-14 Thread Corentin Chary
/linux-next.git;a=commitdiff;h=da7fddf92985c2525260dfd6f70006e022f4457c Still, Thanks -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line unsubscribe platform-driver-x86 in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [PATCH] platform-driver-x86: ACPI EC Extra driver for Oaktrail

2011-01-05 Thread Corentin Chary
)); +MODULE_DESCRIPTION(Intel Oaktrail Platform ACPI Extras); +MODULE_VERSION(DRIVER_VERSION); +MODULE_LICENSE(GPL); Maybe you could add some MODULE_ALIAS(dmi:x) lines to enable module autoloading ? Thanks, -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line

Re: [PATCH] platform-driver-x86: ACPI EC Extra driver for Oaktrail

2011-01-06 Thread Corentin Chary
On Thu, Jan 6, 2011 at 11:11 AM, Yin Kangkai kangkai@linux.intel.com wrote: On 2011-01-06, 08:29 +0100, Corentin Chary wrote: Hi, Thanks for the review and comments. @@ -0,0 +1,349 @@ +/*-*-linux-c-*-*/ I don't know what's our general policy about that, but I don't think each text

Re: [PATCH V2] platform-driver-x86: ACPI EC Extra driver for Oaktrail

2011-01-07 Thread Corentin Chary
-platform-intel-oaktrail  - various other minor changes.  - bump driver version from 0.1 to 0.2 Thanks Corentin Chary and Joey Lee for the review. From ab28d41e89b40e0ab1d73489b7d1a9f6e745c14a Mon Sep 17 00:00:00 2001 From: Yin Kangkai kangkai@intel.com Date: Wed, 22 Dec 2010 10:53:36 +0800

Re: [PATCH 1/2] input: Pegatron Lucid accelerometer

2011-01-15 Thread Corentin Chary
-- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line unsubscribe platform-driver-x86 in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

ACPI notify handler and reentrancy of WMI device.

2011-01-16 Thread Corentin Chary
? - Should I use a work queue, and do what I have to do later (when the previous call is finished) ? - anything else ? Thanks, -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line unsubscribe platform-driver-x86 in the body of a message to majord

Re: ACPI notify handler and reentrancy of WMI device.

2011-01-20 Thread Corentin Chary
On Thu, Jan 20, 2011 at 10:55 AM, Lin Ming ming.m@intel.com wrote: On Mon, 2011-01-17 at 14:51 +0800, Corentin Chary wrote: I got an acpi notify handler. The notify is triggered when I call WMBC(). In this notify handler, I must re-call WMBC (with some other arguments, it won't

Re: ACPI notify handler and reentrancy of WMI device.

2011-01-20 Thread Corentin Chary
What does this method do? It does ... *everything*, it's our only entry point in this driver. -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line unsubscribe platform-driver-x86 in the body of a message to majord...@vger.kernel.org More majordomo info

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

2011-01-24 Thread Corentin Chary
the firmware provide the _OSC method required to support native PCIe hotplug. The only sensible choice appears to be to handle the hotplugging directly in the platform driver. Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/eeepc-wmi.c | 274

[PATCH 04/14] eeepc-wmi: serialize access to wmi method

2011-01-24 Thread Corentin Chary
the first WMBC call return a random value. This patch was tested on EeePc 1000H with a RaLink RT2860 wireless card using the rt2800pci driver. rt2860sta driver seems to deadlock when we remove the pci device... Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/eeepc

[PATCH 06/14] eeepc-wmi: add an helper using simple return codes

2011-01-24 Thread Corentin Chary
eeepc_wmi_get_devstate returns an acpi_status, so each call need extra logic to handle the return code. This patch add a simple getter, returning a boolean (or a negative error code). Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/eeepc-wmi.c | 96

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

2011-01-24 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 09/14] eeepc-wmi: reorder defines

2011-01-24 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 --- a/drivers

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

2011-01-24 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 --- drivers/platform/x86/eeepc

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

2011-01-24 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 --- a/drivers

[PATCH 13/14] eeepc-wmi: set the right key code for 0xe9

2011-01-24 Thread Corentin Chary
This key should power off the backlight, not the display, it is also used in acpi/video.c to do the same thing. Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/eeepc-wmi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/platform/x86

[PATCH 14/14] eeepc-wmi: support backlight power (bl_power) attribute

2011-01-24 Thread Corentin Chary
Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/eeepc-wmi.c | 75 +++--- 1 files changed, 61 insertions(+), 14 deletions(-) diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c index 75dd692..fcb6dfe

Re: [PATCH 0/4] Pegatron Lucid tablet acceleromter/ALS

2011-01-24 Thread Corentin Chary
? Are backlight and led classes working ? Thanks, -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line unsubscribe platform-driver-x86 in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 0/4] Pegatron Lucid tablet acceleromter/ALS

2011-01-25 Thread Corentin Chary
On Tue, Jan 25, 2011 at 4:43 PM, Andy Ross andy.r...@windriver.com wrote: On 01/24/2011 11:30 PM, Corentin Chary wrote: Dmitry Torokhov wrote: I am happy with the input part but I wonder if it really needs to be separate? If you roll it up into asus-laptop you would not need a new platform

[PATCH v2 14/14] eeepc-wmi: support backlight power (bl_power) attribute

2011-01-28 Thread Corentin Chary
Signed-off-by: Corentin Chary corenti...@iksaif.net --- The previous patch broke eeepc_wmi_get_devstate_simple(), here is a fixed patch. drivers/platform/x86/eeepc-wmi.c | 75 +++--- 1 files changed, 61 insertions(+), 14 deletions(-) diff --git a/drivers

Re: [PATCH 15/20] platform: x86: asus_acpi: world-writable procfs files

2011-02-04 Thread Corentin Chary
Acked-By: Corentin Chary corenti...@iksaif.net Anyway, the driver is deprecated and will be removed someday. -- To unsubscribe from this list: send the line unsubscribe platform-driver-x86 in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

[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 a/Documentation/ABI/testing/sysfs-platform

[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 --- a/drivers/platform/x86/eeepc

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

2011-02-06 Thread Corentin Chary
the firmware provide the _OSC method required to support native PCIe hotplug. The only sensible choice appears to be to handle the hotplugging directly in the platform driver. Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/eeepc-wmi.c | 274

[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 --- a/drivers/platform/x86

[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 b/drivers/platform/x86

[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 --- a/drivers

[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 --- drivers/platform/x86/eeepc

[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 a/Documentation/ABI/testing/sysfs

[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 --- a/drivers

[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 --- a/drivers/platform/x86/eeepc

[PATCH 0/2] eeepc-wmi input patchs

2011-02-06 Thread Corentin Chary
). The other patch only add some comments to some ambiguously mapped keys. We may want to define to new key codes for these... Corentin Chary (2): eeepc-wmi: add camera keys eeepc-wmi: comments keymap to clarify the meaning of some keys drivers/platform/x86/eeepc-wmi.c | 13

[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 --- a/drivers/platform

[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

Should asus-wmi provide a way to switch displays, and why video_output class is unused

2011-02-14 Thread Corentin Chary
. But still, I'm not really comfortable adding another cryptic sysfs file, even with proper documentation in Docuementation/ABI/. Thanks, -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line unsubscribe platform-driver-x86 in the body of a message to majord

Re: [PATCH -next] eeepc-wmi: kconfig changes to fix build errors

2011-02-22 Thread Corentin Chary
@@ config EEEPC_WMI        depends on EXPERIMENTAL        depends on BACKLIGHT_CLASS_DEVICE        depends on RFKILL || RFKILL = n +       depends on HOTPLUG_PCI        select INPUT_SPARSEKMAP        select LEDS_CLASS        select NEW_LEDS Sorry for that... Acked-by: Corentin Chary

Re: [PATCH] eeepc-wmi: set the touchpad toggle key code to F21

2011-02-24 Thread Corentin Chary
, { KEY_CAMERA_ZOOMIN } },        { KE_KEY, 0x88, { KEY_WLAN } }, Hum, I'm not very comfortable with this patch now that we got KEY_TOUCHPAD_TOGGLE. I know, it doesn't work with current Xorg, but if we continue to workaround that, it'll never be fixed. Dmitry, Matthew, any advice ? -- Corentin Chary http

[PATCH 00/14] Support Asus WMI capable Notebooks (asus-wmi, asus-nb-wmi and eeepc-wmi)

2011-02-26 Thread Corentin Chary
. More features are comming (keyboard backlight, more sensors, etc...), but I think it's important to merge the first step as soon as possible. Thanks, Corentin Chary (14): asus-wmi: move generic code to asus-wmi eeepc-wmi: asus generic asus-wmi.ko module asus-wmi: minor cleanups asus-wmi

[PATCH 05/14] asus-wmi: handle unknown status bit

2011-02-26 Thread Corentin Chary
Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/asus-wmi.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c index d0f0931..39ce3c1 100644 --- a/drivers/platform/x86/asus

[PATCH 12/14] asus-wmi: add some common device ids and method ids

2011-02-26 Thread Corentin Chary
I also found some leds ids (0x00020011-0x00020016 and 0x00040015), but since they are not really present on the notebook, I can't guess their name . Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/asus-wmi.c | 44 -- 1 files

[PATCH 14/14] eeepc-wmi: restore KEY_CAMERA_* keys lost in 190ca27

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

[PATCH 08/14] asus-wmi: fix and clean backlight code

2011-02-26 Thread Corentin Chary
Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/asus-wmi.c | 44 +- 1 files changed, 29 insertions(+), 15 deletions(-) diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c index fd5b08ee..adf7b05 100644

[PATCH 09/14] asus-wmi: add calls to INIT, SPEC and SFUN on init

2011-02-26 Thread Corentin Chary
INIT() call is needed to enable hotkeys on G73 SPEC() and SFUN() allow us to know more about available features. Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/asus-wmi.c | 28 1 files changed, 28 insertions(+), 0 deletions(-) diff

[PATCH 10/14] asus-wmi: allow debugfs interface to call arbitrary method

2011-02-26 Thread Corentin Chary
Also add some # format flags to debugfs output. Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/asus-wmi.c | 47 +- 1 files changed, 45 insertions(+), 2 deletions(-) diff --git a/drivers/platform/x86/asus-wmi.c b/drivers

[PATCH 13/14] asus-wmi: add hwmon interface and pwm1

2011-02-26 Thread Corentin Chary
Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/Kconfig|1 + drivers/platform/x86/asus-wmi.c | 128 +++ 2 files changed, 129 insertions(+), 0 deletions(-) diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86

[PATCH 06/14] asus-wmi: factorise wmi_evaluate_method call

2011-02-26 Thread Corentin Chary
, because this is needed on Asus notebooks. Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/asus-wmi.c | 162 --- 1 files changed, 65 insertions(+), 97 deletions(-) diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform

[PATCH 04/14] asus-wmi: introduce struct asus_rfkill

2011-02-26 Thread Corentin Chary
First, this allow use to remove the custom asusrfkill_wlan_query, but this will also allow us to give struct asus_wmi * to get_devstate/set_devstate later. Signed-off-by: Corentin Chary corenti...@iksaif.net --- drivers/platform/x86/asus-wmi.c | 115 --- 1

Re: eeepc: rfkill on 900A defunct

2011-03-08 Thread Corentin Chary
merged? Ping. Because this is Matthew's patch, and I have no hardware to test that patch, I'm not touching it. Jiri, on what models was this patch tested (only got 701 and 901 here) ? Matthew, will you merge this patch in your tree ? Thanks, -- Corentin Chary http://xf.iksaif.net

Re: [ANNOUNCE] cpupowerutils - cpufrequtils extended with quite some features

2011-03-12 Thread Corentin Chary
that p4_clockmod cannot be loaded then? p4_clockmod is only loaded on olds EeePCs. New ones are using acpi-cpufreq. And you can only load one cpufreq driver at a time. -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line unsubscribe platform-driver-x86

Re: [patch 2/2] asus-wmi: potential NULL dereference in show_call()

2011-03-15 Thread Corentin Chary
-type : -1); Seems ok, I may change that later if we need to support more types. Acked-by: Corentin Chary corentin.ch...@gmail.com -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line unsubscribe platform-driver-x86 in the body of a message to majord

Re: [PATCH] eeepc-wmi: Add support for T101MT Express Gate key

2011-03-24 Thread Corentin Chary
to control that). Thanks, -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line unsubscribe platform-driver-x86 in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 2/2] eeepc-wmi: Add support for T101MT Home/Express Gate key

2011-03-25 Thread Corentin Chary
, emit KEY_LAUNCHER if KEY_PROG2 wasn't emited - On press, emit only one KEY_PROG2 (I'd like to emit repeated KEY_PROG2, but I understand that it makes things harder for userspace). -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line unsubscribe platform-driver-x86

Re: [PATCH v3 2/3] eeepc-wmi: Add support for T101MT Home/Express Gate key

2011-03-29 Thread Corentin Chary
probably time for fix only) ? -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line unsubscribe platform-driver-x86 in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 00/23] drivers/platform/x86: Remove warnings and use pr_level

2011-03-30 Thread Corentin Chary
-info.html -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line unsubscribe platform-driver-x86 in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 1/3] asus-laptop: remove removed features from feature-removal-schedule.txt

2011-03-30 Thread Corentin Chary
commit 3b81cf9d558c57406b4ed9b0d2639113d1d428b6 removed those features. Signed-off-by: Corentin Chary corentin.ch...@gmail.com --- Documentation/feature-removal-schedule.txt | 20 1 files changed, 0 insertions(+), 20 deletions(-) diff --git a/Documentation/feature-removal

[PATCH 2/3] asus-wmi: swap input name and phys

2011-03-30 Thread Corentin Chary
Signed-off-by: Corentin Chary corentin.ch...@gmail.com --- drivers/platform/x86/asus-wmi.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c index efc776c..832a3fd7 100644 --- a/drivers/platform/x86/asus

[PATCH 3/3] eeepc-wmi: add keys found on EeePC 1215T

2011-03-30 Thread Corentin Chary
Signed-off-by: Corentin Chary corentin.ch...@gmail.com --- drivers/platform/x86/eeepc-wmi.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c index 0ddc434..649dcad 100644 --- a/drivers/platform/x86/eeepc

Re: [PATCH 01/23] asus-wmi: Remove __init from asus_wmi_platform_init

2011-03-31 Thread Corentin Chary
On Wed, Mar 30, 2011 at 12:21 AM, Joe Perches j...@perches.com wrote: It's used by a non-init function. Signed-off-by: Joe Perches j...@perches.com Acked-by: Corentin Chary corenti...@iksaif.net ---  drivers/platform/x86/asus-wmi.c |    2 +-  1 files changed, 1 insertions(+), 1 deletions

Re: [PATCH 04/23] asus: Add pr_fmt and convert printks to pr_level

2011-03-31 Thread Corentin Chary
On Wed, Mar 30, 2011 at 12:21 AM, Joe Perches j...@perches.com wrote: Add pr_fmt, prefixes each log message. Convert printks to pr_level. Convert pr_warning to pr_warn. Signed-off-by: Joe Perches j...@perches.com Acked-by: Corentin Chary corenti...@iksaif.net ---  drivers/platform/x86

Re: [PATCH 07/23] eeepc: Use pr_warn

2011-03-31 Thread Corentin Chary
On Wed, Mar 30, 2011 at 12:21 AM, Joe Perches j...@perches.com wrote: Just a trivial pr_warning to pr_warn conversion while adding a few missing newlines. Signed-off-by: Joe Perches j...@perches.com Acked-by: Corentin Chary corenti...@iksaif.net ---  drivers/platform/x86/eeepc-laptop.c

Re: [PATCH 3/4] asus-laptop: Pegatron Lucid accelerometer

2011-03-31 Thread Corentin Chary
test platform printk On Mon, Mar 28, 2011 at 3:36 PM, Andy Ross andy.r...@windriver.com wrote: [combined responses for clarity] Corentin Chary wrote: Wow :/ How long is an acpi_evaluate_integer call here ? Early on I benchmarked the per-axis ACPI calls about about 50us, which is shockingly

Re: [PATCH 3/4] asus-laptop: Pegatron Lucid accelerometer

2011-04-07 Thread Corentin Chary
On Thu, Apr 7, 2011 at 5:56 PM, Anisse Astier ani...@astier.eu wrote: On Mon, 4 Apr 2011 17:16:05 +, Corentin Chary corentin.ch...@gmail.com wrote : On Thu, Mar 31, 2011 at 7:23 AM, Corentin Chary corentin.ch...@gmail.com wrote: snip Just to try to fix the crash in a more cleaner way

Re: asus-wmi for Asus G73SW

2011-04-11 Thread Corentin Chary
Zhang Rui, maybe he can help us here. -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line unsubscribe platform-driver-x86 in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

What's the state of i915: Add native backlight controllogin register about ?

2011-04-21 Thread Corentin Chary
/ (and the rest the the series) would fix the issue in a more cleaner way. I didn't found any re-send or new version., what's the current status of this series ? Thanks, -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line unsubscribe platform-driver-x86 in the body

Re: [PATCH] asus-laptop: Remove historic reminder of the pre sparse-keymap era

2011-05-10 Thread Corentin Chary
{        struct backlight_device *backlight_device;        struct input_dev *inputdev; -       struct key_entry *keymap;        struct asus_led mled;        struct asus_led tled; -- 1.7.4.3 I remember writing the exact same patch, but it seems that it was lost. Acked-by: Corentin Chary corenti

Re: [PATCH] x86: Don't enable EEEPC_LAPTOP in default configs

2011-05-19 Thread Corentin Chary
probably not a 901 or a 701, and CONFIG_EEEPC_WMI=y should be used instead :). -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line unsubscribe platform-driver-x86 in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: [PATCH 2/4] acer-wmi: check the existence of internal 3G device when set capability

2011-05-23 Thread Corentin Chary
you can drop sysfs files like that, as it will break the ABI. Could you document acer-wmi in Documentation/ABI/testing/sysfs-platform-acer-wmi.txt ? This allows to check when a sysfs file was added, who use it, etc... Thanks, -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from

Re: [PATCH 2/4] acer-wmi: check the existence of internal 3G device when set capability

2011-05-23 Thread Corentin Chary
the ABI without any notice. I would be more confortable with one or two cycle with this feature marked as deprecated and scheduled for removal. -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line unsubscribe platform-driver-x86 in the body of a message to majord

Re: [PATCH 3/3] ideapad: Show negative when no camera

2011-06-02 Thread Corentin Chary
to majord...@vger.kernel.org More majordomo info at  http://vger.kernel.org/majordomo-info.html I think it would be better to not add the file when the camera is not available. Another option is to return -ENODEV. But printing -1 doesn't seems right. -- Corentin Chary http://xf.iksaif.net

  1   2   3   >