Part of lp.hardwaredb.interfaces.hwdb View In Hierarchy
Method | create | Create a vendor ID. |
Method | getByBusAndVendorID | Return an IHWVendorID instance for the given bus and vendor_id. |
Method | get | Return an IHWVendorID record with the given database ID. |
Method | idsForBus | Return all known IHWVendorID records with the given bus. |
Parameters | bus | the HWBus instance for this bus. |
vendor_id | a string containing the bus ID. Numeric IDs are represented as a hexadecimal string, prepended by '0x'. | |
name | The IHWVendorName instance with the vendor name. | |
Returns | A new IHWVendorID instance. |
Parameters | bus | An HWBus instance. |
vendor_id | A string containing the vendor ID. Numeric IDs must be represented as a hexadecimal string, prepended by '0x'. | |
Returns | The found IHWVendorID instance or None, if no instance for the given bus and vendor ID exists. |