2018-06-14 11:54:52 +10:00
|
|
|
# Do not edit this file, it will be overwritten on update
|
|
|
|
|
|
2021-04-10 17:45:01 +02:00
|
|
|
[Razer Blade Lid Switch]
|
|
|
|
|
MatchName=*Lid Switch*
|
|
|
|
|
MatchDMIModalias=dmi:*svnRazer:pnBlade*
|
|
|
|
|
AttrLidSwitchReliability=write_open
|
|
|
|
|
|
2023-04-11 14:01:03 +10:00
|
|
|
# Manually added entries must go above this line.
|
|
|
|
|
# Entries below this line are autogenerated
|
|
|
|
|
# AUTOGENERATED
|
|
|
|
|
|
2021-04-10 17:45:01 +02:00
|
|
|
[RazerBladeStealth Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x0205
|
|
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
2023-04-11 14:31:27 +10:00
|
|
|
[RazerBladeQHD Keyboard]
|
Implement a quirks system to replace the udev property parsing
Previously, we had all extra device information ("This is an Apple Touchpad",
"This touchpad causes pointer jumps", etc.) in the udev hwdb. The problem with
the hwdb is that updating it is nontrivial for the average user and debugging
when things go wrong is even harder. Plus, the hwdb has a matching scheme that
is unpredictable unless one is familiar with the implementation.
This patch set moves the hwdb entries into .ini style text files, with a
simple line-based parser. A new libinput list-quirks tool can list the quirks
applied to any given device, in --verbose mode it prints all matches as they
apply or not apply.
The data files are currently unused by libinput, that comes in a later patch.
They're installed though, the defaults point to the /usr/share/libinput
directory and for *temporary* local overrides the single file
/etc/libinput/local-overrides.quirks.
Failure to parse any file is a hard failure for the quirks system, but if the
local override file doesn't exist that's fine.
THIS IS NOT A CONFIGURATION INTERFACE! None of these settings are exposed via
the libinput_device_config_* calls. There is no API guarantee for these files,
think of them as source code.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-05-21 14:28:53 +10:00
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
2023-04-11 14:31:27 +10:00
|
|
|
MatchProduct=0x020F
|
Implement a quirks system to replace the udev property parsing
Previously, we had all extra device information ("This is an Apple Touchpad",
"This touchpad causes pointer jumps", etc.) in the udev hwdb. The problem with
the hwdb is that updating it is nontrivial for the average user and debugging
when things go wrong is even harder. Plus, the hwdb has a matching scheme that
is unpredictable unless one is familiar with the implementation.
This patch set moves the hwdb entries into .ini style text files, with a
simple line-based parser. A new libinput list-quirks tool can list the quirks
applied to any given device, in --verbose mode it prints all matches as they
apply or not apply.
The data files are currently unused by libinput, that comes in a later patch.
They're installed though, the defaults point to the /usr/share/libinput
directory and for *temporary* local overrides the single file
/etc/libinput/local-overrides.quirks.
Failure to parse any file is a hard failure for the quirks system, but if the
local override file doesn't exist that's fine.
THIS IS NOT A CONFIGURATION INTERFACE! None of these settings are exposed via
the libinput_device_config_* calls. There is no API guarantee for these files,
think of them as source code.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-05-21 14:28:53 +10:00
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
2021-04-10 17:45:01 +02:00
|
|
|
[RazerBladeProLate2016 Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x0210
|
|
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
2023-04-11 14:31:27 +10:00
|
|
|
[RazerBladeStealthLate2016 Keyboard]
|
2021-04-10 17:45:01 +02:00
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
2023-04-11 14:31:27 +10:00
|
|
|
MatchProduct=0x0220
|
2021-04-10 17:45:01 +02:00
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
2023-04-11 14:31:27 +10:00
|
|
|
[RazerBladeLate2016 Keyboard]
|
2021-04-10 17:45:01 +02:00
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
2023-04-11 14:31:27 +10:00
|
|
|
MatchProduct=0x0224
|
2021-04-10 17:45:01 +02:00
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
2023-04-11 14:31:27 +10:00
|
|
|
[RazerBladePro2017 Keyboard]
|
2021-04-10 17:45:01 +02:00
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
2023-04-11 14:31:27 +10:00
|
|
|
MatchProduct=0x0225
|
2021-04-10 17:45:01 +02:00
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
2023-04-11 14:31:27 +10:00
|
|
|
[RazerBladeStealthMid2017 Keyboard]
|
2021-04-10 17:45:01 +02:00
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
2023-04-11 14:31:27 +10:00
|
|
|
MatchProduct=0x022D
|
2021-04-10 17:45:01 +02:00
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
|
|
|
|
[RazerBladePro2017FullHD Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x022F
|
|
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
|
|
|
|
[RazerBladeStealthLate2017 Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x0232
|
|
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
|
|
|
|
[RazerBlade2018 Keyboard]
|
2020-05-21 13:32:13 +10:00
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x0233
|
|
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
2023-04-11 14:31:27 +10:00
|
|
|
[RazerBladePro2019 Keyboard]
|
2021-04-10 17:45:01 +02:00
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
2023-04-11 14:31:27 +10:00
|
|
|
MatchProduct=0x0234
|
2021-04-10 17:45:01 +02:00
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
|
|
|
|
[RazerBladeStealth2019 Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x0239
|
|
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
2023-04-11 14:31:27 +10:00
|
|
|
[RazerBlade2019Adv Keyboard]
|
2021-04-09 11:17:24 -05:00
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
2023-04-11 14:31:27 +10:00
|
|
|
MatchProduct=0x023A
|
2021-04-09 11:17:24 -05:00
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
2023-04-11 14:31:27 +10:00
|
|
|
[RazerBlade2018Base Keyboard]
|
2021-04-10 17:45:01 +02:00
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
2023-04-11 14:31:27 +10:00
|
|
|
MatchProduct=0x023B
|
2021-04-10 17:45:01 +02:00
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
2023-04-11 14:31:27 +10:00
|
|
|
[RazerBlade2018Mercury Keyboard]
|
2021-04-10 17:45:01 +02:00
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
2023-04-11 14:31:27 +10:00
|
|
|
MatchProduct=0x0240
|
2021-04-10 17:45:01 +02:00
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
|
|
|
|
[RazerBladeMid2019Mercury Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x0245
|
|
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
|
|
|
|
[RazerBlade2019Base Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x0246
|
|
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
2023-04-11 14:31:27 +10:00
|
|
|
[RazerBladeStealthLate2019 Keyboard]
|
2021-04-10 17:45:01 +02:00
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
2023-04-11 14:31:27 +10:00
|
|
|
MatchProduct=0x024A
|
2021-04-10 17:45:01 +02:00
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
2024-04-23 13:24:17 +10:00
|
|
|
[RazerBladeAdvancedLate2019 Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x024B
|
|
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
2021-04-10 17:45:01 +02:00
|
|
|
[RazerBladeProLate2019 Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x024C
|
|
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
|
|
|
|
[RazerBlade2019StudioEdition Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x024D
|
|
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
2023-04-11 14:31:27 +10:00
|
|
|
[RazerBladeStealthEarly2020 Keyboard]
|
2021-04-10 17:45:01 +02:00
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
2023-04-11 14:31:27 +10:00
|
|
|
MatchProduct=0x0252
|
2021-04-10 17:45:01 +02:00
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
|
|
|
|
[RazerBlade15Advanced2020 Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x0253
|
|
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
2023-04-11 14:31:27 +10:00
|
|
|
[RazerBladeEarly2020Base Keyboard]
|
2023-03-23 10:31:09 +10:00
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
2023-04-11 14:31:27 +10:00
|
|
|
MatchProduct=0x0255
|
2023-03-23 10:31:09 +10:00
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
2023-04-11 14:31:27 +10:00
|
|
|
[RazerBladeProEarly2020 Keyboard]
|
2023-03-23 10:31:09 +10:00
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
2023-04-11 14:31:27 +10:00
|
|
|
MatchProduct=0x0256
|
2023-03-23 10:31:09 +10:00
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
2023-04-11 14:31:27 +10:00
|
|
|
[RazerBladeStealthLate2020 Keyboard]
|
2023-03-23 10:31:09 +10:00
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
2023-04-11 14:31:27 +10:00
|
|
|
MatchProduct=0x0259
|
2023-03-23 10:31:09 +10:00
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
2025-04-17 09:56:19 +10:00
|
|
|
[RazerBladeLate2020Base Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x0268
|
|
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
2023-03-23 10:31:09 +10:00
|
|
|
[RazerBlade15AdvancedEarly2021 Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x026D
|
|
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
|
|
|
|
[RazerBlade17ProEarly2021 Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x026E
|
|
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
|
|
|
|
[RazerBladeEarly2021Base Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x026F
|
|
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
2023-04-11 14:31:27 +10:00
|
|
|
[RazerBlade142021 Keyboard]
|
2023-03-23 10:31:09 +10:00
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
2023-04-11 14:31:27 +10:00
|
|
|
MatchProduct=0x0270
|
2023-03-23 10:31:09 +10:00
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
2023-04-11 14:31:27 +10:00
|
|
|
[RazerBlade15Advanced2021 Keyboard]
|
2023-03-23 10:31:09 +10:00
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
2023-04-11 14:31:27 +10:00
|
|
|
MatchProduct=0x0276
|
2023-03-23 10:31:09 +10:00
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
2023-04-11 14:31:27 +10:00
|
|
|
[RazerBlade17Pro2021 Keyboard]
|
2023-03-23 10:31:09 +10:00
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
2023-04-11 14:31:27 +10:00
|
|
|
MatchProduct=0x0279
|
|
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
|
|
|
|
[RazerBladeEarly2022Base Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x027A
|
2023-03-23 10:31:09 +10:00
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
|
|
|
|
[RazerBlade15AdvancedEarly2022 Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x028A
|
|
|
|
|
AttrKeyboardIntegration=internal
|
2023-04-11 14:31:27 +10:00
|
|
|
|
|
|
|
|
[RazerBlade172022 Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x028B
|
|
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
|
|
|
|
[RazerBlade142022 Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x028C
|
|
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
2024-06-18 15:36:11 +10:00
|
|
|
[RazerBlade142023 Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x029D
|
|
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
2023-08-08 20:25:48 +03:00
|
|
|
[RazerBlade152023 Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x029E
|
|
|
|
|
AttrKeyboardIntegration=internal
|
2023-10-09 20:15:10 +10:00
|
|
|
|
|
|
|
|
[RazerBlade162023 Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x029F
|
|
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
|
|
|
|
[RazerBlade182023 Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x02A0
|
|
|
|
|
AttrKeyboardIntegration=internal
|
2024-08-22 19:25:57 +10:00
|
|
|
|
|
|
|
|
[RazerBlade142024 Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x02B6
|
|
|
|
|
AttrKeyboardIntegration=internal
|
2025-02-20 15:46:49 +10:00
|
|
|
|
|
|
|
|
[RazerBlade182024 Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x02B8
|
|
|
|
|
AttrKeyboardIntegration=internal
|
2025-08-22 10:34:16 +10:00
|
|
|
|
2025-10-21 14:17:43 +10:00
|
|
|
[RazerBlade142025 Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x02C5
|
|
|
|
|
AttrKeyboardIntegration=internal
|
|
|
|
|
|
2025-08-22 10:34:16 +10:00
|
|
|
[RazerBlade162025 Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x02C6
|
|
|
|
|
AttrKeyboardIntegration=internal
|
2025-10-21 14:17:43 +10:00
|
|
|
|
|
|
|
|
[RazerBlade182025 Keyboard]
|
|
|
|
|
MatchUdevType=keyboard
|
|
|
|
|
MatchBus=usb
|
|
|
|
|
MatchVendor=0x1532
|
|
|
|
|
MatchProduct=0x02C7
|
|
|
|
|
AttrKeyboardIntegration=internal
|