mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-04 11:31:51 +00:00

This is a large commit that removes all the providers and turns them into plugins. I think having both providers _and_ plugins was super confusing. Plugins are loaded at runtime so you could in theory develop a new plugin without putting it in the fwupd source tree, although there are no installed headers or PC files as I'm not sure it's a good idea at this stage. This commit moves all the per-provider docs, tests, notes, debug dumps and test data to plugin-specific directories -- these also allows the plugin author to "own" more of the source tree so we don't enforce fu- prefixes and the style guide everywhere. This allows us to run the same action on all the plugins in the future, so we could have a prepare(FuPlugin, FuDevice) and cleanup(FuPlugin, FuDevice) run on *all* plugins, so doing an update using one plugin would allow us to work around hardware quirks in other plugins. If I've broken your out-of-tree provider it's trivial to port to the new API with sed and a fixed up build file. If you need help please let me know.
135 lines
4.4 KiB
Plaintext
135 lines
4.4 KiB
Plaintext
|
|
Bus 002 Device 053: ID 1235:ab21 Focusrite-Novation
|
|
Device Descriptor:
|
|
bLength 18
|
|
bDescriptorType 1
|
|
bcdUSB 2.00
|
|
bDeviceClass 0
|
|
bDeviceSubClass 0
|
|
bDeviceProtocol 0
|
|
bMaxPacketSize0 64
|
|
idVendor 0x1235 Focusrite-Novation
|
|
idProduct 0xab21
|
|
bcdDevice 0.01
|
|
iManufacturer 1
|
|
iProduct 2
|
|
iSerial 0
|
|
bNumConfigurations 1
|
|
Configuration Descriptor:
|
|
bLength 9
|
|
bDescriptorType 2
|
|
wTotalLength 41
|
|
bNumInterfaces 1
|
|
bConfigurationValue 1
|
|
iConfiguration 0
|
|
bmAttributes 0xc0
|
|
Self Powered
|
|
MaxPower 480mA
|
|
Interface Descriptor:
|
|
bLength 9
|
|
bDescriptorType 4
|
|
bInterfaceNumber 0
|
|
bAlternateSetting 0
|
|
bNumEndpoints 2
|
|
bInterfaceClass 3 Human Interface Device
|
|
bInterfaceSubClass 0
|
|
bInterfaceProtocol 0
|
|
iInterface 0
|
|
HID Device Descriptor:
|
|
bLength 9
|
|
bDescriptorType 33
|
|
bcdHID 1.10
|
|
bCountryCode 0 Not supported
|
|
bNumDescriptors 1
|
|
bDescriptorType 34 Report
|
|
wDescriptorLength 99
|
|
Report Descriptors:
|
|
** UNAVAILABLE **
|
|
Endpoint Descriptor:
|
|
bLength 7
|
|
bDescriptorType 5
|
|
bEndpointAddress 0x81 EP 1 IN
|
|
bmAttributes 3
|
|
Transfer Type Interrupt
|
|
Synch Type None
|
|
Usage Type Data
|
|
wMaxPacketSize 0x0008 1x 8 bytes
|
|
bInterval 32
|
|
Endpoint Descriptor:
|
|
bLength 7
|
|
bDescriptorType 5
|
|
bEndpointAddress 0x02 EP 2 OUT
|
|
bmAttributes 3
|
|
Transfer Type Interrupt
|
|
Synch Type None
|
|
Usage Type Data
|
|
wMaxPacketSize 0x0008 1x 8 bytes
|
|
bInterval 16
|
|
|
|
Bus 002 Device 055: ID 0483:5750 STMicroelectronics
|
|
Device Descriptor:
|
|
bLength 18
|
|
bDescriptorType 1
|
|
bcdUSB 2.00
|
|
bDeviceClass 0
|
|
bDeviceSubClass 0
|
|
bDeviceProtocol 0
|
|
bMaxPacketSize0 64
|
|
idVendor 0x0483 STMicroelectronics
|
|
idProduct 0x5750
|
|
bcdDevice 2.00
|
|
iManufacturer 1
|
|
iProduct 2
|
|
iSerial 3
|
|
bNumConfigurations 1
|
|
Configuration Descriptor:
|
|
bLength 9
|
|
bDescriptorType 2
|
|
wTotalLength 41
|
|
bNumInterfaces 1
|
|
bConfigurationValue 1
|
|
iConfiguration 0
|
|
bmAttributes 0xc0
|
|
Self Powered
|
|
MaxPower 480mA
|
|
Interface Descriptor:
|
|
bLength 9
|
|
bDescriptorType 4
|
|
bInterfaceNumber 0
|
|
bAlternateSetting 0
|
|
bNumEndpoints 2
|
|
bInterfaceClass 3 Human Interface Device
|
|
bInterfaceSubClass 0
|
|
bInterfaceProtocol 0
|
|
iInterface 0
|
|
HID Device Descriptor:
|
|
bLength 9
|
|
bDescriptorType 33
|
|
bcdHID 1.10
|
|
bCountryCode 0 Not supported
|
|
bNumDescriptors 1
|
|
bDescriptorType 34 Report
|
|
wDescriptorLength 33
|
|
Report Descriptors:
|
|
** UNAVAILABLE **
|
|
Endpoint Descriptor:
|
|
bLength 7
|
|
bDescriptorType 5
|
|
bEndpointAddress 0x82 EP 2 IN
|
|
bmAttributes 3
|
|
Transfer Type Interrupt
|
|
Synch Type None
|
|
Usage Type Data
|
|
wMaxPacketSize 0x0040 1x 64 bytes
|
|
bInterval 32
|
|
Endpoint Descriptor:
|
|
bLength 7
|
|
bDescriptorType 5
|
|
bEndpointAddress 0x01 EP 1 OUT
|
|
bmAttributes 3
|
|
Transfer Type Interrupt
|
|
Synch Type None
|
|
Usage Type Data
|
|
wMaxPacketSize 0x0040 1x 64 bytes
|
|
bInterval 16
|