quirks: fix duplicate section names
authorPeter Hutterer <peter.hutterer@who-t.net>
Sun, 19 Mar 2023 23:06:22 +0000 (09:06 +1000)
committerJosé Expósito <jose.exposito89@gmail.com>
Mon, 20 Mar 2023 17:38:28 +0000 (17:38 +0000)
Our parser doesn't care about this, but let's stick to the proper format so
we can read those files with e.g. Python's ConfigParser

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
quirks/30-vendor-logitech.quirks
quirks/50-system-apple.quirks
quirks/50-system-lenovo.quirks

index 15397ac04c51ce9a645426da1a3420a16c253f33..6f50cd0e0a2639933891ccc1435332c6459f5186 100644 (file)
@@ -46,51 +46,51 @@ MatchVendor=0x046D
 MatchProduct=0x4011
 AttrPalmPressureThreshold=400
 
-[Logitech MX Master]
+[Logitech MX Master (4041)]
 MatchVendor=0x46D
 MatchProduct=0x4041
 ModelInvertHorizontalScrolling=1
-[Logitech MX Master]
+[Logitech MX Master (4060)]
 MatchVendor=0x46D
 MatchProduct=0x4060
 ModelInvertHorizontalScrolling=1
-[Logitech MX Master]
+[Logitech MX Master (4071)]
 MatchVendor=0x46D
 MatchProduct=0x4071
 ModelInvertHorizontalScrolling=1
 
 # MX Master has a different PID on bluetooth
-[Logitech MX Master]
+[Logitech MX Master (Bluetooth B012)]
 MatchVendor=0x46D
 MatchProduct=0xB012
 ModelInvertHorizontalScrolling=1
-[Logitech MX Master]
+[Logitech MX Master (Bluetooth B017)]
 MatchVendor=0x46D
 MatchProduct=0xB017
 ModelInvertHorizontalScrolling=1
-[Logitech MX Master]
+[Logitech MX Master (Bluetooth B01E)]
 MatchVendor=0x46D
 MatchProduct=0xB01E
 ModelInvertHorizontalScrolling=1
 
-[Logitech MX Master 2S]
+[Logitech MX Master 2S USB]
 MatchVendor=0x46D
 MatchProduct=0x4069
 ModelInvertHorizontalScrolling=1
 
 # MX Master 2S has a different PID on bluetooth
-[Logitech MX Master 2S]
+[Logitech MX Master 2S Bluetooth]
 MatchVendor=0x46D
 MatchProduct=0xB019
 ModelInvertHorizontalScrolling=1
 
-[Logitech MX Master 3]
+[Logitech MX Master 3 USB]
 MatchVendor=0x46D
 MatchProduct=0x4082
 ModelInvertHorizontalScrolling=1
 
 # MX Master 3 has a different PID on bluetooth
-[Logitech MX Master 3]
+[Logitech MX Master 3 Bluetooth]
 MatchVendor=0x46D
 MatchProduct=0xB023
 ModelInvertHorizontalScrolling=1
index 06f8d3be6cee2f76b93b8afa19a543862ca942d8..3c2c32b3a3bcce324d90b0ad937c4457d71d9fa3 100644 (file)
@@ -121,7 +121,7 @@ MatchVendor=0x5AC
 AttrKeyboardIntegration=internal
 
 # The Linux applespi driver currently uses the Synaptics vendor for some reason
-[Apple Laptop Touchpad (SPI)]
+[Apple Laptop Touchpad (SPI) applespi driver]
 MatchUdevType=touchpad
 MatchBus=spi
 MatchVendor=0x6CB
index e514140bdfab16d236d18a9643d3f16518e612a4..21a1cf2948d14e27cdd30e200255642d18b1e51c 100644 (file)
@@ -240,14 +240,14 @@ ModelTabletModeNoSuspend=1
 
 # Misidentified as an external keyboard by libinput
 # Tested on Legion 5 15AR05H
-[Lenovo Legion 5 Keyboard]
+[Lenovo Legion 5 Keyboard (C100)]
 MatchUdevType=keyboard
 MatchBus=usb
 MatchVendor=0x048D
 MatchProduct=0xC100
 AttrKeyboardIntegration=internal
 
-[Lenovo Legion 5 Keyboard]
+[Lenovo Legion 5 Keyboard (C955)]
 MatchUdevType=keyboard
 MatchBus=usb
 MatchVendor=0x048D