From: rsdn on
Both Assigns return success. I use IdleUsbSelectiveSuspend in the settings.
This is on Windows XP SP2. One of the strange things I found, my Config
descriptor bmAttibutes is 0xA0, but the WDF_USB_DEVICE_INFORMATION traits
returns self powered. Is this OK?

Regards
Sumithra

"Doron Holan [MS]" wrote:

> did either Assign (wake or idle) calls return !NT_SUCCESS? each queries the
> caps of the device before return NT_SUCCESS, so that should not be the
> issue. when arming for idle, are you specifying IdleUsbSelectiveSuspend in
> your settings?
>
> what OS is this on?
>
> d
>
> --
> Please do not send e-mail directly to this alias. this alias is for
> newsgroup purposes only.
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
> "Doron Holan [MS]" <doronh(a)nospam.microsoft.com> wrote in message
> news:%23QG8TShCHHA.3600(a)TK2MSFTNGP06.phx.gbl...
> > in xp sp2 and later, open up the properties of the HC and your device and
> > look at the details tab. select the power caps from the list.
> >
> > d
> >
> > --
> > Please do not send e-mail directly to this alias. this alias is for
> > newsgroup purposes only.
> > This posting is provided "AS IS" with no warranties, and confers no
> > rights.
> >
> >
> > "rsdn" <rsdn(a)discussions.microsoft.com> wrote in message
> > news:7D161F1C-1AEF-44B5-BE85-BF7FAF33FBE0(a)microsoft.com...
> >> Yes I did call WdfDeviceAssignSxWakeSettings to enable wake from Sx and
> >> also
> >> use WdfDeviceAssignS0IdleSettings with 10s timeout. How do I determine
> >> that
> >> the host controller is capable of waking from all Sx states. I can wake
> >> the
> >> system with other PS2 keyboard, mouse as well as a USB mouse.
> >>
> >> Regards
> >> Sumithra
> >>
> >> "Doron Holan [MS]" wrote:
> >>
> >>> did you call WdfDeviceAssignSxWakeSettings to enable wake from Sx? Did
> >>> you
> >>> call WdfDeviceAssignS0IdleSettings to idle out while in S0? If so, is
> >>> your
> >>> host controller capable of waking from all Sx states?
> >>>
> >>> d
> >>>
> >>> --
> >>> Please do not send e-mail directly to this alias. this alias is for
> >>> newsgroup purposes only.
> >>> This posting is provided "AS IS" with no warranties, and confers no
> >>> rights.
> >>>
> >>>
> >>> "rsdn" <rsdn(a)discussions.microsoft.com> wrote in message
> >>> news:86451B29-1267-4032-A370-77A4CABECEBF(a)microsoft.com...
> >>> > Hi
> >>> >
> >>> > I am writing a KMDF driver for a USB device that is remote wakeup
> >>> > capable.
> >>> > But EvtDeviceArmWakeFromSx is never called when I go to standby. I
> >>> > have
> >>> > registered
> >>> >
> >>> > EvtDeviceArmWakeFromS0, EvtDeviceDisarmWakeFromS0 ,
> >>> > EvtDeviceWakeFromS0Triggered, EvtDeviceArmWakeFromSx
> >>> > ,EvtDeviceDisarmWakeFromSx , EvtDeviceWakeFromSxTriggered
> >>> >
> >>> > Also another thing I noticed is I see the power management tab in the
> >>> > Device
> >>> > Manager, but there are no registry entries created to reflect this.
> >>> >
> >>> > What should I do to get EvtDeviceArmWakeFromSx called?
> >>> >
> >>> > Regards
> >>> > Sumithra
> >>>
> >>>
> >>>
> >
> >
>
>
>
From: rsdn on
There are 4 UHCI controllers and 1 EHCI controller. All of them report

PDCAP_D0_SUPPORTED
PDCAP_D3_SUPPORTED
PDCAP_WAKE_FROM_D3_SUPPORTED

