Multiple drives on JMS56x-based sata-usb docking station.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everybody,

I just bought an Inateck FD2003 docking station which is based on a JMicron "JMS56x Series" controller (152d:1567).

This docking station can host two sata drives. It works perfectly when one drive is inserted (in whathever slot), but if I try to use two drives together, only the one placed in slot #1 is seen.

I thought it was a problem of the docking station but then I tried to reboot in Windows 7 that came with the laptop and there I could see both drives.

I tried to power up the docking station with both drives in, with one drive and then hotplugging the other, and vice versa, but results are the same. Whenever I plug or unplug a drive, the kernel says the usb device was disconnected, and later reconnected. This happens also if I unplug the drive that is not detected: if I have both drives inserted the system sees drive #1, if then I remove drive 2 the kernel says the device was disconnected, and after some seconds it is detected as reconnected.

My laptop has an usb2 controller though the device is usb3, my os is Fedora 22 with kernel 4.0.8-300.fc22.x86_64.

Here is some information:

Dmesg when the docking station is powered up, with both drives inserted (but only sdb is detected)
----8<---------------------------------------------------------------
[ 4664.023187] usb 2-2: new high-speed USB device number 6 using ehci-pci
[ 4664.220239] usb 2-2: New USB device found, idVendor=152d, idProduct=1567
[ 4664.220251] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 4664.220259] usb 2-2: Product: JMS56x Series
[ 4664.220266] usb 2-2: Manufacturer: JMicron
[ 4664.220272] usb 2-2: SerialNumber: DB9876543211166
[ 4664.270949] usbcore: registered new interface driver usb-storage
[ 4664.277420] scsi host9: uas
[ 4664.277586] usbcore: registered new interface driver uas
[ 4664.278759] scsi 9:0:0:0: Direct-Access Inateck 0101 PQ: 0 ANSI: 6
[ 4664.280601] sd 9:0:0:0: Attached scsi generic sg1 type 0
[ 4664.281232] sd 9:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[ 4664.283730] sd 9:0:0:0: [sdb] Write Protect is off
[ 4664.283739] sd 9:0:0:0: [sdb] Mode Sense: 67 00 10 08
[ 4664.284729] sd 9:0:0:0: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 4664.343157]  sdb: sdb1 sdb9
[ 4664.348352] sd 9:0:0:0: [sdb] Attached SCSI disk
----8<---------------------------------------------------------------


This is lsusb -v
----8<---------------------------------------------------------------
Bus 002 Device 006: ID 152d:1567 JMicron Technology Corp. / JMicron USA Technology Corp.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x152d JMicron Technology Corp. / JMicron USA Technology Corp.
  idProduct          0x1567
  bcdDevice            1.01
  iManufacturer           1 JMicron
  iProduct                2 JMS56x Series
  iSerial                 5 DB9876543211166
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           85
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4 USB Mass Storage
    bmAttributes         0xc0
      Self Powered
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              6 MSC Bulk-Only Transfer
      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             10 MSC BOT/UAS Transfer
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
        Command pipe (0x01)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 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     0x83  EP 3 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     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
        Data-out pipe (0x04)
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   0x00000f0e
      Link Power Management (LPM) Supported
  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          32 micro seconds
Device Status:     0x0001
  Self Powered
----8<---------------------------------------------------------------


