SBP2Port.sys

Where can I find documentation on how to use this driver?

Thanks
pat

From the author : xxxxx@g2a.net

----- Original Message -----
From: “Pat Laplante”
To: “NT Developers Interest List”
Sent: Wednesday, July 02, 2003 11:57 PM
Subject: [ntdev] SBP2Port.sys

> Where can I find documentation on how to use this driver?
>
> Thanks
> pat
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@compaqnet.be
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

Sorry, he isn’t the developer :frowning:

----- Original Message -----
From: “Christiaan Ghijselinck”
To: “NT Developers Interest List”
Sent: Thursday, July 03, 2003 12:17 AM
Subject: [ntdev] Re: SBP2Port.sys

>
> >From the author : xxxxx@g2a.net
>
>
> ----- Original Message -----
> From: “Pat Laplante”
> To: “NT Developers Interest List”
> Sent: Wednesday, July 02, 2003 11:57 PM
> Subject: [ntdev] SBP2Port.sys
>
>
> > Where can I find documentation on how to use this driver?
> >
> > Thanks
> > pat
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@compaqnet.be
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@compaqnet.be
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

In what way do you want to use it? Do you want to write a client which
talks to it? Do you have a device of your own which supports SBP2 that
it’s not loading on? Is there a programming interface of some sort that
you think you can or should be invoking?

-p

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Pat Laplante
Sent: Wednesday, July 02, 2003 2:57 PM
To: NT Developers Interest List
Subject: [ntdev] SBP2Port.sys

Where can I find documentation on how to use this driver?

Thanks
pat


You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com

Ok, I am working on a Digital Camera (that produces still, not video) that
uses Firewire.

I was looking at WIA but unfortunatly it seems that the PTP mini driver only
supports USB (ptpusd.sys and ptpusb.sys but I can’t find a ptpsbp2 or
ptp1394 file). Also, WIA isn’t support on 2000 so I need to write an STI
mini driver that will talk to my camera through 1394 using sbp2.

Along with being a still camera, the camera has a preview mode (through some
custom PTP command) that will spit about 15 frames per seconds, so I need to
somehow stream the data. But I don’t want to write kernel mode driver.

And I read somewhere on the Microsoft website that you are supposed to use
the spb2port.sys kernel driver to talk to spb2 device over firewire. But I
can’t find any documentation.

So I want to be able to write code in User mode that will talk to that
camera through the sbp2port.sys.

pat

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Peter Wieland
Sent: Wednesday, July 02, 2003 5:33 PM
To: NT Developers Interest List
Subject: [ntdev] RE: SBP2Port.sys

In what way do you want to use it? Do you want to write a client which
talks to it? Do you have a device of your own which supports SBP2 that
it’s not loading on? Is there a programming interface of some sort that
you think you can or should be invoking?

-p

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Pat Laplante
Sent: Wednesday, July 02, 2003 2:57 PM
To: NT Developers Interest List
Subject: [ntdev] SBP2Port.sys

Where can I find documentation on how to use this driver?

Thanks
pat


You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@vanteon.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Sbp2port takes 1394 devices which support SBP2 (which is basically SCSI
over 1394 … In case we’re talking about different things) and exposes
them as (effectively) as SCSI devices which our SCSI class drivers can
attach to.

What device type does your SBP2 interface claim it is? Most SCSI
scanners say they’re a scsi “processor” device (unfortuantely) which
causes scsiscan to be loaded on them. Since both WIA and STI talk to
scsi scanners I suspect it could do so to your camera the same way.

The other option would be to find the devnode for your scanner and use
scsi pass-through commands. I think sbp2port supports them.

-p

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Pat Laplante
Sent: Wednesday, July 02, 2003 6:26 PM
To: NT Developers Interest List
Subject: [ntdev] RE: SBP2Port.sys

Ok, I am working on a Digital Camera (that produces still, not video)
that uses Firewire.

I was looking at WIA but unfortunatly it seems that the PTP mini driver
only supports USB (ptpusd.sys and ptpusb.sys but I can’t find a ptpsbp2
or
ptp1394 file). Also, WIA isn’t support on 2000 so I need to write an
STI mini driver that will talk to my camera through 1394 using sbp2.

Along with being a still camera, the camera has a preview mode (through
some custom PTP command) that will spit about 15 frames per seconds, so
I need to somehow stream the data. But I don’t want to write kernel
mode driver.

And I read somewhere on the Microsoft website that you are supposed to
use the spb2port.sys kernel driver to talk to spb2 device over firewire.
But I can’t find any documentation.

So I want to be able to write code in User mode that will talk to that
camera through the sbp2port.sys.

pat

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Peter Wieland
Sent: Wednesday, July 02, 2003 5:33 PM
To: NT Developers Interest List
Subject: [ntdev] RE: SBP2Port.sys

In what way do you want to use it? Do you want to write a client which
talks to it? Do you have a device of your own which supports SBP2 that
it’s not loading on? Is there a programming interface of some sort that
you think you can or should be invoking?

-p

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Pat Laplante
Sent: Wednesday, July 02, 2003 2:57 PM
To: NT Developers Interest List
Subject: [ntdev] SBP2Port.sys

Where can I find documentation on how to use this driver?

Thanks
pat


You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@vanteon.com To
unsubscribe send a blank email to xxxxx@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com

Hi Peter,

thanks for your answer

The hardware is still in early stage and we are discussing the firmware and
how the stack will be implemented. So the guy doing the firmware works next
to me.

But how do you use the spb2port.sys from a USER MODE application stand
point.

How do you open the driver, what type of data do you need to send down the
pipe. What is the exposed interface… This is what I am looking for…

