• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

man/H14-Oct-2020-507459

AUTHORSH A D14-Oct-20201.7 KiB9389

LICENSEH A D14-Oct-202017.7 KiB340281

MakefileH A D03-May-20223.8 KiB15079

NEWSH A D14-Oct-20207 KiB161145

READMEH A D14-Oct-20204.5 KiB11682

biosdecode.cH A D14-Oct-202015.8 KiB724493

config.hH A D14-Oct-2020549 3521

dmidecode.cH A D14-Oct-2020135.5 KiB5,7654,661

dmidecode.hH A D14-Oct-20201.1 KiB3813

dmioem.cH A D14-Oct-202013 KiB429213

dmioem.hH A D14-Oct-2020996 263

dmiopt.cH A D14-Oct-20209.6 KiB386301

dmiopt.hH A D14-Oct-20201.5 KiB5226

dmioutput.cH A D14-Oct-20202.5 KiB13889

dmioutput.hH A D14-Oct-20201.4 KiB3512

ownership.cH A D14-Oct-20204.7 KiB215145

types.hH A D14-Oct-20201.4 KiB6037

util.cH A D14-Oct-20206.1 KiB317213

util.hH A D14-Oct-20201.2 KiB328

version.hH A D14-Oct-202022 21

vpddecode.cH A D14-Oct-20204.7 KiB202127

vpdopt.cH A D14-Oct-20203.8 KiB158105

vpdopt.hH A D14-Oct-20201.3 KiB4620

README

1** INTRODUCTION **
2
3Dmidecode reports information about your system's hardware as described in
4your system BIOS according to the SMBIOS/DMI standard. This information
5typically includes system manufacturer, model name, serial number, BIOS
6version, asset tag as well as a lot of other details of varying level of
7interest and reliability depending on the manufacturer. This will often
8include usage status for the CPU sockets, expansion slots (e.g. AGP, PCI,
9ISA) and memory module slots, and the list of I/O ports (e.g. serial,
10parallel, USB).
11
12DMI data can be used to enable or disable specific portions of kernel code
13depending on the specific hardware. Thus, one use of dmidecode is for kernel
14developers to detect system "signatures" and add them to the kernel source
15code when needed.
16
17Beware that DMI data have proven to be too unreliable to be blindly trusted.
18Dmidecode does not scan your hardware, it only reports what the BIOS told it
19to.
20
21
22** INSTALLATION **
23
24The home web page for dmidecode is hosted on Savannah:
25  http://www.nongnu.org/dmidecode/
26You will find the latest version (including CVS) there, as well as fresh news
27and other interesting material, such as a list of related projects and
28articles.
29
30This program was first written for Linux, and has since been reported to work
31on FreeBSD, NetBSD, OpenBSD, BeOS and Solaris as well.
32
33There's no configure script, so simply run "make" to build dmidecode, and
34"make install" to install it. You also can use "make uninstall" to remove
35all the files you installed. By default, files are installed in /usr/local
36but you can change this behavior by editing the Makefile file and setting
37prefix to wherever you want. You may change the C compiler and the
38compilation flags as well.
39
40Optionally, you can run "make strip" prior to "make install" if you want
41smaller binaries. However, be aware that this will prevent any further
42attempt to debug the programs.
43
44Two parameters can be set in the Makefile file to make dmidecode work on
45non-i386 systems. They should be used if your system uses the big endian
46byte ordering (Motorola) or doesn't support unaligned memory accesses,
47respectively. For example, compiling for a SPARC processor would require
48both (but I am not aware of SPARC-based systems implementing SMBIOS).
49Compiling for an IA64 processor requires the memory alignment workaround,
50and it is enabled automatically.
51
52
53** DOCUMENTATION **
54
55Each tool has a manual page, found in the "man" subdirectory. Manual pages
56are installed by "make install". See these manual pages for command line
57interface details and tool specific information.
58
59For an history of the changes made to dmidecode, see the NEWS file.
60
61If you need help, your best chances are to visit the web page (see the
62INSTALLATION section above) or to get in touch with the developers directly.
63Have a look at the AUTHORS file and contact one of the maintainers.
64
65If you want to help with the development of dmidecode, please consider
66joining the dmidecode-devel discussion list:
67  http://lists.nongnu.org/mailman/listinfo/dmidecode-devel
68
69
70** COMMON PROBLEMS **
71
72IA-64
73
74Non-Linux systems are not yet supported.
75
76MMAP
77
78Note that mmap() is now used by default wherever possible, since this seems
79to solve a number of problems. This default behavior can be changed in
80config.h. Just to make sure this is clear, mmap() is not used for performance
81reasons but to increase the number of systems on which dmidecode can be
82successfully run.
83
84CYGWIN
85
86Dmidecode used to work under Cygwin. However the /dev/mem interface was
87removed at some point in time so it no longer works.
88
89
90** MISCELLANEOUS TOOLS **
91
92Three other tools come along with dmidecode: biosdecode, ownership and
93vpddecode. These tools are only useful on systems with a BIOS, so they
94are not built on IA-64 by default.
95
96BIOSDECODE
97
98This one prints all BIOS related information it can find in /dev/mem.
99It used to be part of dmidecode itself, but as dmidecode was growing,
100we felt that the non-DMI part had to be moved to a separate tool.
101
102OWNERSHIP
103
104This tool was written on a request by Luc Van de Velde for use with Novell
105tools in his company. It retrieves the "ownership tag" that can be set on
106most Compaq computers. Since it uses the same mechanisms dmidecode and
107biosdecode use, and could be of some use for other people as well, we
108decided to make it part of the project.
109
110VPDDECODE
111
112This tool prints the contents of the "vital product data" structure as
113found in most IBM and Lenovo computers. It used to have a lookup table
114for the machine name, but it was unreliable and hard to maintain so it
115was ultimately dropped. It has a command line interface.
116