Special device under ACPI bus + CreateDeviceAccessInstance fails
-
Freitag, 27. Januar 2012 21:51
I am porting my existing custom device driver on Win8 and making a sample Metro App to communicate with device. I have gone through the BUILD conference video and other related material. Following are the steps and issue faced.
Driver part:
1) Converted the older WDK project to compile with VS2011.
2) Added code (IoSetDeviceInterfacePropertyData) to make device interface restricted.
Metro App:
1) Downloaded MoFx2App
2) Changed the application manifest and code (backend + frontend) to use my driver's GUID (just to check wheter driver opens or not)
Device Metadata:
1) Created device metadata using VS2011.
2) Added the Metro App in the list of previledge application.
Issue:
Device is enumerated successfully, but CreateDeviceAccessInstance returns failure(Access Denied). Prints that device metadata does not list any application.
Is there any step missing? How does the Metro App know which device metadata file to use?
Thanks
Alle Antworten
-
Freitag, 27. Januar 2012 21:53I have verified that device interface path is coming correctly when device is enumerated. I have also verified that device metadata file is propererly copied (installed) in the metadatastore.
-
Mittwoch, 1. Februar 2012 05:18I have the same issue, looking for it!!
-
Mittwoch, 22. Februar 2012 07:40
Hi U_K,
If your sample is simpler than the MoFx2App and if it is not confidential, can you send me a copy of your code?
Thanks,
-
Sonntag, 26. Februar 2012 03:33Can you send me your metro style app sample?
-
Donnerstag, 1. März 2012 19:59
P.Akial, Carl Bao,
I have not written the new app. I have just changed the MoFx2App to communicate with my device.
Thanks
-
Mittwoch, 21. März 2012 14:18
We meet same issue, look for it.
How to make ACPI device driver for Metro style app?
Currently we cannot access our ACPI device from Metro style app.
-
Mittwoch, 21. März 2012 15:20
Herry.guo
We are waiting for the official documentation from Microsoft. Please see following link for more information.
- Bearbeitet U__K Mittwoch, 21. März 2012 15:21
- Als Antwort vorgeschlagen Eric Hanson-MSFTMicrosoft Employee, Moderator Samstag, 24. März 2012 01:07
- Als Antwort markiert Eric Hanson-MSFTMicrosoft Employee, Moderator Mittwoch, 6. Juni 2012 05:28

