Commit Graph

9641 Commits

Author SHA1 Message Date
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
Mario Limonciello
b95ec567b3 Install static app-info file for fwupd 2016-02-29 17:00:50 -06:00
Mario Limonciello
fbc74a52ab Merge branch 'master' into debian-next 2016-02-29 13:25:23 -06: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
Matthias Klumpp
9abd8b38f6 trivial: Correctly close bugs in debian/changelog 2016-02-16 00:17:39 +01:00
Mario Limonciello
d90d83eec3 releasing package fwupd version 0.6.2-1 2016-02-15 09:01:54 -06:00
Mario Limonciello
060bbed6ce Release fwupd 0.6.2
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABAgAGBQJWvg1yAAoJEBesuo36lw4XpRMH/AyMWaUOOg/UHZCjCq2ylzlf
 F6LMxWJqkY5gSfUedlFIwihhzUhBH715sDfy8YoSMUvlx65xdIiyB1P0A48mIb15
 PZEgJ1X6bqYKZ/v4N+S4LSr8+HZx05z7MUuU2Gc57Zr+Z+Q8VtMiwwksE8VkFSGV
 8gzwcjBF6c+oPRnTLLccOIFamS7v7iitbfLyU1yNhK4HOVcY6BO6bwv22RWAMTs9
 vbP78qa0FmqVRg9bWl2p6od3Q118u2i9KAmH6pyfSLhSkNCJgnm0QbBSqRqZp4Ym
 Tt2ePpsWTJZCvNmrp3peEhhT7KR9PSlC97YB+/hCyGjfPGQMtg8+BKD2DanZgTs=
 =Q2a2
 -----END PGP SIGNATURE-----

Merge tag '0.6.2' into debian

Release fwupd 0.6.2
2016-02-15 08:25:37 -06: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
Mario Limonciello
dedbe77d2e Add rules compatible with polkit 0.105. (Fixes: #808833) 2016-01-07 14:57:05 -06:00
Mario Limonciello
f15e5c15c2 Set polkit rules to be effective with proper group (Fixes: #808832) 2016-01-07 13:59:06 -06: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
Mario Limonciello
74a67c3cad releasing package fwupd version 0.6.0-1 2015-12-08 13:10:28 -06:00
Mario Limonciello
721ca73423 Generate libdfu* packages for the newly included libdfu support 2015-12-08 13:04:38 -06:00
Mario Limonciello
8e116cf3b9 add gtk-doc-tools to build depends and cleanup after using them. 2015-12-08 13:03:48 -06:00
Mario Limonciello
67e5288b1e update appstream-glib version requirement 2015-12-08 08:49:56 -06:00
Mario Limonciello
50933bff35 Release fwupd 0.6.0
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABAgAGBQJWZbIBAAoJEBesuo36lw4XHwQH/0CO3axyJzuMw4uyO0S9Jqes
 ETrls/EvmJ9RhE6OJM+qXcvgA9dOc6bkpVT7XJ6tOHiiQJdtSNE2IvpkyVqSifIq
 62L/luiTTMjkJSJTqUlSdPfnM/jP3tPSXjEmWqYIY5gX+5GGbZDdFR7cJWQxZe65
 Kf4AoIcTyKW/A7LIEAiDRA3JaRoHO733MFVUc/LcPU0+kVSqRpTBA+K3RNhIBdPr
 Q8bYPsnkQYxP38sVNgtsO/u2BXiGPJ7lhp+hbT7Atu04nMdQtchHadS50c5ifo+b
 sUNyz9a+a63m5xRdPR4S63qWTQJyiD+XeNJuohCv8TIght3iK/VoBQ6ziYz+VU8=
 =MG8y
 -----END PGP SIGNATURE-----

New upstream release (v0.6.0)
2015-12-08 08:46:40 -06:00
Richard Hughes
2aa112465d trivial: Add actual example in the DFU metadata spec document 2015-12-08 08:59:29 +00:00
Mario Limonciello
5c3a12b2ea releasing package fwupd version 0.5.4-2 2015-12-07 21:14:59 -06:00
Mario Limonciello
6f85aed272 Make breaks/replaces versioned 2015-12-07 21:08:43 -06:00
Mario Limonciello
996c2ee228 Adjust binary section for libfwupd-dev 2015-12-07 12:21:37 -06:00
Mario Limonciello
1fc5f4c5f3 rename .install file 2015-12-07 12:16:35 -06:00
Mario Limonciello
e853dbef74 trivial: fix order in debian/control 2015-12-07 12:09:37 -06:00
Mario Limonciello
8b289a226b Rename fwupd-dev to the more conventionally named libfwupd-dev 2015-12-07 12:04:12 -06:00
Mario Limonciello
9310b9e3fe Update copyright for current source 2015-12-07 12:00:47 -06: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