diff options
author | khali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0> | 2013-10-05 10:03:43 +0000 |
---|---|---|
committer | khali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0> | 2013-10-05 10:03:43 +0000 |
commit | 3b00e52cb87fba2157814c4ec67982a0288ca76e (patch) | |
tree | 42c5e0420ba60a5dbdc8eb5352caac0238a12254 | |
parent | b8d90b7104a1258854c90e6391bbf37db900cbf3 (diff) | |
download | i2c-tools-3b00e52cb87fba2157814c4ec67982a0288ca76e.tar.gz |
Add manual pages for decode-dimms and decode-vaio
Contributed by Jaromir Capik.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6200 7894878c-1315-0410-8ee3-d5d059ff63e0
-rw-r--r-- | CHANGES | 2 | ||||
-rw-r--r-- | eeprom/Module.mk | 7 | ||||
-rw-r--r-- | eeprom/decode-dimms.1 | 67 | ||||
-rw-r--r-- | eeprom/decode-vaio.1 | 35 |
4 files changed, 110 insertions, 1 deletions
@@ -38,6 +38,8 @@ SVN HEAD Fully decode the DDR3 SDRAM Device Type field Encode "degrees" to HTML degree symbol Generate XHTML 1.1 compliant markup + Add a manual page + decode-vaio: Add a manual page i2cdetect: Do a best effort detection if functionality is missing Clarify the SMBus commands used for probing by default i2c-dev.h: Minimize differences with kernel flavor diff --git a/eeprom/Module.mk b/eeprom/Module.mk index 5dd2fc2..87ecc22 100644 --- a/eeprom/Module.mk +++ b/eeprom/Module.mk @@ -10,19 +10,24 @@ EEPROM_DIR := eeprom EEPROM_TARGETS := decode-dimms decode-vaio ddcmon decode-edid +EEPROM_MANPAGES := decode-dimms.1 decode-vaio.1 # # Commands # install-eeprom: $(addprefix $(EEPROM_DIR)/,$(EEPROM_TARGETS)) - $(INSTALL_DIR) $(DESTDIR)$(bindir) + $(INSTALL_DIR) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 for program in $(EEPROM_TARGETS) ; do \ $(INSTALL_PROGRAM) $(EEPROM_DIR)/$$program $(DESTDIR)$(bindir) ; done + for manual in $(EEPROM_MANPAGES) ; do \ + $(INSTALL_DATA) $(EEPROM_DIR)/$$manual $(DESTDIR)$(mandir)/man1 ; done uninstall-eeprom: for program in $(EEPROM_TARGETS) ; do \ $(RM) $(DESTDIR)$(bindir)/$$program ; done + for manual in $(EEPROM_MANPAGES) ; do \ + $(RM) $(DESTDIR)$(mandir)/$$manual ; done install: install-eeprom diff --git a/eeprom/decode-dimms.1 b/eeprom/decode-dimms.1 new file mode 100644 index 0000000..e8c6eea --- /dev/null +++ b/eeprom/decode-dimms.1 @@ -0,0 +1,67 @@ +.\" +.\" decode-dimms.1 - manpage for the i2c-tools/decode-dimms utility +.\" Copyright (C) 2013 Jaromir Capik +.\" +.\" This program is free software; you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation; either version 2 of the License, or +.\" (at your option) any later version. +.\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License along +.\" with this program; if not, write to the Free Software Foundation, Inc., +.\" 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +.\" +.TH decode-dimms 1 "Oct 2013" "i2c-tools" "User Commands" +.SH NAME +decode-dimms \- decode the information found in memory module SPD EEPROMs +.SH SYNOPSIS +.B decode-dimms +[-c] [-f [-b]] [-x|-X file [files..]] +.br +.B decode-dimms +-h +.SH DESCRIPTION + +The purpose of the +.B decode-dimms +tool is to decode the information found in memory module SPD EEPROMs. +The SPD data is read either from the running system or dump files. +In the former case, the tool requires either the eeprom kernel module +or the at24 kernel module to be loaded. +.SH PARAMETERS +.TP +.B \-f, --format +Print nice html output +.TP +.B \-b, --bodyonly +Don't print html header (useful for postprocessing the output) +.TP +.B \--side-by-side +Display all DIMMs side-by-side if possible +.TP +.B \--merge-cells +Merge neighbour cells with identical values (side-by-side output only, default) +.TP +.B \--no-merge-cells +Don't merge neighbour cells with identical values (side-by-side output only) +.TP +.B \-c, --checksum +Decode completely even if checksum fails +.TP +.B \-x +Read data from hexdump files +.TP +.B \-X +Same as -x except treat multibyte hex data as little endian +.TP +.B \-h, --help +Display the usage summary +.SH SEE ALSO +.BR decode-vaio (1) +.SH AUTHORS +Philip Edelbrock, Christian Zuckschwerdt, Burkart Lingner, Jean Delvare diff --git a/eeprom/decode-vaio.1 b/eeprom/decode-vaio.1 new file mode 100644 index 0000000..125d597 --- /dev/null +++ b/eeprom/decode-vaio.1 @@ -0,0 +1,35 @@ +.\" +.\" decode-vaio.1 - manpage for the i2c-tools/decode-vaio utility +.\" Copyright (C) 2013 Jaromir Capik +.\" +.\" This program is free software; you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation; either version 2 of the License, or +.\" (at your option) any later version. +.\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License along +.\" with this program; if not, write to the Free Software Foundation, Inc., +.\" 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +.\" +.TH decode-vaio 1 "Oct 2013" "i2c-tools" "User Commands" +.SH NAME +decode-vaio \- decode the information found in the Sony Vaio laptop +identification EEPROMs +.SH SYNOPSIS +.B decode-vaio +.SH DESCRIPTION + +The purpose of the +.B decode-vaio +tool is to decode the information found in the Sony Vaio laptop +identification EEPROMs. +The tool requires the eeprom kernel module to be loaded. +.SH SEE ALSO +.BR decode-dimms (1) +.SH AUTHOR +Jean Delvare |