Re: SCSI Passthrough Using Write Buffer Command
- From: "Valeriy Glushkov" <gvvua@xxxxxxxxxxxx>
- Date: Thu, 6 Apr 2006 01:01:45 +0300
Garet,
There is a chance that some CD-ROM filter driver does not support forwarding
of this particular SCSI opcode.
Have you tried use some other kind of SCSI write command (like WRITE 0x2A,
etc) ?
--
Best regards,
Valeriy Glushkov
"Garet Cammer" <gcammer@xxxxxxxxxxx> wrote in message
news:%23ZmHjQPWGHA.2376@xxxxxxxxxxxxxxxxxxxxxxx
Thanks for the ideas, Gary.
Our product is identified as a removable media storage device, similar to
a CDROM, and does support the "Packet" commands, which are generated
through the SCSI_PASS_THROUGH_DIRECT ioctl. This works fine with other
commands, including the "READ BUFFER" (op code 0x3C), so it seems to me
that either we are not mapping the CDB array correctly, or one of the
Windows drivers is not performing as expected...
Regards,
Garet
"Gary G. Little" <gary.g.little@xxxxxxxxxxx> wrote in message
news:44342058$0$15443$6d36acad@xxxxxxxxxxxxxxxxxxxxx
Given that you are on 2000 and using an off the shelf HBA and driver,
does the driver support the command in SPTI? Since it's an ATAPI device
it does seem to me you should be using the ATA command defined by the T13
committee and not the SCSI command defined by the T10 committee. The
question then come up as to how you are mapping the CDB to the TFR.
--
The personal opinion of
Gary G. Little
"Garet Cammer" <gcammer@xxxxxxxxxxx> wrote in message
news:u2Q2OrMWGHA.1352@xxxxxxxxxxxxxxxxxxxxxxx
Hi everyone,
We are trying to send vendor-specific data to an ATAPI device we have
designed, using the WRITE BUFFER command (SCSI op code 0x3B) through an
application running under WIN 2000. The function uses the
IOCTL_SCSI_PASS_THROUGH_DIRECT, just like the spti.c example in the MSDN
library.
The protocol is working but the only data we get is the CDB[] array
repeated over and over, not the data buffer specified in
sptdwb.sptd.DataBuffer.
Can anyone suggest what is wrong, or where to look for a solution?
Thanks in advance,
Garet
.
- Follow-Ups:
- Re: SCSI Passthrough Using Write Buffer Command
- From: Garet Cammer
- Re: SCSI Passthrough Using Write Buffer Command
- From: Garet Cammer
- Re: SCSI Passthrough Using Write Buffer Command
- References:
- SCSI Passthrough Using Write Buffer Command
- From: Garet Cammer
- Re: SCSI Passthrough Using Write Buffer Command
- From: Gary G. Little
- Re: SCSI Passthrough Using Write Buffer Command
- From: Garet Cammer
- SCSI Passthrough Using Write Buffer Command
- Prev by Date: Re: Driver Globals
- Next by Date: RE: MAC Addresses Returned By OID_WAN_PERMANENT_ADDRESS
- Previous by thread: Re: SCSI Passthrough Using Write Buffer Command
- Next by thread: Re: SCSI Passthrough Using Write Buffer Command
- Index(es):
Relevant Pages
|