Custom device interface¶
The custom device interface exposes host devices that belong to a Linux kernel subsystem.
A custom device plug is described by these attributes:
Key |
Value |
Description |
|---|---|---|
|
string |
The Linux kernel subsystem of the host devices to expose,
for example |
|
string |
Restrict the exposed devices to those with this vendor ID,
quoted so it is read as a string, for example |
|
string |
Restrict the exposed devices to those with this product ID,
quoted so it is read as a string, for example |
At least one of subsystem, vendorid, or productid
must be set.
Setting productid also requires vendorid,
since a product ID is only meaningful within a vendor’s namespace.
Plug owner: any regular SDK; not the system SDK.
Slot: the system SDK provides a single system:custom-device slot.
Other SDKs cannot declare custom device slots.