diff --git a/smartmontools/ChangeLog b/smartmontools/ChangeLog index 62379726a17d99065aa652009a6b1bbac7cd5974..812275209d5dbe26ef92ce93d2033f3526d42534 100644 --- a/smartmontools/ChangeLog +++ b/smartmontools/ChangeLog @@ -1,5 +1,12 @@ $Id$ +2022-02-26 Douglas Gilbert <dgilbert@interlog.com> + + ataprint.cpp: add suggestion when 'Read Device Identity + failed: xxx' error generated to look at + --device-type=TYPE variants. May help with USB-C connected + NVMe enclosures (e.g. with M-2 modules inside) + 2022-02-26 Christian Franke <franke@computer.org> configure.ac: Print 'deprecated' warning for '--with-signal-func'. diff --git a/smartmontools/ataprint.cpp b/smartmontools/ataprint.cpp index 2edefe940dcdd122b34b882ae5c1bac3d3eed6bd..3a64c8b3052fb1e8bd2676fe99aefab5807f16a8 100644 --- a/smartmontools/ataprint.cpp +++ b/smartmontools/ataprint.cpp @@ -3480,6 +3480,8 @@ int ataPrintMain (ata_device * device, const ata_print_options & options) if (retid < 0) { pout("Read Device Identity failed: %s\n\n", (device->get_errno() ? device->get_errmsg() : "Unknown error")); + pout("If this is a USB connected device, look at the various " + "--device=TYPE variants\n"); failuretest(MANDATORY_CMD, returnval|=FAILID); } else if (!nonempty(&drive, sizeof(drive))) {