aboutsummaryrefslogtreecommitdiff
path: root/inhex
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2022-05-24 21:13:26 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2022-05-24 21:13:26 +0000
commit6ff667a8941417f14c1dff8e60564c15ec8eb7e0 (patch)
tree758a10605b283d506264f769eed73236797e2bf2 /inhex
parent404cd7cc68c42c49076623e3ec13bb1f42f74ec7 (diff)
downloadsg3_utils-6ff667a8941417f14c1dff8e60564c15ec8eb7e0.tar.gz
sg_get_elem_status: change '--maxlen=' option default to 1056 (was 32), other cleanups
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@953 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'inhex')
-rw-r--r--inhex/get_elem_status.hex42
1 files changed, 8 insertions, 34 deletions
diff --git a/inhex/get_elem_status.hex b/inhex/get_elem_status.hex
index 7db83c81..72154455 100644
--- a/inhex/get_elem_status.hex
+++ b/inhex/get_elem_status.hex
@@ -1,35 +1,9 @@
-# To test sg_get_elem_status with dummy response to the SCSI
-# GET PHYSICAL ELEMENT SATUS command
-
-0 0 0 4
-0 0 0 2
-0 0 0 2
-
-0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
-
-# first descriptor
-0 0 0 0
-0 0 0 1
-
-0 0 0 0 0
-0
-1
-2c
-0 0 0 0 11 22 33 0
-
-0 0 0 0 0 0 0 0
-
-# second descriptor
-0 0 0 0
-0 0 0 2
-
-0 0 0 0 0
-1
-1
-fe
-ff ff ff ff ff ff ff ff
-
-0 0 0 0 0 0 0 0
-
-
+#
+# This is a real response to the SCSI GET PHYSICAL ELEMENT STATUS command.
+# sg_get_elem_status --filter=1 --maxlen=1k --report-type=1 -HHH <dev>
+
+00 00 00 01 00 00 00 01 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 0a 00 00 00 00 00 00 01 65
+ff ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00