Version 1 (modified by porg, 13 years ago) ( diff )


Report from Alex Keda

Device is working with "-d usbcypress". Reported within the mailinglist.

Hint/Remark from Stefan Nowak

Make sure the first command you send to the device is "-s on". After that you can use all the queries/commands you like.

If you first query, and SMART wasn't enabled yet, then you'll get nonsensical info. And if you then try to enable SMART, it fails. If you got into this situation, you have to disconnect and reconnect the device (sort of "start a new session"), and first send "-s on", and from then on all commands works as usual.

That's it. For those who want to see more details, see the logs below.

Correct command order

$ smartctl -d usbcypress -s on sdb
# You get the confirmation.
# And after that, use any command you like.

Wrong command order

$ smartctl -d usbcypress -a sdb

… Correct info about the device …
Error SMART Values Read failed
… Some nil values …
Error SMART Error Log Read failed
Error SMART Error Self-Test Log Read failed

$ smartctl -d usbcypress -s on sdb

Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)
A mandatory SMART command failed: exiting. To continue, add one or more '-T perm
issive' options.

# Whatever command you enter from now on fails.
# Disconnect and reconnect the device, then enable SMART as shown in the chapter "Correct command order"
Note: See TracWiki for help on using the wiki.