Commit Graph

2860 Commits

Author SHA1 Message Date
Richard Hughes
a475eecda2 Export FwupdUpdateState in libfwupd 2016-03-17 09:48:34 +00:00
Richard Hughes
c1e3ded9a3 Add fwupd_trust_flag_to_string() 2016-03-17 09:43:04 +00:00
Richard Hughes
da887df142 trivial: Add note for next API break 2016-03-17 09:42:52 +00:00
Richard Hughes
2d041f370f trivial: post branch version bump 2016-03-16 18:14:11 +00:00
Richard Hughes
6d39d37039 Show device flags in 'fwupdmgr get-devices' 2016-03-15 21:40:36 +00:00
Richard Hughes
16d8f6212d Return the device flags when getting firmware details
This allows us to see if a local firmware file can be installed on the local
machine, and crucially, whether it has to be installed on or off-line.
2016-03-15 21:40:36 +00:00
Richard Hughes
23583f9d0b Add fwupd_device_flag_to_string() 2016-03-15 16:31:47 +00:00
Richard Hughes
5883ccae57 Add a plugin for SteelSeries hardware 2016-03-14 14:56:11 +00:00
Richard Hughes
dad1e193cd Run vendor plugins as required
This allows us to run plugins from AppStream metadata values.
2016-03-14 14:54:21 +00:00
Richard Hughes
80a77bcfd8 Use g_usb_context_wait_for_replug() 2016-03-14 14:47:44 +00:00
Richard Hughes
b4572d4c8c trivial: post release version bump 2016-03-14 09:32:05 +00:00
Richard Hughes
f1d06338ec Release fwupd 0.6.3 2016-03-14 09:30:08 +00:00
Richard Hughes
d090514f15 Add a simple plugin infrastructure
This allows vendors to write small self-contained modules that can be used to
override the default behaviour in the various providers.
2016-03-13 09:52:55 +00:00
Richard Hughes
ffa323b231 Revert "Allow defining update vfuncs with no runtime support"
This reverts commit 780a3e59ff.
2016-03-11 08:48:58 +00:00
Richard Hughes
780a3e59ff Allow defining update vfuncs with no runtime support
This allows providers to decide at runtime if a device can be updated online.
2016-03-11 08:21:22 +00:00
Richard Hughes
935769bf4d trivial: Fix comment header 2016-03-11 08:21:10 +00:00
Richard Hughes
da9804d8be Show ignored DFU devices in dfu-util, but not in fwupd
This allows desktop software to ignore the device, but leaves the device
controllable by the dfu-tool command line client.
2016-03-07 08:47:11 +00:00
Richard Hughes
d8b6d8a1f5 Export the attribute and quirk values in libdfu 2016-03-07 08:44:14 +00:00
Richard Hughes
c9620ac61e Ignore the DFU runtime on the DW1820A 2016-03-07 08:42:12 +00:00
Richard Hughes
2fd64ecef8 trivial: Fix a method prefix to reflect reality 2016-03-07 08:21:39 +00:00
Richard Hughes
41b1f6c7c4 trivial: Fix tiny build warning with GCC6 2016-03-03 08:13:03 +00:00
Mario Limonciello
7ebdc1b148 trivial: Adjust ESRT enable function to match fwupdate change.
This was changed to have a fwup_ prefix and be clearer:
b817715900
2016-03-02 10:23:34 -06:00
Richard Hughes
65dfbfe54f Do not use deprecated API from libappstream-glib 2016-03-02 13:43:21 +00:00
Richard Hughes
aaa0772618 Only read PCI OptionROM firmware when devices are manually unlocked
This allows us to do two things:

 * Start up much faster, now typically under 150ms on fast machines
 * Stop hard-locking machines with dodgy hardware or non-free kernel drivers

The last point in particular was causing gnome-software a bad reputation, as
fwupd was only auto-started the when gnome-software was launched, which read
the Option ROM which then hardlocked some machines.

