Richard Hughes
e97c5eb013
unifying: Manually set the HID++ version for runtime devices
2017-06-28 12:09:51 +01:00
Richard Hughes
653119fef8
unifying: Use a longer timeout for some operations
2017-06-28 12:09:51 +01:00
Richard Hughes
22dc937184
unifying: Use __attribute__((packed)) for structs sent to the hardware
2017-06-28 12:09:51 +01:00
Richard Hughes
f21cda4fed
unifying: Clear the feature map when a device is reprobed
2017-06-28 12:09:51 +01:00
Richard Hughes
695d01ed93
unifying: Keep the devices open, closing in finalize
2017-06-28 12:09:51 +01:00
Richard Hughes
c3b5b24287
unifying: Fix a confusing debug message
2017-06-28 12:05:32 +01:00
Richard Hughes
ae15bc2649
unifying: Filter by SwId when making HID++2.0 requests
...
Using the default value of '0' is what the kernel is using (related, libratbag
is using 0x08) and makes hotplug unreliable.
2017-06-28 12:05:32 +01:00
Richard Hughes
668f91419d
unifying: Allow large HID++ version numbers
...
Apparently, '4.3' is a perfectly valid version number.
2017-06-28 12:05:32 +01:00
Richard Hughes
f1399580b5
unifying: Do not allow closing a non-open device
2017-06-28 12:05:32 +01:00
Richard Hughes
38451999ff
unifying: Actually enforce the device_id checks
2017-06-28 12:05:32 +01:00
Richard Hughes
8884676c5d
unifying: Ping before trying to get the feature indexes
...
This reduces log spew for disconnected-but-paired devices.
2017-06-28 12:05:32 +01:00
Richard Hughes
45e3a03d15
trivial: Make a debug message less alarming
2017-06-28 12:05:32 +01:00
Richard Hughes
c4195b075d
trivial: Add an installed test for the K780
2017-06-28 12:05:32 +01:00
Richard Hughes
433fbb4574
trivial: Do not cache junk if the LVFS returns 404
2017-06-28 12:05:32 +01:00
Mario Limonciello
d97eb03b6b
trivial: debian: calculate version number using git describe again
...
This will be more representative of what the build actually is
rather than a mismarked tag.
If the checkout doesn't include a tag, fallback to parsing meson.build
though.
2017-06-26 13:01:29 -05:00
Mario Limonciello
3db79f2ec2
trivial: Fixup the arch build to work on Travis
...
* Use sed to adjust package version while running script rather than `makepkg`
* Run script as root so it can modify `/build`
* Run `makepkg` as nobody rather than "build"
* Separate build/install steps
2017-06-26 12:57:55 -05:00
Bruno Pagani
1cc7d8d271
Add Arch Linux to CI
2017-06-26 09:50:11 -05:00
Mario Limonciello
db42f2bd27
trivial: don't pull debhelper from experimental on debian CI anymore
...
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865363 has been
fixed
2017-06-26 08:55:49 -05:00
Richard Hughes
72975f0077
unifying: Only mark the device as active once the probe has completed
2017-06-24 07:40:38 +01:00
Richard Hughes
765c679498
unifying: Only detach the device if required
2017-06-24 07:24:15 +01:00
Mario Limonciello
43775d03f9
debian: use dpkg-divert to adjust the launch script for CI testing
...
This means that if someone wants to use the test inteface with
packages, no hacky launching needed.
Just:
2017-06-22 14:44:58 -05:00
Mario Limonciello
6db2a4057c
debian: split out the test suite to it's own package
...
Most people won't be running the installed-tests, but make it
easy enough for them to get at them if they want to
2017-06-22 13:59:14 -05:00
Mario Limonciello
cca4297153
trivial: Switch installedtests from python2 to python3
2017-06-22 13:42:59 -05:00
Richard Hughes
25f6a42f26
trivial: Fix the location of the hardware installed test cache
2017-06-22 19:03:52 +01:00
Richard Hughes
2877237f8a
trivial: Fix CI harder
2017-06-22 15:49:40 +01:00
Richard Hughes
5d9e9f4a36
trivial: Fix the CI build for the new hardware installed tests
2017-06-22 11:21:03 +01:00
Richard Hughes
ed34991bd8
Do not unlock devices when doing VerifyUpdate
...
We used to do this dance to avoid reading the Option ROM on hardware by default
(some faulty hardware would crash...) but now we're doing the verify update in
the daemon there's no need to split this into two steps.
Fixes: https://github.com/hughsie/fwupd/issues/149
2017-06-22 10:37:10 +01:00
Richard Hughes
b9bddfd7ac
trivial: Ensure the verify component is replaced on veriy-update, not merged
2017-06-22 10:34:18 +01:00
Richard Hughes
08f12de44c
trivial: Avoid warning when doing verify-update multiple times
...
Applications always need a valid source with newer appstream-glib versions;
even in this case where the source is the hardware itself.
2017-06-22 10:33:32 +01:00
Richard Hughes
3045d1ca3f
unifying: Do not poll when we're waiting for device replug
...
If we happen to poll when the device is in the *process* of closing then the
open() fails in a weird way. If we're flashing it's probably a good idea to not
be too clever anyway...
2017-06-22 09:38:10 +01:00
Richard Hughes
7048044156
trivial: Fix up an error message in the unifying code
2017-06-22 09:38:10 +01:00
Richard Hughes
a42dae927c
unifying: Wait for device to re-appear in runtime after attaching
...
This ensures we can flash multiple versions of firmware without an artificial
delay. Also raise the timeout to cope with chains of slow hubs.
2017-06-22 09:37:48 +01:00
Richard Hughes
22c88de8e4
trivial: Increase the warning level when a plugin adds a device twice
2017-06-22 09:36:32 +01:00
Richard Hughes
97fd762b47
unifying: Never allow the USB plugin to claim devices
2017-06-22 09:36:32 +01:00
Richard Hughes
0be13c038a
unifying: Allow a response from CMD_REBOOT
...
It's a race afterall, so some hardware is faster than others...
2017-06-22 09:36:32 +01:00
Richard Hughes
62e7393edf
Add some installed tests which require specific hardware
2017-06-22 09:36:32 +01:00
Richard Hughes
e0d84c536f
libdfu: Do not check the runtime release if device is in bootloader mode
2017-06-21 15:32:08 +01:00
Richard Hughes
7ee053df51
trivial: Actually generate complete GObjectIntrospection data
2017-06-21 15:32:08 +01:00
Richard Hughes
943d2c9bb5
trivial: Split out some common functionality from fu-engine.c
2017-06-21 09:04:39 +01:00
Mario Limonciello
c5300df799
Drop additions to /etc/apt/sources.list for Debian
...
The docker base images include these already
2017-06-20 14:45:23 -05:00
Mario Limonciello
9a33ea6e06
Adjust debian dependencies
...
They were a little bit overzealous.
2017-06-20 14:17:49 -05:00
Mario Limonciello
1499892173
Test for python dependencies before building ( #147 )
2017-06-20 14:17:49 -05:00
Mario Limonciello
f3f4390155
Only use the test runner plugin when CI is set in the env ( #148 )
...
This prevents an installed system from showing FakeDevices but
still allows exercising every commit with Travis CI
2017-06-20 13:56:13 -05:00
Mario Limonciello
b4208bb577
Adjust Debian version detection to just parse meson.build
2017-06-20 13:54:52 -05:00
Richard Hughes
9bb940d40d
trivial: Try to enable the valgrind support with newer meson versions
2017-06-20 09:25:25 +01:00
Mario Limonciello
2c9a09f767
Add texlive-fonts-recommended to Debian container
...
Since the container is installed with --no-install-recommends
it isn't coming in by default. Without it this bug occurs:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865217
2017-06-19 16:04:12 -05:00
Richard Hughes
a5bb4d8428
trivial: Fix a missing signal causing a warning in the recent refactor
2017-06-19 20:22:25 +01:00
Richard Hughes
166d42cada
amt: Fix up a small memory leak and remove some goto's
2017-06-19 20:19:32 +01:00
Mario Limonciello
35aebc838f
trivial: fix typo in contrib/debian/rules:
...
Prevented Dell and Synaptics plugins from compiling
2017-06-19 10:22:59 -05:00
Richard Hughes
9b59676a24
Add a plugin to get the version of the AMT ME interface
2017-06-19 14:01:47 +01:00