Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

forderud
Copy link
Contributor

@forderud forderud commented Jun 20, 2024

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 forderud requested a review from a team as a code owner June 20, 2024 10:02
@forderud forderud force-pushed the simbatt-test-doc branch 9 times, most recently from aaa81e4 to 20a2929 Compare June 20, 2024 10:37
forderud added a commit to forderud/BatterySimulator that referenced this pull request Jun 20, 2024
@forderud forderud force-pushed the simbatt-test-doc branch 2 times, most recently from b209353 to c3c4b4c Compare June 21, 2024 07:43
@forderud
Copy link
Contributor Author

forderud commented Aug 2, 2024

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.

None yet

1 participant