Note: We still unconditionally read the Option ROM when verifying, although
this is a seldom used feature, and easier to correlate with hard lockups on
faulty hardware.
2016-03-02 10:17:02 +00:00
Mario Limonciello
29a7f95beb Add ESRT enable method into UEFI provider. 2016-03-02 10:17:02 +00:00
Richard Hughes
9a410ce459 Add an unlock method for devices
This is based on an idea from Mario Limonciello which can be used to enable a
PCI OptionROM read, or possibly enable ESRT functionality.
2016-03-02 10:17:02 +00:00
Richard Hughes
46d6180f29 Correct the BCD version number for DFU 1.1
This prevents a warning about invalid version numbers for newer hardware.
I have no idea why 1.1 would be encoded as 0x0110 rather than 0x0101 but
dfu-util seems to do the same thing.
2016-03-02 09:57:38 +00:00
Richard Hughes
bdb62db907 Install the hardcoded firmware AppStream file
This currently contains a few USB 3.0 chips which we know about, but can't
actually update ourselves.
2016-02-29 11:20:26 +00:00
Richard Hughes
b75c92db47 Require AC power before scheduling some types of firmware update
Fixes half of https://github.com/hughsie/fwupd/issues/42
2016-02-20 20:25:56 +00:00
Richard Hughes
778c6b62d0 trivial: post release version bump 2016-02-12 16:52:20 +00:00
Richard Hughes
2e70b9277b Release fwupd 0.6.2 2016-02-12 16:50:58 +00:00
Richard Hughes
750ef0f2f4 trivial: Fix 'make distcheck' 2016-02-03 20:14:55 +00:00
Mario Limonciello
918f3939a4 Move quirks directly into a single table and file.
This will make it easier for other quirks to be added later without
needing to remember to poke through all the code to find everywhere
they were mentioned.
2016-02-03 12:47:23 -06:00
Richard Hughes
df7950b8f3 Support vendor-specific UEFI version encodings
This allows vendors such as Dell to use encodings such as AA.BB.CC.DD rather
than the default of AA.BB.CCDD which is used by Intel and Microsoft.

Existing metainfo.xml files with version numbers prefixed with '0x' are
automatically converted to the new scheme.

Based on a patch Mario Limonciello, many thanks.
2016-02-03 08:52:34 +00:00
Mario Limonciello
92f903823d Fix get-results for UEFI provider.
Even though fwupd doesn't display any information about when,
libfwup will fail to return data unless it gets a pointer.
2016-02-02 09:08:15 -06:00
Richard Hughes
1d96633198 Add 'Created' and 'Modified' properties on managed devices
This allows us to show suitable UI in GNOME Software when reporting historical
firmware updates.
2016-01-27 13:25:45 +00:00
Richard Hughes
d9099ce288 trivial: post release version bump 2016-01-19 12:59:54 +00:00
Richard Hughes
46c293cc8a Release fwupd 0.6.1 2016-01-19 12:57:33 +00:00
Richard Hughes
0a36f44bc7 trivial: Fix a debug statement when no devices are detected 2016-01-06 14:57:20 +00:00
Richard Hughes
b1b59d83cb Do not misdetect different ColorHug devices
Allow devices to have a specific device ID, which also matches other equivalent
IDs from other providers

This allows the user to plug in one type of device, and not match a different
cached device that also matches the same provider.
2016-01-06 13:20:58 +00:00
Richard Hughes
9a6a9c8b20 Always persist ColorHug devices after replug
We need this to happen no matter the method of getting the version number else
the reconnection idle loops do not work correctly.
2016-01-06 13:12:56 +00:00
Richard Hughes
2a1e75da72 Only dump the profiling data when run with --verbose
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1292059
2015-12-18 17:42:53 +00:00
Mario Limonciello
7df2c4c2e9 trivial: fu-provider-udev: Remove dead debug code 2015-12-08 13:39:54 -06:00
Richard Hughes
2aa112465d trivial: Add actual example in the DFU metadata spec document 2015-12-08 08:59:29 +00:00
Richard Hughes
9c598d32db trivial: Fix up the man page with corrections from Bastian Ilso 2015-12-07 17:06:51 +00:00
Richard Hughes
e0b417e628 trivial: Update the example spec file to reflect reality 2015-12-07 16:59:21 +00:00
Richard Hughes
1227c73168 trivial: post release version bump 2015-12-07 16:22:37 +00:00
Richard Hughes
280745f5f0 Release fwupd 0.6.0 2015-12-07 16:20:59 +00:00
Richard Hughes
c6519ea4e8 trivial: Add more detail to the man page
Lets face it, flashing firmware is kinda scary so we want to read a bit about
what a command is really going to do before we do anything.
2015-12-07 10:47:17 +00:00
Richard Hughes
f908669642 trivial: Write a proper dfu-tool man page 2015-12-06 20:18:47 +00:00