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
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
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
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
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
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)
>>
>>
.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
> 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
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
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
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
);
> - } 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
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
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
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
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.
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
. 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
-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
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
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
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
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
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
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
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
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
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
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
-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
> 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.
>
+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;
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
_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();
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
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
", 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
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
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
; 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
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
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
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
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
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
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
DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG"),
> + DMI_MATCH(DMI_PRODUCT_NAME, "Lumpy"),
> + },
> + .callback = setup_isl29018_als,
> + },
> + { }
> +};
> +MODULE_DEVICE_TABLE(dmi, chromeos_laptop_
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
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
+ {
> + .ident = "Samsung Series 5 550 - Light Sensor",
> + .matches = {
> + DMI_MATCH(DMI_PRODUCT_NAME, "Lumpy"),
> + },
> + .callback = setup_isl29018_als,
Maybe you should matc
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
-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(-
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
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
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
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
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
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
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
>
> -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
@@ -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
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
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
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
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:
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&
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:/
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
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
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
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
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
>>&
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
>&
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
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,
; +++ 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;
>
>
+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_
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
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
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
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
}
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
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
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
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
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,
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
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.
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
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
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
--
};
> +
> +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
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
--
(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
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
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&
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
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
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
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 - 100 of 468 matches
Mail list logo