I currently work to get working our 1394 driver under Windows 7 using the
new 1394ohci.sys driver.
I get an error in our driver because we try to do
REQUEST_ISOCH_ATTACH_BUFFERS and we get status STATUS_INSUFFICIENT_RESOURCES
from MS driver.
The first three call to REQUEST_ISOCH_ATTACH_BUFFERS return success but the
fourth failed.
Our driver work well under previous version of windows and with the 1394
legacy driver ship with Windows 7.
I generated *.etl trace file (like Don Miller from Microsoft suggest in
previous discussion http://www.osronline.com/ShowThread.cfm?link=166737), but
I cannot open this file using traceview.exe ship within the DDK and the
1394ohci.PDB in MS symstore.
Any clue?
Thank you!
We fixed the problem.
We just set the wrong value for nNumberOfBuffers in
REQUEST_ISOCH_ALLOCATE_RESOURCES.
We set this value to 5 (4 + 1, one extra ref. msdn doc.)
We call 4 times REQUEST_ISOCH_ATTACH_BUFFERS but with nNumberOfDescriptors
set to 2 each time (since last february).
So we need to set nNumberOfBuffers to 9 (4*2 + 1) instead.
We never get the status STATUS_INSUFFICIENT_RESOURCES with the legacy driver.
It's strange!
Anyway! One more bug fixed :-)
Have a nice day!
Thanks to Don Miller for is help.
--
Michel Archambault