summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerrit Swaneveld <[email protected]>2023-01-12 13:47:18 -0800
committerGitHub <[email protected]>2023-01-12 13:47:18 -0800
commit92042ea4305ded0b44ae538b9fe31d56a4bb80e2 (patch)
treefb0ed55b0aac74c1f14a223828ada18094d5e8cb
parent5934a938b649e0354fa9a138db6bb5bdffd00332 (diff)
Remove invalid INF DeviceInstall32 (#811)
* Remove invalid INF DeviceInstall32 Removes from the sample an invalid API call. * Update to SimpleMediaSource.inf Fixes to use public installation path
-rw-r--r--general/SimpleMediaSource/README.md9
-rw-r--r--general/SimpleMediaSource/SimpleMediaSourceDriver/SimpleMediaSourceDriver.infbin8500 -> 6712 bytes
2 files changed, 7 insertions, 2 deletions
diff --git a/general/SimpleMediaSource/README.md b/general/SimpleMediaSource/README.md
index 4467f16b..baa17a30 100644
--- a/general/SimpleMediaSource/README.md
+++ b/general/SimpleMediaSource/README.md
@@ -27,6 +27,11 @@ For more information, see the accompanying documentation at [Frame Server Custom
1. Deploy the driver package with the following command:
- `devcon dp_add SimpleMediaSourceDriver.inf`
+ `devgen /add /bus ROOT /hardwareid root\SimpleMediaSource`
+ `pnputil /add-driver SimpleMediaSourceDriver.inf /install`
-1. In Device Manager, locate **SimpleMediaSource Capture Source**, under the Camera category. Open the Microsoft Camera App, switch cameras if necessary until the camera is streaming from the SimpleMediaSource. You should see a scrolling black and white gradient.
+1. Verify installation with Device Manager, locate **SimpleMediaSource Capture Source**, under the Camera category. If device does not appear there, check %windir%\inf\setupapi.dev.log for installation logs. The device instance ID will be available as the output of the devgen command and can be used as input to pnputil to determine status of the device.
+
+ `pnputil /enum-devices /instanceid "<InstanceID of SimpleMediaSource>" /deviceids /services /stack /drivers`
+
+1. Open the Microsoft Camera App, switch cameras if necessary until the camera is streaming from the SimpleMediaSource. You should see a scrolling black and white gradient.
diff --git a/general/SimpleMediaSource/SimpleMediaSourceDriver/SimpleMediaSourceDriver.inf b/general/SimpleMediaSource/SimpleMediaSourceDriver/SimpleMediaSourceDriver.inf
index dabb3237..e2d228fe 100644
--- a/general/SimpleMediaSource/SimpleMediaSourceDriver/SimpleMediaSourceDriver.inf
+++ b/general/SimpleMediaSource/SimpleMediaSourceDriver/SimpleMediaSourceDriver.inf
Binary files differ