1 |
Grant - thanks for the info. |
2 |
|
3 |
On 2020.10.04 21:41, Grant Edwards wrote: |
4 |
> On 2020-10-05, Jack <ostroffjh@×××××××××××××××××.net> wrote: |
5 |
> |
6 |
>> Still not Gentoo specific, but I'm still trying to figure out if my |
7 |
>> motherboard (MSI B350 Tomahawk) is doing something funny with the |
8 |
>> USB connections. In theory, there should be USB3 connections both |
9 |
>> on the back IO panel and on the front case ports. |
10 |
> I don't know if this is helpful, but I have an MSI B450 Tomahawk Max, |
11 |
> and the USB3.3 headers that I route to front-panel connectors work |
12 |
> fine. I just plugged a USB3 flash drive into one of them: |
13 |
> |
14 |
> [299865.738407] usb 2-4: new SuperSpeed Gen 1 USB device number 2 |
15 |
> using xhci_hcd |
16 |
> [299865.760045] usb 2-4: New USB device found, idVendor=05dc, |
17 |
> idProduct=a838, bcdDevice=11.00 |
18 |
> [299865.760051] usb 2-4: New USB device strings: Mfr=1, Product=2, |
19 |
> SerialNumber=3 |
20 |
> [299865.760053] usb 2-4: Product: USB Flash Drive |
21 |
> [299865.760056] usb 2-4: Manufacturer: Lexar |
22 |
> [299865.760058] usb 2-4: SerialNumber: AAHDQZ7ENQ3ORRPS |
23 |
> [299865.770842] usb-storage 2-4:1.0: USB Mass Storage device detected |
24 |
> [299865.771034] scsi host9: usb-storage 2-4:1.0 |
25 |
> [299867.095086] scsi 9:0:0:0: Direct-Access Lexar USB Flash |
26 |
> Drive 1100 PQ: 0 ANSI: 6 |
27 |
> [299867.095310] sd 9:0:0:0: Attached scsi generic sg4 type 0 |
28 |
> [299867.095905] sd 9:0:0:0: [sdd] 62517248 512-byte logical blocks: |
29 |
> (32.0 GB/29.8 GiB) |
30 |
> [299867.096389] sd 9:0:0:0: [sdd] Write Protect is off |
31 |
> [299867.096394] sd 9:0:0:0: [sdd] Mode Sense: 43 00 00 00 |
32 |
> [299867.096872] sd 9:0:0:0: [sdd] Write cache: enabled, read cache: |
33 |
> enabled, doesn't support DPO or FUA |
34 |
> [299867.112375] sdd: sdd1 sdd2 |
35 |
> [299867.114301] sd 9:0:0:0: [sdd] Attached SCSI removable disk |
36 |
> |
37 |
> I also have two USB2 connectors on the front panel. |
38 |
> |
39 |
> All total, there are |
40 |
> |
41 |
> 2 x USB2 in back panel |
42 |
> 4 x USB3.2 in back panel |
43 |
> |
44 |
> 4 x USB2 on two dual-port 10-pin headers |
45 |
> 2 x USB3.2 on one dual-port 20-pin header |
46 |
> |
47 |
> It appears that I have a total of 6 USB hubs on the motherboard: |
48 |
> |
49 |
> $ lsusb |
50 |
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub |
51 |
> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub |
52 |
> Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub |
53 |
> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub |
54 |
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub |
55 |
> Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub |
56 |
> |
57 |
> It looks like you should have two 20-pin USB3 headers on your |
58 |
> motherboard (mine only has 1). Are you sure your front-panel |
59 |
> connectors are plugged into a USB3 header and not one of the 10-pin |
60 |
> USB2 headers? |
61 |
Front panel is definitely plugged into one of the two USB3 headers. |
62 |
There are also two USB2 headers, unused. |
63 |
|
64 |
lsusb -tv shows |
65 |
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M |
66 |
ID 1d6b:0003 Linux Foundation 3.0 root hub |
67 |
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M |
68 |
ID 1d6b:0002 Linux Foundation 2.0 root hub |
69 |
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M |
70 |
ID 1d6b:0003 Linux Foundation 3.0 root hub |
71 |
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 480M |
72 |
ID 1d6b:0002 Linux Foundation 2.0 root hub |
73 |
|
74 |
extracted from dmesg |
75 |
[ 8.465096] xhci_hcd 0000:03:00.0: xHCI Host Controller |
76 |
[ 8.465728] xhci_hcd 0000:03:00.0: new USB bus registered, assigned |
77 |
bus number 1 |
78 |
[ 8.521723] xhci_hcd 0000:03:00.0: hcc params 0x0200ef81 hci version |
79 |
0x110 quirks 0x0000000048000410 |
80 |
[ 8.523257] usb usb1: New USB device found, idVendor=1d6b, |
81 |
idProduct=0002, bcdDevice= 5.08 |
82 |
[ 8.523974] usb usb1: New USB device strings: Mfr=3, Product=2, |
83 |
SerialNumber=1 |
84 |
[ 8.524693] usb usb1: Product: xHCI Host Controller |
85 |
[ 8.525411] usb usb1: Manufacturer: Linux 5.8.10-gentoo-x86_64-01 |
86 |
xhci-hcd |
87 |
[ 8.526141] usb usb1: SerialNumber: 0000:03:00.0 |
88 |
[ 8.526931] hub 1-0:1.0: USB hub found |
89 |
[ 8.527674] hub 1-0:1.0: 10 ports detected |
90 |
|
91 |
[ 8.528580] xhci_hcd 0000:03:00.0: xHCI Host Controller |
92 |
[ 8.529307] xhci_hcd 0000:03:00.0: new USB bus registered, assigned |
93 |
bus number 2 |
94 |
[ 8.530042] xhci_hcd 0000:03:00.0: Host supports USB 3.1 Enhanced |
95 |
SuperSpeed |
96 |
[ 8.530809] usb usb2: We don't know the algorithms for LPM for this |
97 |
host, disabling LPM. |
98 |
[ 8.531568] usb usb2: New USB device found, idVendor=1d6b, |
99 |
idProduct=0003, bcdDevice= 5.08 |
100 |
[ 8.532313] usb usb2: New USB device strings: Mfr=3, Product=2, |
101 |
SerialNumber=1 |
102 |
[ 8.533049] usb usb2: Product: xHCI Host Controller |
103 |
[ 8.533780] usb usb2: Manufacturer: Linux 5.8.10-gentoo-x86_64-01 |
104 |
xhci-hcd |
105 |
[ 8.534524] usb usb2: SerialNumber: 0000:03:00.0 |
106 |
[ 8.535329] hub 2-0:1.0: USB hub found |
107 |
[ 8.536081] hub 2-0:1.0: 4 ports detected |
108 |
|
109 |
[ 8.536954] xhci_hcd 0000:1d:00.3: xHCI Host Controller |
110 |
[ 8.537710] xhci_hcd 0000:1d:00.3: new USB bus registered, assigned |
111 |
bus number 3 |
112 |
[ 8.538558] xhci_hcd 0000:1d:00.3: hcc params 0x0270f665 hci version |
113 |
0x100 quirks 0x0000000000000410 |
114 |
[ 8.539440] usb usb3: New USB device found, idVendor=1d6b, |
115 |
idProduct=0002, bcdDevice= 5.08 |
116 |
[ 8.540200] usb usb3: New USB device strings: Mfr=3, Product=2, |
117 |
SerialNumber=1 |
118 |
[ 8.540954] usb usb3: Product: xHCI Host Controller |
119 |
[ 8.541701] usb usb3: Manufacturer: Linux 5.8.10-gentoo-x86_64-01 |
120 |
xhci-hcd |
121 |
[ 8.542449] usb usb3: SerialNumber: 0000:1d:00.3 |
122 |
[ 8.543252] hub 3-0:1.0: USB hub found |
123 |
[ 8.543981] hub 3-0:1.0: 4 ports detected |
124 |
|
125 |
[ 8.544894] xhci_hcd 0000:1d:00.3: xHCI Host Controller |
126 |
[ 8.545636] xhci_hcd 0000:1d:00.3: new USB bus registered, assigned |
127 |
bus number 4 |
128 |
[ 8.546389] xhci_hcd 0000:1d:00.3: Host supports USB 3.0 SuperSpeed |
129 |
[ 8.547153] usb usb4: We don't know the algorithms for LPM for this |
130 |
host, disabling LPM. |
131 |
[ 8.547939] usb usb4: New USB device found, idVendor=1d6b, |
132 |
idProduct=0003, bcdDevice= 5.08 |
133 |
[ 8.548730] usb usb4: New USB device strings: Mfr=3, Product=2, |
134 |
SerialNumber=1 |
135 |
[ 8.549531] usb usb4: Product: xHCI Host Controller |
136 |
[ 8.550322] usb usb4: Manufacturer: Linux 5.8.10-gentoo-x86_64-01 |
137 |
xhci-hcd |
138 |
[ 8.551126] usb usb4: SerialNumber: 0000:1d:00.3 |
139 |
[ 8.551986] hub 4-0:1.0: USB hub found |
140 |
[ 8.552793] hub 4-0:1.0: 4 ports detected |
141 |
|
142 |
I'm curious about the pairing by PCI device - it's not clear if the |
143 |
every root_hub is a real controller, or not. The specs of the board |
144 |
say USB2: two ports on the back and two USB2 headers (so I don't know |
145 |
why it claims 10 ports instead of 6) and USB3: three type A and one |
146 |
Type C ports on the back. Bus 2 is a bit of a mystery, as although the |
147 |
B350 chipset presumably does have an enhanced superspeed (3.1) |
148 |
controller, it is not available through the motherboard. If bus 3 is |
149 |
the unavailable 3.1 controller, then is bus 1 driven by the CPU or the |
150 |
chipset, and where is the other one? So far, anything plugged into any |
151 |
of the front ports or rear USB2 ports shows up on bus 1, and anything |
152 |
plugged into the rear USB3 ports shows up on bus 3. I think my new USB |
153 |
flash drive is really USB2 and not USB3 as advertised. |
154 |
|
155 |
Later, I'll reboot into Windows to see what that shows, as MSI tech |
156 |
support refuses to talk about Linux. |
157 |
|
158 |
Jack |