Question Regarding windows Vista
- From: "Neo" <rksandilya@xxxxxxxxx>
- Date: 23 Mar 2007 09:32:44 -0700
Hi,
i am writing device driver for my USB device for windows Vista, it is
a USB2.0 Device and i am using Intel Dual Core Machine and Windows
Vista32Bit\64Bit.
The following is my obeservation,
i can plaug in my device and i am able to work with it normally
without any problem.
Observation 1 :
if i goto sleep mode and when iwakeup up the system then some of my
URBs are failing when i do IoCallDriver and gives the NtStatus as
STATUS_NO_SUCH_DEVICE and urb status as USBD_STATUS_DEVICE_GONE, where
as the device is never dosconnected here.
Observation 2 :
1.Connect my USB 2.0 Device.
2. Go To Sleep Mode in Windows Vista.
3. Disconnect the USB Device and then Wake Up,
this time too my URB fails as expected as there is no physical device
present and i get NtSStatus as STATUS_UNSUCCESSFUL and URB status as
USBD_STATUS_INTERNAL_HC_ERROR.
Why is it so, when the device is present i get STATUS_NO_SUCH_DEVICE
and really when the device is disc then i get
USBD_STATUS_INTERNAL_HC_ERROR.
At last i get IRP_MN_SUPRISE_REMOVAL and IRP_MN_REMOVE_DEVICE
Observation 3 :
The Observation 2 when done under 2 Hubs i mean HC->HUB1->HUB2-
MYDEVICE, then sometimes i do not get IRP_MN_REMOVE_DEVICE and yes iget IRP_MN_SURRISE_REMOVAL.
Can anybody please help me.
i have different things to handle if the status is
STATUS_NO_SUCH_DEVICE or DEVICE_GONE but my part of code is hit even
when the DEVICE is Physically present.
Thanks and Regards,
Neo
.
- Follow-Ups:
- Re: Question Regarding windows Vista
- From: Don Burn
- Re: Question Regarding windows Vista
- Prev by Date: need help with my site .
- Next by Date: Re: Question Regarding windows Vista
- Previous by thread: need help with my site .
- Next by thread: Re: Question Regarding windows Vista
- Index(es):
Relevant Pages
|