-
Notifications
You must be signed in to change notification settings - Fork 13
/
CHANGELOG
1614 lines (1151 loc) · 54.9 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2015-09-03 Jean Delvare <[email protected]>
* version.h: Set version to 3.1.
2017-05-23 Jean Delvare <[email protected]>
* dmidecode.c, dmiopt.c: Add a new option to extract OEM strings, like
we already have for many other strings.
* dmidecode.8: Document the new option.
2017-04-27 Jean Delvare <[email protected]>
Update to support SMBIOS specification version 3.1.1.
* dmidecode.c: Add support for 3-digit versions.
* dmidecode.c: Add new enumerated values for processors (DMI type 4).
2017-04-27 Jean Delvare <[email protected]>
Update to support SMBIOS specification version 3.1.0.
* dmidecode.c: Add support for extended BIOS ROM size (DMI type 0).
* dmidecode.c: Add new enumerated values for chassis types
(DMI type 3).
* dmidecode.c: Add new enumerated values for processors (DMI type 4).
* dmidecode.c: Don't assume 8-bit processor family in dmi_processor_id
(DMI type 4).
* dmidecode.c: Decode the MIDR register on ARM processors
(DMI type 4).
* dmidecode.c: Add support for large cache sizes (DMI type 7).
* dmidecode.c: Add Mini PCIe system slot enumerated values
(DMI type 9).
* dmidecode.c: Clarify the memory speed unit (DMI type 17).
* dmidecode.c: Add support for structure type 43 (TPM Device).
2017-04-11 Jean Delvare <[email protected]>
* util.c: Don't leak a file descriptor in function read_file.
* util.c, util.c, dmidecode.c: Let callers pass an offset to function
read_file.
* dmidecode.c: Fix reading from SMBIOS 3 dump files using a 64-bit
entry point.
2017-04-10 Jean Delvare <[email protected]>
* dmidecode.c: Decode the processor ID of the Intel Core M, AMD
Athlon X4 and AMD Opteron X1000/X2000 processors (DMI type 4).
* dmidecode.c: Display the IPMI interrupt number as a decimal
number (DMI type 38).
2017-01-20 Jean Delvare <[email protected]>
* biosdecode.c: Decode the entry point defined in the Intel
Multiprocessor specification.
2017-01-20 Jean Delvare <[email protected]>
* dmidecode.c: Only decode one DMI table.
This fixes Savannah bug #50022:
https://savannah.nongnu.org/bugs/?50022
2016-09-22 Jean Delvare <[email protected]>
* README: Explain that we can no longer support Cygwin.
2016-06-30 Petr Oros <[email protected]>
* dmidecode.c: Unmask LRDIMM in memory type detail (DMI type 17).
2015-11-02 Jean Delvare <[email protected]>
* dmidecode.c, util.c, util.h: Let read_file return the actual data
size.
* dmidecode.c: Use read_file to read the DMI table from sysfs.
This fixes Savannah bug #46176:
https://savannah.nongnu.org/bugs/?46176
* dmidecode.c: Check the sysfs entry point length.
2015-10-21 Xie XiuQi <[email protected]>
* dmidecode.c: Handle SMBIOS 3.0 entry points on EFI systems.
2015-10-20 Jean Delvare <[email protected]>
* dmidecode.c: Handle OEM-specific types in group associations
(DMI type 14).
2015-10-14 Jean Delvare <[email protected]>
* util.c: Avoid SIGBUS on mmap failure.
This fixes Savannah bug #46066:
https://savannah.nongnu.org/bugs/?46066
* util.c: Fix error paths in mem_chunk.
2015-10-01 Roy Franz <[email protected]>
* dmiopt.c: Add "--no-sysfs" option description to -h output.
2015-09-03 Jean Delvare <[email protected]>
* version.h: Set version to 3.0.
2015-08-04 Tyler Bell <[email protected]>
* dmioem.c: Decode HP-specific DMI type 233
* dmioem.c: Refactored HP-specific types 209 and 221 to use common code
* dmioem.c: Documented spec for HP-specific types 209, 221 and 233
2015-05-21 Jean Delvare <[email protected]>
* dmidecode.c: Fix up invalid DMI type 34 structure length.
* dmioem.c: Decode HP-specific DMI types 212 and 219.
* dmioem.c: Move function is_printable to dmidecode.c.
2015-05-13 Jean Delvare <[email protected]>
* dmidecode.c: Add support for SMBIOS3 EFI table.
* dmidecode.c: Fix warnings about comparison between signed and
unsigned integers.
* util.c: Fix warnings about unused labels when building without
-DUSE_MMAP.
* dmioem.c: Strip spaces at the end of vendor names.
* dmioem.c: Decode Acer-specific DMI type 170.
2015-05-12 Jean Delvare <[email protected]>
* dmidecode.c: Remove extra blank line after hidden DMI type 40
structure.
2015-05-04 Jean Delvare <[email protected]>
* dmidecode.c: Move table decoding to a separate function.
* dmidecode.c: Simplify function dmi_table_dump.
* dmidecode.c: Display types 41 and 42 in quiet mode too.
* dmidecode.c: Get OEM vendor from System Information (DMI type 1).
2015-04-28 Jean Delvare <[email protected]>
* dmidecode.h, dmiopt.h: Fix sparse errors.
* biosdecode.c, dmiopt.c, ownership.c, vpdopt.c: Fix sparse warnings.
* util.c: Fix sparse warning.
2015-04-27 Jean Delvare <[email protected]>
* dmidecode.c: Fix --dump-bin when reading from sysfs.
2015-04-27 Jean Delvare <[email protected]>
Update to support SMBIOS specification version 3.0.0.
* dmidecode.c: Add support for the new _SM3_ 64-bit entry point
defined in the SMBIOS specification version 3.0.0, including
support of 64-bit addresses and 32-bit table lengths.
* dmidecode.c: Add 3 new chassis types (DMI type 3).
* dmidecode.c: Add 4 new processor families (DMI type 4).
* dmidecode.c: Add 4 new Intel socket types (DMI type 4).
* dmidecode.c: Add 13 new slot types (DMI type 9).
* dmidecode.c: Add 4 new memory device types (DMI type 17).
* dmidecode.c: Add support for processors with more than 255 cores
or threads (DMI type 4).
* dmidecode.c: Stop decoding v3 tables at End-of-Table marker.
2015-04-21 Roy Franz <[email protected]>
* util.c, util.h: Add utility function read_file, which reads an
entire binary file into a buffer.
* dmidecode.c: Add passing of flags parameter to dmi_table.
* dmidecode.c: Add reading of SMBIOS tables from sysfs.
* dmidecode.c, dmiopt.c, dmiopt.h: Add --no-sysfs option to disable
use of sysfs.
* dmidecode.8: Document the changes above.
2015-04-20 Jean Delvare <[email protected]>
* biosdecode.c: Add support for the _SM3_ entry point, as defined in
the SMBIOS 3.0.0 specification.
2014-11-14 Jean Delvare <[email protected]>
* man/dmidecode.8: Add a note about DMI strings available from sysfs
on Linux.
2014-10-13 Jean Delvare <[email protected]>
* dmidecode.c: Add support for DDR4 (DMI type 17). Patch from Tomohiro
Kimura. The value was taken from preliminary SMBIOS specification
version 3.0.0d.
This fixes Savannah bug #43370:
https://savannah.nongnu.org/bugs/?43370
2014-07-11 Jean Delvare <[email protected]>
* dmidecode.c: Decode the CPUID of recent AMD processors (DMI type 4).
2014-03-20 Jean Delvare <[email protected]>
* dmidecode.c: Let legacy_decode be quiet in dump mode too.
* dmidecode.c: Skip the SMBIOS version comparison in quiet mode.
Patch from Jens Rosenboom.
2014-02-25 Jean Delvare <[email protected]>
* dmidecode.c: Fix spacing of memory module voltage attributes
(DMI type 17).
2014-01-13 Jean Delvare <[email protected]>
* dmidecode.c: Decode ID of PCI Express 3 slots (DMI type 9).
This fixes Savannah bug #40178:
https://savannah.nongnu.org/bugs/?40178
2014-01-13 Jean Delvare <[email protected]>
* LICENSE: Update to the latest upstream version. Amongst other
things, this fixes the FSF address.
2013-04-24 Jean Delvare <[email protected]>
* dmidecode.c: Strip trailing zeroes from memory voltage values
(DMI type 17).
* dmidecode.c: Fix support for new processor upgrade types (DMI
type 4) and new memory device type (DMI type 17.)
2013-04-17 Anton Arapov <[email protected]>
* version.h: Set version to 2.12.
2013-04-17 Anton Arapov <[email protected]>
Update to support SMBIOS specification version 2.8.0.
* dmidecode.c: Correct processor family name (DMI type 4).
* dmidecode.c: Correct typo in processor upgrade type (DMI type 4).
* dmidecode.c: Add 9 new processor families (DMI type 4).
* dmidecode.c: Add 2 new Intel socket types (DMI type 4).
* dmidecode.c: Add Min/Max/Configured memory voltages (DMI type 17).
* dmidecode.c: Add LRDIMM to memory device list (DMI type 17).
2012-03-26 Anton Arapov <[email protected]>
* man/dmidecode.8: Add missing DMI type introduced with SMBIOS 2.7+, and
include the information about the extra output when dmidecode is run
on a hardware that has non-supported SMBIOS version.
2012-03-12 Anton Arapov <[email protected]>
* dmioem.c: Add "PXE" to the HP OEM Type 209 output so it is similar to
the "iSCSI" description in HP OEM Type 221. Patch from Naga Chumbalkar.
2011-11-18 Jean Delvare <[email protected]>
* dmidecode.c: Properly print the hexadecimal value of invalid
string characters.
2011-11-14 Anton Arapov <[email protected]>
* dmidecode.c: Make dmi_chassis_type aware of the lock bit.
Patch from Stefan Tauner.
* config.h: Haiku dropped the _BEOS_ definition in favor of its own
platform identification _HAIKU_. Patch from Francois Revol.
2011-04-20 Jean Delvare <[email protected]>
Update to support SMBIOS specification version 2.7.1.
* dmidecode.c: Add 6 AMD processor families (DMI type 4).
* dmidecode.c: Add cache associativity value
"20-way Set-associative" (DMI type 7).
* dmidecode.c: Add PCI Express 3 slot types (DMI type 9).
2011-01-25 Jean Delvare <[email protected]>
* dmidecode.c: Fix boundary checks of memory array location codes
(DMI type 16). Reported by Andrey Matveyev.
2011-01-19 Anton Arapov <[email protected]>
* version.h: Set version to 2.11.
2010-11-24 Jean Delvare <[email protected]>
* dmidecode.c: Assume that the max power capacity is expressed in
Watts, not milliWatts (DMI type 39). The specification isn't
clear about the actual unit, but the only implementation I've
seen (HP Proliant G7) clearly uses Watts. Also, using milliWatts
would limit the max value that can be stored to 32 W, which
doesn't make much sense.
* dmidecode.c: Fix offset of partition width (DMI type 19).
* dmidecode.c: Decode BIOS language information flags
(DMI type 13).
* dmidecode.c: Fix CPU flags mask (DMI type 4).
* dmidecode.c: Reword "PCI Express Gen 2" to just "PCI Express 2"
(DMI type 9).
* dmidecode.c: Decode the slot ID for all PCI Express and PCI
Express 2 slots (DMI type 9).
2010-11-24 Jean Delvare <[email protected]>
Update to support SMBIOS specification version 2.7.0.
* dmidecode.c: Update all references to the SMBIOS specification
to match the new numbering.
* dmidecode.c: Add UEFI support and virtual machine flags to BIOS
characteristics (DMI type 0).
* dmideocde.c: Add SKU number field to system enclosure or chassis
(DMI type 3).
* dmidecode.c: Add many Intel, AMD and VIA CPU family names
(DMI type 4).
* dmidecode.c: Add many socket formats (DMI type 4).
* dmidecode.c: Add processor characteristics flags (DMI type 4).
* util.c, util.h: Add utility function u64_range, which computes
the range between two u64 values.
* dmidecode.c: Add support for memory arrays of 2 TB and more
(DMI types 16, 19 and 20).
* dmidecode.c: Add support for memory devices of 32 GB and more
(DMI type 17).
* dmidecode.c: Add description of cooling device (DMI type 27).
* dmidecode.c: Add limited support for new DMI type 42 (Management
Controller Host Interface).
2010-11-16 Jean Delvare <[email protected]>
* dmidecode.c: Handle ambiguous processor family value 0x30
(DMI type 4).
* dmidecode.c: Prevent unlikely array overrun when decoding
processor family value 0xBE (DMI type 4).
* dmidecode.c: Handle DMI type 2 record of size 0x0E.
2010-11-11 Jean Delvare <[email protected]>
* dmidecode.c: Fix decoding of IPMI base address LSB.
2010-11-09 Jean Delvare <[email protected]>
* dmidecode.c: Drop redundant/obsolete references to
CIM_Processor.Family.
2010-10-26 Jean Delvare <[email protected]>
Update to support Intel AP-485 (CPUID) revision 36 (was 32).
* dmidecode.c: Update the link to the AP-485 document, the revision
and the table number.
* dmidecode.c: Update two CPU flag descriptions (FXSR and HTT).
Drop CPU flag IA64.
* dmidecode.c: Update the list of processors for which we decode the
CPUID flags.
2010-10-11 Jean Delvare <[email protected]>
* dmidecode.c: One more SMBIOS version fix-up case.
* Makefile: Rework BSD make compatibility trick. The previous
trick would break GNU make 3.82.
2010-09-29 Anton Arapov <[email protected]>
* util.c: makes dmidecode fall back to regular reads if the mmap
fails. Patch from Olof Johansson.
2010-09-21 Jean Delvare <[email protected]>
* dmidecode.c: Fix Xeon 7xxx entries in CPU name lookup table
(DMI type 4). Patch from Paul Flo Williams.
2009-08-28 Jarod Wilson <[email protected]>
Update to support SMBIOS specification version 2.6.1.
* dmidecode.c: Add processor types "Dual-Core Xeon 5200",
"Dual-Core Xeon 7200", "Quad-Core Xeon 7300", "QuadCore Xeon 7400",
"Multi-Core Xeon 7400", "Core i7", "Dual-Core Celeron",
"Multi-Core Xeon", "Dual-Core Xeon 3xxx", "Quad-Core Xeon 3xxx",
"Dual-Core Xeon 5xxx", "Quad-Core Xeon 5xxx", "Dual-Core Xeon 7xxx",
"Quad-Core Xeon 7xxx" and "Multi-Core Xeon 7xxx" (DMI type 4).
* dmidecode.c: Add slot types "PCI Express Gen 2 x1",
"PCI Express Gen 2 x2", "PCI Express Gen 2 x4",
"PCI Express Gen 2 x8" and "PCI Express Gen 2 x16" (DMI type 9).
* dmidecode.c: Add memory device types "DDR3" and "FB-DIMM"
(DMI type 17).
* dmidecode.c: Add cache associativity types "12-way Set-associative",
"24-way Set-associative", "32-way Set-associative",
"48-way Set-associative" and "64-way Set-associative" (DMI type 7).
2009-07-27 Jean Delvare <[email protected]>
* dmioem.c: Recognize "Hewlett-Packard" as a possible DMI vendor
string for HP. Orginal patch from Thomas Hiller (HP).
* dmidecode.c: Add processor upgrade type "Socket LGA1366"
(DMI type 4).
2009-06-19 Jean Delvare <[email protected]>
* dmidecode.c: Fix decoding of memory array capacity. A maximum
capacity of 128 GB would erroneously be reported as Unknown,
while a unknown capacity would be erroneously reported as 2048
GB. Bug reported by Lin Li (HP).
2009-04-30 Jean Delvare <[email protected]>
* dmidecode.c: Warn if decoding an SMBIOS implementation which is
newer than what we support.
2009-04-04 Jean Delvare <[email protected]>
* Makefile: Clarify license.
2008-11-23 Jean Delvare <[email protected]>
* biosdecode.c: Stop using the inline keyword. It causes more
portability issues than is worth given how little we care about
performance in this tool, and recent versions of gcc know when
to inline functions anyway.
* version.h: Set version to 2.10.
2008-11-14 Jean Delvare <[email protected]>
* dmidecode.c: Handle chassis information records of size 19
(DMI type 3).
2008-11-10 Jean Delvare <[email protected]>
* dmidecode.c: Claim to support revision 32 of Intel AP-485
(CPUID). No relevant change since revision 31.
* dmidecode.c: Update reference to AMD CPUID document.
2008-11-09 Jean Delvare <[email protected]>
* dmidecode.c: Decode the CPUID of more Intel, VIA and AMD
processors (DMI type 4).
* dmidecode.c: More CPUID exceptions based on the version string
(DMI type 4).
* README: Drop reference to the Linux kernel.
* README: Drop "model-specific issues" common problem entry, it is
no longer relevant.
* README: Simplify "IA-64" common problem entry, most of the
issues are solved by now.
2008-11-08 Jean Delvare <[email protected]>
* dmidecode.c: Add many processor types taken from the CIM Schema.
* dmidecode.c: Drop all references to the DMTF Master MIF
document. This document hasn't been updated in years, so the
additions it may contain are no longer relevant.
2008-11-07 Jean Delvare <[email protected]>
* dmidecode.c: Handle base board information records of size 9
(DMI type 2).
* dmidecode.c: Don't display access time equivalent of memory
device speed (DMI type 17). The access time didn't add much
value, and rounding effects made it look bad at times.
2008-11-07 Jean Delvare <[email protected]>
Update to support SMBIOS specification version 2.6, fourth round.
* dmidecode.c: Initial support for additional information entries
(DMI type 40). Proper support of this new entry type would
require redesigning a large part of the code, so I am waiting
to see actual implementations of it to decide whether it's worth
the effort.
* dmidecode.c, dmidecode.8: Update reference SMBIOS document.
* dmiopt.c, dmidecode.8: Include entry type 41 in --type baseboard.
2008-11-05 Jean Delvare <[email protected]>
Update to support SMBIOS specification version 2.6, third round.
* dmidecode.c: Decode the group number, bus number and
device/function number of system slots (DMI type 9).
Based on a preliminary patch by Matt Domsch.
* dmidecode.c: Decode onboard devices extended information
entries (DMI type 41). Based on a preliminary patch by Matt
Domsch.
* dmidecode.c: Add slot types "PCI Express x1", "PCI Express x2",
"PCI Express x4", "PCI Express x8" and "PCI Express x16"
(DMI type 9).
* dmidecode.c: Decode the memory device rank (DMI type 17).
2008-11-02 Jean Delvare <[email protected]>
* dmidecode.c: Use binary search for dmi_processor_family, it's
faster than linear search (DMI type 4).
* dmidecode.c: Decode boot integrity services entry point entries
(DMI type 31).
2008-10-31 Jean Delvare <[email protected]>
* dmidecode.c: The compiler knows how to reuse strings, it doesn't
need our help, and actually it does a better job without it. So,
turn out_of_spec into a define.
* dmidecode.c: Optimize functions dmi_processor_status(),
dmi_cache_location(), dmi_system_reset_boot_option() and
dmi_ipmi_register_spacing().
2008-10-30 Jean Delvare <[email protected]>
* dmidecode.c, dmiopt.c, dmidecode.8: Option --dump is only a
modifier as --quiet is, so it's not actually mutually exclusive
with the output format options.
* dmidecode.c: Make options --dump-bin and --quiet work together.
* dmidecode.c: Delay string filtering when option --dump is used.
* dmidecode.c: Refactor dmi_processor_family function to avoid
code duplication.
* dmidecode.c: Fix up invalid SMBIOS version 2.51.
2008-10-29 Jean Delvare <[email protected]>
* dmidecode.c: Handle special case of processor family code 0xBE,
which can be both Core 2 or K7. We use the processor
manufacturer string as a hint (DMI type 4).
2008-10-28 Jean Delvare <[email protected]>
* dmidecode.c, dmidecode.h, dmiopt.c, dmiopt.h: Don't use function
pointers for special string cases. Each special case is itself
special and needs to call a function with its own prototype, so
better have dedicated code to handle it all.
* dmidecode.c, dmidecode.h, dmioem.c, dmioem.h: Mark a few
pointers const.
* dmidecode.c, util.c, util.h: When dumping the DMI table to a
binary file, truncate the file first.
* dmidecode.c: Support Processor Family 2 field also when queried
with option --string.
2008-10-27 Jean Delvare <[email protected]>
Update to support SMBIOS specification version 2.6, second round.
* dmidecode.c: Add support for Processor Family 2 field
(DMI type 4).
* dmidecode.c: Add processor types "Turion 64 X2", "Core Solo",
"Core 2 Duo", "ESA/390 G6", "z/Architectur", "C7-M", "C7-D",
"C7" and "Eden" (DMI type 4).
* dmidecode.c: Fix typo in processor type "AMD29000" (DMI type 4).
* dmidecode.c: Add processor upgrade types "Socket S1",
"Socket AM2" and "Socket F (1207)" (DMI type 4).
2008-10-26 Jean Delvare <[email protected]>
Update to support SMBIOS specification version 2.6, first round.
* dmidecode.c: Byte-swap the first 3 fields of the UUID
(DMI type 1).
* dmidecode.c: Add chassis types "Blade" and "Blade Enclosure"
(DMI type 3).
2008-10-26 Jean Delvare <[email protected]>
* dmiopt.c, dmidecode.8: Simplify the handling and documentation
of mutually exclusive output format options.
* dmidecode.8: Document the binary dump file format.
* dmidecode.c: Don't display the source dump file name in quiet
mode.
* biosdecode.c, dmidecode.c, dmioem.c, dmiopt.c, dmiopt.h,
ownership.c, types.h, util.c, vpddecode.c, vpdopt.c, vpdopt.h:
Mass coding-style change: add spaces around operators.
* vpddecode.c: Fix --quiet option.
* dmidecode.h, dmiopt.h: Pass version information to print
callback functions.
* dmidecode.c: Fix up invalid SMBIOS version.
* dmidecode.c: Handle base board information records of size 10
(DMI type 2).
2008-10-25 Jean Delvare <[email protected]>
* dmidecode.c: Limit indentation in smbios_decode and
legacy_decode.
* dmidecode.c, dmiopt.c: Write binary dump to a compact file
rather than a sparse file.
* dmidecode.c, dmiopt.c, dmiopt.h: New option --from-dump, read
the DMI data from a binary file.
* dmidecode.8: Update the option --dump-bin, document the new
option --from-dump.
2008-08-28 Jean Delvare <[email protected]>
* dmidecode.c: Add missing colon to temperature probe label.
Patch from Alex Iribarren.
2008-02-16 Jean Delvare <[email protected]>
* util.c, util.h: New helper function write_dump.
* dmidecode.c, dmiopt.c, dmiopt.h: New option --dump-bin, dump
the DMI data to a sparse binary file.
* dmidecode.8: Document the new option --dump-bin.
* Makefile, biosdecode.c, dmidecode.c, dmidecode.h, dmioem.c,
dmioem.h, dmiopt.c, dmiopt.h, ownership.c, util.c, util.h,
vpddecode.c, vpdopt.c, vpdopt.h: Update copyright statements.
* dmidecode.c: Adjust the error message which is displayed when
the table is unreachable.
2007-06-30 Jean Delvare <[email protected]>
* config.h: Add support for Solaris (x86 only, of course). Based
on a patch by Sun's Dan Mick, brought to my knowledge by
Attila Nagy.
2007-06-27 Jean Delvare <[email protected]>
* Makefile: Fix the uninstall-man target.
2007-06-07 Jean Delvare <[email protected]>
* dmidecode.c: If the SMBIOS entry point decoding fails (for
example due to a bad checksum), still try decoding the
encapsulated DMI entry point. Suggested by Luke Suchocki.
* dmidecode.c: Replace all occurrences of "KB" by the more
correct "kB".
2007-03-16 Jean Delvare <[email protected]>
* vpddecode.c: Stop asking the user to report bad checksums,
unaligned records and the like. Such machines exist, too bad,
we have to live with it.
2007-02-27 Jean Delvare <[email protected]>
* biosdecode.c: Fix a compilation error with non-C99 compilers.
Patch from Francois Revol.
2007-02-26 Jean Delvare <[email protected]>
* dmidecode.c: Fix an array overrun while decoding the system
event log status (DMI type 15).
* biosdecode.c: Use printf instead of fwrite.
* dmidecode.8: Some OEM-specific types can be decoded now.
* biosdecode.8: List the FJKEYINF entry point type.
* vpddecode.8: The product name is no longer displayed.
* version.h: Set version to 2.9.
2007-02-16 Jean Delvare <[email protected]>
* dmidecode.c: Do not print the BIOS base address and runtime size
if the base address is 0. This happens on IA-64 because there's
no BIOS.
* Makefile, README: Do not build biosdecode, ownership and
vpddecode on IA-64, as IA-64 systems have no BIOS. This was
quite tricky to keep both GNU make and BSD make happy, but it
seems that I finally succeeded.
2007-02-13 Jean Delvare <[email protected]>
Update to support SMBIOS specification version 2.5, second round.
* dmidecode.c: Decode new processor characteristics (multi-core,
multi-thread, 64-bit) (DMI type 4).
* dmidecode.c: Decode slot ID of AGP 8x and PCI Express slots (DMI
type 9).
* dmidecode.c: Fix the mask of 3 bitfield tests. This will let
the memory type of some systems be properly reported as SDRAM.
* dmidecode.c: Fix the AMD processors signature decoding.
* README: Minor edits.
2007-02-12 Jens Elkner <[email protected]>
Update to support SMBIOS specification version 2.5, first round.
* dmidecode.c: Add chassis types "CompactPCI" and "AdvancedTCA"
(DMI type 3).
* dmidecode.c: Add processor types "Turion 64",
"Dual-Core Opteron", "Athlon 64 X2", "Celeron D", "Pentium D"
and "Pentium EE" (DMI type 4).
* dmidecode.c: Add processor upgrade types "Socket mPGA604",
"Socket LGA771" and "Socket LGA775" (DMI type 4).
* dmidecode.c: Add connector type "SAS/SATA Plug Receptacle" and
port types "SATA" and "SAS" (DMI type 8).
* dmidecode.c: Add on-board device types "PATA Controller",
"SATA Controller" and "SAS Controller" (DMI type 10).
* dmidecode.c: Add memory device form factor "FB-DIMM" and memory
device type "DDR2 FB-DIMM" (DMI type 17).
2007-02-12 Jean Delvare <[email protected]>
* dmioem.c: Share the code between HP-specific types 209 and 221.
Both types are really the same, only the title is different.
* dmioem.c: Make the HP-specific types 209 and 221 output a bit
more verbose.
* dmidecode.c: Let --type decode OEM-specific entries when
possible.
* dmidecode.c: Include decoded OEM-specific entries in quiet mode
output (--quiet).
* dmidecode.c: Do not complain about truncated entries in quiet
mode.
* dmioem.c: Decode HP-specific type 204 entries in a safer way:
check the length before decoding, and don't assume that all
strings are provided in the same order as they are used.
Update to support Intel AP-485 (CPUID) revision 31 (was 28).
* dmidecode.c: New CPUID flag IA64.
* dmidecode.c: Fix the decoding of Intel extended family.
2007-02-11 Jean Delvare <[email protected]>
* dmioem.c, dmioem.h: New.
* Makefile, dmidecode.c, dmidecode.h, dmioem.c, dmioem.h: Move the
decoding of OEM-specific entries to a separate source file.
* dmidecode.c: DMI type 38 is tested by now.
* dmioem.c: The PCI function is typically represented as a single
digit.
* Makefile, dmiopt.c, vpdopt.c, util.h: Define an ARRAY_SIZE macro
which computes the size of a static array, and use it where
relevant.
2007-02-11 John Cagle <[email protected]>
* dmidecode.c: Add support for 3 HP-specific entries: system/rack
locator (type 204), NIC MAC information (type 209) and NIC iSCSI
MAC information (type 221).
2007-01-14 Jean Delvare <[email protected]>
* vpddecode.c: Fix a rare warning.
* biosdecode.c: Add support for the FJKEYINF entry point, which
contains data related to the "application panel" on Fujitsu
laptops.
2006-05-23 Jean Delvare <[email protected]>
* dmidecode.c: Fix a recently introduced compilation error with
non-C99 compilers.
* dmidecode.c: Check for short entries (less than 4 bytes), stop
with an error when one is encountered.
2006-05-13 Jean Delvare <[email protected]>
* vpddecode.c, README: Drop the product name lookup table. It
was reported to be unreliable too many times, and was also
difficult to maintain.
2006-05-10 Jean Delvare <[email protected]>
* dmidecode.c: Don't cast from u8* to dmi_header*, else
architectures which do not support unaligned memory accesses
may break. Instead, copy the members individually. That's a
bit slower, but that's also safer and we only need to do it
once per DMI entry, so it's not time critical. So far, we
were using a trick to later work around the unaligned memory
access, but the compiler would still warn about the risk,
which is always confusing.
* config.h, types.h, README: Automatically enable the unaligned
memory access workaround on ia64.
* types.h: Inline U64. It makes sense per se and also lets us
get rid of a warning about U64 being unused.
* dmidecode.c: Detect EFI at run-time rather than compilation-
time. Based on an original patch from Matthew Garrett. This
will make x86 binaries work for both PC systems with BIOS and
Macintosh systems with EFI. Also prevent a possible, though
unlikely, NULL-pointer dereference in the EFI code.
2006-02-25 Jean Delvare
* dmidecode.c: Fix typo reported by David Wilson (DMI case 3).
2006-02-04 Jean Delvare
* vpddecode.c: Update lookup table from revision 2006-01-31 of IBM
reference document (add product ID "7B").
* version.h: Set version to 2.8.
2006-01-21 Jean Delvare
* vpddecode.c: The mysterious last character of xSeries records
may be a BIOS revision. Display it as such when present and
non zero, and ask users to report.
* vpddecode.c: Adjust an error message.
* dmidecode.8: Update the sample entry to match the new output
format.
* README: Improve the IA-64 specific section and the vpddecode
tool description.
* vpdopt.h: Add missing system header file include.
2006-01-20 Jean Delvare
* vpddecode.c: Assume a constant length of 12 characters for the
"Default Flash Image File Name" entry. The 13th character never
contained anything useful, so it probably has a different
meaning (unknown for now).
2005-12-24 Jean Delvare
* vpddecode.c: Scan for VPD records on 4-byte boundaries instead
of 16-byte boundaries. This is needed for some eServer xSeries
206. Still emit a warning if a VPD record is found not on a
16-byte boundary.
2005-10-26 Jean Delvare
* vpddecode.c: Add product ID "NR". Reported by Klaus Muth.
* vpddecode.c: Update lookup table from revision 2005-10-06 of IBM
reference document (add product IDs "77" and "78").
2005-10-05 Jean Delvare
Update to support IPMI specification version 2.0 (was 1.5).
* dmidecode.c: Support IPMI interface type SSIF. Original patch
by Garry Belka.
2005-10-04 Jean Delvare
* vpdopt.c: Display the list of all valid string keywords when
--string is used without an argument.
* vpddecode.8: Document the new -s, --string option.
* dmidecode.8: List the four new string keywords.
* vpddecode.c: Keep quiet when --string is used, even when no VPD
record is found.
2005-10-03 Jean Delvare
* 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
* 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
* 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
* 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
* Makefile: Use -Wundef.
2005-08-31 Jean Delvare
* dmidecode.c: Drop trailing dot from handle description line.
2005-08-29 Jean Delvare
* 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
* 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
* 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
* dmiopt.c, dmidecode.8: Options --dump and --quiet are mutually
exclusive.
2005-06-23 Jean Delvare
* dmiopt.c, dmidecode.8: Options --dump and --string are mutually
exclusive.
2005-06-22 Jean Delvare
* 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
* 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
* 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
* 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
* dmidecode.8: Document the new -t, --type option.
2005-06-15 Jean Delvare
* 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
* 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
* dmidecode.c: Add option -t, --type. It limits the output to
the given type(s) of DMI entries.
2005-05-25 Jean Delvare
* vpddecode.c: Add product IDs "KE", "NT" and "ZR". Reported by
Bernd Krumboeck.
2005-05-15 Jean Delvare
* 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
* 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
* Makefile: Use variables for install and rm commands, so that these
can be overridden by the caller.
2005-03-25 Jean Delvare
* 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
* 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
* vpddecode.c: Update lookup table from revision 2005-03-08 of IBM