Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Slow device and resume from standby

Reply
Thread Tools Display Modes

Slow device and resume from standby

 
 
alex
Guest
Posts: n/a

 
      05-28-2010
Hi,
I wrote a driver for a PCI-E device that is a bit slow to come up
(around 2 seconds). This is generally not a problem when starting the PC
or resuming from hibernate. But when I try to resume from standby and my
driver receives a IRP_MN_SET_POWER for the device, the bus driver
returns STATUS_NO_SUCH_DEVICE, since the device is not ready yet. I
should wait for it to come up, but what is the recommended way to do that?

Bye
Alex
 
Reply With Quote
 
 
 
 
Pavel A.
Guest
Posts: n/a

 
      05-28-2010
"alex" <> wrote in message
news:acr4d7-...
> Hi,
> I wrote a driver for a PCI-E device that is a bit slow to come up (around
> 2 seconds). This is generally not a problem when starting the PC or
> resuming from hibernate. But when I try to resume from standby and my
> driver receives a IRP_MN_SET_POWER for the device, the bus driver returns
> STATUS_NO_SUCH_DEVICE, since the device is not ready yet. I should wait
> for it to come up, but what is the recommended way to do that?
>


If I remember correctly, the PCI and PCIe standard specifies how long
a device can take from power up to make its config space accessible.
If your device takes longer, it is just not PCI compatible,
and you cannot do anything with it, besides hacking the OS
(for example, break with a kernel debugger and wait until the device is
ready).

-- pa


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Startup & Shutdown... Steven Sinclair Windows 64 Bit 10 03-01-2010 09:41 PM
Windows 7 USB lockup after selective suspend resume dhmot Windows Vista Drivers 11 01-07-2010 02:26 PM
USB networking device slow removal Hannes Windows Vista Drivers 3 10-27-2009 06:39 AM
WMDC 6.1 Sync Fails - Can connect to device, cannot sync brian.brackeen ActiveSync 10 10-31-2007 08:36 PM
Devices disappear after resume from S3 standby jonl Windows Vista Hardware 0 08-22-2007 10:18 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59