[PATCH v4 0/3] platform/x86: dell-wmi: new keys

2020-06-10 Thread Y Paritcher
change since v3: No code changes. Update commit message to reflect info given by Mario at dell. Is there anything more i have to do for the patches that were reviewed or will they be picked up by the maintainers? Thanks Y Paritcher (3): platform/x86: dell-wmi: add new backlight

[PATCH v4 1/3] platform/x86: dell-wmi: add new backlight events

2020-06-10 Thread Y Paritcher
will be handled by acpi-video Signed-off-by: Y Paritcher --- drivers/platform/x86/dell-wmi.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c index c25a4286d766..0b2edfe2767d 100644 --- a/drivers/platform/x86/dell-wmi.c +++ b

[PATCH v4 3/3] platform/x86: dell-wmi: add new dmi mapping for keycode 0xffff

2020-06-10 Thread Y Paritcher
entry means and add it to bios_to_linux_keycode. Signed-off-by: Y Paritcher --- drivers/platform/x86/dell-wmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c index e3bc2601e631..bbdb3e860892 100644 --- a/dr

[PATCH v4 2/3] platform/x86: dell-wmi: add new keymap type 0x0012

2020-06-10 Thread Y Paritcher
when pressing the Fn-lock key on a Dell Inspiron 5593: dell_wmi: Unknown WMI event type 0x12 dell_wmi: Unknown key with type 0x0012 and code 0xe035 pressed This is consistent with the behavior for the Fn-lock key elsewhere in this file. Signed-off-by: Y Paritcher --- drivers/platform/x86/dell

[PATCH v3 0/3] platform/x86: dell-wmi: new keys

2020-06-08 Thread Y Paritcher
. Overall I am trying to get useless data (to me) out of my syslog by documenting the correct scancode/keycode mappings Y Paritcher (3): platform/x86: dell-wmi: add new backlight events platform/x86: dell-wmi: add new keymap type 0x0012 platform/x86: dell-wmi: add new dmi mapping for keycode

[PATCH v3 3/3] platform/x86: dell-wmi: add new dmi mapping for keycode 0xffff

2020-06-08 Thread Y Paritcher
ycode. Signed-off-by: Y Paritcher --- drivers/platform/x86/dell-wmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c index e3bc2601e631..bbdb3e860892 100644 --- a/drivers/platform/x86/dell-wmi.c +++ b/drivers/pla

[PATCH v3 2/3] platform/x86: dell-wmi: add new keymap type 0x0012

2020-06-08 Thread Y Paritcher
when pressing the Fn-lock key on a Dell Inspiron 5593: dell_wmi: Unknown WMI event type 0x12 dell_wmi: Unknown key with type 0x0012 and code 0xe035 pressed This is consistent with the behavior for the Fn-lock key elsewhere in this file. Signed-off-by: Y Paritcher --- drivers/platform/x86/dell

[PATCH v3 1/3] platform/x86: dell-wmi: add new backlight events

2020-06-08 Thread Y Paritcher
will be handled by acpi-video Signed-off-by: Y Paritcher --- drivers/platform/x86/dell-wmi.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c index c25a4286d766..0b2edfe2767d 100644 --- a/drivers/platform/x86/dell-wmi.c +++ b

[PATCH v2 1/3] platform/x86: dell-wmi: add new backlight events

2020-06-08 Thread Y Paritcher
will be handled by acpi-video Signed-off-by: Y Paritcher --- drivers/platform/x86/dell-wmi.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c index c25a4286d766..0b2edfe2767d 100644 --- a/drivers/platform/x86/dell-wmi.c +++ b

[PATCH v2 2/3] platform/x86: dell-wmi: add new keymap type 0x0012

2020-06-08 Thread Y Paritcher
when pressing the Fn-lock key on a Dell Inspiron 5593: dell_wmi: Unknown WMI event type 0x12 dell_wmi: Unknown key with type 0x0012 and code 0xe035 pressed This is consistent with the behavior for the Fn-lock key elsewhere in this file. Signed-off-by: Y Paritcher --- drivers/platform/x86/dell

[PATCH v2 0/3] platform/x86: dell-wmi: new keys

2020-06-08 Thread Y Paritcher
extended data can be added. messages of type: firmware scancode 0xXX maps to unrecognized keycode 0x are from unknown keycodes in the DMI table and should be added to bios_to_linux_keycode to allow them to be processed. Y Paritcher (3): platform/x86: dell-wmi: add new backlight events

[PATCH v2 3/3] platform/x86: dell-wmi: add new dmi keys to bios_to_linux_keycode

2020-06-08 Thread Y Paritcher
2 DMI table, for which the corosponding keys are not known. Now when a user will encounter this key, a proper message wil be printed: dell_wmi: Unknown key with type 0x and code 0x pressed This will then allow the key to be identified properly. Signed-off-by: Y Paritcher --- dr

Re: [PATCH v2 2/3] platform/x86: dell-wmi: add new keymap type 0x0012

2020-06-08 Thread Y Paritcher
On 6/8/20 8:26 PM, mario.limoncie...@dell.com wrote: >> -Original Message- >> From: Pali Rohár >> Sent: Monday, June 8, 2020 6:33 PM >> To: Y Paritcher >> Cc: linux-kernel@vger.kernel.org; platform-driver-...@vger.kernel.org; >> Matthew Garrett; Limon

