Bug 196739

Summary: ASM1153 detected as ASM1051 and breaking UAS
Product: Drivers Reporter: Massimo Burcheri (massimo.burcheri)
Component: USBAssignee: Greg Kroah-Hartman (greg)
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.12.0 Subsystem:
Regression: No Bisected commit-id:

Description Massimo Burcheri 2017-08-23 13:59:23 UTC
New device Transcend 25M3 was detected like a ASM1051 breaking the support for UAS as this one is blacklisted. But after contacting the manufacturer claimed this model has a ASM1153 and supported by UASP. So I double checked the chipset on the microscope and it is true, this is a ASM1153.

syslog after attaching:

[kernel] usb 4-2: new SuperSpeed USB device number 4 using xhci_hcd
[kernel] usb 4-2: New USB device found, idVendor=174c, idProduct=5106
[kernel] usb 4-2: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[kernel] usb 4-2: Product: StoreJet Transcend
[kernel] usb 4-2: Manufacturer: StoreJet Transcend
[kernel] usb 4-2: SerialNumber: S36VJ9CH307FOO      
[kernel] usb-storage 4-2:1.0: USB Mass Storage device detected
[kernel] scsi host7: usb-storage 4-2:1.0
[kernel] scsi 7:0:0:0: Direct-Access     StoreJet Transcend        0    PQ: 0 ANSI: 6
[kernel] sd 7:0:0:0: Attached scsi generic sg3 type 0
[kernel] sd 7:0:0:0: [sdd] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[kernel] sd 7:0:0:0: [sdd] Write Protect is off
[kernel] sd 7:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[kernel]  sdd: sdd1
[kernel] sd 7:0:0:0: [sdd] Attached SCSI disk

From lsusb -vv:

Bus 004 Device 005: ID 174c:5106 ASMedia Technology Inc. ASM1051 SATA 3Gb/s bridge
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         9
  idVendor           0x174c ASMedia Technology Inc.
  idProduct          0x5106 ASM1051 SATA 3Gb/s bridge
  bcdDevice           80.00
  iManufacturer           2 StoreJet Transcend
  iProduct                3 StoreJet Transcend
  iSerial                 1 S36VJ9CH307FOO
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           44
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    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
Comment 1 Greg Kroah-Hartman 2017-08-23 23:25:38 UTC
On Wed, Aug 23, 2017 at 01:59:23PM +0000, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=196739
>             Bug ID: 196739
>            Summary: ASM1153 detected as ASM1051 and breaking UAS
>            Product: Drivers
>            Version: 2.5
>     Kernel Version: 4.12.0

All USB bugs should be sent to the linux-usb@vger.kernel.org mailing
list, and not entered into bugzilla.  Please bring this issue up there,
if it is still a problem in the latest kernel release.
Comment 2 Massimo Burcheri 2017-09-08 07:46:02 UTC
Just for completeness: https://www.mail-archive.com/linux-usb@vger.kernel.org/msg93866.html