다음을 통해 공유


GPIO 로깅 및 조사

이 항목에서는 GPIO 테스트에 대한 로깅 및 조사에 대해 설명합니다.

Logman:

logman start -ets buttonTrace -p {5a81715a-84c0-4def-ae38-edde40df5b3a} 0xFFFFFFFF 4
<repro>

logman stop -ets buttonTrace

참고 WPP 추적입니다.

테스트가 실패하면 로깅은 적절한 주입이 수행되었는지 여부를 진단하는 데 도움이 될 수 있습니다. 예를 들어 도크 표시기 변경이 예상되는 경우 알림이 트리거될 때 로그에서 다음 항목을 찾아야 합니다.

--- start of log ---
10: Indicator_EvtDevicePrepareHardware - Received 0 resource descriptors, assuming indicator status will be injected via WriteFile
11: Indicator_EvtIoWrite - Indicator state change : DockMode_Indicator : old state : NotDocked
12: Indicator_UpdateRegistryValue - Indicator state update : DockMode_Indicator : new state : Docked

표시기 주입을 구현하는 방법에 대한 추가 지침은 Windows 8.1 대한 GPIO 단추 및 지표 구현 가이드를 참조하세요.