Usage: sg_wr_mode [--cfile=CF] [--contents=H,H...] [--dbd] [--force] [--help] [--len=10|6] [--mask=M,M...] [--mfile=MF] [--page=PG_H[,SPG_H]] [--raw] [--rtd] [--save] [--six] [--verbose] [--version] DEVICE where: --cfile=CF | -C CF contents in a file called CF --contents=H,H... | -c H,H... comma separated string of hex numbers that is mode page contents to write --contents=- | -c - read stdin for mode page contents to write --dbd | -d disable block descriptors (DBD bit in cdb) --force | -f force the contents to be written --help | -h print out usage message --len=10|6 | -l 10|6 use 10 byte (def) or 6 byte variants of SCSI MODE SENSE/SELECT commands --mask=M,M... | -m M,M... comma separated string of hex numbers that mask contents to write --mfile=MF | -M MF mask in a file called MF --page=PG_H | -p PG_H page_code to be written (in hex) --page=PG_H,SPG_H | -p PG_H,SPG_H page and subpage code to be written (in hex) --raw | -r contents of CF file decoded as binary --rtd | -R set RTD bit (revert to defaults) in cdb --save | -s set 'save page' (SP) bit; default don't so only 'current' values changed --six | -6 do SCSI MODE SENSE/SELECT(6) commands --verbose | -v increase verbosity --version | -V print version string and exit writes given mode page with SCSI MODE SELECT (10 or 6) command