Special device under ACPI bus + CreateDeviceAccessInstance fails
-
viernes, 27 de enero de 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
Todas las respuestas
-
viernes, 27 de enero de 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.
-
miércoles, 01 de febrero de 2012 5:18I have the same issue, looking for it!!
-
miércoles, 22 de febrero de 2012 7: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,
-
domingo, 26 de febrero de 2012 3:33Can you send me your metro style app sample?
-
jueves, 01 de marzo de 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
-
miércoles, 21 de marzo de 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.
-
miércoles, 21 de marzo de 2012 15:20
Herry.guo
We are waiting for the official documentation from Microsoft. Please see following link for more information.
- Editado U__K miércoles, 21 de marzo de 2012 15:21
- Propuesto como respuesta Eric Hanson-MSFTMicrosoft Employee, Moderator sábado, 24 de marzo de 2012 1:07
- Marcado como respuesta Eric Hanson-MSFTMicrosoft Employee, Moderator miércoles, 06 de junio de 2012 5:28

