$Id: ChangeLog 5155 2020-12-30 16:49:18Z chrfranke $

2021-02-07  Christian Franke  <franke@computer.org>

	Improve reproducibility if SOURCE_DATE_EPOCH if set (GH pull/89).
	configure.ac: Define SOURCE_DATE_EPOCH in CPPFLAGS.
	utility.cpp: Print SOURCE_DATE_EPOCH value if specified.
	Don't include configure arguments then.
	cppcheck.sh: Silence related 'ConfigurationNotChecked' message.

2020-12-30  Christian Franke  <franke@computer.org>

	smartmontools 7.2

2020-12-30  Christian Franke  <franke@computer.org>

	configure.ac, update-smart-drivedb.in: Use RELEASE_7_2_DRIVEDB for
	drivedb.h updates.

	Create new branch RELEASE_7_2_DRIVEDB.

2020-12-29  Christian Franke  <franke@computer.org>

	drivedb.h:
	- Micron 5100 Pro / 52x0 / 5300 SSDs: 5300HC.
	- Samsung based SSDs: PM871 MZY* (#1384), 870 QVO (#1388).
	- Silicon Motion based SSDs: ADATA IMSS332 (#1399),
	  ADATA SU650NS38 (#1386), JAJS600M1TB (#1414), NFN025SA31T.
	- Silicon Motion based OEM SSDs: Dogfish,
	  Intenso portable (GH issues/81, GH pull/82),
	  Intenso Sata III (#1412), KingDian S280 (#1402).
	- SK hynix SATA SSDs: SC300 (#1407).
	- Hitachi Travelstar 5K500.B: *SA02 (#1408).
	- Fix '-v' comments.  Remove trailing whitespace.

	scsinvme.cpp: Realtek: Limit NVMe log transfer size to 512 bytes.

2020-12-21  Christian Franke  <franke@computer.org>

	smartctl.8.in: Add EXPERIMENTAL notes for SCSI variants of
	'-n POWERMODE' and '-s standby,...'.  Fix syntax.

	update-smart-drivedb.in: Add 'Accept-Encoding' HTTP header when
	curl is used.  This avoids caching problems with svn URL.

	update-smart-drivedb.in: Print output of 'gpg --import' if '-v' is
	specified.

	update-smart-drivedb.in: Extend expiration year of current database
	signing key from 2020 to 2025 (#1278).

2020-12-20  Christian Franke  <franke@computer.org>

	configure.ac: Use AC_CONFIG_HEADERS instead of obsolete
	AC_CONFIG_HEADER.  This silences a warning from new autoconf 2.70.
	Print 'deprecated' warning for '--with-solaris-sparc-ata'.

	drivedb.h:
	- Intel X25-E SSDs: IBM OEM (#1401).
	- Seagate BarraCuda 3.5: 12TB
	- Seagate Exos X16: 10TB (#1406, GH issues/63), 12TB.
	- Seagate Archive HDD: Rename to ...(SMR) (#1392).
	- Seagate BarraCuda, Enterprise Capacity, Exos, IronWolf:
	  Add attributes 18, 200.
	- Seagate IronWolf Pro 125 SSDs (#1396).
	- Unify indentation.

2020-12-15  Douglas Gilbert  <dgilbert@interlog.com>

	smartctl: expand -s option with standby,now and standby,off (or
	standby,0) to include SCSI. Modified code from Simon Fairweather
	found in github pull #72. As per my 20201205 patch, this
	area (i.e. SCSI power conditions including START and STOP) needs
	to be revisited; leave that until after the 7.2 release.

2020-12-14  Alex Samorukov  <samm@os2.kiev.ua>

	drivedb.h: add Sony HD-E1B (#1410)

2020-12-12  Alex Samorukov  <samm@os2.kiev.ua>

	Add automake 1.16.2 to the list of tested versions
	os_freebsd.cpp: number of minor patches from Christian Franke

2020-12-05  Douglas Gilbert  <dgilbert@interlog.com>

	smartctl: expand -n option to include SCSI. Code from Simon
	Fairweather. Still thinking about how to handle SCSI "stopped"
	state which requires the user to send a SCSI command to restart.

2020-12-04  Christian Franke  <franke@computer.org>

	nvmeprint.cpp: Print Log Page Attributes.  Print NVMe 1.4 features.

	nvmecmds.cpp, nvmecmds.h, nvmeprint.cpp: Fix check for LPO support.

2020-12-03  Christian Franke  <franke@computer.org>

	nvmeprint.cpp: Print NVMe version.

	nvmecmds.cpp, nvmecmds.h, nvmeprint.cpp: Limit NVMe log transfer size
	to one page.  This should fix device or kernel crashes on '-l error'
	if log has more than 64 entries (#1404, Debian Bug 947803).

	nvmeprint.cpp: Read only requested number of entries from NVMe
	Error Information Log.

2020-11-23  Christian Franke  <franke@computer.org>

	smartd.cpp: Allow to specify a delay limit for staggered self-tests.
	smartd.conf.5.in: Document new functionality.

2020-11-21  Christian Franke  <franke@computer.org>

	smartd.cpp: Add staggered self-tests (#310).
	smartd.conf.5.in: Document new functionality.

2020-11-17  Dmitriy Potapov <atomsk+oss@google.com>

	smartd.cpp: Don't write attrlog when device is skipped due to idle or
	standby mode, or if attributes were not read for any other reason
	(GH pull/75).

2020-11-09  Christian Franke  <franke@computer.org>

	smartd.cpp: Resolve symlinks before device names are checked for
	duplicates (#1390).
	dev_interface.cpp, dev_interface.h: Add 'get_unique_dev_name()'
	and 'is_raid_dev_type()' to support platform specific modifications.
	smartd.conf.5.in: Document new functionality.

2020-11-07  Christian Franke  <franke@computer.org>

	json.cpp, json.h: Add YAML support.
	smartctl.cpp: Add '--json=y' option.
	smartctl.8.in: Document new option.

	smartctl.8.in, smartd.conf.5.in: Remove EXPERIMENTAL notes for
	features added before 7.0.
	update-smart-drivedb.8.in: Add missing EXPERIMENTAL note.

2020-11-01  Christian Franke  <franke@computer.org>

	drivedb.h:
	- Phison Driven SSDs: KINGSTON OM4P0S3* (#1374), OMSP0S3* (#1375).
	- InnoDisk iCF 9000 / 1SE2 Cards: Rename entry. Add 1SE2 H (#1351).
	- Marvell based SanDisk SSDs: 2TB SDSSDH3 (GH issues/67, GH pull/69),
	  WD Blue SSD WDS100T2B0A (#1378).
	- SanDisk based SSDs: SDSA6GM*.
	- Toshiba 2.5" HDD MK..76GSX/GS001A (GH pull/58).
	- Toshiba L200 (CMR), Toshiba L200 (SMR) (#1228, patch from #1377).
	- Western Digital Blue: Apple OEM (#1385).
	- Western Digital Scorpio Blue Serial ATA: 320 GB (patch from #888).

	os_win32.cpp: Decode Windows 10 20H2 and Server 2004, 20H2
	build numbers.

2020-10-29  Alex Samorukov  <samm@os2.kiev.ua>

	os_freebsd.cpp: skip SCSI subenclosure devices on scan (#1299)

2020-10-24  Christian Franke  <franke@computer.org>

	drivedb.h:
	- HGST Travelstar Z5K1000: *B*610 variant.
	- Hitachi Travelstar 7K320: HITACHI*SA60 variant (#983).
	- Hitachi/HGST Deskstar 5K4000: Rename entry. Add HGST (#1060).
	- HGST Deskstar NAS: 8TB.
	- Hitachi/HGST Ultrastar 5K3000 (#1055).
	- Hitachi Ultrastar 7K3000: Variant without vendor name (#1361).
	- Hitachi/HGST Ultrastar 7K4000: Variant without vendor name (#1361).
	- HGST Ultrastar HC310/320 (#1157, #1365).

2020-10-19  Christian Franke  <franke@computer.org>

	drivedb.h:
	- ATP SATA III aMLC M.2 2242 SSD (based on patch from #1366).
	- Silicon Motion based OEM SSDs: TCSUNBOW X3 (#1349),
	  KingDian S370 (#1350), LDLC (#1353), Lenovo.
	- SSSTC ER2 GD/CD Series SSDs (based on patch from #1376).

2020-10-15  Christian Franke  <franke@computer.org>

	drivedb.h:
	- Apacer SSDs (based on patch from #1202).
	- Crucial/Micron MX500 SSDs (FW <= M3CR032): Remove entry (#1227).
	- Crucial/Micron Client SSDs: Rename entry. Fix name of attribute 127.
	  This prevents false 'Currently unreadable (pending) sectors' warnings
	  from smartd (#1227, #1294, #1311, #1336).
	- Intel 730 and DC S35x0/3610/3700 Series SSDs: *H* variant (#1363).
	- Samsung based SSDs: 883 DCT (#1373).

	os_win32.cpp: Fix removal of trailing blanks.
	Silence misleading -Wstring-compare warning from g++ 10.2.0
	(GCC Bugzilla 97336).

2020-10-09  Christian Franke  <franke@computer.org>

	scsiprint.cpp: Don't print 'Accumulated power on time' if no
	option is specified (GH issues/65, regression from r5075).
	Fix setting of 'any_output' (regression from r4188).

	Based on patch from GH pull/66.

2020-10-06  Christian Franke  <franke@computer.org>

	Remove all occurrences of the throw() specifier.
	This specifier is deprecated since C++11.

2020-09-27  Christian Franke  <franke@computer.org>

	update-smart-drivedb.in: Add '--branch' option.
	Select signing key accordingly.
	update-smart-drivedb.8.in: Document new option.

2020-09-20  Christian Franke  <franke@computer.org>

	drivedb.h:
	- Crucial/Micron BX/MX1/2/3/500, M5/600, 11/1300 SSDs: BX500 2TB,
	  1100 with version suffix (#1178), 1300 without prefix (#1369).
	- Micron 5100 Pro / 52x0 / 5300 SSDs: Add attribute 246.
	- Phison Driven SSDs: Kingston A400 M.2 (#1362),
	  Kingston OCP0S3* (#1370), Kingston OM8P0* (#1371).
	- Kingston SSDNow UV400/500: UV500 M.2 (#1347).
	- SAMSUNG SpinPoint N3U-3 (USB): Rename.
	- USB: Samsung S1 Mini (0x04e8:0x2f06) (Debian Bug 964032).

2020-09-19  Christian Franke  <franke@computer.org>

	ataprint.cpp: Report unavailable TRIM command only for SSDs.

2020-08-23  Christian Franke  <franke@computer.org>

	drivedb.h: DEFAULT entry: Limit attribute 231 (Temperature_Celsius)
	to HDDs.  Various SSDs use this attribute for a different purpose.

	drivedb.h:
	- Micron 5100 Pro / 52x0 / 5300 SSDs: Rename, add 5210 (#1356),
	  5300 *TDT variant (#1355)
	- Phison Driven SSDs: SSD Smartbuy 64GB and other sizes (#1359)
	- Indilinx Barefoot_2/Everest/Martini based SSDs: OCZ-OCTANE (#1360)
	- Marvell based SanDisk SSDs: Ultra 3D 4TB (#1358)
	- Silicon Motion based SSDs: ACPI SED2QII-LP, Transcend 230
	- Western Digital Gold: WD102KRYZ (#1357)

2020-08-22  Christian Franke  <franke@computer.org>

	smartd.service.in: Don't start smartd in virtualized environments
	(GH issues/62).

2020-08-22  Marko Hauptvogel  <marko.hauptvogel@googlemail.com>

	smartd.service.in: Remove obsolete 'StandardOutput=syslog'.

2020-07-11  Christian Franke  <franke@computer.org>

	scsiprint.cpp: Add JSON values 'power_on_time.{hours,minutes}' to
	'smartctl -a' output.  Add missing pout() -> jout() replacements.

2020-07-10  Douglas Gilbert  <dgilbert@interlog.com>

	scsiprint.cpp: Add "Accumulated power on time" entry to
	  'smartctl -a' output. Previously this was only output
	  when the '-x' option was given, together with other
	  fields in the Background scan results log page. Now
	  with the '-a' option "Accumulated power on time" is
	  printed just before the "Manufactured in week ..." line.

2020-07-06  Douglas Gilbert  <dgilbert@interlog.com>

	scsiprint.cpp: Attempted fix to tickets 1272, 1331 and 1346
	  The difficulty is handling SCSI log _sub_-pages that hold
	  info about SSDs and newer hard drives, against older 
	  devices (20 year old disks?) that do many and varied
	  things when asked to list supported sub-pages. Add a
	  heuristic and change some naming.

2020-06-24  Alex Samorukov  <samm@os2.kiev.ua>

	os_darwin.cpp: Fix NVMe log support, handle error codes,
	  remove SMARTReadData call
	os_darwin.h: Cleanup, remove all private functions

2020-06-23  Harry Mallon  <hjmallon@gmail.com>

	os_darwin.cpp, os_darwin.h: Add support for NVMe logs.
	smartctl.8.in: Update related documentation.

2020-06-20  Christian Franke  <franke@computer.org>

	drivedb.h:
	- Crucial/Micron BX/MX1/2/3/500, M5/600, 11/1300 SSDs: Rename,
	  add 1300
	- Plextor M3/M5/M6/M7 Series SSDs: Rename, *M6G variant, *M7CV (#991)
	- Silicon Motion based SSDs: ADATA SU650 (#1243), ADATA SU655
	- Seagate IronWolf Pro: 16TB (#1341)
	- USB: Toshiba (0x0930:0xa002)
	- USB: ADATA HD330 (0x125f:0xa83a)
	- USB: AkiTio NT2 (0x2ce5:0x0014)

	os_solaris.cpp: Suggest '-d sat' if '-d ata' is specified.

2020-06-18  Christian Franke  <franke@computer.org>

	scsiprint.cpp: Fix JSON value 'scsi_grown_defect_list'.

	Thanks to Ryan Allgaier for the bug report.

2020-06-05  Alex Samorukov  <samm@os2.kiev.ua>

	os_netbsd.cpp: fix timeout handling
	os_openbsd.cpp (based on Marek Benc GH request):
	- Migrate to the new API (#102)
	- Fix for the ATA registries on the BE arc (GH PR #56)
	- Fix timeout handling (GH PR #56)

2020-06-01  Christian Franke  <franke@computer.org>

	drivedb.h:
	- Crucial/Micron MX500 SSDs: Detect firmware <= M3CR032 (#1336)
	- Micron 5100 Pro / 5200 / 5300 SSDs: Rename, add 5300 (#1326)
	- Phison Driven SSDs: Corsair Force LE200
	- JMicron/Maxiotek based SSDs: Rename, add KingSpec NT
	- Plextor M3/M5/M6 Series SSDs: *M6V variant
	- Seagate IronWolf: *VN001 variant (GH pull/55)
	- WD Blue / Red / Green SSDs: Rename, add WD Red SA500 (#1321)
	- Western Digital Blue Mobile: re-add WD10JPZX (removed in r5054)
	- USB: OWC Mercury Elite Pro Quad (0x1e91:0xa4a7) (patch from #1337)

	os_win32.cpp: Decode Windows 10 2004 build number.

2020-05-25  Christian Franke  <franke@computer.org>

	ataprint.cpp: Print TRIM Command support info.
	Print Zoned Device Capabilities if reported.
	May also be useful to detect SMR HDDs (#1313).

2020-05-24  Christian Franke  <franke@computer.org>

	drivedb.h:
	- Phison Driven SSDs: GIGABYTE GP-GSTFS31,
	  KINGSTON DC450R/DC500M/DC500R 7.68TB (#1329), PNY CS900 (#1281)
	- Intel 320 Series SSDs: HP OEM (#1332)
	- JMicron based SSDs: ADATA SP600NS34 (GH pull/53),
	  ADATA OEM IM2S3138E* (#1298)
	- Plextor M3/M5/M6 Series SSDs: allow extra space (#1293)
	- Samsung based SSDs: 860 EVO 4TB, 850/860 PRO 2/4TB (#1316)
	- Marvell based SanDisk SSDs: SDSSDA-*
	- Silicon Motion based SSDs: Corsair Force LX (#1320)
	- WD Blue and Green SSDs: WDBNCE* (#1129)

	drivedb.h: Add separate entries for WDC SMR drives (#1313).
	- Western Digital Blue (SMR)
	- Western Digital Black (SMR)
	- Western Digital Red: Move WD60EFAX to ...
	- Western Digital Red (SMR): ... here, add 2TB, 3TB, 4TB
	- Western Digital Blue Mobile: Move  WD[12]0SPZX to ...
	- Western Digital Blue Mobile (SMR): ... here

2020-04-23  Christian Franke  <franke@computer.org>

	drivedb.h: USB: Realtek RTL9210 (0x0bda:0x9210)

	scsinvme.cpp: Add '-d sntrealtek' device type for Realtek RTL9210
	USB to NVMe bridges (#1315).
	dev_interface.cpp: Update help text.
	smartctl.8.in, smartd.conf.5.in: Document new option.

	Thanks to Plugable Support for providing a NVMe enclosure.

2020-04-05  Christian Franke  <franke@computer.org>

	drivedb.h:
	- Crucial/Micron MX500 SSDs: Detect also older firmware (#1311)
	- Silicon Motion based SSDs: Add attributes 159 and 231 (#1304)
	- Seagate BarraCuda 3.5: Rename, merge entries,
	  add ST2000DM008 (#1179, #1252, #1286), ST10000DM0004
	- Seagate Exos X14: ST12000NM0538 (#1256)
	- Seagate Exos X16 (#1291, #1301)
	- Seagate Skyhawk (#1039)

2020-04-04  Christian Franke  <franke@computer.org>

	dev_jmb39x_raid.cpp: Add '-d jms56x,...' device type for protocol
	variant used by JMS562 USB to SATA RAID bridges (#1314).
	dev_interface.cpp: Parse '-d jms56x*[+TYPE]' option, update help text.
	smartctl.8.in, smartd.conf.5.in: Document new option.

2020-03-29  Christian Franke  <franke@computer.org>

	drivedb.h:
	- Western Digital Ultrastar He10/12: Rename, add He12
	  (#1308, GH issues/51)
	- Western Digital Ultrastar DC HC530 (#1257)
	- Western Digital Green: WD5000AZRX (#1072)
	- Western Digital Red: WD120EMFZ (GH issues/49)
	- Western Digital Purple: WD*PURZ, WD80PUZX (#1057)
	- Western Digital Gold: WD6003FRYZ
	- Western Digital Blue Mobile: Rename, re-add WD10JPVX
	  (removed in r4991)
	- Western Digital Elements / My Passport (USB, AF):
	  WD10SMZW (#1088), WD50NDZW

2020-03-28  Christian Franke  <franke@computer.org>

	drivedb.h:
	- Crucial/Micron BX/MX1/2/3/500, M5/600, 1100 SSDs: CT1000BX500SSD1,
	  MTFDDAK* (#1276)
	- Kingston SSDNow UV400/500: Rename, add UV500 (#1126)
	- Silicon Motion based SSDs: KingDian S100/200, Kingdian S280 1TB,
	  Kingston KC600 (#1304), Transcend MTS420S (#1280),
	  Transcend 360S (#1282)
	- Seagate IronWolf Pro: ST4000NE001
	- Western Digital RE3 Serial ATA: WD*BYS-* variant
	- Western Digital Gold: WD4003FRYZ (#1289), WD8004FRYZ (#1287)
	- USB: 0x0860:0x0001 (#1295)
	- USB: JMicron (0x152d:0x1337) (#1296)
	- USB: Corsair SSD & HDD Cloning Kit (0x0984:0x0301) (#1307)

2020-03-25  Christian Franke  <franke@computer.org>

	smartd.cpp: Set 'SMARTD_DEVICETYPE=auto' if DEVICESCAN is used
	without '-d TYPE' directive (GH issues/52).

2020-03-05  Christian Franke  <franke@computer.org>

	Silence some cppcheck 1.85 warnings.
	nvmeprint.cpp,  smartd.cpp: knownConditionTrueFalse.
	scsicmds.cpp, scsiprint.cpp: variableScope.
	scsicmds.h: Remove unused function supported_vpd_pages::num_pages().

	cppcheck.sh: Remove no longer used HAVE_*NTDDDISK_H defines.

2020-03-01  Christian Franke  <franke@computer.org>

	dev_intelliprop.cpp, dev_interface.cpp, dev_interface.h: Move option
	parsing to get_intelliprop_device().  Move this function to class
	smart_interface.
	dev_intelliprop.h: Remove file.
	Makefile.am, os_win32/vc14/smart*.vcxproj*: Remove old file.

	configure.ac: Fail if '--without-working-snprintf' is specified.
	utility.cpp, utility.h: Remove support for pre-C99 snprintf().

	os_win32.cpp: Remove backward compatibility fixes for include files
	of very old versions of Cygwin, MinGW and MSVC.
	configure.ac, Makefile.am: Remove check for DDK include files.

2020-02-25  Christian Franke  <franke@computer.org>

	Silence some warnings from g++ 9.2:
	atacmds.cpp: -Waddress-of-packed-member.
	os_win32.cpp: -Wcast-function-type.
	smartd.cpp: -Wformat-truncation.

2020-02-25  Fabrice Fontaine  <fontaine.fabrice@gmail.com>

	configure.ac: fix stack-protector detection.
	Use AC_LINK_IFELSE instead of AC_COMPILE_IFELSE to check for
	stack-protector availability as some compilers could missed the
	needed library (-lssp or -lssp_nonshared) at linking step.

2020-01-11  Christian Franke  <franke@computer.org>

	dev_jmb39x_raid.cpp: Add '-d jmb39x-q,...' device type for JMB39x
	protocol variant used by QNAP-TR004 NAS (#1283).
	dev_interface.cpp: Update help text.
	smartctl.8.in, smartd.conf.5.in: Document '-q' suffix.

2020-01-02  Christian Franke  <franke@computer.org>

	configure.ac: Use 'uname -n' if 'hostname' is not available
	(GH PR 44).  Remove check for SVN < 1.7.

2020-01-01  Christian Franke  <franke@computer.org>

	Happy New Year!  Update copyright year in version info.

2019-12-30  Christian Franke  <franke@computer.org>

	smartmontools 7.1

2019-12-29  Christian Franke  <franke@computer.org>

	smartctl.8.in: Add info about AMD Windows RAID driver.
	Fix some font changes.

	os_win32/installer.nsi: Delete old ChangeLog-5.0-6.0 on update
	installs.  Remove outdated delete commands.

	scsicmds.cpp: Remove never needed include of atacmds.h.

	ataprint.cpp, smartd.cpp: Silence 'multiplication overflow' warning
	from lgtm.

	ataprint.cpp: Fix size of Device Statistics value.

	os_win32.cpp: CSMI: Detect missing ATA output registers.

2019-12-28  Christian Franke  <franke@computer.org>

	drivedb.h:
	- Crucial/Micron MX500 SSDs: New entry to handle bogus
	  attribute 197 (#1227)
	- Phison Driven SSDs: Kingston DC450R (#1249),
	  Patriot Flare, Blast, Blaze (#830), Burst (#1182)
	- Silicon Motion based SSDs: Patriot P200, TC-Sunbow X3 (#1261),
	  Team Group L5Lite 3D T253TD variant
	- Seagate IronWolf: ST6000VN0033 (#1273)
	- Western Digital Red: WD60EFAX (#1274)
	- USB: Samsung (0x04e8:0x8003)
	- USB: JMicron JMS561 (0x152d:0xa561)

	do_release: Update code signing key id.

2019-12-13  Christian Franke  <franke@computer.org>

	smartd.conf.5.in: Fix very old comment about man2html bug.

	smartctl.8.in, smartd.conf.5.in, update-smart-drivedb.8.in:
	Remove EXPERIMENTAL notes for features added before 6.6.
	Fix typos.

	update-smart-drivedb.in: If signature verification fails, always
	print GPG error message regardless of '-v' option.

	os_win32.cpp: Decode Windows 10 1909 and Server 1909 build number.
	Fix IRST version in comment.

2019-12-10  Alex Samorukov <samm@os2.kiev.ua>

	drivedb.h: Fix SanDisk SSD Plus matching pattern (GH PR 43)

2019-12-06  Christian Franke  <franke@computer.org>

	drivedb.h:
	- Hitachi Ultrastar A7K1000: HITACHI* variant (#1255)
	- Seagate IronWolf: *0008 variant (#1262)
	- WD Blue and Green SSDs: *2G* variant, allow extra space
	- USB: Unknown (0x0850:0x0031)
	- USB: ADATA (0x125f:0xa37a) (#1264)

2019-12-06  Alex Samorukov <samm@os2.kiev.ua>

	drivedb.h:
	- Extend Micron 5100 attributes (#1270)

2019-12-05  Alex Samorukov <samm@os2.kiev.ua>

	drivedb.h:
	- Add Toshiba MQ04UBD200 (#1106)
	- Add LITEON LCH SSD (#1124)

2019-12-04  Alex Samorukov <samm@os2.kiev.ua>

	drivedb.h:
	- hynix SC311 SSD (#1267)
	- Seagate Mobile HDD (#1118)
	- Kingston SSDNow UV400 (#848, GH: 7)
	- Add another PM841 definition (GH: 30)
	- Add Seagate Barracuda Pro Compute family
	- Extend WD Blue regexp
	- Extend Seagate Mobile HDD regexp
	- Add Seagate Exos X14

2019-11-24  Christian Franke  <franke@computer.org>

	Add '-d jmb39x,N[,sLBA][,force][+TYPE]' device type for SATA drives
	behind a JMicron JMB39x RAID port multiplier (#705).
	dev_jmb39x_raid.cpp: New file, based on JMraidcon by Werner Johansson.
	dev_interface.cpp: Parse '-d jmb39x*[+TYPE]' option.
	dev_interface.h: Add get_jmb39x_device().
	smartctl.8.in, smartd.conf.5.in: Document new option.
	Makefile.am, os_win32/vc14/smart*.vcxproj*: Add new file.

	Thanks to Karl McMurdo for providing access to a machine for testing.

2019-11-22  Christian Franke  <franke@computer.org>

	atacmds.cpp: Fix bogus errno message in debug output.
	Print original IDENTIFY DEVICE error if IDENTIFY PACKET DEVICE
	also fails.

	cciss.cpp: Fix segfault on transfer size > 512 bytes.
	Replace printf() and fprintf() with pout().

2019-10-19  Christian Franke  <franke@computer.org>

	scsiprint.cpp: Silence 'value never read' warning from clang
	analyzer.

	Avoid usage of asctime(), ctime(), gmtime(), and localtime().
	Use thread-safe *_r() or *_s() variants instead.
	utility.cpp, utility.h: Add wrapper function for localtime_*().
	smartd.cpp: Attribute logs now use local time instead of UTC.

2019-10-16  Alex Samorukov  <samm@os2.kiev.ua>

	drivedb.h: improve Innodisk 3TG6 record (patch by GH user Shaing)

2019-10-15  Christian Franke  <franke@computer.org>

	os_win32.cpp: CSMI: Add workaround for AMD RAID drivers which return
	incomplete and incorrect drive information in CSMI_SAS_PHY_INFO
	(GH issues/39).

	Thanks to GH user 'Shine-' for original patch and testing.

2019-10-05  Christian Franke  <franke@computer.org>

	ataprint.cpp: Set JSON value 'power_on_time.hours' if raw value
	also contains milliseconds (#1165).

2019-10-04  Christian Franke  <franke@computer.org>

	configure.ac: Don't check for _FORTIFY_SOURCE if it is a
	compiler preset.

2019-10-03  Christian Franke  <franke@computer.org>

	configure.ac: Define _FORTIFY_SOURCE=2 if supported.

2019-10-01  Douglas Gilbert  <dgilbert@interlog.com>

	scsiprint.cpp:
	- in scsiGetSupportedLogPages() the code assumes if the
	  device supports the "Supported Log pages and subpages"
	  log page then that will supersede the "Supported Log
	  pages" log page. However in tickets #1225 and #1239
	  different Samsung SAS SSDs seem to have a dummy
	  response to the '... and subpages' variant log page
	  and a correct response to the shorter (and older)
	  variant. Change code so the '... and subpages'
	  variant is ignored if its response is shorter than
	  the other variant's response. This code change needs to
	  be tested on real Samsung SAS SSDs, preferably by the
	  reporters of tickets #1225 and #1239 .

2019-09-30  Douglas Gilbert  <dgilbert@interlog.com>

	scsiprint.cpp:
	- in scsiPrintGrownDefectListLen() change to silently bypass
	  if defect list type is 6 since it means "vendor specific".
	  On recent SAS SSDs it seems to mean: we (the manufacturer)
	  are not going to give you any more information about this
	  SSD's internal format.

2019-09-28  Christian Franke  <franke@computer.org>

	drivedb.h:
	- Phison Driven SSDs: Goodram CX400, Goodram Iridium Pro,
	  Goodram IRIDM (#1136, #1212), MyDigital BP4, PS3110-S10C (#1075),
	  SSM28256GPTCB3B
	- Phison Driven OEM SSDs: Intenso SATA III, Silicon Power A55
	- Silicon Motion based SSDs: Rename, sort, add Cervoz M305 (#1097),
	  Drevo X1 (#949), Drevo X1 Pro (#936), J&A LEVEN JS500 (#998),
	  KingDian S280, OWC Envoy Pro (#1168), Ramsta S800 (#1158),
	  TC-Sunbow M3, Zheino M3
	- Silicon Motion based OEM SSDs: New entry with FW detection:
	  Intenso SSD, Intenso SATA III High (#1005), KingFast F6M (#968),
	  Silicon Power M.2 2280 M55 (#978), SuperMicro DM032-SMCMVN1 (#1172),
	- USB: OWC Envoy Pro (0x1e91:0xa2a5) (#1168)

2019-09-27  Christian Franke  <franke@computer.org>

	drivedb.h:
	- Phison Driven OEM SSDs: Hoodisk (#1231)
	- Innodisk 3IE2/3ME2/3MG2/3SE2/3TG6 SSDs: Rename,
	  add 3TG6 (GH pull/40)
	- Marvell based SanDisk SSDs: X600, Ultra 3D 1024G,
	  Plus (#1120, #1160)
	- USB: LaCie P9230 (0x059f:0x1053) (#1235)
	- USB: Toshiba Stor.E D10 (0x0939:0x0b13)
	- USB: Atech (0x1234:0x5678) (#1234)

	os_win32.cpp: Enhance CSMI_SAS_PHY_INFO debug output.
	Print all nonempty entries.

2019-08-20  Christian Franke  <franke@computer.org>

	drivedb.h:
	- SiliconMotion based SSDs: ADATA SU800 (#954, #1214), SU900 (#996),
	  Transcend 430S (#1229)
	- USB: JMicron JMS576 (0x152d:0x1576)
	- USB: PNY (0x154b:0x5678)

2019-08-13  Christian Franke  <franke@computer.org>

	drivedb.h: Phison Driven SSDs: Fix typo, add DC500 attributes (#1176)

2019-08-12  Christian Franke  <franke@computer.org>

	ataprint.cpp: Add ACS-5 major version and latest ACS-4 minor version.

	drivedb.h:
	- Apacer AS340 (based on patch from #1209)
	- Phison Driven SSDs: Kingston DC500R/M (#1176)
	- USB: Unknown (0x0850:0x0003)

2019-08-08  Christian Franke  <franke@computer.org>

	os_linux.cpp: Add more debug output to 'get_usb_id()'.

	json.cpp, json.h: Make 'json::ref::~ref()' non-inline to decrease
	code size.  Remove some extra ';'.

	os_win32/wtssendmsg.c: Fix parsing of numeric options.
	Fix reading message from stdin pipe or console.

2019-08-07  Christian Franke  <franke@computer.org>

	os_win32/wtssendmsg.c: Don't convert '\r\n' in message read from
	stdin as it is also written to event log.  Add '-t' and '-w' option.

	smartd.cpp: Increase size of email message buffer to avoid truncation
	if device name is very long (#1217).

2019-08-04  Christian Franke  <franke@computer.org>

	examplescripts/Example8: Try mail and mailx first, then fall back to
	sendmail.
	examplescripts/README: Update documentation.

	json.cpp, json.h: Suppress extra spaces in '--json=cg' output.

	linux_nvme_ioctl.h: Replace with current version from Linux kernel
	sources (include/uapi/linux/nvme_ioctl.h fadccd8 2019-02-20).
	This version adds Linux-syscall-note to its GPL-2.0 (only) license.
	This should fix the GPL-2.0-or-later licensing problem (#1226).

2019-07-01  Christian Franke  <franke@computer.org>

	Replace all ASSERT_*() macros with STATIC_ASSERT().
	static_assert.h: New file with STATIC_ASSERT() macro using C++11
	static_assert() if available.
	Makefile.am, os_win32/vc14/smart*.vcxproj*: Add new file.

	os_win32/vc14/smart*.vcxproj*: Add missing scsinvme.cpp.

2019-06-28  Christian Franke  <franke@computer.org>

	smartd.cpp: Reset scheduled_test_next_check time if system clock
	has been adjusted to the past.
	Use LOG_INFO instead of LOG_CRIT for related message.

	examplescripts/Example6: Update from Fedora package 7.0-5.fc31.

	examplescripts/Example[78]: New scripts using /usr/sbin/sendmail
	to send email (Ubuntu Bug 1833331).
	Makefile.am, examplescripts/README: Add new scripts.

2019-06-19  Christian Franke  <franke@computer.org>

	os_win32.cpp: Decode Windows 10 1903 and Server 1903 build number.
	Allow drive letters as device names for Windows 10 NVMe driver.
	Check for unsupported nonzero NVMe CDW11..15.

	smartctl.8.in: Fix typo introduced 15 years ago in r1789.

	drivedb.h:
	- Unify some 'Host_Reads/Writes_*' attribute names
	- JMicron based SSDs: Transcend SSD340K, SSD740
	- Samsung based SSDs: PM863a Dell OEM (#1200)
	- Toshiba MG06ACA... Enterprise Capacity HDD (#1023, #1099)
	- Toshiba MG07ACA... Enterprise Capacity HDD (#1023, #1175)
	- WD Blue and Green SSDs: Variants without trailing -* (#1198)
	- USB: JMicron JMS583 [NVMe] (0x152d:0x0583): Remove '#please_try'
	- USB: Transcend (0x8564:0x7000) (GH issues/32)

2019-06-17  Christian Franke  <franke@computer.org>

	os_win32.cpp: Clear ProtocolDataRequestSubValue for NVMe Get Log Page
	commands because newer drivers pass this value as CDW12 (LPOL) to the
	drive.  This fixes log page access for NVMe 1.2.1+ drives (#1201).

	Thanks to Vikram Manja for bug report and testing.

2019-06-12  Christian Franke  <franke@computer.org>

	os_netbsd.cpp: Fix device scan crash on empty name list.
	Fix a memory leak introduced 15 years ago in r1434.

	Thanks to Alexander Nasonov for bug report and testing.

2019-05-21  Christian Franke  <franke@computer.org>

	smartd.conf.5.in: Update list of directives which affect '-m'.
	This also fixes a typo introduced 15 years ago in r1658
	(GH issues/24).

	drivedb.h:
	- Intel 53x and Pro 1500/2500 Series SSDs: Rename, add Pro 1500 *A4H
	  variant (#1194)
	- Western Digital Red: WD100EFAX (#986, #1029)
	- Western Digital Red Pro: *003* and *FFBX variants (#1085, #1192),
	  WD101KFBX (#1030, #1189)

2019-05-21  Erwan Velu  <e.velu@criteo.com>

	drivedb.h: Intel DC S3110 Series SSDs (GH pull/35)

2019-04-30  Christian Franke  <franke@computer.org>

	os_linux.cpp: Fix '/dev/megaraid_sas_ioctl_node' open check
	(cppcheck 1.85: resourceLeak).
	Reduce variable scope (cppcheck 1.85: variableScope).
	Remove unused variable (cppcheck 1.85: unreadVariable).

	cppcheck.sh: New script to run cppcheck with predefined settings.
	Makefile.am: Add new script to tarball.  Add 'cppcheck' target.

2019-04-22  Christian Franke  <franke@computer.org>

	drivedb.h:
	- Apacer SDM... Series SSD Module: Rename, split into separate entries
	  for SDM4 and SMD5*, add SMD5A-M variant (based on patch from #1183)
	- Intel 545s Series SSDs: *2KW* variant (#1185)
	- SK hynix SATA SSDs: *G39MND* variant, *G39TND* variant (#1146),
	  *G3[2E]FEH* variant (based on patch from #1181)
	- USB: JMicron JMS578 (0x0080:0x0578)
	- USB: Unknown (0x0080:0xa0001) (#852)

2019-03-31  Christian Franke  <franke@computer.org>

	drivedb.h:
	- Swissbit X-600m Series Industrial mSATA SSD (patch from #1177)
	- Samsung based SSDs: SM863a *JP variant (#1105), SM863a Dell OEM (#1151)
	- Marvell based SanDisk SSDs: Ultra 3D (#1091, #1166, #1173)
	- WDC HGST Ultrastar He10: WD100EMAZ (#1152)
	- WD Blue and Green SSDs: Blue 3D NAND (#1162, #1169)
	- USB: VIA VL716 (0x2109:0x0716)

2019-03-18  Alex Samorukov  <samm@os2.kiev.ua>

	drivedb.h:
	- add Intel 545s Series SSDs (PR #26)

2019-03-13  Alex Samorukov  <samm@os2.kiev.ua>

	drivedb.h:
	- add Seagate Nytro SATA SSD and Seagate IronWolf 110 SATA SSD (PR #25)

2019-03-10  Christian Franke  <franke@computer.org>

	configure.ac: Pass '-pie' option directly to MinGW linker.
	This adds relocation info which is needed for ASLR (#1170).
	Document ASLR related issues of MinGW-w64 toolchain.

	Makefile.am: Remove 'Type=notify' from smartd.service if
	libsystemd-dev is not available.

2019-01-11  Christian Franke  <franke@computer.org>

	update-smart-drivedb.8.in: Add missing definition of '.Sp' macro.

	json.cpp, json.h: Add extra setter for char pointers.
	Prevent nullptr exceptions if JSON mode is not enabled.

	ataprint.cpp: Fix bogus exception on unknown form factor value
	(#1154, regression from r4640).

2019-01-01  Alex Samorukov <samm@os2.kiev.ua>

	FreeBSD: use "fetch" as default download tool
	os_freebsd.cpp: fix build on FreeBSD 12, fix nvme on Big Endian hosts
	(patch from the bugtracker)

2019-01-01  Christian Franke  <franke@computer.org>

	Happy New Year!  Update copyright year in version info.

2018-12-30  Christian Franke  <franke@computer.org>

	Rename old ChangeLog to ChangeLog-6.0-7.0.
	Remove ChangeLog-5.0-6.0 from DOCDIR but keep in tarball.
	Start new ChangeLog.

2018-12-30  Christian Franke  <franke@computer.org>

	smartmontools 7.0
