thinkpad-wmi

2015-09-29 Thread Corentin Chary
ay to expose WMI devices to userspace yet. The code is still living here: https://github.com/iksaif/thinkpad-wmi and I will need to test it on a few models before sending it for review, but feel free to test and look at it. Thanks, -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this

Re: [PATCH] asus-wmi: restore kbd led level after resume

2015-09-15 Thread Corentin Chary
On Tue, Sep 15, 2015 at 3:56 PM, Corentin Chary wrote: > > > On Mon, Sep 14, 2015 at 11:16 AM, Oleksij Rempel > wrote: >> >> Afters suspend/resume cycle with closed lid the kbd backlight level >> is lost. This patch will will restore this value to last known level

Re: [PATCH] asus-nb-wmi: Add wapf=4 quirk for X456UA/X456UF

2015-09-08 Thread Corentin Chary
On Mon, Sep 7, 2015 at 3:55 PM, Daniel Drake wrote: > On Sun, Sep 6, 2015 at 2:40 AM, Corentin Chary > wrote: >> Looks good. >> >> Acked-by: Corentin Chary >> >> I'd like to get somebody from Asus help us guess these values instead >> of just har

Re: [PATCH] asus-nb-wmi: Add wapf=4 quirk for X456UA/X456UF

2015-09-06 Thread Corentin Chary
Looks good. Acked-by: Corentin Chary I'd like to get somebody from Asus help us guess these values instead of just hard-coding them.. Unfortunately I have no contact with them anymore. On Fri, Sep 4, 2015 at 12:54 AM, Darren Hart wrote: > On Wed, Sep 02, 2015 at 04:10:34PM -0600, Dani

Re: [PATCH v2] asus-laptop: Add key found on Asus F3M

2015-08-12 Thread Corentin Chary
t; >> I have not tested this mapping on any other Asus laptop. >> >> Signed-off-by: Łukasz Stelmach > > Thanks Łukasz. > > Corentin, any concerns? Acked-by: Corentin Chary Sorry for the delay, I won't really have a stable internet connection until October. > >&g

Re: [PATCH][v2] asus-rbtn: new driver for asus radio button for Windows 8

2015-07-12 Thread Corentin Chary
aptop >> driver or not. >> >> (I intended to do that review myself, but I haven't found the time in 48 >> hours, >> so I'm just going to send this out and ask that Alex have a look and provide >> his >> thoughts on asus-laptop) >> >>

Re: [PATCH] asus-nb-wmi: Add wapf4 quirk for X200MA

2015-06-04 Thread Corentin Chary
.callback = dmi_matched, > .ident = "ASUSTeK COMPUTER INC. X401U", > .matches = { > DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), > -- > 1.9.1 > Acked-by: Corentin Chary http://xf.iksaif.net -- To uns

Re: [PATCH 2/3] asus-wmi: Use acpi_video_unregister_backlight instead of acpi_video_unregister

2015-06-04 Thread Corentin Chary
> the canonical source for brightness events I believe that the latter case > will needs to be handled on a case by case basis by filtering out the > duplicate keypresses at the other source for them. > > Cc: Corentin Chary > Cc: acpi4asus-u...@lists.sourceforge.net > Signed-off-by: Ha

Re: [PATCH 3/3] samsung-laptop: Use acpi_video_unregister_backlight instead of acpi_video_unregister

2015-06-04 Thread Corentin Chary
is > the canonical source for brightness events I believe that the latter case > will needs to be handled on a case by case basis by filtering out the > duplicate keypresses at the other source for them. > > Cc: Corentin Chary > Signed-off-by: Hans de Goede > --- > drivers

Re: [PATCH] platform: add samsung-wmi driver for newer Samsung laptops

2015-04-16 Thread Corentin Chary
return 0; > +//err5: > + led_classdev_unregister(&samsung_wmi_kbd_backlight_led); > +err4: Instead of 'errX' please give a name related to what happen after the label (or what failed just before) > + device_remove_file(&samsung_wmi_device->dev

Re: [PATCH] samsung-laptop: enable better lid handling

2015-01-27 Thread Corentin Chary
0); >> if (attr == &dev_attr_usb_charge.attr) >> ok = !!(read_usb_charge(samsung) >= 0); >> + if (attr == &dev_attr_lid_handling.attr) >> + ok = !!(read_lid_handling(samsung) >= 0); >> >> return ok ? attr->mode

Re: [PATCH v2 3/3] asus-laptop: cleanup is_visible