pat

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Peter Wieland
Sent: Wednesday, July 02, 2003 8:57 PM
To: NT Developers Interest List
Subject: [ntdev] RE: SBP2Port.sys

Sbp2port takes 1394 devices which support SBP2 (which is basically SCSI
over 1394 … In case we’re talking about different things) and exposes
them as (effectively) as SCSI devices which our SCSI class drivers can
attach to.

What device type does your SBP2 interface claim it is? Most SCSI
scanners say they’re a scsi “processor” device (unfortuantely) which
causes scsiscan to be loaded on them. Since both WIA and STI talk to
scsi scanners I suspect it could do so to your camera the same way.

The other option would be to find the devnode for your scanner and use
scsi pass-through commands. I think sbp2port supports them.

-p

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Pat Laplante
Sent: Wednesday, July 02, 2003 6:26 PM
To: NT Developers Interest List
Subject: [ntdev] RE: SBP2Port.sys

Ok, I am working on a Digital Camera (that produces still, not video)
that uses Firewire.

I was looking at WIA but unfortunatly it seems that the PTP mini driver
only supports USB (ptpusd.sys and ptpusb.sys but I can’t find a ptpsbp2
or
ptp1394 file). Also, WIA isn’t support on 2000 so I need to write an
STI mini driver that will talk to my camera through 1394 using sbp2.

Along with being a still camera, the camera has a preview mode (through
some custom PTP command) that will spit about 15 frames per seconds, so
I need to somehow stream the data. But I don’t want to write kernel
mode driver.

And I read somewhere on the Microsoft website that you are supposed to
use the spb2port.sys kernel driver to talk to spb2 device over firewire.
But I can’t find any documentation.

So I want to be able to write code in User mode that will talk to that
camera through the sbp2port.sys.

pat

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Peter Wieland
Sent: Wednesday, July 02, 2003 5:33 PM
To: NT Developers Interest List
Subject: [ntdev] RE: SBP2Port.sys

In what way do you want to use it? Do you want to write a client which
talks to it? Do you have a device of your own which supports SBP2 that
it’s not loading on? Is there a programming interface of some sort that
you think you can or should be invoking?

-p

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Pat Laplante
Sent: Wednesday, July 02, 2003 2:57 PM
To: NT Developers Interest List
Subject: [ntdev] SBP2Port.sys

Where can I find documentation on how to use this driver?

Thanks
pat


You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@vanteon.com To
unsubscribe send a blank email to xxxxx@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@vanteon.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

> Sbp2port takes 1394 devices which support SBP2 (which is basically SCSI

over 1394 … In case we’re talking about different things) and exposes
them as (effectively) as SCSI devices which our SCSI class drivers can
attach to.

Will Sbp2port.sys support protocols other than SCSI ? I am working with Pat
on this project, but on the camera (Embedded) side of things. We are
planning on putting PTP (Formally known as PIMA 15740) on the camera as a
Still Image Protocol, and need something to use as a firewire CSR Transport.
From the looks of things so far, SBP2 seems to be the logical choice. I also
spoke to someone at the PTP Standards Organization, and he said that the
IEEE 1394 folks were working on a standard for PTP over 1394 using SBP2, but
it had not been released yet.

My understanding of the SPB2 protocol is that it is a Transport used to
send/recv commands and the SCSI happens to be the first and most popular use
for SBP2, but that you could put any other command set as well.

What device type does your SBP2 interface claim it is?

AT this point, we are not sure. The device is a high end Digital camera with
1394 interface to a PC. The Windows side of things needs to be able to
configure the camera from the PC (Its intended use might be in a studio with
a PC). This is why we are using PTP, since it is a standard and has a rich
set of camera configuration capabilities.

Is there a list somewhere of the different types of devices that Windows
will try and match over SBP2 ?

Later and Thanks

-Chris

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Pat Laplante
Sent: Wednesday, July 02, 2003 6:26 PM
To: NT Developers Interest List
Subject: [ntdev] RE: SBP2Port.sys

Ok, I am working on a Digital Camera (that produces still, not video)
that uses Firewire.

I was looking at WIA but unfortunatly it seems that the PTP mini driver
only supports USB (ptpusd.sys and ptpusb.sys but I can’t find a ptpsbp2
or
ptp1394 file). Also, WIA isn’t support on 2000 so I need to write an
STI mini driver that will talk to my camera through 1394 using sbp2.

Along with being a still camera, the camera has a preview mode (through
some custom PTP command) that will spit about 15 frames per seconds, so
I need to somehow stream the data. But I don’t want to write kernel
mode driver.

And I read somewhere on the Microsoft website that you are supposed to
use the spb2port.sys kernel driver to talk to spb2 device over firewire.
But I can’t find any documentation.

So I want to be able to write code in User mode that will talk to that
camera through the sbp2port.sys.

pat

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Peter Wieland
Sent: Wednesday, July 02, 2003 5:33 PM
To: NT Developers Interest List
Subject: [ntdev] RE: SBP2Port.sys

In what way do you want to use it? Do you want to write a client which
talks to it? Do you have a device of your own which supports SBP2 that
it’s not loading on? Is there a programming interface of some sort that
you think you can or should be invoking?

-p

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Pat Laplante
Sent: Wednesday, July 02, 2003 2:57 PM
To: NT Developers Interest List
Subject: [ntdev] SBP2Port.sys

Where can I find documentation on how to use this driver?

Thanks
pat


You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@vanteon.com To
unsubscribe send a blank email to xxxxx@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@vanteon.com
To unsubscribe send a blank email to xxxxx@lists.osr.com