I am having a strange problem with a usb bulk endpoint.
When I try to start the continuous reader in D0Entry via
WdfIoTargetStart on the pipe (after the driver has loaded) I get no
data. If I then do a sleep/resume (triggering D0Entry again) the
continuous reader starts receiving data. Also if I start the continuous
reader in SelfManagedInit the continuous reader starts receiving data.
Any clues would be most welcome
Cheers
Dan
No idea, I would suggest you look at your code and really make sure your code is doing what you *think* it is doing. The Win7 usb core stack can give you insight through ETW events what is going on with your device. The device or usb core has no idea about the distinction between D0Entry and SelfManagedInit, so from a hw POV there should be no difference between the 2.
d
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Dan Newton
Sent: Tuesday, January 26, 2010 8:17 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] continuous reader woes
I am having a strange problem with a usb bulk endpoint.
When I try to start the continuous reader in D0Entry via
WdfIoTargetStart on the pipe (after the driver has loaded) I get no
data. If I then do a sleep/resume (triggering D0Entry again) the
continuous reader starts receiving data. Also if I start the continuous
reader in SelfManagedInit the continuous reader starts receiving data.
Any clues would be most welcome
Cheers
Dan
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
Good advice, thanks… (I have figured out what is happening now 
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-398348-
xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Wednesday, January 27, 2010 6:54 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] continuous reader woes
No idea, I would suggest you look at your code and really make sure
your code is doing what you *think* it is doing. The Win7 usb core
stack can give you insight through ETW events what is going on with
your device. The device or usb core has no idea about the distinction
between D0Entry and SelfManagedInit, so from a hw POV there should be
no difference between the 2.
d
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-398331-
xxxxx@lists.osr.com] On Behalf Of Dan Newton
Sent: Tuesday, January 26, 2010 8:17 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] continuous reader woes
I am having a strange problem with a usb bulk endpoint.
When I try to start the continuous reader in D0Entry via
WdfIoTargetStart on the pipe (after the driver has loaded) I get no
data. If I then do a sleep/resume (triggering D0Entry again) the
continuous reader starts receiving data. Also if I start the
continuous
reader in SelfManagedInit the continuous reader starts receiving data.
Any clues would be most welcome
Cheers
Dan
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
And what was the problem?
d
tiny phone keyboard + fat thumbs = you do the muth
-----Original Message-----
From: Dan Newton
Sent: Wednesday, January 27, 2010 6:52 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] continuous reader woes
Good advice, thanks… (I have figured out what is happening now 
> -----Original Message-----
> From: xxxxx@lists.osr.com [mailto:bounce-398348-
> xxxxx@lists.osr.com] On Behalf Of Doron Holan
> Sent: Wednesday, January 27, 2010 6:54 PM
> To: Windows System Software Devs Interest List
> Subject: RE:[ntdev] continuous reader woes
>
> No idea, I would suggest you look at your code and really make sure
> your code is doing what you think it is doing. The Win7 usb core
> stack can give you insight through ETW events what is going on with
> your device. The device or usb core has no idea about the distinction
> between D0Entry and SelfManagedInit, so from a hw POV there should be
> no difference between the 2.
>
> d
>
> -----Original Message-----
> From: xxxxx@lists.osr.com [mailto:bounce-398331-
> xxxxx@lists.osr.com] On Behalf Of Dan Newton
> Sent: Tuesday, January 26, 2010 8:17 PM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] continuous reader woes
>
> I am having a strange problem with a usb bulk endpoint.
>
> When I try to start the continuous reader in D0Entry via
> WdfIoTargetStart on the pipe (after the driver has loaded) I get no
> data. If I then do a sleep/resume (triggering D0Entry again) the
> continuous reader starts receiving data. Also if I start the
continuous
> reader in SelfManagedInit the continuous reader starts receiving data.
>
> Any clues would be most welcome
>
> Cheers
>
> Dan
>
> —
> 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
—
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
I jumped to conclusions (WdfIoTargetStart wasn’t actually being called,
oops).
But I also have a related problem…
- When my device is on an external USB hub,
- And I disable/re-enable my driver (sitting on the first interface)
or upgrade or reinstall it
then the bulk endpoint continuous reader does not seem to work (if I
disable/re-enable the entire usb composite device or unplug/replug the
device things work fine, also if I do a port reset before
WdfIoTargetStart it works too)
Has anyone had similar problems with external USB hubs?
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-398516-
xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Thursday, January 28, 2010 4:28 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] continuous reader woes
And what was the problem?
d
tiny phone keyboard + fat thumbs = you do the muth
-----Original Message-----
From: Dan Newton
> Sent: Wednesday, January 27, 2010 6:52 PM
> To: Windows System Software Devs Interest List
> Subject: RE: [ntdev] continuous reader woes
>
> Good advice, thanks… (I have figured out what is happening now 
>
> > -----Original Message-----
> > From: xxxxx@lists.osr.com [mailto:bounce-398348-
> > xxxxx@lists.osr.com] On Behalf Of Doron Holan
> > Sent: Wednesday, January 27, 2010 6:54 PM
> > To: Windows System Software Devs Interest List
> > Subject: RE:[ntdev] continuous reader woes
> >
> > No idea, I would suggest you look at your code and really make sure
> > your code is doing what you think it is doing. The Win7 usb core
> > stack can give you insight through ETW events what is going on with
> > your device. The device or usb core has no idea about the
> distinction
> > between D0Entry and SelfManagedInit, so from a hw POV there should
be
> > no difference between the 2.
> >
> > d
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com [mailto:bounce-398331-
> > xxxxx@lists.osr.com] On Behalf Of Dan Newton
> > Sent: Tuesday, January 26, 2010 8:17 PM
> > To: Windows System Software Devs Interest List
> > Subject: [ntdev] continuous reader woes
> >
> > I am having a strange problem with a usb bulk endpoint.
> >
> > When I try to start the continuous reader in D0Entry via
> > WdfIoTargetStart on the pipe (after the driver has loaded) I get no
> > data. If I then do a sleep/resume (triggering D0Entry again) the
> > continuous reader starts receiving data. Also if I start the
> continuous
> > reader in SelfManagedInit the continuous reader starts receiving
> data.
> >
> > Any clues would be most welcome
> >
> > Cheers
> >
> > Dan
> >
> > —
> > 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
>
> —
> 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