Re: [ntdev] handling power states in filter driver

Uh, no. And why would you want to.

If the user wants his Bluetooth adapter on, or asleep, then that is the power state it will be in

Sent from Surface Pro

From: xxxxx@gmail.com
Sent: ‎Monday‎, ‎March‎ ‎16‎, ‎2015 ‎8‎:‎45‎ ‎AM
To: Windows System Software Devs Interest List

Dear all,

We have written a lower filter for bthusb and its working fine.
I am able to send a URB to lower layer when the Bluetooth adapter is in D0 state.
But when the Bluetooth adapter goes to D2 state, Sending URB fails with code device not found.
Is there any way I can change the power state from D2 to D0 before sending URB in my filter driver.

BR,
Dhaval


NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer