dell-smbios-base: Extends support to Alienware products
Subsystems (2)
PATCH 1/2 dell-smbios-base: Extends support to Alienware products
Fixes the following error:
dell_smbios: Unable to run on non-Dell system
Which is triggered after dell-wmi driver fails to initialize on Alienware systems, as it depends on dell-smbios.
This effectively adds dell-wmi and dell-smbios support to Alienware products.
--- drivers/platform/x86/dell/dell-smbios-base.c | 1 + 1 file changed, 1 insertion(+)
drivers/platform/x86/dell/dell-smbios-base.c +1 -0
@@ -576,6 +576,7 @@ static int __init dell_smbios_init(void)int ret, wmi, smm;if (!dmi_find_device (DMI_DEV_TYPE_OEM_STRING ,"Dell System" ,NULL ) && + !dmi_find_device (DMI_DEV_TYPE_OEM_STRING ,"Alienware" ,NULL ) && !dmi_find_device (DMI_DEV_TYPE_OEM_STRING ,"www.dell.com" ,NULL )) {pr_err ("Unable to run on non-Dell system\n" );return -ENODEV ;
Signature · 1 line
2.47.0
PATCH 2/2 dell-wmi-base: Handle Win-key Lock/Unlock events
Some Alienware devices have a key that locks/unlocks the Win-key. This key triggers a WMI event that should be ignored, as it's handled internally by the firmware.
--- drivers/platform/x86/dell/dell-wmi-base.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/platform/x86/dell/dell-wmi-base.c +6 -0
@@ -80,6 +80,12 @@ static const struct dmi_system_id dell_wmi_smbios_list[] __initconst = {static const struct key_entry dell_wmi_keymap_type_0000[] = { {KE_IGNORE ,0x003a , {KEY_CAPSLOCK } }, +/* Win-key Lock */ + {KE_IGNORE ,0xe000 , {KEY_RESERVED } }, + +/* Win-key Unlock */ + {KE_IGNORE ,0xe001 , {KEY_RESERVED } }, +/* Key code is followed by brightness level */ {KE_KEY ,0xe005 , {KEY_BRIGHTNESSDOWN } }, {KE_KEY ,0xe006 , {KEY_BRIGHTNESSUP } },
Signature · 1 line
2.47.0
Pali Rohár
maintainerQuoted 20 lines · On Wednesday 30 October 2024 15:12:45 Kurt Borja wrote:
Fixes the following error:
dell_smbios: Unable to run on non-Dell systemWhich is triggered after dell-wmi driver fails to initialize on Alienware systems, as it depends on dell-smbios.
This effectively adds dell-wmi and dell-smbios support to Alienware products.
Signed-off-by Kurt Borja <[email protected]>--- drivers/platform/x86/dell/dell-smbios-base.c | 1 + 1 file changed, 1 insertion(+)drivers/platform/x86/dell/dell-smbios-base.c +0
-0
drivers/platform/x86/dell/dell-smbios-base.c static int __init dell_smbios_init(void) · line 579
Quoted 4 lines
drivers/platform/x86/dell/dell-smbios-base.c +1
-0@@ -576,6 +576,7 @@ static int __init dell_smbios_init(void)int ret, wmi, smm; if (!dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Dell System", NULL) && + !dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Alienware", NULL) &&
Are we sure that all devices with "Alienware" OEM string supports this SMBIOS API?
Quoted 6 lines
drivers/platform/x86/dell/dell-smbios-base.c +0
-0!dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "www.dell.com", NULL)) {pr_err ("Unable to run on non-Dell system\n" );return -ENODEV ;Signature · 1 line
2.47.0
Pali Rohár
maintainerRe: [PATCH 2/2] dell-wmi-base: Handle Win-key Lock/Unlock events
In reply to Kurt BorjaQuoted 1 line · On Wednesday 30 October 2024 15:15:33 Kurt Borja wrote:
Some Alienware devices have a key that locks/unlocks the Win-key. This
Please specify (in comment / commit message) which devices. It would help other developers in future to track for which device is this event needed.
Quoted 2 lines
key triggers a WMI event that should be ignored, as it's handled internally by the firmware.
Can be this handling in FW ignored? So OS can use this key for any other functionality?
Anyway, what is that Win-key and its lock?
Quoted 10 lines
Signed-off-by Kurt Borja <[email protected]>--- drivers/platform/x86/dell/dell-wmi-base.c | 6 ++++++ 1 file changed, 6 insertions(+)drivers/platform/x86/dell/dell-wmi-base.c +0
-0
drivers/platform/x86/dell/dell-wmi-base.c static const struct dmi_system_id dell_wmi_smbios_list[] __initconst = { · line 84
Quoted 5 lines
drivers/platform/x86/dell/dell-wmi-base.c +2
-0@@ -80,6 +80,12 @@ static const struct dmi_system_id dell_wmi_smbios_list[] __initconst = {static const struct key_entry dell_wmi_keymap_type_0000[] = { {KE_IGNORE ,0x003a , {KEY_CAPSLOCK } }, +/* Win-key Lock */ + {KE_IGNORE ,0xe000 , {KEY_RESERVED } },
nit: code style: spaces around KEY_RESERVED.
Is not there some better constant for this KEY_*?
Quoted 10 lines
drivers/platform/x86/dell/dell-wmi-base.c +4
-0+ +/* Win-key Unlock */ + { KE_IGNORE, 0xe001, {KEY_RESERVED} }, +/* Key code is followed by brightness level */ { KE_KEY, 0xe005, { KEY_BRIGHTNESSDOWN } }, { KE_KEY, 0xe006, { KEY_BRIGHTNESSUP } },Signature · 1 line
2.47.0
Quoted 23 lines · Pali Rohár
Quoted 22 lines · On Wednesday 30 October 2024 15:12:45 Kurt Borja wrote:
Fixes the following error:
dell_smbios: Unable to run on non-Dell systemWhich is triggered after dell-wmi driver fails to initialize on Alienware systems, as it depends on dell-smbios.
This effectively adds dell-wmi and dell-smbios support to Alienware products.
Signed-off-by Kurt Borja <[email protected]>--- drivers/platform/x86/dell/dell-smbios-base.c | 1 + 1 file changed, 1 insertion(+)drivers/platform/x86/dell/dell-smbios-base.c +0
-0@@ -576,6 +576,7 @@ static int __init dell_smbios_init(void)int ret, wmi, smm;
Quoted 4 lines
drivers/platform/x86/dell/dell-smbios-base.c static int __init dell_smbios_init(void) · line 579
Quoted 2 lines
drivers/platform/x86/dell/dell-smbios-base.c +1
-0if (!dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Dell System", NULL) && + !dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Alienware", NULL) &&Are we sure that all devices with "Alienware" OEM string supports this SMBIOS API?
No, I am not sure.
However, I believe this driver is intended for general Dell SMBIOS implementations and automatically checks for support. I know this doesn't necessarily extend to Alienware, so I hope some of the Dell maintainers could shine some light on us.
I tested this on an Alienware x15 R1 and only some SMBIOS features work, but no errors and dell-wmi-base works perfectly.
Quoted 7 lines
Quoted 7 lines
drivers/platform/x86/dell/dell-smbios-base.c +0
-0!dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "www.dell.com", NULL)) {pr_err ("Unable to run on non-Dell system\n" );return -ENODEV ;Signature · 1 line
2.47.0
Pali Rohár
maintainerQuoted 31 lines · On Wednesday 30 October 2024 17:01:11 Kurt Borja wrote:
Quoted 23 lines · Pali Rohár
Quoted 22 lines · On Wednesday 30 October 2024 15:12:45 Kurt Borja wrote:
Fixes the following error:
dell_smbios: Unable to run on non-Dell systemWhich is triggered after dell-wmi driver fails to initialize on Alienware systems, as it depends on dell-smbios.
This effectively adds dell-wmi and dell-smbios support to Alienware products.
Signed-off-by Kurt Borja <[email protected]>--- drivers/platform/x86/dell/dell-smbios-base.c | 1 + 1 file changed, 1 insertion(+)drivers/platform/x86/dell/dell-smbios-base.c +0
-0@@ -576,6 +576,7 @@ static int __init dell_smbios_init(void)int ret, wmi, smm;Quoted 4 lines
drivers/platform/x86/dell/dell-smbios-base.c static int __init dell_smbios_init(void) · line 579
Quoted 2 lines
drivers/platform/x86/dell/dell-smbios-base.c +1
-0if (!dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Dell System", NULL) && + !dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Alienware", NULL) &&Are we sure that all devices with "Alienware" OEM string supports this SMBIOS API?
No, I am not sure.
Quoted 7 lines
However, I believe this driver is intended for general Dell SMBIOS implementations and automatically checks for support. I know this doesn't necessarily extend to Alienware, so I hope some of the Dell maintainers could shine some light on us.
I tested this on an Alienware x15 R1 and only some SMBIOS features work, but no errors and dell-wmi-base works perfectly.
This is good to know. You should write into commit message on which platform you have tested this change. In case there would be some issues in future, it will help to for example whitelist working machines.
I asked for this because for example dell hwmon driver has explicit list of working and non-working devices. And on some dell some machines just calling hwmon API cause issues...
So it is not just theoretical problem that allowing all devices from Dell with some generic OEM string can cause issues.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
drivers/platform/x86/dell/dell-smbios-base.c +0
-0!dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "www.dell.com", NULL)) {pr_err ("Unable to run on non-Dell system\n" );return -ENODEV ;Signature · 1 line
2.47.0
Re: [PATCH 2/2] dell-wmi-base: Handle Win-key Lock/Unlock events
In reply to Pali RohárQuoted 6 lines · Pali Rohár
Quoted 1 line · On Wednesday 30 October 2024 15:15:33 Kurt Borja wrote:
Some Alienware devices have a key that locks/unlocks the Win-key. This
Please specify (in comment / commit message) which devices. It would help other developers in future to track for which device is this event needed.
I will!
Quoted 6 lines
Quoted 3 lines
key triggers a WMI event that should be ignored, as it's handled internally by the firmware.
Can be this handling in FW ignored? So OS can use this key for any other functionality?
Probably not. FW locks the Win-key regardless of how the event is handled.
Quoted 2 lines
Anyway, what is that Win-key and its lock?
Win-key is the LEFTMETA key and the lock key is the RIGHTMETA key.
Quoted 14 lines
Quoted 14 lines
Signed-off-by Kurt Borja <[email protected]>--- drivers/platform/x86/dell/dell-wmi-base.c | 6 ++++++ 1 file changed, 6 insertions(+)drivers/platform/x86/dell/dell-wmi-base.c +0
-0@@ -80,6 +80,12 @@ static const struct dmi_system_id dell_wmi_smbios_list[] __initconst = {static const struct key_entry dell_wmi_keymap_type_0000[] = { {KE_IGNORE ,0x003a , {KEY_CAPSLOCK } },
Quoted 4 lines
drivers/platform/x86/dell/dell-wmi-base.c static const struct dmi_system_id dell_wmi_smbios_list[] __initconst = { · line 84
Quoted 2 lines
drivers/platform/x86/dell/dell-wmi-base.c +2
-0+/* Win-key Lock */ + { KE_IGNORE, 0xe000, {KEY_RESERVED} },nit: code style: spaces around
KEY_RESERVED.
I will fix it.
Quoted 2 lines
Is not there some better constant for this KEY_*?
We could assign it KEY_RIGHTMETA.
Quoted 11 lines
Quoted 11 lines
drivers/platform/x86/dell/dell-wmi-base.c +4
-0+ +/* Win-key Unlock */ + { KE_IGNORE, 0xe001, {KEY_RESERVED} }, +/* Key code is followed by brightness level */ { KE_KEY, 0xe005, { KEY_BRIGHTNESSDOWN } }, { KE_KEY, 0xe006, { KEY_BRIGHTNESSUP } },Signature · 1 line
2.47.0
Pali Rohár
maintainerRe: [PATCH 2/2] dell-wmi-base: Handle Win-key Lock/Unlock events
Quoted 17 lines · On Wednesday 30 October 2024 17:11:40 Kurt Borja wrote:
Quoted 6 lines · Pali Rohár
Quoted 1 line · On Wednesday 30 October 2024 15:15:33 Kurt Borja wrote:
Some Alienware devices have a key that locks/unlocks the Win-key. This
Please specify (in comment / commit message) which devices. It would help other developers in future to track for which device is this event needed.
I will!
Quoted 6 lines
Quoted 3 lines
key triggers a WMI event that should be ignored, as it's handled internally by the firmware.
Can be this handling in FW ignored? So OS can use this key for any other functionality?
Quoted 7 lines
Probably not. FW locks the Win-key regardless of how the event is handled.
Quoted 2 lines
Anyway, what is that Win-key and its lock?
Win-key is the LEFTMETA key and the lock key is the RIGHTMETA key.
Ok, thanks for info.
So if the firmware handles and process RIGHTMETA key, it means that the RIGHTMETA key is not usable for generic purposes on this machine?
Quoted 19 lines
Quoted 14 lines
Quoted 14 lines
Signed-off-by Kurt Borja <[email protected]>--- drivers/platform/x86/dell/dell-wmi-base.c | 6 ++++++ 1 file changed, 6 insertions(+)drivers/platform/x86/dell/dell-wmi-base.c +0
-0@@ -80,6 +80,12 @@ static const struct dmi_system_id dell_wmi_smbios_list[] __initconst = {static const struct key_entry dell_wmi_keymap_type_0000[] = { {KE_IGNORE ,0x003a , {KEY_CAPSLOCK } },Quoted 4 lines
drivers/platform/x86/dell/dell-wmi-base.c static const struct dmi_system_id dell_wmi_smbios_list[] __initconst = { · line 84
Quoted 2 lines
drivers/platform/x86/dell/dell-wmi-base.c +2
-0+/* Win-key Lock */ + { KE_IGNORE, 0xe000, {KEY_RESERVED} },nit: code style: spaces around
KEY_RESERVED.
Quoted 6 lines
I will fix it.
Quoted 2 lines
Is not there some better constant for this KEY_*?
We could assign it
KEY_RIGHTMETA.
Just to note that if the key is marked with KE_IGNORE, its value is not used. But for documentation purposes it is a good idea to have written there something other than KEY_RESERVED -- if it is possible.
For example it can be useful if somebody in future figure out how to turn off processing of this key in firmware...
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
drivers/platform/x86/dell/dell-wmi-base.c +4
-0+ +/* Win-key Unlock */ + { KE_IGNORE, 0xe001, {KEY_RESERVED} }, +/* Key code is followed by brightness level */ { KE_KEY, 0xe005, { KEY_BRIGHTNESSDOWN } }, { KE_KEY, 0xe006, { KEY_BRIGHTNESSUP } },Signature · 1 line
2.47.0
Quoted 37 lines · Pali Rohár
Quoted 36 lines · On Wednesday 30 October 2024 17:01:11 Kurt Borja wrote:
Quoted 23 lines · Pali Rohár
Quoted 22 lines · On Wednesday 30 October 2024 15:12:45 Kurt Borja wrote:
Fixes the following error:
dell_smbios: Unable to run on non-Dell systemWhich is triggered after dell-wmi driver fails to initialize on Alienware systems, as it depends on dell-smbios.
This effectively adds dell-wmi and dell-smbios support to Alienware products.
Signed-off-by Kurt Borja <[email protected]>--- drivers/platform/x86/dell/dell-smbios-base.c | 1 + 1 file changed, 1 insertion(+)drivers/platform/x86/dell/dell-smbios-base.c +0
-0@@ -576,6 +576,7 @@ static int __init dell_smbios_init(void)int ret, wmi, smm;Quoted 4 lines
drivers/platform/x86/dell/dell-smbios-base.c static int __init dell_smbios_init(void) · line 579
Quoted 2 lines
drivers/platform/x86/dell/dell-smbios-base.c +1
-0if (!dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Dell System", NULL) && + !dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Alienware", NULL) &&Are we sure that all devices with "Alienware" OEM string supports this SMBIOS API?
No, I am not sure.
However, I believe this driver is intended for general Dell SMBIOS implementations and automatically checks for support. I know this doesn't necessarily extend to Alienware, so I hope some of the Dell maintainers could shine some light on us.
Quoted 6 lines
Quoted 2 lines
I tested this on an Alienware x15 R1 and only some SMBIOS features work, but no errors and dell-wmi-base works perfectly.
This is good to know. You should write into commit message on which platform you have tested this change. In case there would be some issues in future, it will help to for example whitelist working machines.
Perfect. I will.
Quoted 7 lines
I asked for this because for example dell hwmon driver has explicit list of working and non-working devices. And on some dell some machines just calling hwmon API cause issues...
So it is not just theoretical problem that allowing all devices from Dell with some generic OEM string can cause issues.
Yes, makes sense.
Also it is worth to mention that I checked a bunch of acpidumps of different Dell models. I found three main ACPI implementations shared between Dell's G-Series (which uses OEM STRING "Dell System") and Alienware X and M-Series. Obviously there might be some key differences I'm ignoring, but it tells me the SMBIOS interface is probably implemented similarily.
These three laptop series are all relatively new, this probably doesn't apply to older Alienware devices.
Kurt
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
drivers/platform/x86/dell/dell-smbios-base.c +0
-0!dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "www.dell.com", NULL)) {pr_err ("Unable to run on non-Dell system\n" );return -ENODEV ;Signature · 1 line
2.47.0
Re: [PATCH 2/2] dell-wmi-base: Handle Win-key Lock/Unlock events
In reply to Pali RohárQuoted 22 lines · Pali Rohár
Quoted 21 lines · On Wednesday 30 October 2024 17:11:40 Kurt Borja wrote:
Quoted 6 lines · Pali Rohár
Quoted 1 line · On Wednesday 30 October 2024 15:15:33 Kurt Borja wrote:
Some Alienware devices have a key that locks/unlocks the Win-key. This
Please specify (in comment / commit message) which devices. It would help other developers in future to track for which device is this event needed.
I will!
Quoted 6 lines
Quoted 3 lines
key triggers a WMI event that should be ignored, as it's handled internally by the firmware.
Can be this handling in FW ignored? So OS can use this key for any other functionality?
Probably not. FW locks the Win-key regardless of how the event is handled.
Quoted 1 line
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
Anyway, what is that Win-key and its lock?
Win-key is the LEFTMETA key and the lock key is the RIGHTMETA key.
Ok, thanks for info.
So if the firmware handles and process RIGHTMETA key, it means that the RIGHTMETA key is not usable for generic purposes on this machine?
Yes, it is not. Unless, of course we find a way to change FW default behavior.
Quoted 25 lines
Quoted 25 lines
Quoted 15 lines
Quoted 15 lines
Signed-off-by Kurt Borja <[email protected]>--- drivers/platform/x86/dell/dell-wmi-base.c | 6 ++++++ 1 file changed, 6 insertions(+)drivers/platform/x86/dell/dell-wmi-base.c +0
-0@@ -80,6 +80,12 @@ static const struct dmi_system_id dell_wmi_smbios_list[] __initconst = {static const struct key_entry dell_wmi_keymap_type_0000[] = { {KE_IGNORE ,0x003a , {KEY_CAPSLOCK } },Quoted 4 lines
drivers/platform/x86/dell/dell-wmi-base.c static const struct dmi_system_id dell_wmi_smbios_list[] __initconst = { · line 84
Quoted 2 lines
drivers/platform/x86/dell/dell-wmi-base.c +2
-0+/* Win-key Lock */ + { KE_IGNORE, 0xe000, {KEY_RESERVED} },nit: code style: spaces around
KEY_RESERVED.I will fix it.
Quoted 2 lines
Is not there some better constant for this KEY_*?
Quoted 8 lines
Quoted 1 line
We could assign it
KEY_RIGHTMETA.Just to note that if the key is marked with
KE_IGNORE, its value is not used. But for documentation purposes it is a good idea to have written there something other thanKEY_RESERVED-- if it is possible.For example it can be useful if somebody in future figure out how to turn off processing of this key in firmware...
Thanks I will replace it with KEY_RIGHTMETA.
Kurt
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
drivers/platform/x86/dell/dell-wmi-base.c +4
-0+ +/* Win-key Unlock */ + { KE_IGNORE, 0xe001, {KEY_RESERVED} }, +/* Key code is followed by brightness level */ { KE_KEY, 0xe005, { KEY_BRIGHTNESSDOWN } }, { KE_KEY, 0xe006, { KEY_BRIGHTNESSUP } },Signature · 1 line
2.47.0
Pali Rohár
maintainerRe: [PATCH 2/2] dell-wmi-base: Handle Win-key Lock/Unlock events
Quoted 27 lines · On Wednesday 30 October 2024 17:37:38 Kurt Borja wrote:
Quoted 26 lines · Pali Rohár
Quoted 24 lines · On Wednesday 30 October 2024 17:11:40 Kurt Borja wrote:
Quoted 6 lines · Pali Rohár
Quoted 1 line · On Wednesday 30 October 2024 15:15:33 Kurt Borja wrote:
Some Alienware devices have a key that locks/unlocks the Win-key. This
Please specify (in comment / commit message) which devices. It would help other developers in future to track for which device is this event needed.
I will!
Quoted 6 lines
Quoted 3 lines
key triggers a WMI event that should be ignored, as it's handled internally by the firmware.
Can be this handling in FW ignored? So OS can use this key for any other functionality?
Probably not. FW locks the Win-key regardless of how the event is handled.
Quoted 2 lines
Anyway, what is that Win-key and its lock?
Win-key is the LEFTMETA key and the lock key is the RIGHTMETA key.
Quoted 7 lines
Quoted 4 lines
Ok, thanks for info.
So if the firmware handles and process RIGHTMETA key, it means that the RIGHTMETA key is not usable for generic purposes on this machine?
Yes, it is not. Unless, of course we find a way to change FW default behavior.
That is sad... and also (negatively) surprising for me that another generic-purpose key is behaving in this way. Mentioning this in commit message would be useful as this is really something unexpected.
Quoted 50 lines
Quoted 25 lines
Quoted 25 lines
Quoted 15 lines
Quoted 15 lines
Signed-off-by Kurt Borja <[email protected]>--- drivers/platform/x86/dell/dell-wmi-base.c | 6 ++++++ 1 file changed, 6 insertions(+)drivers/platform/x86/dell/dell-wmi-base.c +0
-0@@ -80,6 +80,12 @@ static const struct dmi_system_id dell_wmi_smbios_list[] __initconst = {static const struct key_entry dell_wmi_keymap_type_0000[] = { {KE_IGNORE ,0x003a , {KEY_CAPSLOCK } },Quoted 4 lines
drivers/platform/x86/dell/dell-wmi-base.c static const struct dmi_system_id dell_wmi_smbios_list[] __initconst = { · line 84
Quoted 2 lines
drivers/platform/x86/dell/dell-wmi-base.c +2
-0+/* Win-key Lock */ + { KE_IGNORE, 0xe000, {KEY_RESERVED} },nit: code style: spaces around
KEY_RESERVED.I will fix it.
Quoted 2 lines
Is not there some better constant for this KEY_*?
Quoted 8 lines
Quoted 1 line
We could assign it
KEY_RIGHTMETA.Just to note that if the key is marked with
KE_IGNORE, its value is not used. But for documentation purposes it is a good idea to have written there something other thanKEY_RESERVED-- if it is possible.For example it can be useful if somebody in future figure out how to turn off processing of this key in firmware...
Thanks I will replace it with
KEY_RIGHTMETA.Kurt
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
drivers/platform/x86/dell/dell-wmi-base.c +4
-0+ +/* Win-key Unlock */ + { KE_IGNORE, 0xe001, {KEY_RESERVED} }, +/* Key code is followed by brightness level */ { KE_KEY, 0xe005, { KEY_BRIGHTNESSDOWN } }, { KE_KEY, 0xe006, { KEY_BRIGHTNESSUP } },Signature · 1 line
2.47.0