Re: [PATCH v2 3/3] platform/x86: dell-wmi: add new dmi keys to bios_to_linux_keycode

2020-06-08 Thread Y Paritcher
On 6/8/20 7:55 PM, Pali Rohár wrote: > Hello! > > On Monday 08 June 2020 16:27:10 Randy Dunlap wrote: >> Hi-- >> >> On 6/8/20 4:05 PM, Y Paritcher wrote: >>> Increase length of bios_to_linux_keycode to 2 bytes (the true size of a >>> keycode) to allo

Re: [PATCH 2/3] platform/x86: dell-wmi: add new keymap type 0x0012

2020-06-08 Thread Y Paritcher
On 6/8/20 6:00 PM, mario.limoncie...@dell.com wrote: >> >> this is the WMI event from pressing the Fn lock key. >> this indicates which mode it is switching to. >> >> this changes if the default for pressing the F[1-12] should be Function or >> media. >> the scancodes of the Fn keys are properly tr

Re: [PATCH 2/3] platform/x86: dell-wmi: add new keymap type 0x0012

2020-06-08 Thread Y Paritcher
On 6/8/20 4:36 PM, mario.limoncie...@dell.com wrote: >> -Original Message- >> From: Y Paritcher >> Sent: Monday, June 8, 2020 3:13 PM >> To: Limonciello, Mario >> Cc: linux-kernel@vger.kernel.org; platform-driver-...@vger.kernel.org; >> mj...@srcf.ucam

Re: [PATCH 2/3] platform/x86: dell-wmi: add new keymap type 0x0012

2020-06-08 Thread Y Paritcher
On 6/8/20 11:40 AM, mario.limoncie...@dell.com wrote: >> -Original Message- >> From: platform-driver-x86-ow...@vger.kernel.org > ow...@vger.kernel.org> On Behalf Of Y Paritcher >> Sent: Sunday, June 7, 2020 11:22 PM >> Cc: linux-kernel@vger.kernel.org; platf

Re: [PATCH 2/3] platform/x86: dell-wmi: add new keymap type 0x0012

2020-06-08 Thread Y Paritcher
On 6/8/20 4:50 AM, Pali Rohár wrote: > Hello! > > On Monday 08 June 2020 00:22:25 Y Paritcher wrote: >> Ignore events with a type of 0x0012 and a code of 0xe035, >> this silences the following messages being logged when >> pressing the Fn-lock key on a Dell Inspiron

Re: [PATCH 3/3] platform/x86: dell-wmi: add keys to bios_to_linux_keycode

2020-06-08 Thread Y Paritcher
On 6/8/20 11:46 AM, mario.limoncie...@dell.com wrote: >> -Original Message- >> From: platform-driver-x86-ow...@vger.kernel.org > ow...@vger.kernel.org> On Behalf Of Pali Rohár >> Sent: Monday, June 8, 2020 4:00 AM >> To: Y Paritcher >> Cc: linux-ker

Re: [PATCH 1/3] platform/x86: dell-wmi: add new backlight events

2020-06-08 Thread Y Paritcher
On 6/8/20 11:30 AM, mario.limoncie...@dell.com wrote: >> -Original Message- >> From: platform-driver-x86-ow...@vger.kernel.org > ow...@vger.kernel.org> On Behalf Of Pali Rohár >> Sent: Monday, June 8, 2020 3:35 AM >> To: Y Paritcher >> Cc: linux-ker

[PATCH 3/3] platform/x86: dell-wmi: add keys to bios_to_linux_keycode

2020-06-07 Thread Y Paritcher
keycode 0x Signed-off-by: Y Paritcher --- drivers/platform/x86/dell-wmi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c index f37e7e9093c2..5ef716e3034f 100644 --- a/drivers/platform/x86/dell-wmi.c +++ b

[PATCH 0/3] platform/x86: dell-wmi: new keys

2020-06-07 Thread Y Paritcher
add new backlight events with a type of 0x0010 and a code of 0x57 / 0x58, add a new keymap type table 0x0012 for keycode of 0xe035 from the Fn-lock key extend bios_to_linux_keycode to 2 bytes to allow for a new keycode 0x Y Paritcher (3): platform/x86: dell-wmi: add new backlight events

[PATCH 1/3] platform/x86: dell-wmi: add new backlight events

2020-06-07 Thread Y Paritcher
Ignore events with a type of 0x0010 and a code of 0x57 / 0x58, this silences the following messages being logged on a Dell Inspiron 5593: dell_wmi: Unknown key with type 0x0010 and code 0x0057 pressed dell_wmi: Unknown key with type 0x0010 and code 0x0058 pressed Signed-off-by: Y Paritcher

[PATCH 2/3] platform/x86: dell-wmi: add new keymap type 0x0012

2020-06-07 Thread Y Paritcher
Ignore events with a type of 0x0012 and a code of 0xe035, this silences the following messages being logged when pressing the Fn-lock key on a Dell Inspiron 5593: dell_wmi: Unknown WMI event type 0x12 dell_wmi: Unknown key with type 0x0012 and code 0xe035 pressed Signed-off-by: Y Paritcher