31.3.6 Driver and Device Information
The following table lists the UEFI Shell commands that can be used to dump information about the UEFI Drivers that follow the UEFI Driver Model. Each of these commands shows information from a slightly different perspective.
This command lists all the devices that are being managed or produced by UEFI drivers that follow the UEFI driver model. This command uses the
GetControllerName()service of the Component Name protocols to retrieve the human-readable name of each device that is being managed or produced by UEFI drivers. If a human-readable name is not available, then the EFI device path is used.
- For Component Name: use the 3-letter language localization
- For Component Name2: use the 2x3-letter language localization
The code below shows the following examples of the
Devicescommand. The -l switch specifies the localized language.
- Example 1: Shows the
Devicescommand being used to list the UEFI drivers in the default language.
- Example 2: Shows the device names in Spanish.
fs0:> Devices -lspa fs0:> Devices -lsp
This command is backwards compatible. If the system supports both the Component Name Protocol and the Component Name2 Protocol, the driver can produce both protocols. If the system supports only 2-letter localizations, an error is generated if at attempt is made to enter the 2-leter localization.
This command provides detailed information on a device handle that is being managed by one or more UEFI drivers that follow the UEFI driver model. The
OpenInfocommand displays each protocol interface installed on the device handle, and the list of agents that have opened that protocol interface with the
This command may be used to display information for devices or drivers.
- Example 1: The following example shows the
OpenInfocommand being used to display the list of protocol interfaces on device handle 23 along with the list of agents that have opened those protocol interfaces.
fs0:> OpenInfo 23
- Example 2: The following example shows the
OpenInfocommand being used to display the list of devices and/or child processes being managed by a driver.
fs0:> OpenInfo 15
- Example 3: The
OpenInfocommand may be used along with the
Reconnectcommands to verify that a UEFI driver is opening and closing protocol interfaces correctly. For example:
fs0:> Connect 23 fs0:> OpenInfo 23