Bus 002 Device 004: ID 0bc2:2322 Seagate RSS LLC
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0bc2 Seagate RSS LLC
idProduct 0x2322
bcdDevice 0.00
iManufacturer 2 Seagate
iProduct 3 Expansion
iSerial 1 NA86BMN6
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 85
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
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 0
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 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 4
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 98
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 0
Data-in pipe (0x03)
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 0
Data-out pipe (0x04)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Status pipe (0x02)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Command pipe (0x01)
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 22
bNumDeviceCaps 2
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x0000f41e
BESL Link Power Management (LPM) Supported
BESL value 1024 us
Deep BESL value 61440 us
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x00
wSpeedsSupported 0x000e
Device can operate at Full Speed (12Mbps)
Device can operate at High Speed (480Mbps)
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 1
Lowest fully-functional device speed is Full Speed (12Mbps)
bU1DevExitLat 10 micro seconds
bU2DevExitLat 2047 micro seconds
Device Status: 0x0000
(Bus Powered)
On Sun, Apr 2, 2017 at 5:45 PM, Alan Stern <[email protected]> wrote:
> On Sun, 2 Apr 2017, Guan Xin wrote:
>
>> When used through a USB-SATA bridge, disk capacity and optimal IO size
>> are reported one sector too less. e.g.,
>>
>> with USB-SATA bridge:
>>
>> dmesg:
>> [ 4542.387857] usb 3-1.2: Product: Expansion
>> [ 4542.387871] usb 3-1.2: Manufacturer: Seagate
>> [ 4542.387874] usb 3-1.2: SerialNumber: ********
>> [ 4542.439329] usbcore: registered new interface driver usb-storage
>> [ 4542.441451] scsi host8: uas
>> [ 4542.442730] scsi 8:0:0:0: Direct-Access Seagate Expansion
>> 9300 PQ: 0 ANSI: 6
>> [ 4542.444403] usbcore: registered new interface driver uas
>> [ 4542.444635] sd 8:0:0:0: [sdd] Spinning up disk...
>> [ 4543.445400] .....ready
>> [ 4547.458954] sd 8:0:0:0: [sdd] 7814037167 512-byte logical blocks:
>> (4.00 TB/3.64 TiB)
>>
>> fdisk -l:
>> Disk /dev/sdd: 3.7 TiB, 4000787029504 bytes, 7814037167 sectors
>> Units: sectors of 1 * 512 = 512 bytes
>> Sector size (logical/physical): 512 bytes / 4096 bytes
>> I/O size (minimum/optimal): 4096 bytes / 33553920 bytes
>>
>> where the disk size is reported as 7814037168-1 sectors, optimal IO
>> size is 32M-512 bytes.
>>
>>
>> When connected to an SATA port directly:
>>
>> dmesg:
>> [ 1.640249] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
>> [ 1.643872] ata2.00: ATA-10: ST4000LM024-2AN17V, 0001, max UDMA/133
>> [ 1.644000] ata2.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth
>> 31/32), AA
>>
>> fdisk -l:
>> Disk /dev/sdb: 4000.8 GB, 4000787030016 bytes
>> 255 heads, 63 sectors/track, 486401 cylinders, total 7814037168 sectors
>> Units = sectors of 1 * 512 = 512 bytes
>> Sector size (logical/physical): 512 bytes / 4096 bytes
>> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
>>
>> The disk capacity, 7814037168 sectors, and optimal IO size of 4k bytes
>> look reasonable.
>>
>> Related bug report:
>> https://bugzilla.kernel.org/show_bug.cgi?id=195219
>
> What does the output from "lsusb -v" show for this drive?
>
> Alan Stern
>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html