Re: Behaviour of USB Device in low powered state
- From: "Doron Holan [MS]" <doronh@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 15 Jan 2007 22:19:13 -0800
you are asking for undefined behavior. I think it will depend on the HC you
are attached to
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.
"Neo" <rksandilya@xxxxxxxxx> wrote in message
news:1168926055.543452.312580@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi Mr. Doron Holan,
yeah our device is remote capable, and i am getting the descriptors
right, and also i would like to mention that, there is a switch in our
board to send a wakeup signal which will wakeup the system from
standby.
this is working fine, i mean send the device into standby, press the
switch and then the system wakes up.
similarly i want the system wake when the device is disconnected too.
Thanks and Regards,
Neo
Doron Holan [MS] wrote:
is your device remote wake capapble? is it reporting this capability in
the
appropriate descriptor?
--
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.
"Neo" <rksandilya@xxxxxxxxx> wrote in message
news:1168595024.966780.248840@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi Mr.Doron,
i did sending the IRP_MN_WAIT_WAKE before going to the low powered
state, but my driver is not getting notified when the USB device got
disconnected, my wakecompletion is only getting called when an external
wakeup(thru mouse or keyboard) occcurs.
The other question will be is there any other way where i can get
notification to my driver when a USB device gets disconnected.
Thanks and Regards,
Neo
Doron Holan [MS] wrote:
send an IRP_MN_WAIT_WAKE irp before powering off (by calling
PoRequestPowerIrp)
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.
"Neo" <rksandilya@xxxxxxxxx> wrote in message
news:1168511903.310681.182760@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
Thanks Mr.Tim and Mr.Doron,
Thanks for your support.
my device will be used for desktop system and it is such that the
USB
Device need to be always attached to the system and if it get disc.
for
some reason then the user need to be intimated and hence i need to
wake
up the system when the usb device get disc.
can you help me telling what to do in the driver to wakeup the
system
when the USB Device got disc. in the low powered state.
Regards,
Neo
Doron Holan [MS] wrote:
and IMHO, waking the system on unplug is an awful experience for
the
user.
imagine a laptop that is in a docking station with usb devices
attached
through the dock and is put into standby and then undocked. you
want
the
machine to wake b/c the devices in the dock disappeared? yuck.
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.
"Tim Roberts" <timr@xxxxxxxxx> wrote in message
news:e7mbq29edf14l3fp6vb267s5n7t2vq7b61@xxxxxxxxxx
"Neo" <rksandilya@xxxxxxxxx> wrote:
i am naive and writing driver for a usb device, i just wanted to
know
the behaviour of a USB Device when disconnected(surprise removal,
plug
out) in the low powered state(standby).
i see some of the devices get the system wakeup when the USB
Devices
are disconnected in the standby mode, and some do not.
which is the correct behaviour ???
It depends entirely on your device. If you don't need to take
any
particular action when your device is unplugged (and most
driver's
don't),
then there is no need for you to wake the system.
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.
- Follow-Ups:
- References:
- Behaviour of USB Device in low powered state
- From: Neo
- Re: Behaviour of USB Device in low powered state
- From: Tim Roberts
- Re: Behaviour of USB Device in low powered state
- From: Doron Holan [MS]
- Re: Behaviour of USB Device in low powered state
- From: Neo
- Re: Behaviour of USB Device in low powered state
- From: Doron Holan [MS]
- Re: Behaviour of USB Device in low powered state
- From: Neo
- Re: Behaviour of USB Device in low powered state
- From: Doron Holan [MS]
- Re: Behaviour of USB Device in low powered state
- From: Neo
- Behaviour of USB Device in low powered state
- Prev by Date: Re: help to handle IRP_MN_STOP_DEVICE and IRP_MN_START_DEVICE in Usb device?
- Next by Date: Re: Behaviour of USB Device in low powered state
- Previous by thread: Re: Behaviour of USB Device in low powered state
- Next by thread: Re: Behaviour of USB Device in low powered state
- Index(es):
Relevant Pages
|