Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#133 closed enhancement (wontfix)

add support for Micron Technology USB SSD please

Reported by: tomazbeltram Owned by: somebody
Priority: major Milestone:
Component: all Version: 5.40
Keywords: Cc:

Description

The supported SMART commands are described here:

The SMART Command Feature Set
http://www.micron.com/get-document/?documentId=5611

root@ubuntu:~# lsusb -v -d 0634:0655

Bus 001 Device 004: ID 0634:0655 Micron Technology, Inc.
Device Descriptor:

bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0634 Micron Technology, Inc.
idProduct 0x0655
bcdDevice 11.00
iManufacturer 1 Micron Technology
iProduct 2 Real SSD eUSB 4GB
iSerial 3 ECF0042700008939
bNumConfigurations 1
Configuration Descriptor:

bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80

(Bus Powered)

MaxPower 200mA
Interface Descriptor:

bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
Endpoint Descriptor:

bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2

Transfer Type Bulk
Synch Type None
Usage Type Data

wMaxPacketSize 0x0200 1x 512 bytes
bInterval 255

Endpoint Descriptor:

bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2

Transfer Type Bulk
Synch Type None
Usage Type Data

wMaxPacketSize 0x0200 1x 512 bytes
bInterval 255

Device Qualifier (for other device speed):

bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1

Device Status: 0x0000

(Bus Powered)

root@ubuntu:~# /tmp/smartctl /dev/sda
smartctl 5.40 2010-10-16 r3189 [i686-pc-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

/dev/sda: Unknown USB bridge [0x0634:0x0655 (0x1100)]
Smartctl: please specify device type with the -d option.

Use smartctl -h to get a usage summary

root@ubuntu:~# /tmp/smartctl -d scsi -a /dev/sda
smartctl 5.40 2010-10-16 r3189 [i686-pc-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

Device: MICRON eUSB DISK Version: 1100

Terminate command early due to bad response to IEC mode page

A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.

Change History (4)

in reply to:  description comment:1 by Christian Franke, 14 years ago

Component: smartctlall

Replying to tomazbeltram:

The supported SMART commands are described here:

The SMART Command Feature Set
http://www.micron.com/get-document/?documentId=5611

This document describes the standard ATA SMART commands and some of the vendor specific SMART attributes. It does not describe the ATA pass-through SCSI command which is required to access the ATA SMART info of USB devices.

Does smartctl -d sat -a /dev/sda work?

If not we cannot add support for this device unless Micron provides a documentation about the vendor specific ATA pass-through command used by the USB bridge from this SSD.

comment:2 by tomazbeltram, 14 years ago

Does smartctl -d sat -a /dev/sda work?

unfortunately not :(

root@ubuntu:~# /tmp/smartctl -d sat -a /dev/sda
smartctl 5.40 2010-10-16 r3189 [i686-pc-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)

A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.

comment:3 by tomazbeltram, 14 years ago

Resolution: wontfix
Status: newclosed

Please excuse my ignorance, but isn't the ATA pass through public and implemented somewhere in some Linux kernel device driver? Otherwise I agree we'll have to get Micron to publish what they implemented.

in reply to:  3 comment:4 by Christian Franke, 14 years ago

Replying to tomazbeltram:

Please excuse my ignorance, but isn't the ATA pass through public and implemented somewhere in some Linux kernel device driver?

The Linux kernel implements the ATA pass-through commands from SCSI/ATA Translation (SAT) standard.

These commands are also used when smartctl option -d sat or -d sat,12 is specified. If neither of these options work with this device then it may or may not implement some unknown vendor specific pass-through command. The vendor specific commands for Cypress, JMicron, and Sunplus USB bridges are already supported by smartmontools. These vendors provided the specs.

Note: See TracTickets for help on using tickets.