Commit 345d4758 authored by chrfranke's avatar chrfranke
Browse files

Windows: Fix parsing of 'tw_cli' output for 3ware 9.5.x release

(ticket #43).


git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@3049 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 3b841905
...@@ -43,6 +43,9 @@ NOTES FOR FUTURE RELEASES: see TODO file. ...@@ -43,6 +43,9 @@ NOTES FOR FUTURE RELEASES: see TODO file.
<DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE> <DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE>
[CF] Windows: Fix parsing of 'tw_cli' output for 3ware 9.5.x release
(ticket #43.)
[CF] Add USB IDs of Seagate FreeAgent Go, Seagate Expansion Portable [CF] Add USB IDs of Seagate FreeAgent Go, Seagate Expansion Portable
and WD My Passport (IDE). and WD My Passport (IDE).
......
...@@ -1641,6 +1641,8 @@ bool win_tw_cli_device::open() ...@@ -1641,6 +1641,8 @@ bool win_tw_cli_device::open()
// Parse smart data hex dump // Parse smart data hex dump
const char * s = findstr(buffer, "Drive Smart Data:"); const char * s = findstr(buffer, "Drive Smart Data:");
if (!*s)
s = findstr(buffer, "Drive SMART Data:"); // tw_cli from 9.5.x
if (!*s) { if (!*s) {
s = findstr(buffer, "S.M.A.R.T. (Controller"); // from 3DM browser window s = findstr(buffer, "S.M.A.R.T. (Controller"); // from 3DM browser window
if (*s) { if (*s) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment