Grant - thanks for the info.
On 2020.10.04 21:41, Grant Edwards wrote:
On 2020-10-05, Jack <[email protected]> wrote:
Still not Gentoo specific, but I'm still trying to figure out if my
motherboard (MSI B350 Tomahawk) is doing something funny with the
USB connections. In theory, there should be USB3 connections both
on the back IO panel and on the front case ports.
I don't know if this is helpful, but I have an MSI B450 Tomahawk Max,
and the USB3.3 headers that I route to front-panel connectors work
fine. I just plugged a USB3 flash drive into one of them:
[299865.738407] usb 2-4: new SuperSpeed Gen 1 USB device number 2
using xhci_hcd
[299865.760045] usb 2-4: New USB device found, idVendor=05dc,
idProduct=a838, bcdDevice=11.00
[299865.760051] usb 2-4: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[299865.760053] usb 2-4: Product: USB Flash Drive
[299865.760056] usb 2-4: Manufacturer: Lexar
[299865.760058] usb 2-4: SerialNumber: AAHDQZ7ENQ3ORRPS
[299865.770842] usb-storage 2-4:1.0: USB Mass Storage device detected
[299865.771034] scsi host9: usb-storage 2-4:1.0
[299867.095086] scsi 9:0:0:0: Direct-Access Lexar USB Flash
Drive 1100 PQ: 0 ANSI: 6
[299867.095310] sd 9:0:0:0: Attached scsi generic sg4 type 0
[299867.095905] sd 9:0:0:0: [sdd] 62517248 512-byte logical blocks:
(32.0 GB/29.8 GiB)
[299867.096389] sd 9:0:0:0: [sdd] Write Protect is off
[299867.096394] sd 9:0:0:0: [sdd] Mode Sense: 43 00 00 00
[299867.096872] sd 9:0:0:0: [sdd] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[299867.112375] sdd: sdd1 sdd2
[299867.114301] sd 9:0:0:0: [sdd] Attached SCSI removable disk
I also have two USB2 connectors on the front panel.
All total, there are
2 x USB2 in back panel
4 x USB3.2 in back panel
4 x USB2 on two dual-port 10-pin headers
2 x USB3.2 on one dual-port 20-pin header
It appears that I have a total of 6 USB hubs on the motherboard:
$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
It looks like you should have two 20-pin USB3 headers on your
motherboard (mine only has 1). Are you sure your front-panel
connectors are plugged into a USB3 header and not one of the 10-pin
USB2 headers?
Front panel is definitely plugged into one of the two USB3 headers.
There are also two USB2 headers, unused.
lsusb -tv shows
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
extracted from dmesg
[ 8.465096] xhci_hcd 0000:03:00.0: xHCI Host Controller
[ 8.465728] xhci_hcd 0000:03:00.0: new USB bus registered, assigned
bus number 1
[ 8.521723] xhci_hcd 0000:03:00.0: hcc params 0x0200ef81 hci version
0x110 quirks 0x0000000048000410
[ 8.523257] usb usb1: New USB device found, idVendor=1d6b,
idProduct=0002, bcdDevice= 5.08
[ 8.523974] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 8.524693] usb usb1: Product: xHCI Host Controller
[ 8.525411] usb usb1: Manufacturer: Linux 5.8.10-gentoo-x86_64-01
xhci-hcd
[ 8.526141] usb usb1: SerialNumber: 0000:03:00.0
[ 8.526931] hub 1-0:1.0: USB hub found
[ 8.527674] hub 1-0:1.0: 10 ports detected
[ 8.528580] xhci_hcd 0000:03:00.0: xHCI Host Controller
[ 8.529307] xhci_hcd 0000:03:00.0: new USB bus registered, assigned
bus number 2
[ 8.530042] xhci_hcd 0000:03:00.0: Host supports USB 3.1 Enhanced
SuperSpeed
[ 8.530809] usb usb2: We don't know the algorithms for LPM for this
host, disabling LPM.
[ 8.531568] usb usb2: New USB device found, idVendor=1d6b,
idProduct=0003, bcdDevice= 5.08
[ 8.532313] usb usb2: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 8.533049] usb usb2: Product: xHCI Host Controller
[ 8.533780] usb usb2: Manufacturer: Linux 5.8.10-gentoo-x86_64-01
xhci-hcd
[ 8.534524] usb usb2: SerialNumber: 0000:03:00.0
[ 8.535329] hub 2-0:1.0: USB hub found
[ 8.536081] hub 2-0:1.0: 4 ports detected
[ 8.536954] xhci_hcd 0000:1d:00.3: xHCI Host Controller
[ 8.537710] xhci_hcd 0000:1d:00.3: new USB bus registered, assigned
bus number 3
[ 8.538558] xhci_hcd 0000:1d:00.3: hcc params 0x0270f665 hci version
0x100 quirks 0x0000000000000410
[ 8.539440] usb usb3: New USB device found, idVendor=1d6b,
idProduct=0002, bcdDevice= 5.08
[ 8.540200] usb usb3: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 8.540954] usb usb3: Product: xHCI Host Controller
[ 8.541701] usb usb3: Manufacturer: Linux 5.8.10-gentoo-x86_64-01
xhci-hcd
[ 8.542449] usb usb3: SerialNumber: 0000:1d:00.3
[ 8.543252] hub 3-0:1.0: USB hub found
[ 8.543981] hub 3-0:1.0: 4 ports detected
[ 8.544894] xhci_hcd 0000:1d:00.3: xHCI Host Controller
[ 8.545636] xhci_hcd 0000:1d:00.3: new USB bus registered, assigned
bus number 4
[ 8.546389] xhci_hcd 0000:1d:00.3: Host supports USB 3.0 SuperSpeed
[ 8.547153] usb usb4: We don't know the algorithms for LPM for this
host, disabling LPM.
[ 8.547939] usb usb4: New USB device found, idVendor=1d6b,
idProduct=0003, bcdDevice= 5.08
[ 8.548730] usb usb4: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 8.549531] usb usb4: Product: xHCI Host Controller
[ 8.550322] usb usb4: Manufacturer: Linux 5.8.10-gentoo-x86_64-01
xhci-hcd
[ 8.551126] usb usb4: SerialNumber: 0000:1d:00.3
[ 8.551986] hub 4-0:1.0: USB hub found
[ 8.552793] hub 4-0:1.0: 4 ports detected
I'm curious about the pairing by PCI device - it's not clear if the
every root_hub is a real controller, or not. The specs of the board
say USB2: two ports on the back and two USB2 headers (so I don't know
why it claims 10 ports instead of 6) and USB3: three type A and one
Type C ports on the back. Bus 2 is a bit of a mystery, as although the
B350 chipset presumably does have an enhanced superspeed (3.1)
controller, it is not available through the motherboard. If bus 3 is
the unavailable 3.1 controller, then is bus 1 driven by the CPU or the
chipset, and where is the other one? So far, anything plugged into any
of the front ports or rear USB2 ports shows up on bus 1, and anything
plugged into the rear USB3 ports shows up on bus 3. I think my new USB
flash drive is really USB2 and not USB3 as advertised.
Later, I'll reboot into Windows to see what that shows, as MSI tech
support refuses to talk about Linux.
Jack