Hello,

We are developing a standalone device that communicates
via 1394 with a PC. The device has OHCI compatible 1394
device. I installed 1394 board in the PC and windows
2000/XP found it. The ohci1394 driver is attached to it.
Could you tell how I can find out what are interfaces of
ohci1394 driver and how I can communicate with it in C/C++
from user mode?

Re: OHCI on IEEE 1394 by Ronny

Ronny
Wed Sep 03 01:43:11 CDT 2003

See the example of the 1394 wdm driver in the DDK

Ronny

"Gagik Manukian" <manukiang@hotnail.com> wrote in message
news:017001c37182$18ab42f0$a501280a@phx.gbl...
> Hello,
>
> We are developing a standalone device that communicates
> via 1394 with a PC. The device has OHCI compatible 1394
> device. I installed 1394 board in the PC and windows
> 2000/XP found it. The ohci1394 driver is attached to it.
> Could you tell how I can find out what are interfaces of
> ohci1394 driver and how I can communicate with it in C/C++
> from user mode?
>



Re: OHCI on IEEE 1394 by Bill

Bill
Wed Sep 03 09:13:42 CDT 2003

There is no published interface for communicating directly with the port
driver from user-mode that I am aware of if that is what you are asking. I
assume from your description that this is an OHCI host controller?

What information exactly are you hoping to get from this device?

--
Bill McKenzie
Compuware Corporation
Watch your IRPs/IRBs/URBs/SRBs/NDIS pkts with our free WDMSniffer tool:
http://frontline.compuware.com/nashua/patches/utility.htm


"Gagik Manukian" <manukiang@hotnail.com> wrote in message
news:017001c37182$18ab42f0$a501280a@phx.gbl...
> Hello,
>
> We are developing a standalone device that communicates
> via 1394 with a PC. The device has OHCI compatible 1394
> device. I installed 1394 board in the PC and windows
> 2000/XP found it. The ohci1394 driver is attached to it.
> Could you tell how I can find out what are interfaces of
> ohci1394 driver and how I can communicate with it in C/C++
> from user mode?
>



Re: OHCI on IEEE 1394 by Gagik

Gagik
Wed Sep 03 14:24:38 CDT 2003

Hello Bill,

Thanks for responce.
We are developing a standalone device that would be
connected to a PC via IEEE 1394. We are planning to use
isochronous mode of operation. The SW on PC should be able
to receive the data and process it.

Gagik.

>-----Original Message-----
>There is no published interface for communicating
directly with the port
>driver from user-mode that I am aware of if that is what
you are asking. I
>assume from your description that this is an OHCI host
controller?
>
>What information exactly are you hoping to get from this
device?
>
>--
>Bill McKenzie
>Compuware Corporation
>Watch your IRPs/IRBs/URBs/SRBs/NDIS pkts with our free
WDMSniffer tool:
>http://frontline.compuware.com/nashua/patches/utility.htm
>
>
>"Gagik Manukian" <manukiang@hotnail.com> wrote in message
>news:017001c37182$18ab42f0$a501280a@phx.gbl...
>> Hello,
>>
>> We are developing a standalone device that communicates
>> via 1394 with a PC. The device has OHCI compatible 1394
>> device. I installed 1394 board in the PC and windows
>> 2000/XP found it. The ohci1394 driver is attached to it.
>> Could you tell how I can find out what are interfaces of
>> ohci1394 driver and how I can communicate with it in
C/C++
>> from user mode?
>>
>
>
>.
>

Re: OHCI on IEEE 1394 by Gagik

Gagik
Wed Sep 03 14:30:41 CDT 2003

Hello Rony,

I assume that 1394 wdm is another 1394 kernel driver
(.sys) which I probbably can install on my computer. But
there is already a driver installed on Windows 2000/XP. I
just want to use the interface of that driver.

Thanks,
Gagik.

>-----Original Message-----
>See the example of the 1394 wdm driver in the DDK
>
>Ronny
>
>"Gagik Manukian" <manukiang@hotnail.com> wrote in message
>news:017001c37182$18ab42f0$a501280a@phx.gbl...
>> Hello,
>>
>> We are developing a standalone device that communicates
>> via 1394 with a PC. The device has OHCI compatible 1394
>> device. I installed 1394 board in the PC and windows
>> 2000/XP found it. The ohci1394 driver is attached to it.
>> Could you tell how I can find out what are interfaces of
>> ohci1394 driver and how I can communicate with it in
C/C++
>> from user mode?
>>
>
>
>.
>

