Sir…
I had a problem on USB RemoteWakeup, that Device is not a Keyboard or mouse.
Device ConfigurationDescriptor Had been Set.
How can i make the Windows replay device a SetFeature to enable this
function?
or i should send SetFeature out when my driver checking
ConfigurationDescriptor??
You need to send a IRP_MJ_POWER/IRP_MN_WAIT_WAKE irp to the PDO. You
need to use PoRequestPowerIrp to send the irp. Your device will only be
armed for remote wake once it is put into D2. The wait wake irp must
precede the D2 irp.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of polybear
Sent: Tuesday, August 17, 2004 7:19 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] How do enable USB Remote Wake up ?
Sir…
I had a problem on USB RemoteWakeup, that Device is not a Keyboard or
mouse.
Device ConfigurationDescriptor Had been Set.
How can i make the Windows replay device a SetFeature to enable this
function?
or i should send SetFeature out when my driver checking
ConfigurationDescriptor??
Should i send out a "SetFeature " command to device ?? during device
initialization
“Doron Holan” ¦b¶l¥ó news:xxxxx@ntdev ¤¤¼¶¼g … You need to send a IRP_MJ_POWER/IRP_MN_WAIT_WAKE irp to the PDO. You need to use PoRequestPowerIrp to send the irp. Your device will only be armed for remote wake once it is put into D2. The wait wake irp must precede the D2 irp.
d
-----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of polybear Sent: Tuesday, August 17, 2004 7:19 PM To: Windows System Software Devs Interest List Subject: [ntdev] How do enable USB Remote Wake up ?
Sir… I had a problem on USB RemoteWakeup, that Device is not a Keyboard or mouse.
Device ConfigurationDescriptor Had been Set. How can i make the Windows replay device a SetFeature to enable this function? or i should send SetFeature out when my driver checking ConfigurationDescriptor??
No, the core usb stack will do that for you. You just send the wait wake request. If your device requires additional initialization for remote wake outside of what the usb specification requires, you should do that before transitioning into a low power state.
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of polybear
Sent: Wednesday, August 18, 2004 1:51 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] How do enable USB Remote Wake up ?
Should i send out a "SetFeature " command to device ?? during device
initialization
“Doron Holan” ?b?l?? news:xxxxx@ntdev ???g … You need to send a IRP_MJ_POWER/IRP_MN_WAIT_WAKE irp to the PDO. You need to use PoRequestPowerIrp to send the irp. Your device will only be armed for remote wake once it is put into D2. The wait wake irp must precede the D2 irp.
d
-----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of polybear Sent: Tuesday, August 17, 2004 7:19 PM To: Windows System Software Devs Interest List Subject: [ntdev] How do enable USB Remote Wake up ?
Sir… I had a problem on USB RemoteWakeup, that Device is not a Keyboard or mouse.
Device ConfigurationDescriptor Had been Set. How can i make the Windows replay device a SetFeature to enable this function? or i should send SetFeature out when my driver checking ConfigurationDescriptor??
Does the ClearFeature in the same way after my device waked system?
“Doron Holan” ¦b¶l¥ó news:xxxxx@ntdev ¤¤¼¶¼g … No, the core usb stack will do that for you. You just send the wait wake request. If your device requires additional initialization for remote wake outside of what the usb specification requires, you should do that before transitioning into a low power state.
-----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of polybear Sent: Wednesday, August 18, 2004 1:51 AM To: Windows System Software Devs Interest List Subject: Re:[ntdev] How do enable USB Remote Wake up ?
Should i send out a "SetFeature " command to device ?? during device initialization
“Doron Holan” ¦b¶l¥ó news:xxxxx@ntdev ¤¤¼¶¼g … You need to send a IRP_MJ_POWER/IRP_MN_WAIT_WAKE irp to the PDO. You need to use PoRequestPowerIrp to send the irp. Your device will only be armed for remote wake once it is put into D2. The wait wake irp must precede the D2 irp.
d
-----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of polybear Sent: Tuesday, August 17, 2004 7:19 PM To: Windows System Software Devs Interest List Subject: [ntdev] How do enable USB Remote Wake up ?
Sir… I had a problem on USB RemoteWakeup, that Device is not a Keyboard or mouse.
Device ConfigurationDescriptor Had been Set. How can i make the Windows replay device a SetFeature to enable this function? or i should send SetFeature out when my driver checking ConfigurationDescriptor??
It should. If your WW request has not been canceled though, your device will be rearmed, so it may be in your design that after returning to D0, you must cancel the WW irp. (Be careful here w/the race between canceling the WW irp and it completing on you.).
d
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of polybear
Sent: Thursday, August 19, 2004 1:34 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] How do enable USB Remote Wake up ?
Does the ClearFeature in the same way after my device waked system?
“Doron Holan” ?b?l?? news:xxxxx@ntdev ???g … No, the core usb stack will do that for you. You just send the wait wake request. If your device requires additional initialization for remote wake outside of what the usb specification requires, you should do that before transitioning into a low power state.
-----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of polybear Sent: Wednesday, August 18, 2004 1:51 AM To: Windows System Software Devs Interest List Subject: Re:[ntdev] How do enable USB Remote Wake up ?
Should i send out a "SetFeature " command to device ?? during device initialization
“Doron Holan” ?b?l?? news:xxxxx@ntdev ???g … You need to send a IRP_MJ_POWER/IRP_MN_WAIT_WAKE irp to the PDO. You need to use PoRequestPowerIrp to send the irp. Your device will only be armed for remote wake once it is put into D2. The wait wake irp must precede the D2 irp.
d
-----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of polybear Sent: Tuesday, August 17, 2004 7:19 PM To: Windows System Software Devs Interest List Subject: [ntdev] How do enable USB Remote Wake up ?
Sir… I had a problem on USB RemoteWakeup, that Device is not a Keyboard or mouse.
Device ConfigurationDescriptor Had been Set. How can i make the Windows replay device a SetFeature to enable this function? or i should send SetFeature out when my driver checking ConfigurationDescriptor??
“Doron Holan” ¦b¶l¥ó news:xxxxx@ntdev ¤¤¼¶¼g … It should. If your WW request has not been canceled though, your device will be rearmed, so it may be in your design that after returning to D0, you must cancel the WW irp. (Be careful here w/the race between canceling the WW irp and it completing on you.).
d
-----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of polybear Sent: Thursday, August 19, 2004 1:34 AM To: Windows System Software Devs Interest List Subject: Re:[ntdev] How do enable USB Remote Wake up ?
Does the ClearFeature in the same way after my device waked system?
“Doron Holan” ¦b¶l¥ó news:xxxxx@ntdev ¤¤¼¶¼g … No, the core usb stack will do that for you. You just send the wait wake request. If your device requires additional initialization for remote wake outside of what the usb specification requires, you should do that before transitioning into a low power state.
-----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of polybear Sent: Wednesday, August 18, 2004 1:51 AM To: Windows System Software Devs Interest List Subject: Re:[ntdev] How do enable USB Remote Wake up ?
Should i send out a "SetFeature " command to device ?? during device initialization
“Doron Holan” ¦b¶l¥ó news:xxxxx@ntdev ¤¤¼¶¼g … You need to send a IRP_MJ_POWER/IRP_MN_WAIT_WAKE irp to the PDO. You need to use PoRequestPowerIrp to send the irp. Your device will only be armed for remote wake once it is put into D2. The wait wake irp must precede the D2 irp.
d
-----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of polybear Sent: Tuesday, August 17, 2004 7:19 PM To: Windows System Software Devs Interest List Subject: [ntdev] How do enable USB Remote Wake up ?
Sir… I had a problem on USB RemoteWakeup, that Device is not a Keyboard or mouse.
Device ConfigurationDescriptor Had been Set. How can i make the Windows replay device a SetFeature to enable this function? or i should send SetFeature out when my driver checking ConfigurationDescriptor??