Richard Hughes
0fe22ff010
ebitdo: Ensure the version is set on the device in non-bootloader mode
2017-06-05 09:03:44 +01:00
Richard Hughes
a9adbf5d22
ebitdo: 8bitdo has started using a new VID
2017-06-05 08:46:50 +01:00
Richard Hughes
35579c3183
unifying: Do not expect a reply when issuing a REBOOT command
...
Although the device does send a response, in some cases the Linux USB stack
processes the disconnect before the reply is processed.
Resolves: https://github.com/hughsie/fwupd/issues/122
2017-05-31 16:44:21 +01:00
Richard Hughes
5bba7caa4d
unifying: Remove the indirection to lu_device_send_request()
...
It's only called by one static user, and it is much simpler this way.
2017-05-31 16:40:54 +01:00
Richard Hughes
2ff985e04b
unifying: Allow calling lu_device_close() multiple times without an error
2017-05-31 16:36:00 +01:00
Richard Hughes
e1e9fa99b4
unifying: Don't read a register we don't use
...
It seems other firmware versions are affected too.
2017-05-30 19:46:42 +01:00
Mario Limonciello
df1f570069
Fix a logic error with testing for a dell system.
...
Some Lenovo systems were inadvertently matching.
2017-05-25 21:33:54 -05:00
Richard Hughes
e2ecefa3c3
unifying: Relax the requirement that a SHORT request should return a SHORT reply
...
For some HID++2.0 devices a SHORT request is allowed to be padded into a LONG
response.
2017-05-23 13:54:10 +01:00
Richard Hughes
2b5f6b9a74
unifying: Correctly open RQR12 devices with original factory firmware
...
It seems reading from the register is fixed in later firmware versions.
2017-05-23 13:14:28 +01:00
Richard Hughes
fd45583728
unifying: Ensure HID devices are closed if the subclassed open() or probe() failed
...
Fixes the critical warnings in https://github.com/hughsie/fwupd/issues/117
2017-05-23 12:27:23 +01:00
Richard Hughes
26a52be318
unifying: Fix the spelling of 'Receiver'
2017-05-23 09:30:20 +01:00
Richard Hughes
ccda0d2be7
uefi: Add a translatable string for future use
...
This is added now so the translator teams get a chance to translate it before
it is used in anger.
2017-05-22 12:01:26 +01:00
Richard Hughes
0293f720bc
unifying: Ensure device is closed if fu_device_ebitdo_open() did not complete
...
It's not expected users have to call lu_device_close() if opening failed.
2017-05-08 12:44:53 +01:00
Richard Hughes
741f3310ab
ebitdo: Ensure device is closed if fu_device_ebitdo_open() did not complete
...
It's not expected users have to call fu_device_ebitdo_close() if opening failed.
2017-05-08 12:44:26 +01:00
Richard Hughes
b0c65749fc
steelseries: Ensure device is closed if it returns an invalid packet
2017-05-08 12:43:17 +01:00
Richard Hughes
2bdc588112
unifying: Ignore spaces in the version prefix
2017-05-03 10:24:59 +01:00
Richard Hughes
7a7591a99a
unifying: Add support for DFU features
...
This adds support for flashing peripherals with the 0x00d0 DFU feature.
2017-05-02 21:30:50 +01:00
JulianLiu
1d577d6572
enable-dell requires libfwup-dev ( #113 )
...
* enable-dell requires libfwup-dev
Add dependency in enable-dell and shared_module('fu_plugin_uefi')
2017-05-02 19:38:15 +01:00
Mario Limonciello
5c1df14d05
fix test suite localstate directory to be a temporary directory
2017-04-20 13:53:19 -05:00
Richard Hughes
fe3f0eda75
trivial: Fix build when using older version of meson
...
Newer meson versions ignore unknown found requests, not so much for older ones.
2017-04-19 08:38:41 +01:00
Richard Hughes
4f0f4c77ce
trivial: Fix underlinking in the altos plugin
2017-04-16 09:10:30 +01:00
Richard Hughes
1fdb335025
Remove the automake build system
2017-04-13 18:42:08 +01:00
Richard Hughes
f6ee41edf2
trivial: Make libtbtfwu optional when compiling with thunderbolt support
2017-04-13 17:44:08 +01:00
Richard Hughes
9f0c47b36a
Fix the raspberrypi self test code under meson
...
Also, refactor the common test code to a new source file.
2017-04-13 10:09:33 +01:00
Richard Hughes
87e82a716d
trivial: Add the optional valgrind functionality back
2017-04-12 18:21:08 +01:00
Richard Hughes
67b8cb62bc
trivial: Fix the last -Wpointer-sign warning
2017-04-12 17:56:54 +01:00
Richard Hughes
ea8ebcfc7b
unifying: Refactor the plugin now we have some more information about the hardware
...
Many thanks to Logitech.
2017-04-12 17:54:50 +01:00
Richard Hughes
38a08807f5
trivial: Fix linking in the synapticsmst plugin
2017-04-12 17:54:46 +01:00
Richard Hughes
463f80566c
trivial: Fix linking in the thunderbolt plugin
2017-04-12 17:54:46 +01:00
Richard Hughes
57746cb839
Add the Meson build system as an alternate to autotools
...
Automake and autoconf are impossible to fully understand and Meson now provides
everything we need for a much smaller, faster, and more understandable build.
See http://mesonbuild.com/ for more information.
2017-04-12 16:35:18 +01:00
Richard Hughes
d3f4b5a428
trivial: Define the build dir outside the source file
2017-04-12 14:26:14 +01:00
Richard Hughes
f985a8f7b7
trivial: Fix the log domains in two plugins
2017-04-12 14:20:07 +01:00
Mario Limonciello
99489a8638
trivial: set synaptics error message in more scenarios
2017-03-20 13:34:26 -05:00
Richard Hughes
7db8ed498b
trivial: Unbreak make check
2017-02-24 10:55:46 +00:00
Richard Hughes
c3c28bacae
trivial: Always initialize a g_autoptr as the compiler is not yet smart enough
2017-02-24 07:54:51 +00:00
Mario Limonciello
6cabd969e9
trivial: correct a small memory leak in SynapticsMST plugin
2017-02-23 13:16:04 -06:00
Mario Limonciello
e70e5513ca
dell: don't initialize libsmbios on unsupported systems
...
As found in https://github.com/dell/libsmbios/pull/13
there are some errors with libsmbios error paths.
These need to be fixed in libsmbios, but at least avoid
running this code on those systems (and crashing fwupd).
2017-02-20 14:54:12 -06:00
Mario Limonciello
aad9729347
trivial: fix build issues with older efivar
...
This is in the same vane as 4da67515
, it allows linking with
an older efivar.
2017-02-15 09:29:59 -06:00
Richard Hughes
d82a6024e7
Fix a crash when enumerating devices on a Dell WLD15
2017-02-13 11:03:03 +00:00
Richard Hughes
31c36cd2b6
trivial: Fix some -Wdiscarded-qualifiers warnings
2017-02-13 11:02:19 +00:00
Richard Hughes
2613dcc3b8
trivial: Fix another -Wpointer-sign compile warning
2017-02-13 10:50:07 +00:00
Richard Hughes
6d5f2dc25e
trivial: Fix compile warnings when building packages
2017-02-13 10:50:07 +00:00
Richard Hughes
4da6751502
trivial: Fix build issue
...
Patch from Gert Hulselmans, many thanks.
Fixes: https://github.com/hughsie/fwupd/issues/88
2017-02-13 10:50:07 +00:00
Kai Krakow
1c7ea9ee2d
Fix compiler warnings
...
My compiler doesn't understand -Wno-discard-qualifiers so drop it and
fix the warnings instead. I think it is better to explicitly fix them
anyways instead of just to ignore the discarded const qualifier in
general.
I think the option should be avoided in hand-written code. The warning
is there for a reason: To protect you from possibly overwriting data you
expect to not be modified when passing pointers around.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41215
2017-02-13 10:02:25 +00:00
Richard Hughes
3e214856fb
trivial: Fix a resource leak spotted by coverity
2017-02-08 11:03:48 +00:00
Mario Limonciello
8971645f78
trivial: synapticsmst: don't bother to scan cascade nodes in test suite
...
This significantly speeds up the test suite.
They can't really be easily represented anyways in the test suite
since the devnode would have to change so much between steps.
2017-02-03 13:21:29 -06:00
Richard Hughes
48d23f7bb0
Fix a refcounting issue in the udev plugin
...
Objects are returned from the cache with transfer:none.
Hopefully fixes https://github.com/hughsie/fwupd/issues/86
2017-02-03 14:17:07 +00:00
Richard Hughes
c4cbcafe5e
synapticsmst: Fix up some trivial whitespace issues
2017-02-03 10:11:41 +00:00
Mario Limonciello
0a65ffb239
synapticsmst: add a test suite
2017-02-02 21:43:42 -06:00
Mario Limonciello
f5144d0720
trivial: synaptics: increase flash mode delay to 3s
...
This allows devices with multiple hubs to settle between device
flashes better. It doesn't have much other functional impact.
2017-02-01 17:16:27 -06:00