Re: OHCI on IEEE 1394 by Bill

Bill
Wed Sep 03 14:56:33 CDT 2003

In that case, then it sounds like a regular 1394 device. If so, then the
only way a driver should have loaded for it, is if it belonged to a
predefined device class which has native drivers like the image class. Is
this device a camera or some such? What is the unit spec ID and sw version
for this device?

If the device does not belong to a predefined class, you will have to write
your own WDM driver for it.

--
Bill McKenzie
Compuware Corporation
Watch your IRPs/IRBs/URBs/SRBs/NDIS pkts with our free WDMSniffer tool:
http://frontline.compuware.com/nashua/patches/utility.htm


"Gagik Manukian" <manukiang@gsilumoncis.com> wrote in message
news:03d401c37251$04706ca0$a301280a@phx.gbl...
> Hello Bill,
>
> Thanks for responce.
> We are developing a standalone device that would be
> connected to a PC via IEEE 1394. We are planning to use
> isochronous mode of operation. The SW on PC should be able
> to receive the data and process it.
>
> Gagik.
>
> >-----Original Message-----
> >There is no published interface for communicating
> directly with the port
> >driver from user-mode that I am aware of if that is what
> you are asking. I
> >assume from your description that this is an OHCI host
> controller?
> >
> >What information exactly are you hoping to get from this
> device?
> >
> >--
> >Bill McKenzie
> >Compuware Corporation
> >Watch your IRPs/IRBs/URBs/SRBs/NDIS pkts with our free
> WDMSniffer tool:
> >http://frontline.compuware.com/nashua/patches/utility.htm
> >
> >
> >"Gagik Manukian" <manukiang@hotnail.com> wrote in message
> >news:017001c37182$18ab42f0$a501280a@phx.gbl...
> >> Hello,
> >>
> >> We are developing a standalone device that communicates
> >> via 1394 with a PC. The device has OHCI compatible 1394
> >> device. I installed 1394 board in the PC and windows
> >> 2000/XP found it. The ohci1394 driver is attached to it.
> >> Could you tell how I can find out what are interfaces of
> >> ohci1394 driver and how I can communicate with it in
> C/C++
> >> from user mode?
> >>
> >
> >
> >.
> >



Re: OHCI on IEEE 1394 by Maxim

Maxim
Thu Sep 04 12:23:51 CDT 2003

This driver provides no interfaces accessible from the user mode.

It only provides the interfaces to other kernel mode device drivers which are
loaded by PnP for particular 1394-attached hardware. So, you must have some
1394 hardware with valid config ROM and write a kernel-mode driver for it.

Another way - supported since XP - is "virtual 1394 device". This is a kernel
mode driver connected to 1394 stack which adds a unit directory to the
machine's config ROM, thus exposing the machine itself to the 1394 bus as some
emulated device. It will then receive the indications when other bus nodes will
try to access this device.

For "virtual 1394 device", you will need no hardware.

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


"Gagik Manukian" <manukiang@gsilumonics.com> wrote in message
news:10b501c37251$dca9f870$a501280a@phx.gbl...
> Hello Rony,
>
> I assume that 1394 wdm is another 1394 kernel driver
> (.sys) which I probbably can install on my computer. But
> there is already a driver installed on Windows 2000/XP. I
> just want to use the interface of that driver.
>
> Thanks,
> Gagik.
>
> >-----Original Message-----
> >See the example of the 1394 wdm driver in the DDK
> >
> >Ronny
> >
> >"Gagik Manukian" <manukiang@hotnail.com> wrote in message
> >news:017001c37182$18ab42f0$a501280a@phx.gbl...
> >> Hello,
> >>
> >> We are developing a standalone device that communicates
> >> via 1394 with a PC. The device has OHCI compatible 1394
> >> device. I installed 1394 board in the PC and windows
> >> 2000/XP found it. The ohci1394 driver is attached to it.
> >> Could you tell how I can find out what are interfaces of
> >> ohci1394 driver and how I can communicate with it in
> C/C++
> >> from user mode?
> >>
> >
> >
> >.
> >