USB - Interrupt Transfer- Driver

I am developing a driver for USB - Interrupt Transfer(IN & OUT), can any one clarify my ambiguity in Interrupt transfer driver.

1)In what sense BULK OUT driver differs from INTERRUPT OUT driver.
2)How can i accomplish Polling my device with specified time Interval from my Driver.
3) Who will take care of Polling the device with specifed time interval either my driver or Lower Drivers of my driver(i.e Host controller Driver, Hub Driver…)

Thanx in Advance
Gobinath


Scanned and protected by Email scanner

-----Original Message-----
From: Gobinath Krishna [mailto:xxxxx@erdcitvm.org]
Sent: Wednesday, December 01, 2004 10:07 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] USB - Interrupt Transfer- Driver

I am developing a driver for USB - Interrupt Transfer(IN & OUT), can any one
clarify my ambiguity in Interrupt transfer driver.

1)In what sense BULK OUT driver differs from INTERRUPT OUT driver.
[Devendra Singh] Interrupt OUT is not possible in case of USB. Only
Interrupt IN is possible.
2)How can i accomplish Polling my device with specified time Interval from
my Driver.
[Devendra Singh] Polling interval is defined in the Endpoint Descriptor.
This could be 1-255 milliseconds.
3) Who will take care of Polling the device with specifed time interval
either my driver or Lower Drivers of my driver(i.e Host controller Driver,
Hub Driver…)
[Devendra Singh] Your driver.

Thanx in Advance
Gobinath


Scanned and protected by Email scanner


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

  1. from a driver perspective, the URB you send is exactly the same. From the schedule on the host controller, an interrupt endpoint is guaranteed more bandwidth b/c of the bus polling interval

  2. you specify the interval in the select configuration. The host controller will then poll your endpoint at least that often as long as you have a pending transfer on the endpoint. This means that you should probably have at least 2 pending reads on the endpoint at all times. That applies to IN transfers.

For OUT, you just need to send the URB when you have data to write

  1. the host controller will put a transfer descriptor on the host controller schedule only when there is an outstanding transfer for the endpoint sent by the device’s function driver. This means that if you set an interval of X but do not having a pending read within that interval, there will be no IN transfer on that endpoint.

d


From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gobinath Krishna
Sent: Tuesday, November 30, 2004 8:37 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] USB - Interrupt Transfer- Driver

?
I am developing a driver for USB - Interrupt Transfer(IN & OUT), can any one clarify my ambiguity in? Interrupt transfer driver.
?
1)In what sense? BULK OUT driver differs from INTERRUPT OUT driver.
2)How can i accomplish Polling? my device with specified time Interval from my Driver.
3) Who will take care of Polling the device with specifed time interval either my driver or Lower Drivers of my driver(i.e Host controller Driver, Hub Driver…)
?
Thanx in Advance
Gobinath


Scanned and protected by Email scanner


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

USB stack and hardware will automatically poll the interrupt pipes at necessary rate, and do the data transfers if necessary.

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

----- Original Message -----
From: Gobinath Krishna
To: Windows System Software Devs Interest List
Sent: Wednesday, December 01, 2004 7:36 AM
Subject: [ntdev] USB - Interrupt Transfer- Driver

I am developing a driver for USB - Interrupt Transfer(IN & OUT), can any one clarify my ambiguity in Interrupt transfer driver.

1)In what sense BULK OUT driver differs from INTERRUPT OUT driver.
2)How can i accomplish Polling my device with specified time Interval from my Driver.
3) Who will take care of Polling the device with specifed time interval either my driver or Lower Drivers of my driver(i.e Host controller Driver, Hub Driver…)

Thanx in Advance
Gobinath


Scanned and protected by Email scanner


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com