Libosinfo.Device
- Subclasses:
None
Class Details
-
class Libosinfo.Device(**kwargs)
- Bases:
Libosinfo.Entity
- Abstract:
No
- Structure:
Libosinfo.DeviceClass
-
classmethod new(id)
- Parameters:
id (str
) –
- Return type:
Libosinfo.Device
-
get_bus_type()
- Return type:
str
-
get_class()
- Return type:
str
-
get_name()
- Return type:
str
-
get_product()
- Return type:
str
-
get_product_id()
- Return type:
str
-
get_subsystem()
- Returns:
the value of the device’s subsystem.
- Return type:
str
-
get_vendor()
- Return type:
str
-
get_vendor_id()
- Return type:
str