Skip to content

simbatt: Provide instructions for how to test the driver - #1187

Open
Fredrik Orderud (forderud) wants to merge 1 commit into
microsoft:developfrom
forderud:simbatt-test-doc
Open

simbatt: Provide instructions for how to test the driver#1187
Fredrik Orderud (forderud) wants to merge 1 commit into
microsoft:developfrom
forderud:simbatt-test-doc

Conversation

@forderud

@forderud Fredrik Orderud (forderud) commented Jun 20, 2024

Copy link
Copy Markdown
Contributor

Add instructions for how to install the driver, simulate two batteries, modify battery parameters and clean up afterwards. This will make it easier to get started with the driver.

Open questions

  • Please let me know if the proposal doesn't adhere to the project "style" and I'll do my best to update it accordingly.
  • The instructions for getting the battery handle in the IOCTL_SIMBATT_SET_STATUS example are a bit vague, since I didn't want to be overly verbose. Please let me know if you either prefer to drop those instructions altogether, or make them more complete. Alternatively, maybe it could be worthwhile to introduce a command-line tool to ease testing of the IOCTL calls?

Prerequisites

The instructions assume that testsigning is already enabled with bcdedit /set testsigning on and that the driver signing certificate is trusted with certutil.exe -addstore root simbatt.cer and certutil.exe -f -addstore trustedpublisher simbatt.cer.

@forderud

Copy link
Copy Markdown
Contributor Author

Gentle reminder. Any project maintainers interested in reviewing this documentation update proposal?

Add instructions for how to install the driver, simulate two batteries, modify battery parameters and clean up afterwards.

The instructions assume that testsigning is already enabled with "bcdedit /set testsigning on" and that the driver signing certificate is trusted with "certutil.exe -addstore root simbatt.cer" and "certutil.exe -f -addstore trustedpublisher simbatt.cer".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant