Tech Support > Microsoft Windows > Drivers > Serialization for USB
Serialization for USB
Posted by zantetsu on June 24th, 2005


I'm making a USB function driver.
I want to serialize IRP.
I have a question.

Should I make a queue for each device?
Should I shuld make a queue for each pipe?

Posted by Maxim S. Shatskih on June 24th, 2005


Depends on what amount of serialization you need.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

"zantetsu" <zantetsu@hotmail.com> wrote in message
news:1119601484.715234.19670@g47g2000cwa.googlegro ups.com...


Posted by zantetsu on June 27th, 2005


Thank you for your response.


I need to use a control pipe and a bulk pipe same time.
And transfer on each pipe is asynchronously.

I did not serialize.
But I saw the following topic.
USB2.0 EHCI (usbehci.sys) behaviour on XP SP1
http://groups.google.co.jp/group/mic...17de4dc0 89b1

So I think it sould be serialized.
Now , I have a only queue for two pipe.
But if it makes any problems,
I want to make a queue for each pipe.