I can still wake the system from a USB mouse and PS/2 keyboard. I think the
USB mouse will not be able to wake up the system if the HC is not able to
wake up from all Sx states.

Regards
Sumithra

Regards
Sumithra

"Doron Holan [MS]" wrote:

> in xp sp2 and later, open up the properties of the HC and your device and
> look at the details tab. select the power caps from the list.
>
> d
>
> --
> Please do not send e-mail directly to this alias. this alias is for
> newsgroup purposes only.
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
> "rsdn" <rsdn(a)discussions.microsoft.com> wrote in message
> news:7D161F1C-1AEF-44B5-BE85-BF7FAF33FBE0(a)microsoft.com...
> > Yes I did call WdfDeviceAssignSxWakeSettings to enable wake from Sx and
> > also
> > use WdfDeviceAssignS0IdleSettings with 10s timeout. How do I determine
> > that
> > the host controller is capable of waking from all Sx states. I can wake
> > the
> > system with other PS2 keyboard, mouse as well as a USB mouse.
> >
> > Regards
> > Sumithra
> >
> > "Doron Holan [MS]" wrote:
> >
> >> did you call WdfDeviceAssignSxWakeSettings to enable wake from Sx? Did
> >> you
> >> call WdfDeviceAssignS0IdleSettings to idle out while in S0? If so, is
> >> your
> >> host controller capable of waking from all Sx states?
> >>
> >> d
> >>
> >> --
> >> Please do not send e-mail directly to this alias. this alias is for
> >> newsgroup purposes only.
> >> This posting is provided "AS IS" with no warranties, and confers no
> >> rights.
> >>
> >>
> >> "rsdn" <rsdn(a)discussions.microsoft.com> wrote in message
> >> news:86451B29-1267-4032-A370-77A4CABECEBF(a)microsoft.com...
> >> > Hi
> >> >
> >> > I am writing a KMDF driver for a USB device that is remote wakeup
> >> > capable.
> >> > But EvtDeviceArmWakeFromSx is never called when I go to standby. I have
> >> > registered
> >> >
> >> > EvtDeviceArmWakeFromS0, EvtDeviceDisarmWakeFromS0 ,
> >> > EvtDeviceWakeFromS0Triggered, EvtDeviceArmWakeFromSx
> >> > ,EvtDeviceDisarmWakeFromSx , EvtDeviceWakeFromSxTriggered
> >> >
> >> > Also another thing I noticed is I see the power management tab in the
> >> > Device
> >> > Manager, but there are no registry entries created to reflect this.
> >> >
> >> > What should I do to get EvtDeviceArmWakeFromSx called?
> >> >
> >> > Regards
> >> > Sumithra
> >>
> >>
> >>
>
>
>
From: Doron Holan [MS] on
what OS? for usb SS to work, all devices on the controller must say they
are SS ready. is your device the only one on the bus? what does
!wdflogdump say?

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"rsdn" <rsdn(a)discussions.microsoft.com> wrote in message
news:5C23E9EA-3B0F-4014-AE0F-E9F451EAA404(a)microsoft.com...
> There are 4 UHCI controllers and 1 EHCI controller. All of them report
>
> PDCAP_D0_SUPPORTED
> PDCAP_D3_SUPPORTED
> PDCAP_WAKE_FROM_D3_SUPPORTED
>
> I can still wake the system from a USB mouse and PS/2 keyboard. I think
> the
> USB mouse will not be able to wake up the system if the HC is not able to
> wake up from all Sx states.
>
> Regards
> Sumithra
>
> Regards
> Sumithra
>
> "Doron Holan [MS]" wrote:
>
>> in xp sp2 and later, open up the properties of the HC and your device and
>> look at the details tab. select the power caps from the list.
>>
>> d
>>
>> --
>> Please do not send e-mail directly to this alias. this alias is for
>> newsgroup purposes only.
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>>
>> "rsdn" <rsdn(a)discussions.microsoft.com> wrote in message
>> news:7D161F1C-1AEF-44B5-BE85-BF7FAF33FBE0(a)microsoft.com...
>> > Yes I did call WdfDeviceAssignSxWakeSettings to enable wake from Sx and
>> > also
>> > use WdfDeviceAssignS0IdleSettings with 10s timeout. How do I determine
>> > that
>> > the host controller is capable of waking from all Sx states. I can wake
>> > the
>> > system with other PS2 keyboard, mouse as well as a USB mouse.
>> >
>> > Regards
>> > Sumithra
>> >
>> > "Doron Holan [MS]" wrote:
>> >
>> >> did you call WdfDeviceAssignSxWakeSettings to enable wake from Sx?
>> >> Did
>> >> you
>> >> call WdfDeviceAssignS0IdleSettings to idle out while in S0? If so, is
>> >> your
>> >> host controller capable of waking from all Sx states?
>> >>
>> >> d
>> >>
>> >> --
>> >> Please do not send e-mail directly to this alias. this alias is for
>> >> newsgroup purposes only.
>> >> This posting is provided "AS IS" with no warranties, and confers no
>> >> rights.
>> >>
>> >>
>> >> "rsdn" <rsdn(a)discussions.microsoft.com> wrote in message
>> >> news:86451B29-1267-4032-A370-77A4CABECEBF(a)microsoft.com...
>> >> > Hi
>> >> >
>> >> > I am writing a KMDF driver for a USB device that is remote wakeup
>> >> > capable.
>> >> > But EvtDeviceArmWakeFromSx is never called when I go to standby. I
>> >> > have
>> >> > registered
>> >> >
>> >> > EvtDeviceArmWakeFromS0, EvtDeviceDisarmWakeFromS0 ,
>> >> > EvtDeviceWakeFromS0Triggered, EvtDeviceArmWakeFromSx
>> >> > ,EvtDeviceDisarmWakeFromSx , EvtDeviceWakeFromSxTriggered
>> >> >
>> >> > Also another thing I noticed is I see the power management tab in
>> >> > the
>> >> > Device
>> >> > Manager, but there are no registry entries created to reflect this.
>> >> >
>> >> > What should I do to get EvtDeviceArmWakeFromSx called?
>> >> >
>> >> > Regards
>> >> > Sumithra
>> >>
>> >>
>> >>
>>
>>
>>


