Answered by:
Special device under ACPI bus + CreateDeviceAccessInstance fails

Question
-
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
Friday, January 27, 2012 9:51 PM
Answers
-
Herry.guo
We are waiting for the official documentation from Microsoft. Please see following link for more information.
- Edited by U__K Wednesday, March 21, 2012 3:21 PM
- Proposed as answer by Eric Hanson-MSFTModerator Saturday, March 24, 2012 1:07 AM
- Marked as answer by Eric Hanson-MSFTModerator Wednesday, June 6, 2012 5:28 AM
Wednesday, March 21, 2012 3:20 PM
All replies
-
I 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.Friday, January 27, 2012 9:53 PM
-
I have the same issue, looking for it!!Wednesday, February 1, 2012 5:18 AM
-
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,
Wednesday, February 22, 2012 7:40 AM -
Can you send me your metro style app sample?Sunday, February 26, 2012 3:33 AM
-
P.Akial, Carl Bao,
I have not written the new app. I have just changed the MoFx2App to communicate with my device.
Thanks
Thursday, March 1, 2012 7:59 PM -
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.
Wednesday, March 21, 2012 2:18 PM -
Herry.guo
We are waiting for the official documentation from Microsoft. Please see following link for more information.
- Edited by U__K Wednesday, March 21, 2012 3:21 PM
- Proposed as answer by Eric Hanson-MSFTModerator Saturday, March 24, 2012 1:07 AM
- Marked as answer by Eric Hanson-MSFTModerator Wednesday, June 6, 2012 5:28 AM
Wednesday, March 21, 2012 3:20 PM