-
Notifications
You must be signed in to change notification settings - Fork 11
Development
-
Get the required software:
-
Disable driver signature verification (required to get IRPmon working):
Hold shift while clicking on the restart button in the start menu. Go through
Troubleshoot
,Advanced Options
,See more recovery options
,Start-up Settings
and pressRestart
. Boot into windows. On the screen appearing afterwards press7
toDisable driver signature enforcement
.Note: This step will re-boot your PC.
-
Start IRPMon via
x64/IRPMon.exe
.Select
Action
,Select drivers / devices...
and search for\Driver\iaLPSS2_UART2
. Expand and right-click on the inner-most entry and selectHooked
. Select theData
option while hooking, then clickOk
to close the selection window.Make sure there is a check mark next to
Monitoring
,Capture Events
. If not activate this. -
Perform a/the task involving the EC (eg. detaching the clipboard on the SB2). You should then see messages appearing in the window. You can see which items have data in the "Associated Data" column and look at the data under
Request
,Details
,Hexer
. You can save those to a file viaAction
,Save
.Please try to submit concise logs containing one test at a time. Usually the messages should stop appearing after a short period of time and you can then assume that the exchange between Windows and the EC is complete.
From what I can figure out, the (newer) Surface devices use two different ARM chips:
- Kinetis K22F on Surface Book 2, Surface Pro 5, Surface Pro 6, ..?
- Kinetis KL17 on Surface Pro 4, Surface Book 1, ..?
- NXP LPC54Sxx on Surface Pro 7, Surface Pro X, ..? (Datasheet, User Manual, SVD)
In addition to these two chips, there are also two different communication interfaces:
-
The Surface Book 2, Surface Pro 5, Surface Pro 6, Surface Laptop 1, and Surface Laptop 2 use a UART serial bus.
-
The Surface Book 1 and Surface Pro 4 use HID-over-I2C.
Currently only the first interface is supported, meaning this module does currently not support the Surface Book 1 and Surface Pro 4.