From: rsdn on
OS is Windows XP SP2. I have a USB mouse as well on the bus. I could not get
a dumo on wdflogdump. The error returned is

0: kd> !wdflogdump
No export wdflogdump found.

What version of WinDbg should I be running?

Thanks for your help.

Regards
Sumithra

"Doron Holan [MS]" wrote:

> what OS? for usb SS to work, all devices on the controller must say they
> are SS ready. is your device the only one on the bus? what does
> !wdflogdump say?
>
> d
>
> --
> Please do not send e-mail directly to this alias. this alias is for
> newsgroup purposes only.
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
> "rsdn" <rsdn(a)discussions.microsoft.com> wrote in message
> news:5C23E9EA-3B0F-4014-AE0F-E9F451EAA404(a)microsoft.com...
> > There are 4 UHCI controllers and 1 EHCI controller. All of them report
> >
> > PDCAP_D0_SUPPORTED
> > PDCAP_D3_SUPPORTED
> > PDCAP_WAKE_FROM_D3_SUPPORTED
> >
> > I can still wake the system from a USB mouse and PS/2 keyboard. I think
> > the
> > USB mouse will not be able to wake up the system if the HC is not able to
> > wake up from all Sx states.
> >
> > Regards
> > Sumithra
> >
> > Regards
> > Sumithra
> >
> > "Doron Holan [MS]" wrote:
> >
> >> in xp sp2 and later, open up the properties of the HC and your device and
> >> look at the details tab. select the power caps from the list.
> >>
> >> d
> >>
> >> --
> >> Please do not send e-mail directly to this alias. this alias is for
> >> newsgroup purposes only.
> >> This posting is provided "AS IS" with no warranties, and confers no
> >> rights.
> >>
> >>
> >> "rsdn" <rsdn(a)discussions.microsoft.com> wrote in message
> >> news:7D161F1C-1AEF-44B5-BE85-BF7FAF33FBE0(a)microsoft.com...
> >> > Yes I did call WdfDeviceAssignSxWakeSettings to enable wake from Sx and
> >> > also
> >> > use WdfDeviceAssignS0IdleSettings with 10s timeout. How do I determine
> >> > that
> >> > the host controller is capable of waking from all Sx states. I can wake
> >> > the
> >> > system with other PS2 keyboard, mouse as well as a USB mouse.
> >> >
> >> > Regards
> >> > Sumithra
> >> >
> >> > "Doron Holan [MS]" wrote:
> >> >
> >> >> did you call WdfDeviceAssignSxWakeSettings to enable wake from Sx?
> >> >> Did
> >> >> you
> >> >> call WdfDeviceAssignS0IdleSettings to idle out while in S0? If so, is
> >> >> your
> >> >> host controller capable of waking from all Sx states?
> >> >>
> >> >> d
> >> >>
> >> >> --
> >> >> Please do not send e-mail directly to this alias. this alias is for
> >> >> newsgroup purposes only.
> >> >> This posting is provided "AS IS" with no warranties, and confers no
> >> >> rights.
> >> >>
> >> >>
> >> >> "rsdn" <rsdn(a)discussions.microsoft.com> wrote in message
> >> >> news:86451B29-1267-4032-A370-77A4CABECEBF(a)microsoft.com...
> >> >> > Hi
> >> >> >
> >> >> > I am writing a KMDF driver for a USB device that is remote wakeup
> >> >> > capable.
> >> >> > But EvtDeviceArmWakeFromSx is never called when I go to standby. I
> >> >> > have
> >> >> > registered
> >> >> >
> >> >> > EvtDeviceArmWakeFromS0, EvtDeviceDisarmWakeFromS0 ,
> >> >> > EvtDeviceWakeFromS0Triggered, EvtDeviceArmWakeFromSx
> >> >> > ,EvtDeviceDisarmWakeFromSx , EvtDeviceWakeFromSxTriggered
> >> >> >
> >> >> > Also another thing I noticed is I see the power management tab in
> >> >> > the
> >> >> > Device
> >> >> > Manager, but there are no registry entries created to reflect this.
> >> >> >
> >> >> > What should I do to get EvtDeviceArmWakeFromSx called?
> >> >> >
> >> >> > Regards
> >> >> > Sumithra
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>
>
>
>
From: Doron Holan [MS] on
!wdfkd.wdflogdump

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"rsdn" <rsdn(a)discussions.microsoft.com> wrote in message
news:D17A7CB6-A95E-40B2-8478-DE7519139E36(a)microsoft.com...
> OS is Windows XP SP2. I have a USB mouse as well on the bus. I could not
> get
> a dumo on wdflogdump. The error returned is
>
> 0: kd> !wdflogdump
> No export wdflogdump found.
>
> What version of WinDbg should I be running?
>
> Thanks for your help.
>
> Regards
> Sumithra
>
> "Doron Holan [MS]" wrote:
>
>> what OS? for usb SS to work, all devices on the controller must say they
>> are SS ready. is your device the only one on the bus? what does
>> !wdflogdump say?
>>
>> d
>>
>> --
>> Please do not send e-mail directly to this alias. this alias is for
>> newsgroup purposes only.
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>>
>> "rsdn" <rsdn(a)discussions.microsoft.com> wrote in message
>> news:5C23E9EA-3B0F-4014-AE0F-E9F451EAA404(a)microsoft.com...
>> > There are 4 UHCI controllers and 1 EHCI controller. All of them report
>> >
>> > PDCAP_D0_SUPPORTED
>> > PDCAP_D3_SUPPORTED
>> > PDCAP_WAKE_FROM_D3_SUPPORTED
>> >
>> > I can still wake the system from a USB mouse and PS/2 keyboard. I think
>> > the
>> > USB mouse will not be able to wake up the system if the HC is not able
>> > to
>> > wake up from all Sx states.
>> >
>> > Regards
>> > Sumithra
>> >
>> > Regards
>> > Sumithra
>> >
>> > "Doron Holan [MS]" wrote:
>> >
>> >> in xp sp2 and later, open up the properties of the HC and your device
>> >> and
>> >> look at the details tab. select the power caps from the list.
>> >>
>> >> d
>> >>
>> >> --
>> >> Please do not send e-mail directly to this alias. this alias is for
>> >> newsgroup purposes only.
>> >> This posting is provided "AS IS" with no warranties, and confers no
>> >> rights.
>> >>
>> >>
>> >> "rsdn" <rsdn(a)discussions.microsoft.com> wrote in message
>> >> news:7D161F1C-1AEF-44B5-BE85-BF7FAF33FBE0(a)microsoft.com...
>> >> > Yes I did call WdfDeviceAssignSxWakeSettings to enable wake from Sx
>> >> > and
>> >> > also
>> >> > use WdfDeviceAssignS0IdleSettings with 10s timeout. How do I
>> >> > determine
>> >> > that
>> >> > the host controller is capable of waking from all Sx states. I can
>> >> > wake
>> >> > the
>> >> > system with other PS2 keyboard, mouse as well as a USB mouse.
>> >> >
>> >> > Regards
>> >> > Sumithra
>> >> >
>> >> > "Doron Holan [MS]" wrote:
>> >> >
>> >> >> did you call WdfDeviceAssignSxWakeSettings to enable wake from Sx?
>> >> >> Did
>> >> >> you
>> >> >> call WdfDeviceAssignS0IdleSettings to idle out while in S0? If so,
>> >> >> is
>> >> >> your
>> >> >> host controller capable of waking from all Sx states?
>> >> >>
>> >> >> d
>> >> >>
>> >> >> --
>> >> >> Please do not send e-mail directly to this alias. this alias is for
>> >> >> newsgroup purposes only.
>> >> >> This posting is provided "AS IS" with no warranties, and confers no
>> >> >> rights.
>> >> >>
>> >> >>
>> >> >> "rsdn" <rsdn(a)discussions.microsoft.com> wrote in message
>> >> >> news:86451B29-1267-4032-A370-77A4CABECEBF(a)microsoft.com...
>> >> >> > Hi
>> >> >> >
>> >> >> > I am writing a KMDF driver for a USB device that is remote wakeup
>> >> >> > capable.
>> >> >> > But EvtDeviceArmWakeFromSx is never called when I go to standby.
>> >> >> > I
>> >> >> > have
>> >> >> > registered
>> >> >> >
>> >> >> > EvtDeviceArmWakeFromS0, EvtDeviceDisarmWakeFromS0 ,
>> >> >> > EvtDeviceWakeFromS0Triggered, EvtDeviceArmWakeFromSx
>> >> >> > ,EvtDeviceDisarmWakeFromSx , EvtDeviceWakeFromSxTriggered
>> >> >> >
>> >> >> > Also another thing I noticed is I see the power management tab in
>> >> >> > the
>> >> >> > Device
>> >> >> > Manager, but there are no registry entries created to reflect
>> >> >> > this.
>> >> >> >
>> >> >> > What should I do to get EvtDeviceArmWakeFromSx called?
>> >> >> >
>> >> >> > Regards
>> >> >> > Sumithra
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>
>>
>>
>>