Richard Hughes
496fb826f1
trivial: Add fu_udev_device_get_number()
2020-09-26 12:20:41 +01:00
Richard Hughes
0038b4a780
Allow plugins to match using the SUBSYS IDs
...
This is the same format specified by Microsoft in "Identifiers for PCI Devices"
https://docs.microsoft.com/en-us/windows-hardware/drivers/install/identifiers-for-pci-devices
2020-09-17 15:25:26 +01:00
Richard Hughes
9a07407401
Use the FuUdevDevice ->to_string() output
...
Print the sysfs path for devices deriving from FuUdevDevice, which also allows
us to use FU_UDEV_DEVICE_DEBUG without monkey-patching the plugins that also
define a device_class->to_string() vfunc.
2020-09-03 16:50:41 +01:00
Richard Hughes
8edaa89076
libfwupdplugin: Allow opening i2c devices with O_NONBLOCK
2020-07-28 14:19:24 +01:00
Mario Limonciello
a2431e07ff
trivial: fu-udev-device: add support for exporting the udev device type
...
This is useful in some plugins that will behave differently for
multiple device types.
2020-07-03 12:56:44 -05:00
Mario Limonciello
412e170b26
trivial: libfwupdplugin: add a new method to write strings to sysfs files
2020-06-22 16:09:10 -05:00
Richard Hughes
bdfccdf097
Allow multi-byte FuUdevDevice preads and writes
2020-05-29 17:34:18 +01:00
Richard Hughes
63fa4effd3
pci-mei: Check the ME device is not in manufacturing mode
2020-05-15 21:28:27 -05:00
Mario Limonciello
0d207d8dea
fu-udev-device: add fu_udev_device_get_parent_name
...
This will fetch the name from parent device
2020-04-29 13:15:45 -05:00
Mario Limonciello
224b685fae
fu-udev-device: Add support for reading arbitrary sysfs attributes
...
Some devices provide 'non-standard' attributes that are relevant
for use.
2020-04-29 13:15:45 -05:00
Richard Hughes
234ee64509
Allow specifying a list of subsystems when setting a physical ID
...
Sometimes we want to fall back to a different subsystem entirely.
2020-02-12 17:15:28 +00:00
Richard Hughes
63b9ac8844
Don't always get the vendor ID for udev devices using the parent
...
Fixes bugs like https://github.com/fwupd/fwupd/issues/1673
2020-01-06 14:48:58 +00:00
Richard Hughes
6c924a69c4
Add fu_udev_device_set_flags()
...
This allows us to specify with more detail how the device is opened.
2019-12-05 14:08:48 -06:00
Mario Limonciello
6b0e66354b
Convert libfwupdprivate to a shared library libfwupdplugin
2019-11-27 11:32:43 +00:00