138 lines
3.5 KiB
HTML
138 lines
3.5 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of VPDDECODE</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>VPDDECODE</H1>
|
|
Section: Maintenance Commands (8)<BR>Updated: February 2007<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
vpddecode - <FONT SIZE="-1">VPD</FONT> structure decoder
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>vpddecode</B>
|
|
|
|
[<B>OPTIONS</B>]
|
|
|
|
<P>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<B>vpddecode</B>
|
|
|
|
prints the "vital product data" information that can be found in almost
|
|
all IBM and Lenovo computers. Available items are:
|
|
<DL COMPACT>
|
|
<DT id="1">•<DD>
|
|
<FONT SIZE="-1">BIOS</FONT> Build <FONT SIZE="-1">ID</FONT>
|
|
<DT id="2">•<DD>
|
|
Box Serial Number
|
|
<DT id="3">•<DD>
|
|
Motherboard Serial Number
|
|
<DT id="4">•<DD>
|
|
Machine Type/Model
|
|
<P>
|
|
</DL>
|
|
<P>
|
|
|
|
Some systems have these additional items:
|
|
<DL COMPACT>
|
|
<DT id="5">•<DD>
|
|
BIOS Release Date
|
|
<DT id="6">•<DD>
|
|
Default Flash Image File Name
|
|
<P>
|
|
</DL>
|
|
<P>
|
|
|
|
Note that these additional items are not documented by IBM, so this is
|
|
guess work, and as such should not be blindly trusted. Feedback about
|
|
the accuracy of these labels is welcome.
|
|
<P>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="7"><B>-d</B>, <B>--dev-mem FILE</B>
|
|
|
|
<DD>
|
|
Read memory from device <B>FILE</B> (default: <B>/dev/mem</B>)
|
|
<DT id="8"><B>-s</B>, <B>--string KEYWORD</B>
|
|
|
|
<DD>
|
|
Only display the value of the <FONT SIZE="-1">VPD</FONT> string identified by <B>KEYWORD</B>.
|
|
<B>KEYWORD</B> must be a keyword from the following list: <B>bios-build-id</B>,
|
|
<B>box-serial-number</B>, <B>motherboard-serial-number</B>,
|
|
<B>machine-type-model</B>, <B>bios-release-date</B>.
|
|
Each keyword corresponds to an offset and a length within the <FONT SIZE="-1">VPD</FONT>
|
|
record.
|
|
Not all strings may be defined on all <FONT SIZE="-1">VPD</FONT>-enabled systems.
|
|
If <B>KEYWORD</B> is not provided or not valid, a list of all valid
|
|
keywords is printed and
|
|
<B>vpddecode</B>
|
|
|
|
exits with an error.
|
|
This option cannot be used more than once.
|
|
Mutually exclusive with <B>--dump</B>.
|
|
<DT id="9"><B>-u</B>, <B>--dump</B>
|
|
|
|
<DD>
|
|
Do not decode the VPD records, dump their contents as hexadecimal instead.
|
|
Note that this is still a text output, no binary data will be thrown upon
|
|
you. ASCII equivalent is displayed when possible. This option is mainly
|
|
useful for debugging.
|
|
Mutually exclusive with <B>--string</B>.
|
|
<DT id="10"><B>-h</B>, <B>--help</B>
|
|
|
|
<DD>
|
|
Display usage information and exit
|
|
<DT id="11"><B>-V</B>, <B>--version</B>
|
|
|
|
<DD>
|
|
Display the version and exit
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>FILES</H2>
|
|
|
|
<I>/dev/mem</I>
|
|
|
|
<A NAME="lbAG"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Jean Delvare
|
|
<A NAME="lbAH"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+biosdecode">biosdecode</A></B>(8),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+dmidecode">dmidecode</A></B>(8),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?4+mem">mem</A></B>(4),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+ownership">ownership</A></B>(8)
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="12"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="13"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="14"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="15"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="16"><A HREF="#lbAF">FILES</A><DD>
|
|
<DT id="17"><A HREF="#lbAG">AUTHOR</A><DD>
|
|
<DT id="18"><A HREF="#lbAH">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:18 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|