-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sg_stream_ctl: add --hex, --inhex=, --json= and --raw options; JSON: …
…make output more consistent so most command responses have a *_paramter_data git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1057 6180dd3e-e324-4e3e-922d-17de1ae2f315
- Loading branch information
1 parent
593cb07
commit 0e955c4
Showing
19 changed files
with
841 additions
and
312 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ sg3-utils (1.49-0.1) unstable; urgency=low | |
|
||
* New upstream version | ||
|
||
-- Douglas Gilbert <[email protected]> Mon, 16 Oct 2023 11:00:00 -0400 | ||
-- Douglas Gilbert <[email protected]> Fri, 20 Oct 2023 13:00:00 -0400 | ||
|
||
sg3-utils (1.48-0.1) unstable; urgency=low | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# | ||
# Get stream status. Note that the sg_stream_ctl utility issues either | ||
# a SCSI GET STREAM STATUS or STREAM CONTROL command. This is an example | ||
# of the SCSI GET STREAM STATUS command. | ||
# | ||
# This can be tested with: | ||
# sg_stream_ctl --inhex=<this_file> | ||
# | ||
# | ||
# For a STREAM CONTROL command example see the stream_ctl_open.hex file. | ||
|
||
0 0 0 30 | ||
0 0 0 6 | ||
|
||
80 0 0 1 0 0 0 0 | ||
80 0 0 2 1 0 0 0 | ||
80 0 0 3 2 0 0 0 | ||
80 0 0 4 3 0 0 0 | ||
|
||
0 0 0 5 3e 0 0 0 | ||
0 0 0 6 3f 0 0 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# | ||
# The SCSI STREAM CONTROL command yields parameter data which in the | ||
# case of STR_CTL=1 (open) contains the newly opened Stream Identifier | ||
# ASSIGNED_STR_ID. That field is 16 bits long and should not be 0. | ||
# In the case of STR_CTL=2 (close) it seems 8 bytes of parameter data | ||
# is also returned with the value of ASSIGNED_STR_ID is "reserved". | ||
# In practice that should be zero. | ||
# | ||
# This can be tested with: | ||
# sg_stream_ctl --open --inhex=<this_file> | ||
# and the ASSIGNED_STR_ID field should be 3 . | ||
# Note the the '--open' option is needed to flag that the response data | ||
# is from a SCSI STREAM CONTROL command. | ||
# | ||
# For a GET STREAM STATUS command example see the stream_ctl_get.hex file . | ||
|
||
7 0 0 0 0 3 0 0 |
Oops, something went wrong.