Dmesg when drive #2 (the "invisible one") is unplugged:
As you can see it takes some time from disconnection to reconnection
----8<---------------------------------------------------------------
[ 5708.146219] usb 2-2: USB disconnect, device number 6
[ 5708.152406] sd 9:0:0:0: [sdb] Synchronizing SCSI cache
[ 5708.242087] sd 9:0:0:0: [sdb] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[ 5719.589182] usb 2-2: new high-speed USB device number 7 using ehci-pci
[ 5719.788493] usb 2-2: New USB device found, idVendor=152d, idProduct=1567
[ 5719.788502] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 5719.788507] usb 2-2: Product: JMS56x Series
[ 5719.788511] usb 2-2: Manufacturer: JMicron
[ 5719.788516] usb 2-2: SerialNumber: DB9876543211166
[ 5719.791481] scsi host10: uas
[ 5719.793081] scsi 10:0:0:0: Direct-Access Inateck 0101 PQ: 0 ANSI: 6
[ 5719.795129] sd 10:0:0:0: Attached scsi generic sg1 type 0
[ 5719.795727] sd 10:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[ 5719.798751] sd 10:0:0:0: [sdb] Write Protect is off
[ 5719.798760] sd 10:0:0:0: [sdb] Mode Sense: 67 00 10 08
[ 5719.800233] sd 10:0:0:0: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 5719.867792]  sdb: sdb1 sdb9
[ 5719.873986] sd 10:0:0:0: [sdb] Attached SCSI disk
----8<---------------------------------------------------------------


Dmesg when drive #2 is plugged again:
----8<---------------------------------------------------------------
[ 5878.338737] usb 2-2: USB disconnect, device number 7
[ 5878.340060] sd 10:0:0:0: [sdb] Synchronizing SCSI cache
[ 5878.427077] sd 10:0:0:0: [sdb] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[ 5886.991099] usb 2-2: new high-speed USB device number 8 using ehci-pci
[ 5887.189360] usb 2-2: New USB device found, idVendor=152d, idProduct=1567
[ 5887.189372] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 5887.189380] usb 2-2: Product: JMS56x Series
[ 5887.189387] usb 2-2: Manufacturer: JMicron
[ 5887.189393] usb 2-2: SerialNumber: DB9876543211166
[ 5887.193519] scsi host11: uas
[ 5887.195605] scsi 11:0:0:0: Direct-Access Inateck 0101 PQ: 0 ANSI: 6
[ 5887.197751] sd 11:0:0:0: Attached scsi generic sg1 type 0
[ 5887.198338] sd 11:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[ 5887.200836] sd 11:0:0:0: [sdb] Write Protect is off
[ 5887.200844] sd 11:0:0:0: [sdb] Mode Sense: 67 00 10 08
[ 5887.202090] sd 11:0:0:0: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 5887.287164]  sdb: sdb1 sdb9
[ 5887.292840] sd 11:0:0:0: [sdb] Attached SCSI disk
----8<---------------------------------------------------------------


If I remove drive #1, the usual disconnect/reconnect happens, but this time sdb is drive #2
----8<---------------------------------------------------------------
[ 5959.037129] usb 2-2: USB disconnect, device number 8
[ 5959.040910] sd 11:0:0:0: [sdb] Synchronizing SCSI cache
[ 5959.130081] sd 11:0:0:0: [sdb] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[ 5971.284289] usb 2-2: new high-speed USB device number 9 using ehci-pci
[ 5971.482216] usb 2-2: New USB device found, idVendor=152d, idProduct=1567
[ 5971.482228] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 5971.482236] usb 2-2: Product: JMS56x Series
[ 5971.482243] usb 2-2: Manufacturer: JMicron
[ 5971.482249] usb 2-2: SerialNumber: DB9876543211166
[ 5971.486274] scsi host12: uas
[ 5971.488406] scsi 12:0:0:0: Direct-Access Inateck 0101 PQ: 0 ANSI: 6
[ 5971.490328] sd 12:0:0:0: Attached scsi generic sg1 type 0
[ 5971.491238] sd 12:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[ 5971.493894] sd 12:0:0:0: [sdb] Write Protect is off
[ 5971.493903] sd 12:0:0:0: [sdb] Mode Sense: 67 00 10 08
[ 5971.495019] sd 12:0:0:0: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 5971.542937]  sdb: sdb1 sdb2 sdb3
[ 5971.605270] sd 12:0:0:0: [sdb] Attached SCSI disk
----8<---------------------------------------------------------------

Does someone have some hints? I tried to blacklist uas just to see if something changed, but it did not (except that module uas was not being loaded anymore).

Thanks,
Giulio
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux