1
1
Граф коммитов

4985 Коммитов

Автор SHA1 Сообщение Дата
chrfranke
f9e5f2b743 ataprint.h, nvmeprint.h, scsiprint.h: Use C++11 in-class member initializers.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5183 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-24 16:40:20 +00:00
chrfranke
de241fd893 Drop C++98 restriction, allow C++11.
configure.ac: Enable C++11.  Fail if no option found.
Disable C++14 if possible.  Warn if no C++14 option found.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5182 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-24 16:21:22 +00:00
chrfranke
1c3745388e configure.ac: Remove defunct '--with-working-snprintf'.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5181 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-24 16:08:52 +00:00
chrfranke
6eb4620e29 scsiprint.cpp: Reduce scope of 'powerlimit' (cppcheck 1.85: variableScope).
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5180 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-24 15:22:17 +00:00
chrfranke
d40dc5c880 scsiprint.cpp: Move VPD page process to after new powermode processing added
in r5131 to resolve #1413 of Seagate drives spinning up when -n standby is
selected.  Simplify code for VPD pages.

Patch by Simon Fairweather.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5179 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-24 14:56:33 +00:00
chrfranke
8a9f99d90a Makefile.am: Enhance config-vc and *clean-vc targets for MSVC15/16.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5178 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-23 16:53:35 +00:00
chrfranke
6c4618830b os_win32/vc16: Copy from vc15 and change for MSVC16 (VS2019).
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5177 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-23 16:13:47 +00:00
chrfranke
c69e710884 os_win32/vc15: Copy from vc14 and change for MSVC15 (VS2017).
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5176 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-23 15:42:17 +00:00
chrfranke
d1868f4148 os_win32/vc14/smart*.vcxproj*: Add missing files.
Suppress warnings for regex/regex.c.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5175 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-23 14:44:26 +00:00
chrfranke
eb0d431f07 os_win32/vc14: ignore *.vcxproj.user files.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5174 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-23 14:40:52 +00:00
chrfranke
3e7bb6f257 ataprint.cpp, ataprint.h, smartctl.cpp: Rework sct_erc variables.
Fix handling of '-l scterc*,p' if both get and set are used.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5173 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-20 19:27:19 +00:00
chrfranke
ab58013aae smartctl.cpp: Change '-l scterc,r' to '-l scterc,reset'.
Make ',p' case sensitive.  Simplify parsing of 'scterc...'.
smartctl.8.in: Change documentation accordingly.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5172 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-20 17:46:42 +00:00
chrfranke
200fd2d872 drivedb.h: USB: Realtek RTL9211 (0x0bda:0x9211, 0x2eb9:0x9211).
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5170 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-17 16:11:20 +00:00
chrfranke
148a376553 drivedb.h:
- Bump branch VERSION to 7.3.
- USB: ASMedia ASM2362 (0x174c:0x2362).

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5169 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-17 15:36:23 +00:00
chrfranke
ccf7ebec42 scsinvme.cpp: Add '-d sntasmedia' device type for ASMedia ASM2362
USB to NVMe bridges (#1221).
dev_interface.cpp: Update help text.
smartctl.8.in, smartd.conf.5.in: Document new option.

Thanks to Demian from Sabrent.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5168 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-17 15:19:05 +00:00
chrfranke
5ef70e9053 smartctl.8.in: Add EXPERIMENTAL note for new '-l scterc' variants.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5167 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-15 18:16:07 +00:00
chrfranke
8de092293d Add support for SCT Error Recovery Timer features added in ACS-4 (#1427).
'-l scterc[,R,W],p' option gets/sets the persistent power-on values.
'-l scterc,r' option restores to the manufacturer's default values.

Patch by Jeremy Bauer.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5166 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-15 18:02:19 +00:00
chrfranke
277e6dc78a nvmeprint.cpp: Add bit 5 of SMART/Health 'Critical Warning' byte (NVMe 1.4).
Patch by Zhenwei Pi.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5165 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-15 17:15:51 +00:00
chrfranke
14ddb9a930 drivedb.h: Add VERSION information to 5.41-7.2 branches (#1424).
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5164 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-10 16:24:36 +00:00
chrfranke
f938a75906 drivedb.h: Add VERSION information to trunk (#1424).
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5163 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-10 15:52:20 +00:00
chrfranke
a3d2819d0b drivedb.h: USB: ADATA HV610 (0x125f:0xa21a) (#1417).
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5161 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-06 18:24:50 +00:00
chrfranke
30fd31aefb drivedb.h: Seagate Exos 7E8 (#1415).
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5160 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-06 18:19:32 +00:00
chrfranke
de82f8d8f3 drivedb.h: Seagate BarraCuda 3.5: Split into ...(CMR) and ...(SMR).
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5159 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-06 18:09:07 +00:00
chrfranke
af55865653 drivedb.h: Western Digital Blue (SMR): 4TB.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5158 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-06 18:00:02 +00:00
chrfranke
788bc4a27b Happy New Year! Update copyright year in version info.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5157 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-01 10:37:59 +00:00
chrfranke
8152cd052c Bump release number to 7.3
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5156 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-12-30 18:16:19 +00:00
chrfranke
62229f3f80 Release 7.2 RELEASE_7_2
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5155 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-12-30 16:49:18 +00:00
chrfranke
aa17c877cd Update NEWS.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5154 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-12-30 15:07:09 +00:00
chrfranke
ee0c6bcc57 configure.ac, update-smart-drivedb.in: Use RELEASE_7_2_DRIVEDB for
drivedb.h updates.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5153 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-12-30 14:09:46 +00:00
chrfranke
3f4de0c437 Create new branch RELEASE_7_2_DRIVEDB.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5152 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-12-30 13:41:44 +00:00
chrfranke
b673d3cbd2 drivedb.h: SK hynix SATA SSDs: SC300 (#1407).
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5150 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-12-29 16:55:11 +00:00
chrfranke
c54504b252 drivedb.h: Hitachi Travelstar 5K500.B: *SA02 (#1408).
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5149 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-12-29 16:35:26 +00:00
chrfranke
1f35843ff1 drivedb.h: Samsung based SSDs: PM871 MZY* (#1384), 870 QVO (#1388).
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5148 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-12-29 16:16:50 +00:00
chrfranke
b637186cfd drivedb.h: Micron 5100 Pro / 52x0 / 5300 SSDs: 5300HC.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5147 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-12-29 15:14:46 +00:00
chrfranke
2314f68dad drivedb.h:
- 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).

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5146 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-12-29 15:02:25 +00:00
chrfranke
c44566ea84 drivedb.h: Fix '-v' comments. Remove trailing whitespace.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5145 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-12-29 13:44:37 +00:00
chrfranke
ecd93d30a4 scsinvme.cpp: Realtek: Limit NVMe log transfer size to 512 bytes.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5144 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-12-29 12:50:16 +00:00
chrfranke
4f3840b78d smartctl.8.in: Add EXPERIMENTAL notes for SCSI variants of '-n POWERMODE'
and '-s standby,...'.  Fix syntax.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5143 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-12-21 18:34:31 +00:00
chrfranke
10a0017344 update-smart-drivedb.in: Add 'Accept-Encoding' HTTP header when curl is used.
This avoids caching problems with svn URL.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5142 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-12-21 17:02:46 +00:00
chrfranke
9c82b08a70 update-smart-drivedb.in: Print output of 'gpg --import' if '-v' is specified.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5141 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-12-21 16:44:55 +00:00
chrfranke
c2a65a7c07 update-smart-drivedb.in: Extend expiration year of current database
signing key from 2020 to 2025 (#1278).

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5140 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-12-21 15:50:19 +00:00
chrfranke
37d1a699aa configure.ac: Print 'deprecated' warning for '--with-solaris-sparc-ata'.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5139 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-12-20 18:18:01 +00:00
chrfranke
4c91f1db9d configure.ac: Use AC_CONFIG_HEADERS instead of obsolete AC_CONFIG_HEADER.
This silences a warning from new autoconf 2.70.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5138 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-12-20 17:13:01 +00:00
chrfranke
4c1819a3fd drivedb.h: Intel X25-E SSDs: IBM OEM (#1401).
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5136 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-12-20 15:43:03 +00:00
chrfranke
34956a7a5d drivedb.h:
- Seagate BarraCuda 3.5: 12TB
- Seagate Exos X16: 10TB (#1406, GH issues/63), 12TB.
- Seagate Archive HDD: Rename to ...(SMR) (#1392).

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5135 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-12-20 15:22:17 +00:00
chrfranke
d75524dd99 drivedb.h: Seagate IronWolf Pro 125 SSDs (#1396).
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5134 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-12-20 14:30:19 +00:00
chrfranke
2d68dea8ab drivedb.h: Seagate BarraCuda, Enterprise Capacity, Exos, IronWolf:
Add attributes 18, 200.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5133 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-12-20 14:01:24 +00:00
chrfranke
132b473f4b drivedb.h: Unify indentation.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5132 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-12-20 13:48:34 +00:00
dpgilbert
95fc2aa01f smartctl: expand -s option with standby,now and standby,off (or standby,0) to include SCSI
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5131 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-12-15 21:30:33 +00:00
samm-git
30fdd61fc7 drivedb.h: add Sony HD-E1B (#1410)
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5130 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-12-14 08:45:52 +00:00