sg_ses_microcode --version (return code: 0)
sg_ses_microcode: version: 1.03 20151219
sg_ses_microcode --help (return code: 0)
Usage: sg_ses_microcode [--bpw=CS] [--help] [--id=ID] [--in=FILE]
[--length=LEN] [--mode=MO] [--non]
[--offset=OFF] [--skip=SKIP] [--subenc=SEID]
[--tlength=TLEN] [--verbose] [--version]
DEVICE
where:
--bpw=CS|-b CS CS is chunk size: bytes per send diagnostic
command (def: 0 -> as many as possible)
--help|-h print out usage message then exit
--id=ID|-i ID buffer identifier (0 (default) to 255)
--in=FILE|-I FILE read from FILE ('-I -' read from stdin)
--length=LEN|-l LEN length in bytes to send; may be deduced from
FILE
--mode=MO|-m MO download microcode mode, MO is number or
acronym (def: 0 -> 'dmc_status')
--non|-N non-standard: bypass all receive diagnostic
results commands except after check condition
--offset=OFF|-o OFF buffer offset (unit: bytes, def: 0);
ignored if --bpw=CS given
--skip=SKIP|-s SKIP bytes in file FILE to skip before reading
--subenc=SEID|-S SEID subenclosure identifier (def: 0 (primary))
--tlength=TLEN|-t TLEN total length of firmware in bytes
(def: 0). Only needed if TLEN>LEN
--verbose|-v increase verbosity
--version|-V print version string and exit
Does one or more SCSI SEND DIAGNOSTIC followed by RECEIVE DIAGNOSTIC
RESULTS command sequences in order to download microcode. Use '-m xxx'
to list available modes. With only DEVICE given, the Download Microcode
Status dpage is output.