mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-09 21:08:29 +00:00
trivial: Make the quirk style more consistent
This commit is contained in:
parent
6a8f285ee2
commit
c1ff02f055
@ -26,12 +26,22 @@ def test_files() -> int:
|
|||||||
print("{} has invalid section header: {}".format(fn, line))
|
print("{} has invalid section header: {}".format(fn, line))
|
||||||
rc = 1
|
rc = 1
|
||||||
continue
|
continue
|
||||||
|
for deprecated in ["DeviceInstanceId", "Guid"]:
|
||||||
|
if line.find(deprecated) != -1:
|
||||||
|
print("{} has deprecated prefix: {}".format(fn, deprecated))
|
||||||
|
rc = 1
|
||||||
|
continue
|
||||||
else:
|
else:
|
||||||
sections = line.split("=")
|
sections = line.split(" = ")
|
||||||
if len(sections) != 2:
|
if len(sections) != 2:
|
||||||
print("{} has invalid line: {}".format(fn, line))
|
print("{} has invalid line: {}".format(fn, line))
|
||||||
rc = 1
|
rc = 1
|
||||||
continue
|
continue
|
||||||
|
for section in sections:
|
||||||
|
if section.strip() != section:
|
||||||
|
print("{} has invalid spacing: {}".format(fn, line))
|
||||||
|
rc = 1
|
||||||
|
break
|
||||||
return rc
|
return rc
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[USB\VID_0A5C&PID_6412]
|
[USB\VID_0A5C&PID_6412]
|
||||||
Flags= ignore-runtime
|
Flags = ignore-runtime
|
||||||
|
|
||||||
[ACME Inc.=True]
|
[ACME Inc.=True]
|
||||||
Name = awesome
|
Name = awesome
|
||||||
|
@ -102,10 +102,10 @@ Vendor = Dell Inc.
|
|||||||
Plugin = dell_dock
|
Plugin = dell_dock
|
||||||
ParentGuid = USB\VID_413C&PID_B06E&hub&embedded
|
ParentGuid = USB\VID_413C&PID_B06E&hub&embedded
|
||||||
Flags = skips-restart,require-ac,dual-image,usable-during-update
|
Flags = skips-restart,require-ac,dual-image,usable-during-update
|
||||||
FirmwareSize=524288
|
FirmwareSize = 524288
|
||||||
DellDockUnlockTarget = 9
|
DellDockUnlockTarget = 9
|
||||||
InstallDuration = 95
|
InstallDuration = 95
|
||||||
DellDockInstallDurationI2C=360
|
DellDockInstallDurationI2C = 360
|
||||||
DellDockBlobMajorOffset = 0x18400
|
DellDockBlobMajorOffset = 0x18400
|
||||||
DellDockBlobMinorOffset = 0x18401
|
DellDockBlobMinorOffset = 0x18401
|
||||||
DellDockBlobBuildOffset = 0x18402
|
DellDockBlobBuildOffset = 0x18402
|
||||||
@ -118,8 +118,8 @@ Summary = Thunderbolt controller
|
|||||||
Vendor = Dell Inc.
|
Vendor = Dell Inc.
|
||||||
VendorId = TBT:0x00D4
|
VendorId = TBT:0x00D4
|
||||||
ParentGuid = USB\VID_413C&PID_B06E&hub&embedded
|
ParentGuid = USB\VID_413C&PID_B06E&hub&embedded
|
||||||
FirmwareSizeMin=0x40000
|
FirmwareSizeMin = 0x40000
|
||||||
FirmwareSizeMax=0x80000
|
FirmwareSizeMax = 0x80000
|
||||||
Flags = skips-restart,require-ac,dual-image
|
Flags = skips-restart,require-ac,dual-image
|
||||||
Icon = thunderbolt
|
Icon = thunderbolt
|
||||||
InstallDuration = 22
|
InstallDuration = 22
|
||||||
@ -136,8 +136,8 @@ Summary = USB4 controller
|
|||||||
Vendor = Dell Inc.
|
Vendor = Dell Inc.
|
||||||
VendorId = TBT:0x00D4
|
VendorId = TBT:0x00D4
|
||||||
ParentGuid = USB\VID_413C&PID_B06E&hub&embedded
|
ParentGuid = USB\VID_413C&PID_B06E&hub&embedded
|
||||||
FirmwareSizeMin=0x40000
|
FirmwareSizeMin = 0x40000
|
||||||
FirmwareSizeMax=0x80000
|
FirmwareSizeMax = 0x80000
|
||||||
Flags = skips-restart,require-ac,dual-image
|
Flags = skips-restart,require-ac,dual-image
|
||||||
Icon = thunderbolt
|
Icon = thunderbolt
|
||||||
InstallDuration = 46
|
InstallDuration = 46
|
||||||
|
@ -1,34 +1,34 @@
|
|||||||
# Purism
|
# Purism
|
||||||
[a0ce5085-2dea-5086-ae72-45810a186ad0]
|
[a0ce5085-2dea-5086-ae72-45810a186ad0]
|
||||||
Plugin=flashrom
|
Plugin = flashrom
|
||||||
|
|
||||||
# Libretrend
|
# Libretrend
|
||||||
[52b68c34-6b31-5ecc-8a5c-de37e666ccd5]
|
[52b68c34-6b31-5ecc-8a5c-de37e666ccd5]
|
||||||
Plugin=flashrom
|
Plugin = flashrom
|
||||||
VersionFormat=quad
|
VersionFormat = quad
|
||||||
|
|
||||||
# Star LabTop Mk III (HwId)
|
# Star LabTop Mk III (HwId)
|
||||||
[013b60e5-1023-5bee-8ae5-14cae21377b7]
|
[013b60e5-1023-5bee-8ae5-14cae21377b7]
|
||||||
Plugin=flashrom
|
Plugin = flashrom
|
||||||
|
|
||||||
# Star LabTop Mk IV (HwId)
|
# Star LabTop Mk IV (HwId)
|
||||||
[baf1d04e-fd16-5e6a-93cc-1c23d171f879]
|
[baf1d04e-fd16-5e6a-93cc-1c23d171f879]
|
||||||
Plugin=flashrom
|
Plugin = flashrom
|
||||||
|
|
||||||
# Star Lite Mk II (HwId)
|
# Star Lite Mk II (HwId)
|
||||||
[013b60e5-1023-5bee-8ae5-14cae21377b7]
|
[013b60e5-1023-5bee-8ae5-14cae21377b7]
|
||||||
Plugin=flashrom
|
Plugin = flashrom
|
||||||
|
|
||||||
# Star Lite Mk III (HwId)
|
# Star Lite Mk III (HwId)
|
||||||
[d5521faa-c50b-5d64-971d-8fd400030c51]
|
[d5521faa-c50b-5d64-971d-8fd400030c51]
|
||||||
Plugin=flashrom
|
Plugin = flashrom
|
||||||
|
|
||||||
# Star LabTop Mk III (coreboot GUID)
|
# Star LabTop Mk III (coreboot GUID)
|
||||||
[d33219e2-b84c-53a8-a624-27af9752dba6]
|
[d33219e2-b84c-53a8-a624-27af9752dba6]
|
||||||
Branch=coreboot
|
Branch = coreboot
|
||||||
VersionFormat=number
|
VersionFormat = number
|
||||||
|
|
||||||
# Star LabTop Mk IV (coreboot GUID)
|
# Star LabTop Mk IV (coreboot GUID)
|
||||||
[0ee5867c-93f0-5fb4-adf1-9d686ea1183a]
|
[0ee5867c-93f0-5fb4-adf1-9d686ea1183a]
|
||||||
Branch=coreboot
|
Branch = coreboot
|
||||||
VersionFormat=number
|
VersionFormat = number
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
[HIDRAW\VEN_046D&DEV_C52B]
|
[HIDRAW\VEN_046D&DEV_C52B]
|
||||||
Plugin = logitech_hidpp
|
Plugin = logitech_hidpp
|
||||||
GType = FuLogitechHidPpRuntimeUnifying
|
GType = FuLogitechHidPpRuntimeUnifying
|
||||||
VendorId=USB:0x046D
|
VendorId = USB:0x046D
|
||||||
InstallDuration = 30
|
InstallDuration = 30
|
||||||
|
|
||||||
# Nordic
|
# Nordic
|
||||||
|
@ -8,4 +8,4 @@ Name = PS175
|
|||||||
|
|
||||||
# "Puff" Chromeboxes
|
# "Puff" Chromeboxes
|
||||||
[PARADE-LSPCON\NAME_1AF80175:00&FAMILY_Google_Hatch]
|
[PARADE-LSPCON\NAME_1AF80175:00&FAMILY_Google_Hatch]
|
||||||
ParadeLspconAuxDeviceName=DPDDC-B
|
ParadeLspconAuxDeviceName = DPDDC-B
|
||||||
|
@ -1,74 +1,74 @@
|
|||||||
# N13xWU
|
# N13xWU
|
||||||
[992f1bc7-f8ee-567a-88dd-30e5158d72ed]
|
[992f1bc7-f8ee-567a-88dd-30e5158d72ed]
|
||||||
SuperioChipsets = IT8587
|
SuperioChipsets = IT8587
|
||||||
|
|
||||||
# W740SU
|
# W740SU
|
||||||
[f00d8c4e-dce2-51c3-89d6-6cbc5fc5cdbb]
|
[f00d8c4e-dce2-51c3-89d6-6cbc5fc5cdbb]
|
||||||
SuperioChipsets=IT8587
|
SuperioChipsets = IT8587
|
||||||
|
|
||||||
# Star LabTop Mk III (HwId)
|
# Star LabTop Mk III (HwId)
|
||||||
[013b60e5-1023-5bee-8ae5-14cae21377b7]
|
[013b60e5-1023-5bee-8ae5-14cae21377b7]
|
||||||
SuperioChipsets=IT8987
|
SuperioChipsets = IT8987
|
||||||
InstallDuration=20
|
InstallDuration = 20
|
||||||
|
|
||||||
# Star LabTop Mk IV (HwId)
|
# Star LabTop Mk IV (HwId)
|
||||||
[baf1d04e-fd16-5e6a-93cc-1c23d171f879]
|
[baf1d04e-fd16-5e6a-93cc-1c23d171f879]
|
||||||
SuperioChipsets=IT8987
|
SuperioChipsets = IT8987
|
||||||
InstallDuration=20
|
InstallDuration = 20
|
||||||
|
|
||||||
# Star Lite Mk II (HwId)
|
# Star Lite Mk II (HwId)
|
||||||
[013b60e5-1023-5bee-8ae5-14cae21377b7]
|
[013b60e5-1023-5bee-8ae5-14cae21377b7]
|
||||||
SuperioChipsets=IT8987
|
SuperioChipsets = IT8987
|
||||||
InstallDuration=20
|
InstallDuration = 20
|
||||||
|
|
||||||
# Star Lite Mk III (HwId)
|
# Star Lite Mk III (HwId)
|
||||||
[d5521faa-c50b-5d64-971d-8fd400030c51]
|
[d5521faa-c50b-5d64-971d-8fd400030c51]
|
||||||
SuperioChipsets=IT8987
|
SuperioChipsets = IT8987
|
||||||
InstallDuration=20
|
InstallDuration = 20
|
||||||
|
|
||||||
# Tuxedo InifinityBook S14 Gen6
|
# Tuxedo InifinityBook S14 Gen6
|
||||||
[6c80d85b-d0b6-5ee2-99d4-ec28dd32febd]
|
[6c80d85b-d0b6-5ee2-99d4-ec28dd32febd]
|
||||||
SuperioChipsets=IT5570
|
SuperioChipsets = IT5570
|
||||||
|
|
||||||
# Tuxedo InifinityBook S15 Gen6
|
# Tuxedo InifinityBook S15 Gen6
|
||||||
[60f53465-e8fc-5122-b79b-f7b03f063037]
|
[60f53465-e8fc-5122-b79b-f7b03f063037]
|
||||||
SuperioChipsets=IT5570
|
SuperioChipsets = IT5570
|
||||||
|
|
||||||
[SuperIO-IT8510]
|
[SuperIO-IT8510]
|
||||||
SuperioId=0x8510
|
SuperioId = 0x8510
|
||||||
SuperioPort=0x2e
|
SuperioPort = 0x2e
|
||||||
|
|
||||||
[SuperIO-IT8511]
|
[SuperIO-IT8511]
|
||||||
SuperioId=0x8511
|
SuperioId = 0x8511
|
||||||
SuperioPort=0x2e
|
SuperioPort = 0x2e
|
||||||
|
|
||||||
[SuperIO-IT8512]
|
[SuperIO-IT8512]
|
||||||
SuperioId=0x8512
|
SuperioId = 0x8512
|
||||||
SuperioPort=0x2e
|
SuperioPort = 0x2e
|
||||||
|
|
||||||
[SuperIO-IT8513]
|
[SuperIO-IT8513]
|
||||||
SuperioId=0x8513
|
SuperioId = 0x8513
|
||||||
SuperioPort=0x2e
|
SuperioPort = 0x2e
|
||||||
|
|
||||||
[SuperIO-IT8516]
|
[SuperIO-IT8516]
|
||||||
SuperioId=0x8516
|
SuperioId = 0x8516
|
||||||
SuperioPort=0x2e
|
SuperioPort = 0x2e
|
||||||
|
|
||||||
[SuperIO-IT8518]
|
[SuperIO-IT8518]
|
||||||
SuperioId=0x8518
|
SuperioId = 0x8518
|
||||||
SuperioPort=0x2e
|
SuperioPort = 0x2e
|
||||||
|
|
||||||
[SuperIO-IT8587]
|
[SuperIO-IT8587]
|
||||||
SuperioId=0x8587
|
SuperioId = 0x8587
|
||||||
SuperioPort=0x2e
|
SuperioPort = 0x2e
|
||||||
|
|
||||||
[SuperIO-IT8987]
|
[SuperIO-IT8987]
|
||||||
SuperioId=0x8987
|
SuperioId = 0x8987
|
||||||
SuperioPort=0x4e
|
SuperioPort = 0x4e
|
||||||
|
|
||||||
[SuperIO-IT5570]
|
[SuperIO-IT5570]
|
||||||
SuperioId=0x5570
|
SuperioId = 0x5570
|
||||||
SuperioControlPort=0x66
|
SuperioControlPort = 0x66
|
||||||
SuperioDataPort=0x62
|
SuperioDataPort = 0x62
|
||||||
SuperioAutoloadAction=disable
|
SuperioAutoloadAction = disable
|
||||||
SuperioTimeout=650
|
SuperioTimeout = 650
|
||||||
|
@ -88,20 +88,20 @@ Guid = WacomEMR
|
|||||||
Flags = is-bootloader
|
Flags = is-bootloader
|
||||||
|
|
||||||
[WacomEMR_W9013]
|
[WacomEMR_W9013]
|
||||||
WacomI2cFlashBlockSize=64
|
WacomI2cFlashBlockSize = 64
|
||||||
WacomI2cFlashBaseAddr=0x2000
|
WacomI2cFlashBaseAddr = 0x2000
|
||||||
WacomI2cFlashSize=0x1e000
|
WacomI2cFlashSize = 0x1e000
|
||||||
|
|
||||||
[WacomEMR_W9021]
|
[WacomEMR_W9021]
|
||||||
WacomI2cFlashBlockSize=256
|
WacomI2cFlashBlockSize = 256
|
||||||
WacomI2cFlashBaseAddr=0x3000
|
WacomI2cFlashBaseAddr = 0x3000
|
||||||
WacomI2cFlashSize=0x3c000
|
WacomI2cFlashSize = 0x3c000
|
||||||
|
|
||||||
[WacomEMR]
|
[WacomEMR]
|
||||||
GType=FuWacomEmrDevice
|
GType = FuWacomEmrDevice
|
||||||
|
|
||||||
[WacomAES]
|
[WacomAES]
|
||||||
GType=FuWacomAesDevice
|
GType = FuWacomAesDevice
|
||||||
WacomI2cFlashBlockSize=128
|
WacomI2cFlashBlockSize = 128
|
||||||
WacomI2cFlashBaseAddr=0x8000
|
WacomI2cFlashBaseAddr = 0x8000
|
||||||
WacomI2cFlashSize=0x24000
|
WacomI2cFlashSize = 0x24000
|
||||||
|
Loading…
Reference in New Issue
Block a user