LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-06-2021, 04:15 PM   #1
bubbagump
LQ Newbie
 
Registered: Mar 2021
Posts: 8

Rep: Reputation: Disabled
USB 3 not working in Debian


No matter what I do can't get my drives working at USB3 speeds. Everything looks right, so I am hoping some other eyes can give me some hints.

Code:
 # lsusb
    Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 004: ID 1058:25a3 Western Digital Technologies, Inc. Elements Desktop (WDBWLG)
    Bus 001 Device 003: ID 04e8:61f5 Samsung Electronics Co., Ltd Portable SSD T5
    Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 002 Device 002: ID 1a2c:4324 China Resource Semico Co., Ltd 
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
It shows the USB 3.0 hub

Code:
 # lsusb -t
    /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
        |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
    /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
    /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
        |__ Port 2: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 2: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
    /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
        |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
            |__ Port 3: Dev 3, If 0, Class=Mass Storage, Driver=uas, 480M
            |__ Port 4: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 480M
dmesg shows me

Code:
 [    1.590707] hub 2-0:1.0: USB hub found
    [    1.590722] hub 2-0:1.0: 4 ports detected
    [    1.591497] xhci_hcd 0000:00:14.0: xHCI Host Controller
    [    1.591503] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 3
    [    1.591507] xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed
    [    1.591526] ehci-pci 0000:00:1d.0: EHCI Host Controller
    [    1.591578] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
    [    1.591580] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.591582] usb usb3: Product: xHCI Host Controller
    [    1.591584] usb usb3: Manufacturer: Linux 5.4.101-1-pve xhci-hcd
    [    1.591586] usb usb3: SerialNumber: 0000:00:14.0
Finally lsusb -D

Code:
Device: ID 04e8:61f5 Samsung Electronics Co., Ltd Portable SSD T5
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            0
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x04e8 Samsung Electronics Co., Ltd
  idProduct          0x61f5 Portable SSD T5
  bcdDevice            1.00
  iManufacturer           2 Samsung
  iProduct                3 Portable SSD T5
  iSerial                 1 123456853951
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0055
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    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       0x002a
  bNumDeviceCaps          3
  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
  SuperSpeedPlus USB Device Capability:
    bLength                20
    bDescriptorType        16
    bDevCapabilityType     10
    bmAttributes         0x00000001
      Sublink Speed Attribute count 1
      Sublink Speed ID count 0
    wFunctionalitySupport   0x1100
    bmSublinkSpeedAttr[0]   0x000a4030
      Speed Attribute ID: 0 10Gb/s Symmetric RX SuperSpeedPlus
    bmSublinkSpeedAttr[1]   0x000a40b0
      Speed Attribute ID: 0 10Gb/s Symmetric TX SuperSpeedPlus
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0000
  (Bus Powered)
I have tried plugging in every port and I only get USB2. What am I missing? Jumpers? The controller is there but some option is not enabled? I'm baffled. This is Debian 10 (Proxmox technically) on the stable branch updated to latest/greatest. Thanks all!
 
Old 03-07-2021, 02:03 AM   #2
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
My understanding..
The external (USB)SSD is USB3 specification https://www.samsung.com/semiconducto...v01_German.pdf
The PC connection is USB3.0
according samsung manual, uas (or uasp) should be loaded.
Quote:
usb-devices | awk -v RS="\n\n" '/04e8/'
should show "Driver=uas" Is this the case?
Quote:
lsmod | grep uas
should show it exist
 
Old 03-07-2021, 02:12 AM   #3
lvm_
Member
 
Registered: Jul 2020
Posts: 926

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
lsusb -t output shows USB3 hub on bus 03 but you drives are attached to bus 01, so you do have USB3, you just haven't found it yet. Keep on looking. Consult you mobo manual, locate USB3 connector and make sure there is a cable attached to it leading to USB3 port on the case.
 
Old 03-07-2021, 05:20 AM   #4
bubbagump
LQ Newbie
 
Registered: Mar 2021
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by lvm_ View Post
lsusb -t output shows USB3 hub on bus 03 but you drives are attached to bus 01, so you do have USB3, you just haven't found it yet. Keep on looking. Consult you mobo manual, locate USB3 connector and make sure there is a cable attached to it leading to USB3 port on the case.
This is hugely useful. I wasn’t sure if the bus ID was a physical thing or a wired in parallel logical thing and who ever negotiated the connection took over.

All ports are soldered to the board, so I’m going to guess this is a dip switch/jumper/BIOS thing I haven’t found yet. At least I know it’s not a software deal and I can focus elsewhere. Thanks!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB portable hard drive is working, USB mouse and keyboard are not working. mehh Linux - Hardware 5 02-19-2021 12:23 AM
LXer: USB 2.0, USB 3.0 And USB Type C – USB Ports Explained LXer Syndicated Linux News 0 11-29-2017 03:40 PM
Intel sound not working, usb modem not working. siriusb Linux - Hardware 8 03-04-2006 10:16 PM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration