From: bluestar on
How to run 1394 Async/Isoch Commands for DDK sample???

Dear Sir:

I use 1394 sample code from DDK\src\wdm\1394(win1394.exe,1394api.dll
,1394vdev.sys,1394diag.sys),
and I also plug one VIA-1394 ExpressCard into my MB, but not plug HDD
into the expresscard.

I install driver:1394vdev.sys and I can run some commands for the
item:"1394 Commands", except "Set Device Xmit Properties" and "Get Max
Speed Between Devices". (GetLocalHostInformation->Level=5,
GetConfigurationInfo are not support for sample code)

But I don't run ant commands for the item:"Async Commands", "Isoch
Commands",
how to set proper parameters on APP:win1934.exe to let both commands
run???

Please help me to solve if you know this condition.


Alan

From: r_konjeti on
win1394.exe is not very friendly demo application. Instead use the code
sample and write your own application, may be a console application for
starters. Remember this is only a sample application and should be
treated as such. Write your own code. Use this only as example. This is
not going to be a simple project.

bluestar wrote:
> How to run 1394 Async/Isoch Commands for DDK sample???
>
> Dear Sir:
>
> I use 1394 sample code from DDK\src\wdm\1394(win1394.exe,1394api.dll
> ,1394vdev.sys,1394diag.sys),
> and I also plug one VIA-1394 ExpressCard into my MB, but not plug HDD
> into the expresscard.
>
> I install driver:1394vdev.sys and I can run some commands for the
> item:"1394 Commands", except "Set Device Xmit Properties" and "Get Max
> Speed Between Devices". (GetLocalHostInformation->Level=5,
> GetConfigurationInfo are not support for sample code)
>
> But I don't run ant commands for the item:"Async Commands", "Isoch
> Commands",
> how to set proper parameters on APP:win1934.exe to let both commands
> run???
>
> Please help me to solve if you know this condition.
>
>
> Alan

From: Eliyas Yakub [MSFT] on
<just a KMDF plug>

I think you should consider using the KMDF version of this sample present
under src\kmdf\1394 directory of WDK.

-Eliyas


<r_konjeti(a)yahoo.com> wrote in message
news:1169525655.627020.123490(a)q2g2000cwa.googlegroups.com...
> win1394.exe is not very friendly demo application. Instead use the code
> sample and write your own application, may be a console application for
> starters. Remember this is only a sample application and should be
> treated as such. Write your own code. Use this only as example. This is
> not going to be a simple project.
>
> bluestar wrote:
>> How to run 1394 Async/Isoch Commands for DDK sample???
>>
>> Dear Sir:
>>
>> I use 1394 sample code from DDK\src\wdm\1394(win1394.exe,1394api.dll
>> ,1394vdev.sys,1394diag.sys),
>> and I also plug one VIA-1394 ExpressCard into my MB, but not plug HDD
>> into the expresscard.
>>
>> I install driver:1394vdev.sys and I can run some commands for the
>> item:"1394 Commands", except "Set Device Xmit Properties" and "Get Max
>> Speed Between Devices". (GetLocalHostInformation->Level=5,
>> GetConfigurationInfo are not support for sample code)
>>
>> But I don't run ant commands for the item:"Async Commands", "Isoch
>> Commands",
>> how to set proper parameters on APP:win1934.exe to let both commands
>> run???
>>
>> Please help me to solve if you know this condition.
>>
>>
>> Alan
>

From: bluestar on
On 1¤ë25¤é, ¤W¤È3®É56¤À, "Eliyas Yakub [MSFT]"
<eliy...(a)online.microsoft.com> wrote:
> <just a KMDF plug>
>
> I think you should consider using the KMDF version of this sample present
> under src\kmdf\1394 directory of WDK.
>
> -Eliyas
>
> <r_konj...(a)yahoo.com> wrote in message
>
> news:1169525655.627020.123490(a)q2g2000cwa.googlegroups.com...
>
> > win1394.exe is not very friendly demo application. Instead use the code
> > sample and write your own application, may be a console application for
> > starters. Remember this is only a sample application and should be
> > treated as such. Write your own code. Use this only as example. This is
> > not going to be a simple project.

Dear Sirs:

I am very appreciated your suggestions.
I just only have \WINDDK\6000\src\1394, this sample code is
ok???
If not, where to download good sample:src\kmdf\1394???

Now i am very confused that all parameters of IRB for passing
requests to IEEE 1394 bus driver
I read all DDK documents for IEEE 1394 Bus I/O
equests(REQUEST_ASYNC_READ,
REQUEST_ASYNC_WRITE,....) and read 2 documents written by
Bill McKenzie on MS-WebSite,
then I will try all times, but it failed all the time...
Maybe "win1394.exe" is not very friendly demo application,
but i think i will try to understand for
1394 bus driver by using this application, and then I can re-
write this application by my own code.

Sirs, could you help or teach me to understand the
relationship between sample-drivers(1394diag.sys
&1394vdev.sys) and ohci1394.sys??? How to set the parameters
for correct read/write transactions???

Thanks for your kindly help.

Alan

From: Eliyas Yakub [MSFT] on
KMDF samples are part of Vista WDK. My guess is that you have a partial
install of WDK. Get the WDK CD and do a complete install. Functionally this
sample is equivalent to the WDM version of the sample.

-Eliyas