Commit Graph

9 Commits

Author SHA1 Message Date
Richard Hughes
e0f631d347 intel-usb4: Use ONLY_WAIT_FOR_REPLUG to speed up emulation 2023-02-23 13:04:12 -06:00
Richard Hughes
739523b032 intel-usb4: Allow setting the name from the metadata
We can do so much better than 'USB3.0 Hub'.
2023-02-23 13:04:12 -06:00
Richard Hughes
0378f9ffdb intel-usb4: Set the remove delay to avoid a console warning 2023-02-23 13:04:12 -06:00
Richard Hughes
619f67276c intel-usb4: Implement FuDevice->set_progress() to avoid a warning 2023-02-23 13:04:12 -06:00
Richard Hughes
090a7c8b9a Add API to wait for a device
This allows us to ignore all the delays when the device is emulated, with the
idea being to do dozens of device emulations in the CI tests.

Also, do not call fu_progress_sleep() when the device is emulated.
2023-02-23 13:04:11 -06:00
Richard Hughes
3bf53fe35b intel-usb4: Ensure the device name is set with FuUsbDevice->setup 2022-11-29 09:01:29 +00:00
Richard Hughes
891bae783c Show the USB4 NVM device ID in the debug output
Otherwise there's no way to find out what value the big-table-of-data needs.
2022-09-13 14:25:15 +01:00
Richard Hughes
404ab8e3e9 trivial: Rename the internal NvmProductId to NvmModelId to match Intel docs
This preserves sanity when comparing numbers from vendors.
2022-09-13 14:25:15 +01:00
Richard Hughes
5ebc3b6ad9 Move the generic Intel Goshen Ridge code out to a new plugin
The original code was written by Dell for the dell-dock plugin, but
it's exactly the same code and NVM format for Intel reference hardware.
2022-09-08 09:56:33 +01:00