Libosinfo.DeviceDriver

g GObject.Object GObject.Object Libosinfo.Entity Libosinfo.Entity GObject.Object->Libosinfo.Entity Libosinfo.DeviceDriver Libosinfo.DeviceDriver Libosinfo.Entity->Libosinfo.DeviceDriver

Subclasses:

None

Methods

Inherited:

Libosinfo.Entity (15), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_architecture ()

get_devices ()

get_files ()

get_location ()

get_pre_installable ()

get_priority ()

get_signed ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

Libosinfo.Entity (1)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

Libosinfo.Entity

r

Class Details

class Libosinfo.DeviceDriver(**kwargs)
Bases:

Libosinfo.Entity

Abstract:

No

Structure:

Libosinfo.DeviceDriverClass

get_architecture()
Returns:

the hardware architecture.

Return type:

str

Retrieves the target hardware architecture of self.

New in version 0.2.2.

get_devices()
Returns:

The list of devices supported by this driver.

Return type:

Libosinfo.DeviceList

New in version 0.2.2.

get_files()
Returns:

The list of driver files.

Return type:

[str]

Retrieves the names of driver files under the location returned by Libosinfo.DeviceDriver.get_location.

New in version 0.2.2.

get_location()
Returns:

the location of the driver.

Return type:

str

Retrieves the location of the self as a URL.

New in version 0.2.2.

get_pre_installable()
Returns:

True if self is pre-installable, False otherwise.

Return type:

bool

New in version 0.2.2.

get_priority()
Returns:

the priority of the device driver.

Return type:

int

Returns the priority of the device driver. The higher the value, the more important it is.

New in version 1.7.0.

get_signed()
Returns:

True if self is signed, False otherwise.

Return type:

bool

Some OS vendors recommend or require device drivers to be signed by them before these device drivers could be installed on their OS.

New in version 0.2.6.