2015-01-20 Thread Corentin Chary
); > - } else { > - supported = true; > + } else if (index == 9) { > + ret = asus->is_pega_lucid || > + (!acpi_check_handle(handle, METHOD_ALS_CONTROL, NULL) > && > +!acpi_check_handle(handle, METHOD_ALS_LEVE

Re: [GIT] x86 platform driver updates for 3.8

2013-03-06 Thread Corentin Chary
side the merge > window. Was this re-sent for 3.9 ? Or will this hit 3.10 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/majordomo-info.html

Re: [PATCH TRIVIAL] asus-wmi: Fix unused function build warning

2013-01-23 Thread Corentin Chary
sus-wmi.c > @@ -1353,11 +1353,6 @@ static int is_display_toggle(int code) > return 0; > } > > -static void do_nothing(void) > -{ > - return; > -} > - > static void asus_wmi_notify(u32 value, void *context) > { > struct asus_wmi *asus = c

Re: [PATCH] samsung-laptop: Set keyboard backlight initially

2013-01-03 Thread Corentin Chary
Sorry for the lag... On Mon, Dec 24, 2012 at 12:55 PM, Roland Stigge wrote: > On 24/12/12 09:41, Corentin Chary wrote: >> On Sun, Dec 23, 2012 at 6:21 PM, Roland Stigge wrote: >>> After boot, >>> /sys/devices/platform/samsung/leds/samsung::kbd_backlight/brightness

Re: [PATCH] samsung-laptop: Set keyboard backlight initially

2012-12-24 Thread Corentin Chary
f the led is set to 0, what's the value after reboot ? 0 or 8 ? What's the behavior on windows ? -- 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.

Re: [PATCH] samsung-laptop: Add quirk for broken acpi_video backlight on N250P

2012-12-09 Thread Corentin Chary
Acked-By: Corentin Chary Matthew could you merge this one too ? Thanks, On Wed, Dec 5, 2012 at 10:08 PM, Seth Forshee wrote: > BugLink: http://bugs.launchpad.net/bugs/1086921 > Cc: sta...@vger.kernel.org # v3.4+ > Signed-off-by: Seth Forshee > --- > drivers/platform/x86/s

Re: [PATCH] ACPI ALS driver for iio introduced.

2012-12-02 Thread Corentin Chary
. Do you have any idea how to expose mentioned mapping table? Both will > be added in further patch. I don't see how test_bit(0, (long[]){1}) could return -1. Are you sure of these values ? Could you add some printk before and after the test, and show us the trace ? -- Corentin Chary http://x

[PATCH 08/11] asus-wmi: add display toggle quirk

2012-11-29 Thread Corentin Chary
-by: AceLan Kao Signed-off-by: Corentin Chary Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-nb-wmi.c | 31 ++- drivers/platform/x86/asus-wmi.c| 26 +++--- drivers/platform/x86/asus-wmi.h|7 +++ 3 files changed, 60 i

[PATCH 07/11] asus-nb-wmi: add all video switch keys

2012-11-29 Thread Corentin Chary
From: AceLan Kao Fill up all the video switch keys in the map. Signed-off-by: AceLan Kao Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-nb-wmi.c | 22 +++--- 1 files changed, 19 insertions(+), 3 deletions(-) diff --git a/drivers/platform/x86/asus-nb-wmi.c b

[PATCH 05/11] asus-laptop: add all video switch keys

2012-11-29 Thread Corentin Chary
From: AceLan Kao Fill up all the video switch keys in the map. Signed-off-by: AceLan Kao Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-laptop.c | 26 +++--- 1 files changed, 23 insertions(+), 3 deletions(-) diff --git a/drivers/platform/x86/asus-laptop.c

[PATCH 06/11] asus-nb-wmi: correct a touchpad hotkey mapping

2012-11-29 Thread Corentin Chary
From: AceLan Kao 0x60 is touchpad enable key, but is misdefined in the keymap. Signed-off-by: AceLan Kao Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-nb-wmi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/platform/x86/asus-nb-wmi.c b

[PATCH 03/11] asus-{nb-wmi|laptop}.c: sync keymaps

2012-11-29 Thread Corentin Chary
Maybe this should be shared in another module... Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-laptop.c | 36 ++-- drivers/platform/x86/asus-nb-wmi.c | 24 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a

[PATCH 02/11] asus-laptop: map some new keys

2012-11-29 Thread Corentin Chary
Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-laptop.c |3 +++ drivers/platform/x86/asus-nb-wmi.c |1 + 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c index 4b568df..68257ed 100644

[PATCH 11/11] asus-laptop: always report brightness key events

2012-11-29 Thread Corentin Chary
Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-laptop.c | 24 1 files changed, 16 insertions(+), 8 deletions(-) diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c index 0fc4e30..a8a7755 100644 --- a/drivers/platform/x86

[PATCH 10/11] asus-wmi: always report brightness key events

2012-11-29 Thread Corentin Chary
Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-nb-wmi.c |2 ++ drivers/platform/x86/asus-wmi.c|8 drivers/platform/x86/asus-wmi.h|2 ++ drivers/platform/x86/eeepc-wmi.c |2 ++ 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers

[PATCH 09/11] asus-laptop: Do not call HWRS on init

2012-11-29 Thread Corentin Chary
t, don't bother calling it on init. Those who are curious can still get the result through the 'infos' device attribute. Update the comment about HWRS in show_infos(). Reported-by: ryan References: http://bugs.debian.org/692436 Signed-off-by: Ben Hutchings Signed-off-by: Corentin Ch

[PATCH 04/11] asus-laptop: correct a touchpad hotkey mapping

2012-11-29 Thread Corentin Chary
From: AceLan Kao 0x60 is touchpad enable key, but is misdefined in the keymap. Signed-off-by: AceLan Kao Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-laptop.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/platform/x86/asus-laptop.c b

[PATCH 01/11] platform-drivers-x86: change my mail

2012-11-29 Thread Corentin Chary
Signed-off-by: Corentin Chary --- MAINTAINERS|4 ++-- drivers/platform/x86/asus-nb-wmi.c |2 +- drivers/platform/x86/asus-wmi.c|2 +- drivers/platform/x86/eeepc-wmi.c |2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/MAINTAINERS b

[PATCH 00/11] acpi4asus updates

2012-11-29 Thread Corentin Chary
-wmi: add all video switch keys asus-wmi: add display toggle quirk Ben Hutchings (1): asus-laptop: Do not call HWRS on init Corentin Chary (5): platform-drivers-x86: change my mail asus-laptop: map some new keys asus-{nb-wmi|laptop}.c: sync keymaps asus-wmi: always report brightness key

Re: A weird rfkill problem after rebooting the system

2012-11-29 Thread Corentin Chary
> 2012/11/27 Corentin Chary : >> On Tue, Nov 27, 2012 at 8:28 AM, Johannes Berg >> wrote: >>> On Tue, 2012-11-27 at 14:35 +0800, AceLan Kao wrote: >>>> Hi, >>>> >>>> I encountered a strange rfkill problem on the ASUS laptop. >

Re: [PATCH] ACPI ALS driver for iio introduced.

2012-11-29 Thread Corentin Chary
+chip->device = device; > +mutex_init(&chip->lock); > + > +indio_dev->info = &acpi_als_info; > +indio_dev->channels = acpi_als_channels; > +indio_dev->num_channels = ARRAY_SIZE(acpi_als_channels); > +indio_dev->name = ACPI_ALS_DEVICE_NAME;

Re: [PATCH 6/6] Add MSI Wind WMI support

2012-11-27 Thread Corentin Chary
On Tue, Nov 27, 2012 at 3:55 PM, Maxim Mikityanskiy wrote: > 2012/11/27 Corentin Chary : >> On Tue, Nov 27, 2012 at 8:14 AM, joeyli wrote: >>> Hi Maxim, >>> >>> 於 日,2012-11-25 於 00:29 +0200,Maxim Mikityanskiy 提到: >>>> Create a driver to su

Re: [PATCH 6/6] Add MSI Wind WMI support

2012-11-27 Thread Corentin Chary
_init(void) >> +{ >> + int err; >> + >> + if (!wmi_has_guid(WMI_EVENT_GUID)) { >> + pr_err("No MSI Wind WMI found\n"); >> + return -ENODEV; >> + } >> + >> + err = wind_input_setup();

Re: [PATCH] asus-laptop: Do not call HWRS on init

2012-11-09 Thread Corentin Chary
On Fri, Nov 9, 2012 at 2:00 PM, Ben Hutchings wrote: > On Fri, 2012-11-09 at 09:20 +0000, Corentin Chary wrote: >> On Fri, Nov 9, 2012 at 9:12 AM, Corentin Chary >> wrote: >> > On Fri, Nov 9, 2012 at 3:07 AM, Ben Hutchings wrote: >> >> Since commit 8871e9

Re: [PATCH] asus-laptop: Do not call HWRS on init

2012-11-09 Thread Corentin Chary
On Fri, Nov 9, 2012 at 9:12 AM, Corentin Chary wrote: > On Fri, Nov 9, 2012 at 3:07 AM, Ben Hutchings wrote: >> Since commit 8871e99f89b7 ('asus-laptop: HRWS/HWRS typo'), module >> initialisation is very slow on the Asus UL30A. The HWRS method takes >> about 12

Re: [PATCH] asus-laptop: Do not call HWRS on init

2012-11-09 Thread Corentin Chary
", NULL, &hwrs_result); > - if (!ACPI_FAILURE(status)) > - pr_notice(" HWRS returned %x", (int)hwrs_result); > - > if (!acpi_check_handle(asus->handle, METHOD_WL_STATUS, NULL)) > asus->have_rsts = true; > > > Acked-by: 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

Re: [PATCH] asus-wmi: preserve the bt rfkill status if wapf=4

2012-11-08 Thread Corentin Chary
1.7.10.4 > > -- > 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 -- 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] samsung-laptop: Disable if CONFIG_EFI=y

2012-11-05 Thread Corentin Chary
On Sun, Nov 4, 2012 at 7:37 PM, Alan Cox wrote: >> Acked-by: Corentin Chary > > This is totally bogus and prevents users build a kernel which can work in > either mode. As such its a regression. Arg.. Sorry for that, I didn't realized that CONFIG_EFI=y was not something ra

Re: [PATCH] samsung-laptop: Disable if CONFIG_EFI=y

2012-11-04 Thread Corentin Chary
; This module seems to be the culprit as it's grovelling around in the > 0xf region which has no mapping in either the e820 or EFI memory > maps on the affected machines. > > Reported-by: Alessandro Crismani > Reported-by: Mikhail Bakhterev > Tested-by: Patrick H > Cc: H. P

Re: [PATCH v2 1/1] Platform: x86: Add Chrome OS Laptop driver

2012-11-02 Thread Corentin Chary
On Fri, Nov 2, 2012 at 1:09 PM, Olof Johansson wrote: > On Fri, Nov 2, 2012 at 2:03 PM, Corentin Chary > wrote: >> On Fri, Nov 2, 2012 at 12:45 PM, Olof Johansson wrote: >>> On Fri, Oct 26, 2012 at 10:30 AM, Corentin Chary >>> wrote: >>> >>>&g

Re: [PATCH v2 1/1] Platform: x86: Add Chrome OS Laptop driver

2012-11-02 Thread Corentin Chary
On Fri, Nov 2, 2012 at 12:45 PM, Olof Johansson wrote: > On Fri, Oct 26, 2012 at 10:30 AM, Corentin Chary > wrote: > >> Looks better, but I'm curious, what is the final purpose of this driver ? >> What ABI will be exposed, who will use it ? >> >> If it i

Re: How to implement ACPI EC support?

2012-11-02 Thread Corentin Chary
On Fri, Nov 2, 2012 at 11:49 AM, Sebastian Riemer wrote: > On 02.11.2012 12:46, Corentin Chary wrote: >> On Fri, Nov 2, 2012 at 11:43 AM, Sebastian Riemer >> wrote: >>> >>> Nope, I guess not. There is no MOF stuff in the DSDT. >> Really ? No methods/bu

Re: How to implement ACPI EC support?

2012-11-02 Thread Corentin Chary
On Fri, Nov 2, 2012 at 11:43 AM, Sebastian Riemer wrote: > > First of all: Thank you very much for your responses! > > On 02.11.2012 10:57, Corentin Chary wrote: > > On Fri, Nov 2, 2012 at 2:12 AM, Henrique de Moraes Holschuh > > wrote: > > > >> It was

Re: How to implement ACPI EC support?

2012-11-02 Thread Corentin Chary
mp http://msdn.microsoft.com/en-us/library/windows/hardware/ff565588 http://glucik.blogspot.com/2011/12/mof-decompilation.html (!!! the tool is Wmimofck.exe not wmiofck.exe) -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line "unsubscribe platform-drive

Re: ACPI ambient light sensor

2012-10-27 Thread Corentin Chary
ou can also build you kernel with debug symbols and trace support, and use ftrace to trace the kernel calls: http://lwn.net/Articles/365835/. -- 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 v2 1/1] Platform: x86: Add Chrome OS Laptop driver

2012-10-26 Thread Corentin Chary
DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG"), > + DMI_MATCH(DMI_PRODUCT_NAME, "Lumpy"), > + }, > + .callback = setup_isl29018_als, > + }, > + { } > +}; > +MODULE_DEVICE_TABLE(dmi, chromeos_laptop_

Re: samsung-laptop: Samsung 530U3C major ACPI issues

2012-10-24 Thread Corentin Chary
On Wed, Oct 24, 2012 at 5:05 PM, Sebastian Riemer wrote: > Hi Corentin, > > On 24.10.2012 17:24, Corentin Chary wrote: >> samsung-laptop doesn't use ACPI, only SABI interface. > > I thought it does for the video driver/backlight control. The strange > thing is that th

Re: samsung-laptop: Samsung 530U3C major ACPI issues

2012-10-24 Thread Corentin Chary
ebug data from "dmesg" and "lshw" from Fedora > 17. The kernel messages already indicate ACPI issues. > > How can we support you with getting the 530U3C support into the > samsung-laptop driver? Unfortunately, this doesn't seems to be related to samsung-laptop

Re: [PATCH] Platform: x86: Add Chrome OS Laptop driver

2012-10-24 Thread Corentin Chary
+ { > + .ident = "Samsung Series 5 550 - Light Sensor", > + .matches = { > + DMI_MATCH(DMI_PRODUCT_NAME, "Lumpy"), > + }, > + .callback = setup_isl29018_als, Maybe you should matc

[PATCH 7/8] asus-nb-wmi: add all video switch keys

2012-10-03 Thread Corentin Chary
From: AceLan Kao Fill up all the video switch keys in the map. Signed-off-by: AceLan Kao Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-nb-wmi.c | 22 +++--- 1 files changed, 19 insertions(+), 3 deletions(-) diff --git a/drivers/platform/x86/asus-nb-wmi.c b

[PATCH 8/8] asus-wmi: add display toggle quirk

2012-10-03 Thread Corentin Chary
-by: AceLan Kao Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-nb-wmi.c | 31 ++- drivers/platform/x86/asus-wmi.c| 31 --- drivers/platform/x86/asus-wmi.h|7 +++ 3 files changed, 65 insertions(+), 4 deletions(-

[PATCH 5/8] asus-laptop: add all video switch keys

2012-10-03 Thread Corentin Chary
From: AceLan Kao Fill up all the video switch keys in the map. Signed-off-by: AceLan Kao Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-laptop.c | 26 +++--- 1 files changed, 23 insertions(+), 3 deletions(-) diff --git a/drivers/platform/x86/asus-laptop.c

[PATCH 6/8] asus-nb-wmi: correct a touchpad hotkey mapping

2012-10-03 Thread Corentin Chary
From: AceLan Kao 0x60 is touchpad enable key, but is misdefined in the keymap. Signed-off-by: AceLan Kao Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-nb-wmi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/platform/x86/asus-nb-wmi.c b

[PATCH 4/8] asus-laptop: correct a touchpad hotkey mapping

2012-10-03 Thread Corentin Chary
From: AceLan Kao 0x60 is touchpad enable key, but is misdefined in the keymap. Signed-off-by: AceLan Kao Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-laptop.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/platform/x86/asus-laptop.c b

[PATCH 3/8] asus-{nb-wmi|laptop}.c: sync keymaps

2012-10-03 Thread Corentin Chary
Maybe this should be shared in another module... Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-laptop.c | 36 ++-- drivers/platform/x86/asus-nb-wmi.c | 24 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a

[PATCH 1/8] platform-drivers-x86: change my mail

2012-10-03 Thread Corentin Chary
Signed-off-by: Corentin Chary --- MAINTAINERS|4 ++-- drivers/platform/x86/asus-nb-wmi.c |2 +- drivers/platform/x86/asus-wmi.c|2 +- drivers/platform/x86/eeepc-wmi.c |2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/MAINTAINERS b

[PATCH 2/8] asus-laptop: map some new keys

2012-10-03 Thread Corentin Chary
Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-laptop.c |3 +++ drivers/platform/x86/asus-nb-wmi.c |1 + 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c index 4b568df..68257ed 100644

[PATCH 0/8] ACPI4Asus and friends updates

2012-10-03 Thread Corentin Chary
From: Corentin Chary Hi Matthew, Some patches collected from AceLan and me for asus related drivers. Nothing big, mainly keymaps and quirks. Thanks, AceLan Kao (5): asus-laptop: correct a touchpad hotkey mapping asus-laptop: add all video switch keys asus-nb-wmi: correct a touchpad hotkey

Re: [PATCH] asus-wmi: use ASUS_WMI_METHODID_DSTS2 as default DSTS ID.

2012-09-18 Thread Corentin Chary
> > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.12 (GNU/Linux) > > iEYEARECAAYFAlBYSzUACgkQjUF4jpCSQBQpbgCfSUUvaZbs1krkcRKa8iTcyKxA > 7AQAn1NfXugZ5553+Z9LOB46lJqFcXt8 > =avwS > -END PGP SIGNATURE- > -- Corentin Chary http://xf.iksaif.net -- To unsubscribe fr

Re: [PATCH] asus-wmi: add display toggle quirk

2012-09-17 Thread Corentin Chary
@@ -41,12 +41,14 @@ struct quirk_entry { > bool store_backlight_power; > bool wmi_backlight_power; > int wapf; > + int no_display_toggle; > }; > > struct asus_wmi_driver { > int brightness; > int

Re: samsung-laptop: light sensor?

2012-09-10 Thread Corentin Chary
On Mon, Sep 10, 2012 at 12:09 PM, Alexander Holler wrote: > Am 10.09.2012 11:27, schrieb Corentin Chary: >> On Sun, Sep 9, 2012 at 8:31 PM, Alexander Holler >> wrote: >>> Hello, >>> >>> I'm searching some information about how to read the values

Re: samsung-laptop: light sensor?

2012-09-10 Thread Corentin Chary
but it should use another subsystem, and nobody did the work so far :). I'll happy to review if you have the time to do that. -- 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 m

Re: [PATCH 1/3] drivers-platform-x86: remove useless #ifdef CONFIG_ACPI_VIDEO

2012-09-07 Thread Corentin Chary
On Mon, Aug 20, 2012 at 10:01 PM, Corentin Chary wrote: > Signed-off-by: Corentin Chary > --- > drivers/platform/x86/acer-wmi.c |2 -- > drivers/platform/x86/apple-gmux.c |4 > drivers/platform/x86/asus-wmi.c |4 > drivers/platform/x8

Re: Bug#649253: eeepc-wmi does not seem to adjust fan speed, but prevents use of fancontrol

2012-09-02 Thread Corentin Chary
ink the wmi interface should be used when available, because it's the one asus is using on Windows. Fan control was kind of working using a methods that were probably not covered by Asus ACPI "ABI". So my point of view is "not supported by vendor on windows, hard to do with wmi:

Re: [PATCH 1/2] asus-nb-wmi: correct a touchpad hotkey mapping

2012-08-28 Thread Corentin Chary
ver-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 -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86&

Re: [PATCH 2/2] asus-nb-wmi: add all video switch keys

2012-08-28 Thread Corentin Chary
0xc5, { KEY_KBDILLUMDOWN } }, > -- > 1.7.9.5 Looks good. Remember that asus-laptop share the same keymap, so please also patch this file. If you got other keys, or better description for some of them, feel free to patch that too. Thanks, Acked-By: Corentin Chary -- Corentin Chary http:/

[PATCH 2/3] asus-laptop: HRWS/HWRS typo

2012-08-20 Thread Corentin Chary
Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-laptop.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c index e38f91b..110c777 100644 --- a/drivers/platform/x86/asus-laptop.c

[PATCH 3/3] platform/x86: fix asus_laptop.wled_type description

2012-08-20 Thread Corentin Chary
From: Maxim Nikulin MODULE_PARM_DESC for wlan_status is further in the same file Signed-off-by: Maxim A. Nikulin Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-laptop.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/x86/asus-laptop.c b

[PATCH 1/3] drivers-platform-x86: remove useless #ifdef CONFIG_ACPI_VIDEO

2012-08-20 Thread Corentin Chary
Signed-off-by: Corentin Chary --- drivers/platform/x86/acer-wmi.c |2 -- drivers/platform/x86/apple-gmux.c |4 drivers/platform/x86/asus-wmi.c |4 drivers/platform/x86/samsung-laptop.c |4 4 files changed, 14 deletions(-) diff --git a/drivers

[PATCH 0/3] platform-x86 updates for next 3.6 rc

2012-08-20 Thread Corentin Chary
Hi Matthew, Some patches for platform x86 drivers that should be merged ASAP. The CONFIG_ACPI_VIDEO patch is especially important since new demote/promote mechanism is currently broken when ACPI_VIDEO=m Thanks, Corentin Chary (2): drivers-platform-x86: remove useless #ifdef CONFIG_ACPI_VIDEO

Re: asus-wmi.ko should be loaded before video.ko

2012-08-09 Thread Corentin Chary
On Thu, Aug 9, 2012 at 5:29 AM, AceLan Kao wrote: > Dear Corentin, > > 2012/8/9 Carlos Alberto Lopez Perez : >> On 08/08/12 11:34, Corentin Chary wrote: >>>> The problem is that the /sys/class/backlight/acpi_video0 directory still >>>> exists >>&

Re: asus-wmi.ko should be loaded before video.ko

2012-08-08 Thread Corentin Chary
On Wed, Aug 8, 2012 at 10:13 AM, AceLan Kao wrote: > Dear Corentin, > > 2012/8/7 Corentin Chary : >> On Tue, Aug 7, 2012 at 11:26 AM, AceLan Kao wrote: >>> Hi, >>> >>> The new commit[1] will call acpi_video_dmi_promote_vendor() to add >&

Re: asus-wmi.ko should be loaded before video.ko

2012-08-07 Thread Corentin Chary
r to respect acpi_video="" parameters if user specified them) - if necessary, acpi_video_unregister() is called So yes, the acpi backlight will be register, and then un-registered, but there is no way to fix that (or with a big blacklist in video.ko, and we don't want that). Thanks

Re: [PATCH] asus-wmi: update wlan LED through rfkill led trigger

2012-07-28 Thread Corentin Chary
On Sat, Jul 28, 2012 at 11:51 AM, Corentin Chary wrote: > On Fri, Jul 27, 2012 at 10:51 AM, AceLan Kao wrote: >> For those machines with wapf=4, BIOS won't update the wireless LED, >> since wapf=4 means user application will take in chage of the wifi and bt. >> So,

Re: [PATCH 1/2] asus-wmi: record wlan status while controlled by userapp

2012-07-28 Thread Corentin Chary
; +++ b/drivers/platform/x86/asus-wmi.h > @@ -45,6 +45,7 @@ struct quirk_entry { > struct asus_wmi_driver { > int brightness; > int panel_power; > + int wlan_ctrl_by_user; > >

Re: [PATCH] asus-wmi: update wlan LED through rfkill led trigger

2012-07-28 Thread Corentin Chary
+882,9 @@ static int asus_new_rfkill(struct asus_wmi *asus, > if (!*rfkill) > return -EINVAL; > > + if (dev_id == ASUS_WMI_DEVID_WLAN) > + rfkill_set_led_trigger_name(*rfkill, "asus-wlan"); > + > rfkill_init_

Re: [PATCH 2/2] asus-wmi: update wlan LED through rfkill led trigger

2012-07-27 Thread Corentin Chary
On Fri, Jul 27, 2012 at 4:20 AM, AceLan Kao wrote: > Dear Corentin, > > 2012/7/26 Corentin Chary : >> On Thu, Jul 26, 2012 at 10:12 AM, AceLan Kao >> wrote: >>> Dear Corentin, >>> >>> 2012/7/26 Corentin Chary : >>>> On Thu, Jul 2

Re: [PATCH 2/2] asus-wmi: update wlan LED through rfkill led trigger

2012-07-26 Thread Corentin Chary
On Thu, Jul 26, 2012 at 10:12 AM, AceLan Kao wrote: > Dear Corentin, > > 2012/7/26 Corentin Chary : >> On Thu, Jul 26, 2012 at 5:34 AM, AceLan Kao wrote: >>> For those machines with wapf=4, BIOS won't update the wireless LED, >>> since wapf=4 means user appl

Re: [PATCH 1/2] asus-wmi: record wlan status while controlled by userapp

2012-07-25 Thread Corentin Chary
tform/x86/asus-wmi.h > index d43b667..cbe7ee2 100644 > --- a/drivers/platform/x86/asus-wmi.h > +++ b/drivers/platform/x86/asus-wmi.h > @@ -45,6 +45,7 @@ struct quirk_entry { > struct asus_wmi_driver { > int brightness; > int panel_powe

Re: [PATCH 2/2] asus-wmi: update wlan LED through rfkill led trigger

2012-07-25 Thread Corentin Chary
sus_wmi *asus, > if (!*rfkill) > return -EINVAL; > > + if (dev_id == ASUS_WMI_DEVID_WLAN) > + rfkill_set_led_trigger_name(*rfkill, "asus-wlan"); > + I think this is only needed because leds are created before rfkill switchs. You

Re: [PATCH 2/2] asus-wmi: update wireless LED explicitly

2012-07-25 Thread Corentin Chary
} For this one, if it's really a led, please expose it using the generic led class and assign it a default trigger linked to asus rfkill state. Also, only expose the led if really present (if there is a way to know that). Thanks, -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from

Re: [PATCH 1/2] asus-wmi: record wlan status while controlling by user app

2012-07-25 Thread Corentin Chary
to store the wlan status if > ASUS_WMI_DSTS_USER_BIT is set. > And old machines won't set ASUS_WMI_DSTS_USER_BIT bit. > Ok then. I'll be happy to review the fixed patch (static variable, check in init, etc.). Could you provide the output of updated dmesg | grep asus on this machine too ? T

Re: [PATCH 1/2] asus-wmi: record wlan status while controlling by user app

2012-07-24 Thread Corentin Chary
On Tue, Jul 24, 2012 at 9:11 AM, AceLan Kao wrote: > 2012/7/24 Corentin Chary : >> On Tue, Jul 24, 2012 at 8:37 AM, AceLan Kao wrote: >>> Dear Corentin, >>> >>> From ASUS, for old machines, they use 0x00010012 to turn on/off the wlan led >>> but now u

Re: [PATCH 1/2] asus-wmi: record wlan status while controlling by user app

2012-07-23 Thread Corentin Chary
e a way to know if this is the case or not in the current machine ? Using ASUS_WMI_METHODID_SPEC for example (returns the BIOS WMI version) ? -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the

Re: [PATCH 1/2] asus-wmi: record wlan status while controlling by user app

2012-07-23 Thread Corentin Chary
On Mon, Jul 23, 2012 at 5:27 AM, AceLan Kao wrote: > Dear Corentin, > > 2012/7/20 Corentin Chary : >> On Fri, Jul 20, 2012 at 5:26 AM, AceLan Kao wrote: >>> If the user bit is set, that mean BIOS can't set and record the wlan >>> status,

Re: [PATCH 1/2] asus-wmi: record wlan status while controlling by user app

2012-07-19 Thread Corentin Chary
ASUS_WMI_DEVID_WLAN_LED; > + } > + > + result = asus_wmi_set_devstate(dev_id, ctrl_param, NULL); > + > + return result; > } > > static void asus_rfkill_query(struct rfkill *rfkill, void *data) While this patch work, I'll prefer an approach using a le

Re: [PATCH 0/7] platform-drivers-x86: backlight, samsung and asus

2012-07-15 Thread Corentin Chary
On Fri, Jun 29, 2012 at 2:16 PM, Corentin Chary wrote: > On Tue, Jun 26, 2012 at 8:42 PM, Matthew Garrett wrote: >> I think I'm fine with this. Whose tree should it go through? > > Yours would probably be easier, > Thanks Hi Matthew, Any news on this series ? Thanks.

Re: [PATCH] asus-nb-wmi: add wapf quirk for ASUS machines

2012-07-15 Thread Corentin Chary
On Mon, Jul 16, 2012 at 7:42 AM, Corentin Chary wrote: > On Wed, Jul 4, 2012 at 5:19 AM, AceLan Kao wrote: >> The BIOS of these machines will try to enable/disable wifi/bt in >> their own sqeuence. It won't read the enable/disable parameter >> in WMI command, but j

Re: [PATCH] asus-nb-wmi: add wapf quirk for ASUS machines

2012-07-15 Thread Corentin Chary
DMI_MATCH(DMI_PRODUCT_NAME, "X55VD"), > + }, > + .driver_data = &quirk_asus_x401u, > + }, > + {}, > }; > > static void asus_nb_wmi_quirks(struct asus_wmi_driver *driver) > { > - driver->quirks = &quirk_asus_unknow

Re: [PATCH] asus-nb-wmi: add some video toggle keys

2012-07-15 Thread Corentin Chary
0xA3, { KEY_SWITCHVIDEOMODE } }, /* SDSP TV + HDMI */ > { KE_KEY, 0xb5, { KEY_CALC } }, > { KE_KEY, 0xc4, { KEY_KBDILLUMUP } }, > { KE_KEY, 0xc5, { KEY_KBDILLUMDOWN } }, > -- > 1.7.9.5 > Acked-by: Corentin Chary -- Corentin Chary http://xf.iksaif.net --

Re: [PATCH] Platform: x86: Add Chrome OS Laptop driver

2012-07-15 Thread Corentin Chary
}; > + > +static int __init chromeos_laptop_init(void) > +{ > + if (!dmi_check_system(chromeos_laptop_dmi_table)) { > + pr_debug("%s unsupported system.\n", __func__); > + return -ENODEV; > + } > + return 0; > +} > + > +static void __exit chromeos_laptop_exit(void) > +{ > + if (als) > + i2c_unregister_device(als); > + if (tp) > + i2c_unregister_device(tp); > +} > + > +module_init(chromeos_laptop_init); > +module_exit(chromeos_laptop_exit); > + > +MODULE_DESCRIPTION("Chrome OS Laptop driver"); > +MODULE_AUTHOR("Benson Leung "); > +MODULE_LICENSE("GPL"); > -- > 1.7.7.3 > > -- > 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 Maybe you'd like to add this for autoloading ? MODULE_DEVICE_TABLE(dmi, chromeos_laptop_dmi_table); -- 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] backlight: add support for disabling backlights via sysfs

2012-06-29 Thread Corentin Chary
hat our implementation of the IGD opregion is broken, > but Intel won't hand over newer versions of the spec. If you see > problems with the acpi backlight interface on Intel graphics then that > should be the default assumption. > > -- > Matthew Garrett | mj...@srcf.ucam.org --

Re: [PATCH] asus-wmi: use ASUS_WMI_METHODID_DSTS2 as default DSTS ID.

2012-06-29 Thread Corentin Chary
(asus->driver->quirks->wapf >= 0) > -- > 1.7.0.4 > Hum, I don't like acking patches referencing documentation I can't read, but I don't really have the choice ! Matthew, could you merge this one ? Thanks, Acked-By: Corentin Chary -- Corentin Chary http://x

Re: [PATCH 1/7] acpi: add a way to promote/demote vendor backlight drivers

2012-06-29 Thread Corentin Chary
On Wed, Jun 27, 2012 at 12:19 AM, Mattia Dongili wrote: > Hi Corentin, > > On Wed, Jun 13, 2012 at 09:32:01AM +0200, Corentin Chary wrote: > ... >> +/* Promote the vendor interface instead of the generic video module. >> + * This function allow DMI blacklists to be

Re: [PATCH 0/7] platform-drivers-x86: backlight, samsung and asus

2012-06-29 Thread Corentin Chary
On Tue, Jun 26, 2012 at 8:42 PM, Matthew Garrett wrote: > I think I'm fine with this. Whose tree should it go through? Yours would probably be easier, Thanks -- Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86&

[PATCH 6/7] asus-wmi: control backlight power through WMI, not ACPI

2012-06-14 Thread Corentin Chary
ceLan Kao Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-wmi.c |5 + drivers/platform/x86/asus-wmi.h |1 + drivers/platform/x86/eeepc-wmi.c | 25 - 3 files changed, 30 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86/asus-wm

[PATCH 2/7] drivers-platform-x86: use acpi_video_dmi_promote_vendor()

2012-06-14 Thread Corentin Chary
Instead of using directly acpi_video_unregister(), use acpi_video_dmi_promote_vendor() (and make it call acpi_video_unregister() if needed) Signed-off-by: Corentin Chary --- drivers/platform/x86/acer-wmi.c | 14 +++--- drivers/platform/x86/apple-gmux.c |2 ++ drivers

Re: [PATCH 2/7] drivers-platform-x86: use acpi_video_dmi_promote_vendor()

2012-06-14 Thread Corentin Chary
On Thu, Jun 14, 2012 at 11:58 AM, joeyli wrote: > Hi Corentin, > > 於 三,2012-06-13 於 09:32 +0200,Corentin Chary 提到: >> Instead of using directly acpi_video_unregister(), use >> acpi_video_dmi_promote_vendor() (and make it call >> acpi_video_unregister() if needed) &g

[PATCH 4/7] acpi/video_detect: blacklist samsung x360

2012-06-13 Thread Corentin Chary
er call to acpi_video_unregister(). Signed-off-by: Corentin Chary --- drivers/acpi/video_detect.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c index 942fa2a..b728880 100644 --- a/drivers/acpi/video_dete

  1   2   3   4   5   >