Crag Wang
f3e05f3ced
dell-dock: set minimum version of EC
2022-04-08 18:15:50 +08:00
Richard Hughes
4bdd1d40e1
uefi-capsule: Use GByteArray to make code more modern
2022-04-08 07:23:48 +01:00
Richard Hughes
92944f5074
Add the runtime fwupd-efi version as a firmware requirement
2022-04-07 16:55:46 +01:00
Richard Hughes
3640d22fb2
Use the GLib functions to convert to UCS2
...
UTF-16 is a superset of UCS-2 and so we can just use the GLib versions
instead of rolling our own versions.
2022-04-07 15:41:09 +01:00
adamgene
11779505f7
Support Google Servo Dock
2022-04-07 09:39:12 -05:00
Gaël PORTAY
159a257546
genesys: usbhub: Fix typo
...
The private flag has-pubkey will be introduced with version 1.8.0.
2022-04-05 19:00:01 +01:00
Richard Hughes
633571fa99
trivial: Fix some 'Comparison of narrow type with wide type in loop condition'
2022-04-05 14:45:42 +01:00
Gaël PORTAY
cd6677ac01
genesys: Add support for detecting GL3521
2022-04-05 14:00:32 +01:00
Richard Hughes
18301f92cf
flashrom: Fix a harmless warning when adding an instance ID
2022-04-05 11:38:30 +01:00
Richard Hughes
3390d7f9a5
flashrom: Allow quirking the flashrom flash size
...
We were using an 'undocumented' local copy of the flash size, when
FuDevice was setting the [ignored] standard device property.
2022-04-05 11:38:30 +01:00
Mario Limonciello
292f8eb96f
trivial: only enable IVRS and DMAR plugins on x86/x86_64
...
These tables are only for Intel and AMD which don't provide non x86/x86_64
products.
2022-04-04 14:08:38 -05:00
Mario Limonciello
2677ec48be
trivial: scsi: fix a segfault with USB SCSI device plugged in
2022-04-04 13:57:42 -05:00
Gaël PORTAY
9195798e23
genesys: usbhub: Encode PORTNUM to a single byte
...
The PORTNUM is composed of two bytes values that are ASCII encoded: the
super-speed and high speed port numbers.
The result is PORTNUM_3434 for an usbhub device of 4/4 ports; 34 is the
ASCII encoded value for the character '4'.
The value PORTNUM_3434 is not straightforward if read by humans; however
PORTNUM_44 is more explicit.
This change encodes the two port numbers into a single byte instead of
ASCII-encoding to a 16-bits integer.
Example:
XPS 13 9370
│
└─USB2.0 Hub:
Device ID: 84d0e3f2a0f8b2328f7995767b23ebb40494723f
Current version: 92.24
Vendor: GenesysLogic (USB:0x05E3)
GUIDs: 0cdb6604-d595-5ca3-8da0-d05cb1b71ac1 ← USB\VID_05E3&PID_0610
ce9a28b1-f064-5b5a-b71b-3dea05905aea ← USB\VID_05E3&PID_0610&REV_9224
e89cae82-9975-55fb-802f-63d27dbcec19 ← VID\PID_0610&HUB_00
2ae5ae36-cf86-5486-bff2-1bfd30e0ac6d ← USB\VID_05E3&PID_0610&IC_352122
242eea14-5dfe-55d9-9d30-acfa9ec6a9a5 ← USB\VID_05E3&PID_0610&IC_352122&BONDING_00
f68080bb-3713-5154-9890-44fbd833d678 ← USB\VID_05E3&PID_0610&VENDOR_GENESYSLOGIC&IC_352122&BONDING_00&PORTNUM_44&VENDORSUP_E8A9A9E4-6C17-5F9C-B7BD-CDA49FE66D75
Device Flags: • Updatable
• Unsigned Payload
2022-04-04 13:32:02 +01:00
Richard Hughes
91e9f359c3
Add a plugin for the CH341A device
2022-04-03 16:29:30 +01:00
Mario Limonciello
fc59a9bce1
trivial: linux-lockdown: Check kernel supports lockdown
...
There is no use making a file monitor on a missing path and
running on an older kernel should cause HSI to show missing data.
2022-04-03 09:06:00 -05:00
Mario Limonciello
26349d0f28
cpu: Add a new attribute for CPU supported by HSI
...
On supported CPUs this will show up at HSI level 1 meaning that HSI
should be supported and trusted on this CPU if all plugins provided
enough data.
On non-Intel CPUs this will show up as missing data, meaning
that not enough plugins provide data for HSI to be trusted by default.
2022-04-03 09:06:00 -05:00
Mario Limonciello
0df2b57ae9
Add a new plugin for the ACPI IVRS table
...
This ACPI table contains a flag that is used for indicating pre-boot
DMA protection on AMD systems.
2022-04-03 09:05:49 -05:00
Mario Limonciello
a93feda72b
trivial: rename the DMAR attribute to be vendor agnostic
...
The DMAR attribute is for Intel only, but AMD has the same feature in
the IVRS table. Rename the attribute to clarify this.
2022-04-03 09:05:49 -05:00
Mario Limonciello
3c48cf464b
trivial: linux-swap: Don't create attribute unless kernel has support
2022-04-02 15:08:16 -05:00
Gaël PORTAY
31dc35f9e3
genesys: usbhub: Fix test for static_tool_string value
...
Additionally, this regroups the call of a function and the test for the
returned value.
2022-04-02 09:51:04 +01:00
Richard Hughes
481301a39d
trivial: Convert more things to fu_progress_step_done()
...
This allows the front end client to know ahead-of-time how many steps
there are going to be.
2022-04-01 21:46:04 -05:00
Richard Hughes
7dc34ff02e
Mark more devices as CAN_VERIFY_IMAGE
...
This allows us to filter the devices when showing what we can dump.
2022-04-01 21:46:04 -05:00
Jeremy Soller
09f3a627c2
trivial: Add HP Dev One quirk with no-ux-capsule flag
2022-04-01 11:18:12 -05:00
Gaël PORTAY
e71df0d494
genesys: usbhub: Rename function to _get_code_size()
...
This renames the function `fu_genesys_usbhub_device_get_fw_size()` to
`fu_genesys_usbhub_device_get_code_size()` which set the attribute
`code_size`.
2022-04-01 15:47:14 +01:00
Gaël PORTAY
9213a51d4a
genesys: usbhub: Set extended size for devices with public-key only
...
This conditionizes the extended size for devices that has public-key
support (i.e. has the private flag has-public-key; GL3523 only).
2022-04-01 15:47:14 +01:00
Gaël PORTAY
e22eaf0726
genesys: usbhub: Fix firmware max size regression
...
This fixes commit 1ade02e944
.
Fixes:
firmware too large, got 0x6312, expected <= 0x6000
2022-04-01 15:47:14 +01:00
Michał Kopeć
d3ce827f96
plugins/flashrom/flashrom.quirk: update NovaCustom GUIDs
...
Add NS5x GUID and missing NV4x guids for devices running older firmware versions.
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2022-04-01 12:43:18 +01:00
Sean Rhodes
0ac171c452
plugins/flashrom: Move MaxSize quirk to GUID ( #4468 )
...
Move the quirk from HwID to GUID to the apply correctly.
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
2022-03-31 20:38:38 +01:00
Jeremy Soller
cffb432a24
Add System76 launch_lite_1
2022-03-31 19:01:11 +01:00
Richard Hughes
69624f4f33
vli: Do not set the serial number
...
This is always set as '00000000000000000000001' and thus is unhelpful.
2022-03-31 15:42:00 +01:00
Richard Hughes
dcd39d80a7
Add the CFI quirks in setup() so the device can be open
2022-03-31 12:47:13 +01:00
adamgene
acc9e9fbe7
genesys: usbhub: Add instance IDs for generic hub
...
1. add and set FuGenesysVendorSupportToolString.
2. customized instance IDs with follow,
- "IC"
- "BONDING"
- "VENDOR" - mask code unsupported
- "PORTNUM" - mask code unsupported
- "VENDORSUP" - mask code unsupported
2022-03-31 08:57:51 +01:00
adamgene
8f786b0818
genesys: usbhub: Get dynamic ts info from device
...
1. add FuGenesysDynamicToolString.
2. extract running_bank / bonding from dynamic_ts.
2022-03-31 08:57:51 +01:00
adamgene
2868c924bc
genesys: usbhub: Unsupport without tool string
...
1. Legacy device unsupported.
2. add fu_genesys_tsdigit_value() to convert ts corretly.
3. delete wrong checking tool_string_version in 0xff.
2022-03-31 08:57:51 +01:00
adamgene
852b94bbe1
genesys: usbhub: Read firmware size from blob
...
This fixes the firmware size of for the GL3590 chips.
2022-03-31 08:57:51 +01:00
Gaël PORTAY
cfb75f0da4
genesys: usbhub: Add genuine Genesys Logic USB Hub
2022-03-31 08:57:51 +01:00
Ryan Lee
d512410734
ccgx: Add trigger code to support future hardware
2022-03-31 08:46:15 +01:00
Richard Hughes
2aed732249
nvme: Add signed-payload for Western Digital hardware
2022-03-30 08:19:22 +01:00
herman lin
efa880eb0a
elanfp: Modify for BULK_RECV_TIMEOUT_MS to 3000
2022-03-30 07:08:23 +01:00
herman lin
392fe20397
elanfp: Add PID 0x0C82
2022-03-30 07:08:23 +01:00
Richard Hughes
af7ce4c6af
colorhug: Split up the writing and verifying
...
No logic changes.
2022-03-29 20:04:26 +01:00
Richard Hughes
7f6605cf8d
Revert "modem-manager: uninhibit modem after upgrade"
...
This reverts commit e3b62e643b
which
fixes a crash when updating devices.
2022-03-28 20:19:09 +01:00
Richard Hughes
d005796af1
dfu: Add unsigned-payload for one of the demo devices
2022-03-28 15:40:30 +01:00
Richard Hughes
17854099d0
modem-manager: Add signed-payload metadata for some Quectel devices
2022-03-28 08:47:02 +01:00
Richard Hughes
02dead17d4
trivial: Fix a small memory leak when unloading intel-spi
2022-03-25 21:12:53 +00:00
Mario Limonciello
1241e156b9
Don't export USB4 host controllers as updatable if they don't have unique GUIDs
...
Fixes : #4438
2022-03-24 16:44:27 +00:00
Richard Hughes
acbba72b3b
logitech-hidpp: Inherit the icon for the child device from the parent
2022-03-24 14:35:22 +00:00
Richard Hughes
ed247d32b2
modem-manager: Use the correct icon name
...
The list is specified in https://lvfs.readthedocs.io/en/latest/metainfo.html
2022-03-24 13:05:23 +00:00
Richard Hughes
e8e94b5c63
modem-manager: Quirk a vendor name to be less shouty
2022-03-24 11:12:13 +00:00
Richard Hughes
adc6f5bbf3
ata: Add signed-payload for more Phison devices
2022-03-24 08:08:39 +00:00