搜尋此網誌

2011年10月22日 星期六

EFI Shell commands -- DRVDIAG(行使一個驅動程式診斷協定)

Invokes the Driver Diagnostics Protocol.

DRVDIAG [-c] [-l XXX] [-s|-e|-m] [DriverHandle [DeviceHandle [ChildHandle]]]


    -c           - Diagnose all child devices
    -l           - Diagnose using the specified language
    -s           - Run diagnostics in standard mode
    -e           - Run diagnostics in extended mode
    -m           - Run diagnostics in manufacturing mode
    DriverHandle - Handle of the driver to configure
    DeviceHandle - Handle of a device that DriverHandle is managing
    ChildHandle  - Handle of a device that is a child of DeviceHandle

Examples:
  * To display the list of devices available for diagnostics:
    Shell> drvdiag

  * To display the list of devices and child devices available for diagnostics:
    Shell> drvdiag -c

  * To run diagnostics in standard mode on all devices:
    Shell> drvdiag -s

  * To run diagnostics in standard mode on all devices in English:
    Shell> drvdiag -s -l eng

  * To run diagnostics in standard mode on all devices in Spanish:
    Shell> drvdiag -s -l spa

  * To run diagnostics in standard mode on all devices and child devices:
    Shell> drvdiag -s -c

  * To run diagnostics in extended mode on all devices:
    Shell> drvdiag -e

  * To run diagnostics in manufacturing mode on all devices:
    Shell> drvdiag -m

  * To run diagnostics in standard mode on all devices managed by driver 0x17:
    Shell> drvdiag -s 17

  * To run diagnostics in standard mode on device 0x28 managed by driver 0x17:
    Shell> drvdiag -s 17 28

  * To run diagnostics in standard mode on all child devices of device 0x28
    managed by driver 0x17:
    Shell> drvdiag -s 17 28 -c

  * To run diagnostics in standard mode on child device 0x30 of device 0x28
    managed by driver 0x17:
    Shell> drvdiag -s 17 28 30
  No required handle found

沒有留言:

張貼留言