Selective Suspend in usbccgp.sys

Hi Everyone,
Had a query…is Selective Suspend implemented in the current Microsoft usbccgp driver?

There is no power management tab in the device manager for the USB Composite device unlike other drivers. Also, an USB Frequently Asked Questions document dated April 23, 2004(WinHEC 2004) states that there is no support for Selective Suspend in usbccgp.

Have Microsoft made any more releases of the usbccgp to include the Selective Suspend feature since April 2004? Anyone has any info?

Thanks
M


The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5

IIRC selective suspend works for composite devices since Vista RTM.

Best regards,

Michal Vodicka
UPEK, Inc.
[xxxxx@upek.com, http://www.upek.com http:</http:>]


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of M M
Sent: Tuesday, May 25, 2010 11:54 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Selective Suspend in usbccgp.sys

Hi Everyone,
Had a query…is Selective Suspend implemented in the current
Microsoft usbccgp driver?

There is no power management tab in the device manager for the
USB Composite device unlike other drivers. Also, an USB Frequently Asked
Questions document dated April 23, 2004(WinHEC 2004) states that there
is no support for Selective Suspend in usbccgp.

Have Microsoft made any more releases of the usbccgp to
include the Selective Suspend feature since April 2004? Anyone has any
info?

Thanks
M


The New Busy think 9 to 5 is a cute idea. Combine multiple
calendars with Hotmail. Get busy.
http:PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5>

NTDEV is sponsored by OSR

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</http:>

Yes, it has supported USB SS since at least Vista, I think even XP SP2 has SS support in usbccgp. IIRC I don’t think you will ever see the power management tab for usbccgp itself, rather you should see it for each function as exposed by each function stack. What is your underlying concern/problem you are trying to solve?

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of M M
Sent: Tuesday, May 25, 2010 2:54 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Selective Suspend in usbccgp.sys

Hi Everyone,
Had a query…is Selective Suspend implemented in the current Microsoft usbccgp driver?

There is no power management tab in the device manager for the USB Composite device unlike other drivers. Also, an USB Frequently Asked Questions document dated April 23, 2004(WinHEC 2004) states that there is no support for Selective Suspend in usbccgp.

Have Microsoft made any more releases of the usbccgp to include the Selective Suspend feature since April 2004? Anyone has any info?

Thanks
M


The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail. Get busy.http:

NTDEV is sponsored by OSR

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</http:>

Yes, it is supported at XP SP2 but it doesn’t work. Neither in SP3. If I
remember correctly, it is impossible to wake the device up once is
suspends.

It works at expected at Vista and Win7 but I’m not quite sure about
Vista SP, RTM is probably right.

Best regards,

Michal Vodicka
UPEK, Inc.
[xxxxx@upek.com, http://www.upek.com http:</http:>]


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Tuesday, May 25, 2010 11:59 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Selective Suspend in usbccgp.sys

Yes, it has supported USB SS since at least Vista, I think even
XP SP2 has SS support in usbccgp. IIRC I don’t think you will ever see
the power management tab for usbccgp itself, rather you should see it
for each function as exposed by each function stack. What is your
underlying concern/problem you are trying to solve?

d

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of M M
Sent: Tuesday, May 25, 2010 2:54 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Selective Suspend in usbccgp.sys

Hi Everyone,
Had a query…is Selective Suspend implemented in the current
Microsoft usbccgp driver?

There is no power management tab in the device manager for the
USB Composite device unlike other drivers. Also, an USB Frequently Asked
Questions document dated April 23, 2004(WinHEC 2004) states that there
is no support for Selective Suspend in usbccgp.

Have Microsoft made any more releases of the usbccgp to
include the Selective Suspend feature since April 2004? Anyone has any
info?

Thanks
M


The New Busy think 9 to 5 is a cute idea. Combine multiple
calendars with Hotmail. Get busy.
http:PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5>

NTDEV is sponsored by OSR

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


NTDEV is sponsored by OSR

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</http:>

> Yes, it is supported at XP SP2 but it doesn’t work. Neither in SP3
Well, it did work for me… I could wake the device up using WdfDeviceStopIdle API. We could see a problem when calling for StopIdle/ResumeIdle in a loop (see http://www.osronline.com/showThread.cfm?link=158646), but in simple scenarios it worked.

Good luck,
S.

Well, I haven’t tried WDF driver. I use WDM one which uses recomended
method of waking up the device. The D0 IRP sent to wake device is never
completed.

In addition, are you quite sure your device was really suspended? At XP
it isn’t so simple.

Last but not least, if something works in simple cases and doesn’t in
more complicated, it is useless for production.

Best regards,

Michal Vodicka
UPEK, Inc.
[xxxxx@upek.com, http://www.upek.com]

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@gmail.com
Sent: Wednesday, May 26, 2010 11:28 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Selective Suspend in usbccgp.sys

> Yes, it is supported at XP SP2 but it doesn’t work. Neither in SP3
Well, it did work for me… I could wake the device up using
WdfDeviceStopIdle API. We could see a problem when calling
for StopIdle/ResumeIdle in a loop (see
http://www.osronline.com/showThread.cfm?link=158646), but in
simple scenarios it worked.

Good luck,
S.


NTDEV is sponsored by OSR

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

> In addition, are you quite sure your device was really suspended?

At XP it isn’t so simple.
Yes. I could see that using a hardware USB analyzer.

Last but not least, if something works in simple cases and doesn’t in
more complicated, it is useless for production.
Agree :slight_smile:

S.