diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2022-06-27 18:26:54 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2022-06-27 18:26:54 +0000 |
commit | 30842a3103045e471ec8169f09135bb6766e5e1d (patch) | |
tree | a37d6d0bc773726fff04c163457d3bb22e6efa71 /inhex | |
parent | 2e225c87784735360e9619766efe06782179a86a (diff) | |
download | sg3_utils-30842a3103045e471ec8169f09135bb6766e5e1d.tar.gz |
more JSON work: sense data and vpd device id, start on sg_vpd
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@956 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'inhex')
-rw-r--r-- | inhex/descriptor_sense.hex | 30 | ||||
-rw-r--r-- | inhex/vpd_di_all.hex | 30 |
2 files changed, 59 insertions, 1 deletions
diff --git a/inhex/descriptor_sense.hex b/inhex/descriptor_sense.hex new file mode 100644 index 00000000..c0fcba97 --- /dev/null +++ b/inhex/descriptor_sense.hex @@ -0,0 +1,30 @@ +# Test descriptor format sense data. Values are in hex. +# Invocation: 'sg_decode_sense -f descriptor_sense.hex' [dpg 20220626] + + +# unrec_err, excessive_writes, sdat_ovfl, additional_len=? +72 01 03 02 80 00 00 4c + +# Information: 0x11223344556677bb +00 0a 80 00 11 22 33 44 55 66 77 bb + +# command specific: 0x3344556677bbccff +01 0a 00 00 33 44 55 66 77 bb cc ff + +# sense key specific: SKSV=1, actual_count=257 (hex: 0x101) +02 06 00 00 80 01 01 00 + +# field replaceable code=0x45 +03 02 00 45 + +# another progress report indicator +0a 06 02 01 02 00 32 01 + +# incorrect length indicator (ILI) +05 02 00 20 + +# user data segment referral +0b 1a 01 00 +00 00 00 01 01 02 03 04 05 06 07 08 +01 02 03 04 55 06 07 08 +02 00 12 34 diff --git a/inhex/vpd_di_all.hex b/inhex/vpd_di_all.hex index bc89c0b1..b0c93765 100644 --- a/inhex/vpd_di_all.hex +++ b/inhex/vpd_di_all.hex @@ -2,7 +2,7 @@ # An example invocation: # sg_vpd --inhex=vpd_di_all.hex -00 83 00 82 +00 83 01 04 # Vendor specific designator 01 00 00 16 11 22 33 44 55 66 77 88 99 aa bb cc @@ -21,3 +21,31 @@ dd ee ff ed cb a9 87 65 43 21 # NAA 01 03 00 08 51 22 33 44 55 66 77 88 01 03 00 10 61 22 33 44 55 66 77 88 aa bb cc dd ee ff ee dd + +# Relative target port +01 14 00 04 00 00 00 02 + +# Target port group +01 15 00 04 00 00 00 03 + +# Logical unit group +01 06 00 04 00 00 00 04 + +# MD5 logical unitp +01 07 00 10 ff ee dd cc bb aa 99 88 77 66 55 44 33 22 11 00 + +# SCSI name string: iqn.5886.com.acme.diskarrays-sn-a8675309 +02 28 00 28 +69 71 6e 2e 35 38 38 36 2e 63 6f 6d 2e 61 63 6d +65 2e 64 69 73 6b 61 72 72 61 79 73 2d 73 6e 2d +61 38 36 37 35 33 30 39 + +# Protocol specific +# USB +91 99 00 04 04 00 02 00 +# PCIe +a1 99 00 08 01 23 00 00 00 00 00 00 + +# UUID +01 0a 00 12 10 00 11 22 33 44 55 66 77 88 99 aa +bb cc dd ee fe dc |