From: Garet Cammer on 6 Apr 2006 17:33 To all, I discovered the problem - I was not alligning the dataBuffer correctly on an 8 byte boundry, using capabilities.AlignmentMask. After doing that, it worked fine. Thanks and regards, Garet "Valeriy Glushkov" <gvvua(a)NO-SPAMua.fm> wrote in message news:uOx2gvPWGHA.4212(a)TK2MSFTNGP03.phx.gbl... > 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(a)arcoide.com> wrote in message > news:%23ZmHjQPWGHA.2376(a)TK2MSFTNGP03.phx.gbl... >> 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(a)seagate.com> wrote in message >> news:44342058$0$15443$6d36acad(a)taz.nntpserver.com... >>> 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(a)arcoide.com> wrote in message >>> news:u2Q2OrMWGHA.1352(a)TK2MSFTNGP05.phx.gbl... >>>> 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 >>>> >>> >>> >> >> > > |