📄 changelog
字号:
2005-10-03 Jean Delvare <khali@linux-fr.org>
* biosdecode.c: Fix a potential (but highly improbable) buffer
overrun in the VPD record decoding.
* biosdecode.c: Change the xSeries checksumming method to
accommodate a strange xSeries 440 VPD record, as was done in
vpddecode.c some weeks ago. Do not display the default flash
image file name anymore, it's not so useful and the field length
is now uncertain.
* vpdopt.c, vpdopt.h: New.
* Makefile, vpddecode.c, vpdopt.c, vpdopt.h: Move the command line
handling of vpddecode to a separate source file.
* vpddecode.c, vpdopt.c, vpdopt.h: Add option -s, --string. It
prints one selected VPD string instead of the regular output.
2005-09-24 Jean Delvare <khali@linux-fr.org>
* dmiopt.c: Fix incorrect header include. The strcasecmp function
is defined in <strings.h>, not <string.h>. Reported by Petter
Reinholdtsen.
2005-09-14 Jean Delvare <khali@linux-fr.org>
* dmidecode.h: New.
* dmidecode.c, dmidecode.h, Makefile: Export four specific
decoding functions, make them suitable for external call.
* dmidecode.c, dmiopt.c, dmiopt.h, Makefile: Make it possible
for --string to print decoded binary data rather than only
DMI strings. Add four such string keywords.
* dmidecode.c, dmiopt.c, dmiopt.h: Modify the opt structure
to handle the string option more efficiently.
2005-09-13 Jean Delvare <khali@linux-fr.org>
* vpddecode.c: Slightly change the xSeries checksumming method to
accommodate a strange xSeries 440 VPD record. Also tweak the
decoding of the "Default Flash Image File Name" entry. Thanks
to Torsten Seemann for providing a test VPD record.
2005-09-05 Jean Delvare <khali@linux-fr.org>
* Makefile: Use -Wundef.
2005-08-31 Jean Delvare <khali@linux-fr.org>
* dmidecode.c: Drop trailing dot from handle description line.
2005-08-29 Jean Delvare <khali@linux-fr.org>
* dmidecode.c: Reword a comment about CPUID.
* dmidecode.c: Claim to support revision 28 of Intel AP-485
(CPUID). No relevant change since revision 27.
2005-08-25 Jean Delvare <khali@linux-fr.org>
* vpddecode.c: Add product ID "VI". Reported by Torsten Seemann.
* vpddecode.c: Update lookup table from revision 2005-06-24 of IBM
reference document (add product IDs "1U", "1X", "70", "74", "75"
and "76", update product ID "1Y").
* dmiopt.c: Complain about unknown options again.
* biosdecode.c, ownership.c, vpddecode.c: getopt_long() will never
return ':'.
2005-08-04 Jean Delvare <khali@linux-fr.org>
* README: Manual pages document the command line interface.
A discussion list exists for developers. Mmap is used on
most systems, not just Linux.
* version.h: Set version to 2.7.
2005-08-02 Jean Delvare <khali@linux-fr.org>
* dmiopt.c, dmidecode.8: Options --dump and --quiet are mutually
exclusive.
2005-06-23 Jean Delvare <khali@linux-fr.org>
* dmiopt.c, dmidecode.8: Options --dump and --string are mutually
exclusive.
2005-06-22 Jean Delvare <khali@linux-fr.org>
* dmiopt.c: Display the list of all valid type or string keywords
when --type or --string, respectively, is used without an
argument or with an invalid one.
* dmidecode.8: Document the new -s, --string option. Update the
-t, --type option documentation.
* dmiopt.c, dmidecode.8: Add string keyword "bios-release-date",
the Linux kernel uses it.
* dmidecode.c, dmidecode.8: Fix typo ("Controler" becomes
"Controller").
2005-06-21 Jean Delvare <khali@linux-fr.org>
* dmidecode.c, dmiopt.c, dmiopt.h: Add option -s, --string. It
prints one selected DMI string instead of the regular output.
2005-06-18 Jean Delvare <khali@linux-fr.org>
* dmidecode.c: Hide handle references and entries of unknown
type when --quiet is used.
* dmidecode.8: Document the new -q, --quiet option.
* dmidecode.c: Stop decoding at end of table entry when --quiet
is used. Also don't warn about incorrect table length or entries
count when --quiet is used.
2005-06-17 Jean Delvare <khali@linux-fr.org>
* dmidecode.c, dmiopt.c, dmiopt.h: Add option -q, --quiet. It
makes the output less verbose.
* dmidecode.c: Suppress one level of indentation in the output,
insert blank lines between records. This will hopefully make
the output easier to read.
* dmidecode.c: Hide table address and size when --type is used.
2005-06-16 Jean Delvare <khali@linux-fr.org>
* dmidecode.8: Document the new -t, --type option.
2005-06-15 Jean Delvare <khali@linux-fr.org>
* dmiopt.c, dmiopt.h: New.
* Makefile, dmidecode.c, dmiopt.c, dmiopt.h: Move the command line
handling of dmidecode to a separate source file.
* dmiopt.c: Define keywords to be used with --type (instead of
numeric values).
2005-06-14 Jean Delvare <khali@linux-fr.org>
* dmidecode.c: Centralize the main exit point. This allows fixing
a minor, recently introduced memory leak which was happening on
error conditions.
2005-06-13 Jean Delvare <khali@linux-fr.org>
* dmidecode.c: Add option -t, --type. It limits the output to
the given type(s) of DMI entries.
2005-05-25 Jean Delvare <khali@linux-fr.org>
* vpddecode.c: Add product IDs "KE", "NT" and "ZR". Reported by
Bernd Krumboeck.
2005-05-15 Jean Delvare <khali@linux-fr.org>
* dmidecode.8, vpddecode.8: Document the new -u, --dump option.
Update to support SMBIOS specification version 2.4 (was 2.4
preliminary). There is actually no difference between 2.4
preliminary and 2.4 final.
* dmidecode.c: Update the "System Management BIOS Reference
Specification" version.
2005-04-26 Jean Delvare <khali@linux-fr.org>
* vpddecode.c: Add product ID "M1". Reported by Myke Olson.
* vpddecode.c: Add option -u, --dump. It disables decoding of the
VPD records, a raw dump is displayed instead. This option is
mainly intended for debugging.
2005-04-03 Jean Delvare <khali@linux-fr.org>
* Makefile: Use variables for install and rm commands, so that these
can be overridden by the caller.
2005-03-25 Jean Delvare <khali@linux-fr.org>
* Makefile: Install some documentation files (README, CHANGELOG,
AUTHORS).
Update to support SMBIOS specification version 2.4 preliminary
[11/18/2004] (was 2.3.4).
* dmidecode.c: Add BIOS characteristics (DMI type 0).
* dmidecode.c: Display BIOS and firmware revisions where available
(DMI type 0).
* dmidecode.c: Display system SKU number and family where available
(DMI type 1).
* dmidecode.c: Add system slot types and widths (DMI type 9).
* dmidecode.c: Add memory device type "DDR2" (DMI type 17).
2005-03-20 Jean Delvare <khali@linux-fr.org>
* Makefile: Install manual pages under $(prefix)/share/man by
default, instead of $(prefix)/man, so as to comply with the FHS.
2005-03-08 Jean Delvare <khali@linux-fr.org>
* vpddecode.c: Update lookup table from revision 2005-03-08 of IBM
reference document (add product ID "1V", update product ID "1R").
Thanks to Ingo van Lil for reporting about product ID "1V".
2005-03-06 Jean Delvare <khali@linux-fr.org>
* dmidecode.c: Add option -u, --dump. It disables decoding of the
entries, raw dumps are displayed instead. This option is mainly
intended for debugging.
* Makefile: Use -Winline.
* dmidecode.c: Make ASCII filtering of strings faster.
2005-02-28 Jean Delvare <khali@linux-fr.org>
* version.h: Set version to 2.6.
* Makefile: ownership.o depends on version.h.
2005-02-24 Jean Delvare <khali@linux-fr.org>
* vpddecode.c: Add product ID "2C". Reported by Tomek Mateja.
2005-02-17 Jean Delvare <khali@linux-fr.org>
* vpddecode.c: Add product IDs "OP" and "PN". Reported by Scott
Denham.
* vpddecode.c: Fix typo in one product name (560E improperly
spelled 650E).
* vpddecode.c: Add product IDs "IW" and "IY", as added recently
on IBM's reference web page. Update reference.
* config.h: Use mmap on all but BeOS, instead of only Linux.
2005-02-12 Jean Delvare <khali@linux-fr.org>
* util.c: Fix incorrect length in munmap call.
* Makefile: Use -Wmissing-prototypes.
* dmidecode.c: Fix maximum battery error value.
2005-02-11 Jean Delvare <khali@linux-fr.org>
* Makefile: Discard -pedantic, we don't really need this.
* util.c: Display an error message on memory shortage. Suggested
by Don Howard.
Fix a bug causing dmidecode to crash on some systems with more than
2 GB of memory. This is a signed vs unsigned issue, which existed
up to version 2.2, was fixed in 2.3 but reintroduced in a different
form in 2.5 as part of a code clean up and refactoring.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112355
Thanks to Petter Reinholdtsen for reporting. Thanks to Don Howard
for additional insight.
* dmidecode.c, util.c, util.h: Use size_t instead of off_t when
handling memory addresses.
2005-02-10 Jean Delvare <khali@linux-fr.org>
* dmidecode.c: Add option -h, --help, display a usage summary.
* biosdecode.c, ownership.c, vpddecode.c: Copy command-line handling
from dmidecode.c.
* biosdecode.8, dmidecode.8, ownership.8, vpddecode.8: Document
the new command-line interface.
2005-02-06 Jean Delvare <khali@linux-fr.org>
* Makefile: Everything depends on config.h.
* dmidecode.c: Add basic command-line handling. This was suggested
a long time ago by Erwan Velu.
2005-02-01 Jean Delvare <khali@linux-fr.org>
* vpddecode.c: Add product IDs "AP", "KP" and "RD". Reported by
David Rosala.
2005-01-17 Jean Delvare <khali@linux-fr.org>
* README: Add a note about Cygwin. Thanks to Dominik Klein for
reporting success.
2004-12-10 Jean Delvare <khali@linux-fr.org>
Increase portability and configurability to in order to support BeOS.
* config.h: New.
* config.h: Define a default memory device.
* biosdecode.c, dmidecode.c, ownership.c, vpddecide.c: Include
config.h and use the defined default memory device.
* Makefile, config.h, util.c, README: Move USE_MMAP to config.h,
use mmap on Linux only.
2004-11-22 Jean Delvare <khali@linux-fr.org>
* biosdecode.c: Avoid size_t in printf. Should remove a warning on
ia64. Thanks to Petter Reinholdtsen for reporting.
* util.c: Use sysconf(_SC_PAGESIZE) instead of getpagesize() where
available. This may remove a warning on ia64 as a side effect.
Thanks to Petter Reinholdtsen for reporting.
2004-11-21 Jean Delvare <khali@linux-fr.org>
* util.c, util.h: Function myread has no more user outside of util.c.
* biosdecode.c: Speed improvements.
2004-11-20 Jean Delvare <khali@linux-fr.org>
* biosdecode.c, ownership.c, vpddecode.c: Make use of the mem_chunk
function.
* vpddecode.c: Simplify the memory loop code a bit.
2004-11-12 Jean Delvare <khali@linux-fr.org>
* dmidecode.c: Hide bank connection type for non-installed memory
modules.
* dmidecode.c: Reference comment fix.
* dmidecode.c: Hide watchdog timer details when no watchdog is
present. Change label for no watchdog.
* README: Match case change for PREFIX (now prefix) in the Makefile
file. Reported by Raul Nunez de Arenas Coronado.
2004-11-12 Jean Delvare <khali@linux-fr.org>
Update to support DMTF Master MIF version 040707 (was 030621).
* dmidecode.c: One additional processor type (Sempron).
* dmidecode.c: One additional processor type (Efficeon TM8800).
* dmidecode.c: One additional processor upgrade type (Socket 939).
* dmidecode.c: Add the AMD Sempron to the list of x86-class
processors.
Update to support Intel AP-485 (CPUID) revision 27 (was 25).
* dmidecode.c: Rename SBF flag to PBE.
2004-11-11 Jean Delvare <khali@linux-fr.org>
* util.c: More helpful error messages.
* util.c: Use MAP_SHARED instead of MAP_PRIVATE in mmap.
* version.h: Set version to 2.5.
2004-11-10 Jean Delvare <khali@linux-fr.org>
* README: Update dmidecode presentation (copied from the web page).
Move the list of supported systems from the documentation section
to the installation section.
2004-11-09 Jean Delvare <khali@linux-fr.org>
* vpddecode.c: Update product ID "1R". Reported by Marco Wertejuk.
2004-10-24 Jean Delvare <khali@linux-fr.org>
* util.c: Workaround missing MAP_FAILED definition, needed on
old systems. Original patch from Durval Menezes.
2004-10-14 Jean Delvare <khali@linux-fr.org>
* dmidecode.c: Search for EFI systab at /sys/firmware/efi/systab.
Original patch from Alex Williamson.
* dmidecode.c: Remove warning about legacy_decode not being used
when USE_EFI is defined.
* dmidecode.c: Detect missing SMBIOS entry point in efi/systab.
* dmidecode.c: Fix fatal typo in USE_EFI-specific code.
2004-10-01 Roberto Nibali <ratz@tac.ch>
* Makefile: Be LDFLAGS aware.
2004-07-24 Jean Delvare <khali@linux-fr.org>
* util.c: Add missing header include.
2004-06-11 Jean Delvare <khali@linux-fr.org>
* vpddecode.c: Add product IDs "GE" and "T2". Reported by Doug Brenner.
2004-05-02 Jean Delvare <khali@linux-fr.org>
* dmidecode.c: Move legacy DMI entry point decoding to a separate
function.
* dmidecode.c: Use a 64 kB buffer for searching entry points,
instead of repeated 16-byte reads.
* util.c, util.h: New mem_chunk function. It returns a buffer
containing a copy of a given chunk of the physical memory.
* dmidecode.c: Make use of the new mem_chunk function.
2004-04-30 Jean Delvare <khali@linux-fr.org>
* vpddecode.c: Add product ID "JP". Reported by Bernd Krumboeck.
2004-04-22 Jean Delvare <khali@linux-fr.org>
* dmidecode.c, biosdecode.c, ownership.c, types.h: Move common
WORD-like macros to types.h.
2004-04-21 Jean Delvare <khali@linux-fr.org>
* dmidecode.c, biosdecode.c: Fix my contact information.
* dmidecode.c: Update copyright year.
2004-04-20 Jean Delvare <khali@linux-fr.org>
* README: Correct Chad Smith's name. Reported by Martin Pool.
2004-04-15 Jean Delvare <khali@linux-fr.org>
* vpddecode.c: Add product ID "PL". Reported by Mark Syms.
2004-04-14 Jean Delvare <khali@linux-fr.org>
* vpddecode.c: Add product ID "PD". Reported by Roger Koot.
2004-04-11 Jean Delvare <khali@linux-fr.org>
* dmidecode.c, Makefile, README: Drop TABLE_LITTLEENDIAN.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -