Part of lp.hardwaredb.scripts.hwdbsubmissions View In Hierarchy
Method | __init__ | HALDevice constructor. |
Method | getProperty | Return the HAL property property_name. |
Method | parent_udi | The UDI of the parent device. |
Method | device_id | See BaseDevice . |
Method | pci_class | See BaseDevice . |
Method | pci_subclass | The PCI device sub-class of the device or None for Non-PCI devices. |
Method | usb_vendor_id | See BaseDevice . |
Method | usb_product_id | See BaseDevice . |
Method | scsi_vendor | See BaseDevice . |
Method | scsi_model | See BaseDevice . |
Method | driver_name | See BaseDevice . |
Method | raw_bus | See BaseDevice . |
Method | is_root_device | See BaseDevice . |
Method | getVendorOrProduct | Return the vendor or product of this device. |
Method | vendor | See BaseDevice . |
Method | product | See BaseDevice . |
Method | getVendorOrProductID | Return the vendor or product ID for this device. |
Method | vendor_id | See BaseDevice . |
Method | product_id | See BaseDevice . |
Method | scsi_controller | See BaseDevice . |
Inherited from BaseDevice:
Method | addChild | Add a child device and set the child's parent. |
Method | vendor_id_for_db | The vendor ID in the representation needed for the HWDB tables. |
Method | product_id_for_db | The product ID in the representation needed for the HWDB tables. |
Method | translateScsiBus | Return the real bus of a device where raw_bus=='scsi'. |
Method | translatePciBus | Undocumented |
Method | real_bus | Return the bus this device connects to on the host side. |
Method | is_real_device | True, if the HAL device correspends to a real device. |
Method | getRealChildren | Return the list of real child devices of this devices. |
Method | has_reliable_data | Can this device be stored in the HWDB? |
Method | getScsiVendorAndModelName | Separate vendor and model name of SCSI decvices. |
Method | getDriver | Return the HWDriver instance associated with this device. |
Method | ensureVendorIDVendorNameExists | Ensure that a useful HWVendorID record for self.vendor_id exists. |
Method | createDBData | Create HWDB records for this HAL device and its children. |
Method | createDBDriverData | Create HWDB records for drivers of this device and its children. |
Parameters | id | The ID of the HAL device in the submission data as specified in <device id=...>. (type: int) |
udi | The UDI of the HAL device. (type: string) | |
properties | The HAL properties of the device. (type: dict) | |
parser | The parser processing a submission. (type: SubmissionParser) |
Note that there is no check of the property type.
Return the vendor or product of this device. :return: The vendor or product data for this device. :param type_: 'vendor' or 'product'
Return the vendor or product ID for this device. :return: The vendor or product ID for this device. :param type_: 'vendor' or 'product'