microsoft / NFC-Class-Extension-Driver

The NFC Class Extension driver implements all NFC device driver interfaces and standard NFC protocols and formats based on the NFC Forum NFC Controller Interface (NCI) Technical Specification
Other
57 stars 27 forks source link

NFC driver doesn't go into low power state (D3) on system going to Modern standby #17

Open HariomKesh opened 7 years ago

HariomKesh commented 7 years ago

Need Win10 Desktop PC with connected standby support. Issue seen in CLX based NFC Client driver.

Steps to repro:

Initial Analysis :- On Modern standby proximity service sends NFP_DISABLE for all open handles. But ScardSvr handle still remains open as there is no disable for that. This causes CLX driver to remain in D0 state so do NFC Client driver also remain in D0.

If we stop ScardSvr manually, CLX driver is able to go into low power mode so do NFC Client driver is able to go into low power mode when system goes into Modern standby.

scardsrv_Disabled_Success_ETL.zip scardsrv_running_Failed_ETL.zip

Logs are attached for success (scardsrv disbaled) & failed (scardsrv running) cases.

icherniukh commented 6 years ago

Is it still reproducible?