Re: WDF supplied functions send reset packet twice through USB
- From: "Doron Holan [MS]" <doronh@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 5 Feb 2007 19:25:06 -0800
If a reset is being sent twice, it has nothing to do with KMDF. It would
have
to be in the usb core. WdfUsbTargetDeviceResetPortSynchronously just sends
a
IOCTL_INTERNAL_USB_RESET_PORT, WdfUsbTargetDeviceCyclePortSynchronously
just
sends a IOCTL_INTERNAL_USB_CYCLE_PORT. Both of these functions just send
the
IRP once.
What OS and what host controller are you seeing this on? Are you sure that
you
are not calling WdfUsbTargetDeviceResetPort/CyclePortSynchronously twice in
2
different threads? In which callback(s) are you making the call to these
DDIs?
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.
"Stanislav Petrenko" <StanislavPetrenko@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:9410B811-AFAE-4EEB-A772-92F68CC0C300@xxxxxxxxxxxxxxxx
Hi All.
I am using wdf to make a usb dfu driver. Trying to reset USB device
through
the call of WdfUsbTargetDeviceResetPortSynchronously or
WdfUsbTargetDeviceCyclePortSynchronously I see in the trace that both of
them
reset device twice. That behavior prevents dfu from proper work.
Is it made intentionally? Or am I wrong? How to reset device just single
time using wdf?
--
Thanks, Stanislav.
.
- Follow-Ups:
- Re: WDF supplied functions send reset packet twice through USB
- From: Stanislav Petrenko
- Re: WDF supplied functions send reset packet twice through USB
- Prev by Date: Re: bulkusb sample with DTM test
- Next by Date: Re: Where should I post questions for the Device Simulation Framework
- Previous by thread: Coinstaller question
- Next by thread: Re: WDF supplied functions send reset packet twice through USB
- Index(es):
Relevant Pages
|