aboutsummaryrefslogtreecommitdiff
path: root/inhex/inq_standard.hex
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@google.com>2022-11-23 18:56:18 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-11-23 18:56:18 +0000
commit71b9916bab71328ec690b8677524e512d580d28f (patch)
tree207cdb23f8257e270a30143fde23d2033901581f /inhex/inq_standard.hex
parent8718296061e35ba33bf88847e7498f3d7e38f8f1 (diff)
parent448b67b18a80f8cc0feaaa669deaf169faa169f3 (diff)
downloadsg3_utils-71b9916bab71328ec690b8677524e512d580d28f.tar.gz
Merge remote-tracking branch 'aosp/upstream-main' into HEAD am: 448b67b18a
Original change: https://android-review.googlesource.com/c/platform/external/sg3_utils/+/2312210 Change-Id: I9653250a81928fffacf92bb5d9daffbc0ad7b2a8 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'inhex/inq_standard.hex')
-rw-r--r--inhex/inq_standard.hex23
1 files changed, 23 insertions, 0 deletions
diff --git a/inhex/inq_standard.hex b/inhex/inq_standard.hex
new file mode 100644
index 00000000..73c80f37
--- /dev/null
+++ b/inhex/inq_standard.hex
@@ -0,0 +1,23 @@
+# This file contains the ASCII hex of a SCSI INQUIRY command
+# 'standard' response. In this case non-standard responses refers
+# to responses contain VPD page that are also fetched with the
+# SCSI INQUIRY command.
+
+# The response in this file can be decoded with:
+# sg_inq --inhex=inq_standard.hex
+# or
+# sg_vpd --inhex=inq_standard.hex --page=sinq
+#
+# The sg_inq utility defaults to the 'standard' INQUIRY while the
+# sg_vpd utility defaults to the "Supported VPD pages" VPD page.
+# Hence sg_vpd needs the extra option '--page=sinq' which says the
+# VPD page is the standard inquiry. Strictly speaking the standard
+# INQUIRY is not a VPD page but probably would be if SCSI was not
+# 40 years old and highly values backward compatibility.
+
+00 00 07 02 5b 00 10 0a 4c 69 6e 75 78 20 20 20
+73 63 73 69 5f 64 65 62 75 67 20 20 20 20 20 20
+30 31 39 31 32 30 32 31 30 35 32 30 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 c0 05 c0 06 00
+21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00