Richard Hughes
1210aa4ae7
redfish: Create user accounts automatically using IPMI
...
This allows the Redfish plugin to "just work" when there is no username
or password in the SMBIOS data. Using KCS we can create an admin account
from the host OS and then automatically enumerate devices.
2021-09-07 17:25:37 +01:00
Richard Hughes
fb3f869810
redfish: Refactor the PATCH modify code
2021-09-07 17:25:37 +01:00
Crag Wang
b81604f6c1
trivial: system firmware may primarily use sha256 bank instead sha1
2021-09-07 16:11:49 +08:00
Richard Hughes
cf34c8f1dd
wacom-usb: Ignore invalid SREC commands to fail invalid files early
2021-09-05 15:46:00 +01:00
Richard Hughes
f56878ff88
Allow adding GUIDs to each HSI security attr
...
This indicates the GUID in some way contributed to the result decided.
It also allows us to match the submitted HSI results back to a firmware
stream on the LVFS, which allows us to allow vendors to see a subset of
results for uploaded devices.
2021-09-03 22:03:28 +01:00
Richard Hughes
11bcf2677c
synaptics-mst: Only probe devices that have opted-in
...
Fixes https://github.com/fwupd/fwupd/issues/3701
2021-09-03 21:14:37 +01:00
Richard Hughes
d4fb04d6fc
Allow overriding the quirks directory at runtime
2021-09-03 21:14:37 +01:00
Mario Limonciello
946cfd63ac
trivial: synaptics-mst: make self tests not write
...
The self tests shouldn't be writing the source directory, make sure
they open up files in read-only mode.
2021-09-03 15:10:38 -05:00
Mario Limonciello
c62da839d5
trivial: platform-integrity: remove an unused variable
2021-09-03 15:10:38 -05:00
Mario Limonciello
0b7c0691e8
trivial: fix nvme and ata self tests failing in buildd
...
The buildds can't write to /var/cache/fwupd, and for that matter
fwupd shouldn't be writing during tests anyway.
2021-09-03 15:10:38 -05:00
Richard Hughes
504e8db1a0
uefi-capsule: Add the apply method to the uploaded report
...
We want to be able to differenciate failures for a specific update
method, e.g. finding if should be enabling CoD by default or not.
2021-09-03 13:11:17 -05:00
Sean Rhodes
2e856d21e0
plugins/flashrom: Only backup BIOS region
...
As we are only writing to the BIOS region, we only need to backup the BIOS
region. The will avoid the error "failed to back up original firmware" if
regions such as the ME can't be read.
2021-09-03 12:04:20 +01:00
Ilias Apalodimas
4eca8be63d
uefi-capsule: Update documentation for CoD
...
Capsule update on-disk was added a while ago.
Document the config file changes and limitations on firmwares that's
doesn't support RT->SetVariable
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
2021-09-02 17:54:34 +01:00
Richard Hughes
91536c5638
logitech-hidpp: Add the Model ID instance ID before getting firmware versions
...
This will allow us to create a device-radio child in the future.
2021-09-01 15:42:24 +01:00
Richard Hughes
0792ac0477
logitech-hidpp: Don't assume all USB devices with VEN_046D are Unifying
...
Logitech only provided one peripheral update for unifying hardware as a
PoC and now we are supporting other receivers this does not make a lot
of sense. All the new Bolt peripherals will need quirks anyway.
2021-09-01 15:42:24 +01:00
Richard Hughes
12f01c8622
logitech-hidpp: Use UNREACHABLE rather than modifying UPDATABLE
2021-09-01 15:42:24 +01:00
Mario Limonciello
92c8f0e727
trivial: fix the grub configuration from 684bc03
...
fixes #3685
2021-09-01 09:40:24 -05:00
Ricardo Cañuelo
512973fa50
logitech-hidpp: Add support for updating Bolt receiver radio firmware
2021-09-01 15:07:09 +01:00
Ricardo Cañuelo
35af30321a
logitech-hidpp: Add support for updating Bolt receivers
2021-09-01 15:07:09 +01:00
Richard Hughes
9d2168e985
logitech-hidpp: Fix a regression in updating Unifying peripherals
...
This regressed in a3ecccc31c
2021-08-31 19:27:59 +01:00
Ricardo Cañuelo
7b31e92e85
logitech-hidpp: Retry 5 times to setup after the device restarted
2021-08-31 17:15:15 +01:00
Ricardo Cañuelo
482148a185
logitech-hidpp: Allow the HIDPP write to fail on attach
...
On some devices the device restarts before it can send the reply.
2021-08-31 17:15:15 +01:00
Ricardo Cañuelo
a3ecccc31c
logitech-hidpp: Allow children to attach using the parent device for future code
2021-08-31 17:15:15 +01:00
Ricardo Cañuelo
b4b7af6c9f
logitech-hidpp: Fetch the device model ID to add a more precise InstanceID
2021-08-31 17:15:15 +01:00
Ricardo Cañuelo
8ac10329c9
logitech-hidpp: Store the HIDPP++ PID for future usage
2021-08-31 17:15:15 +01:00
Richard Hughes
2629944aa0
logitech-hidpp: Just use FuLogitechHidPpDevice rather than a stub
2021-08-31 17:15:15 +01:00
Ricardo Cañuelo
0974dc759b
logitech-hidpp: Use an interactive request to restart some Logitech DFU devices
2021-08-31 17:15:15 +01:00
Ricardo Cañuelo
f63afade6f
logitech-hidpp: Add some trivial defines for polling intervals
2021-08-31 17:15:15 +01:00
Ricardo Cañuelo
f4926e2d8e
logitech-hidpp: Add support for devices supporting the Unified Battery feature
2021-08-31 17:15:15 +01:00
Ricardo Cañuelo
ef95d362dd
logitech-hidpp: Fix reading HID++1.0 battery mileage
2021-08-31 17:15:15 +01:00
Ricardo Cañuelo
4534f2d7fc
logitech-hidpp: Reduce some debug noise on update
2021-08-31 17:15:15 +01:00
Ricardo Cañuelo
74e126390a
logitech-hidpp: Fix a critical error on flash failure
2021-08-31 17:15:15 +01:00
Sanjay Sheth
b6ff1ea40e
Add support for devices supporting the Logitech bulk controller protocol
2021-08-29 20:33:16 +01:00
Richard Hughes
d8af914072
trivial: Remove some unused variables
2021-08-28 10:17:56 +01:00
Crag Wang
ab307a879f
dell-dock: cleanup needs to handle activation between devices in dock
2021-08-27 13:04:48 +08:00
Crag Wang
651a542cae
dell-dock: add device GUID earlier even setup yet done
...
This commit resolves a warning message at runtime:
- no GUIDs for device ...
fu_device_add_child emits a child-added signal afterwards the engine
try to add given device and verify whether GUIDs is set.
2021-08-25 08:20:44 -05:00
Mario Limonciello
55de39c077
trivial: reformat the whole tree to match new format
2021-08-24 11:18:40 -05:00
Mario Limonciello
73fe71a65e
trivial: redfish: fix a wrong return value
2021-08-24 11:18:40 -05:00
Mario Limonciello
96b693fb50
trivial: thunderbolt: fix include order for future changes
2021-08-24 11:18:40 -05:00
Crag Wang
756b18391b
dell-dock: handle activation until both ec and usb4 devices are probed
2021-08-24 11:45:45 +08:00
Richard Hughes
c1ff02f055
trivial: Make the quirk style more consistent
2021-08-23 18:10:12 +01:00
Richard Hughes
6a8f285ee2
Check the quirk format as part of precommit
2021-08-23 18:10:12 +01:00
Jing-Jie Zhou
8b477ed5e8
modified. DeviceInstanceId is deprecated!
2021-08-23 06:50:28 -05:00
Jierger Zhou
3fbdbd64aa
dfu: add quirks for AVer ATLAS CAM/CAM520 Pro2
2021-08-23 06:50:28 -05:00
Mario Limonciello
3b4b05561a
trivial: fix a compilation dependency error ( Fixes : #3657 )
...
Reproducible by manually calling failing build targets first
```
ninja -C build plugins/tpm-eventlog/fwupdtpmevlog.p/fu-tpm-eventlog-common.c.o
ninja: Entering directory `build'
[1/1] Compiling C object plugins/tpm-eventlog/fwupdtpmevlog.p/fu-tpm-eventlog-common.c.o
FAILED: plugins/tpm-eventlog/fwupdtpmevlog.p/fu-tpm-eventlog-common.c.o
cc -Iplugins/tpm-eventlog/fwupdtpmevlog.p -Iplugins/tpm-eventlog -I../plugins/tpm-eventlog -I. -I.. -Ilibfwupd -I../libfwupd -Ilibfwupdplugin -I../libfwupdplugin -I/usr/include/libxmlb-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/gudev-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/gusb-1 -I/usr/include/libusb-1.0 -I/usr/include/tss2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c99 -g -Waggregate-return -Wunused -Warray-bounds -Wcast-align -Wclobbered -Wdeclaration-after-statement -Wdiscarded-qualifiers -Wduplicated-branches -Wduplicated-cond -Wempty-body -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-signedness -Wignored-qualifiers -Wimplicit-function-declaration -Winit-self -Wlogical-op -Wmaybe-uninitialized -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-parameter-type -Wmissing-prototypes -Wnested-externs -Wno-cast-function-type -Wno-address-of-packed-member -Wno-unknown-pragmas -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-suggest-attribute=format -Wno-unused-parameter -Wold-style-definition -Woverride-init -Wpointer-arith -Wredundant-decls -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wswitch-default -Wtype-limits -Wundef -Wuninitialized -Wunused-but-set-variable -Wunused-variable -Wvla -Wwrite-strings -fstack-protector-strong -DFWUPD_COMPILATION -D_DEFAULT_SOURCE -DFWUPD_DISABLE_DEPRECATED -D_BSD_SOURCE -D__BSD_VISIBLE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -pthread -MD -MQ plugins/tpm-eventlog/fwupdtpmevlog.p/fu-tpm-eventlog-common.c.o -MF plugins/tpm-eventlog/fwupdtpmevlog.p/fu-tpm-eventlog-common.c.o.d -o plugins/tpm-eventlog/fwupdtpmevlog.p/fu-tpm-eventlog-common.c.o -c ../plugins/tpm-eventlog/fu-tpm-eventlog-common.c
In file included from ../libfwupdplugin/fwupdplugin.h:33,
from ../plugins/tpm-eventlog/fu-tpm-eventlog-common.h:9,
from ../plugins/tpm-eventlog/fu-tpm-eventlog-common.c:9:
../libfwupdplugin/fu-plugin-vfuncs.h:17:10: fatal error: fu-hash.h: No such file or directory
17 | #include "fu-hash.h"
| ^~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
```
2021-08-22 16:09:18 -05:00
Apollo Ling
98f78f4b15
plugin/synaptics-mst: add support for cayenne/spyder
2021-08-19 22:49:38 -05:00
Mario Limonciello
684bc03813
trivial: fix various shellcheck warnings
2021-08-18 07:58:17 -05:00
Mario Limonciello
cedc772b91
trivial: redfish: remove duplicate dictionary key
...
found by codacity
2021-08-18 07:58:17 -05:00
Mario Limonciello
393777b9fb
trivial: redfish: drop unused import and variables
...
found by codacity
2021-08-18 07:58:17 -05:00
Mario Limonciello
747aeb5f8a
trivial: uefi-capsule: remove an always true condition
...
found by codacity
2021-08-18 07:58:17 -05:00