Usage: sg_ses_microcode [--bpw=CS] [--dry-run] [--ealsd] [--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) can append ',act' to do activate after last --dry-run|-d skip SCSI commands, do everything else --ealsd|-e exit after last Send Diagnostic command --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 (def: deduced from FILE taking SKIP into account) --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.