Prageeth KS
2005-07-15 04:15:52 UTC
Hi/
I am describing a customer requirement and one proposed solution for
the same. Please check out and suggest any better methods if it exists.
Problem:
-A ATA harddisk drive accepts ATA commands to lock/unlock the drive
using passwords
-The requirement is to unlock the drive when it is connected to a Win2K
PC to the USB port, using an USB-to-ATA adaptor, for maintenenece
purposes
Proposed Solution:
-From my understanding, an USB storage device accepts SCSI commands
only
-There is an interface IOCTL_SCSI_PASS_THROUGH, by which it is possible
to give a SCSI command directly to the device
-There is a SCSI command ATA COMMAND PASS THROUGH by which an ATA
command can be wrapped up in a SCSI command
-Hence, the planned solution is to send an IOCTL_SCSI_PASS_THROUGH to
the drive with SCSI command ATA COMMAND PASS THROUGH with data as the
ATA command to lock/unlock the drive
Please let me know your comments.
Regards,
Prageeth
I am describing a customer requirement and one proposed solution for
the same. Please check out and suggest any better methods if it exists.
Problem:
-A ATA harddisk drive accepts ATA commands to lock/unlock the drive
using passwords
-The requirement is to unlock the drive when it is connected to a Win2K
PC to the USB port, using an USB-to-ATA adaptor, for maintenenece
purposes
Proposed Solution:
-From my understanding, an USB storage device accepts SCSI commands
only
-There is an interface IOCTL_SCSI_PASS_THROUGH, by which it is possible
to give a SCSI command directly to the device
-There is a SCSI command ATA COMMAND PASS THROUGH by which an ATA
command can be wrapped up in a SCSI command
-Hence, the planned solution is to send an IOCTL_SCSI_PASS_THROUGH to
the drive with SCSI command ATA COMMAND PASS THROUGH with data as the
ATA command to lock/unlock the drive
Please let me know your comments.
Regards,
Prageeth