View previous topic :: View next topic |
Author |
Message |
Chili0_ n00b
Joined: 09 Oct 2017 Posts: 71
|
Posted: Sat May 29, 2021 12:29 pm Post subject: [Solved]Intel C260 USB controller should have usb 3.0 |
|
|
To use my Mac mini (late 2012) as a gateway, I bought a TP-Link UE300 usb network adapter, which support 1000Mbit/s on usb3.0.
1. From https://support.apple.com/kb/sp659?locale=en_US , the Mac mini has four USB3.0 port, but I only got 100Mbit/s speed.
2. From https://support.lenovo.com/za/pt/downloads/ds029189, I confirmed the Intel C216 support USB 3.0
Thanks.
Code: | $ lspci
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
01:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM57766 Gigabit Ethernet PCIe (rev 01)
01:00.1 SD Host controller: Broadcom Inc. and subsidiaries BCM57765/57785 SDXC/MMC Card Reader (rev 01)
02:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4331 802.11a/b/g/n (rev 02)
03:00.0 FireWire (IEEE 1394): LSI Corporation FW643 [TrueFire] PCIe 1394b Controller (rev 08)
04:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
05:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
05:03.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
05:04.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
05:05.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
05:06.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
|
Code: | $ lsusb
Bus 004 Device 004: ID 2357:0601 TP-Link UE300 10/100/1000 LAN (ethernet mode) [Realtek RTL8153]
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 008: ID 05ac:828a Apple, Inc. Bluetooth USB Host Controller
Bus 002 Device 004: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 005: ID 05ac:8242 Apple, Inc. Built-in IR Receiver
Bus 002 Device 003: ID 0424:2512 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
|
Last edited by Chili0_ on Mon May 31, 2021 1:40 am; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Sat May 29, 2021 12:57 pm Post subject: |
|
|
Chili0_,
Your USB controllers are
Code: | 00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04) |
Only the first one is USB3 capable. Sorting your lsusb output we see
Code: | Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 004: ID 2357:0601 TP-Link UE300 10/100/1000 LAN (ethernet mode) [Realtek RTL8153] |
The TP-Link UE300 is the only device on USB3, so that's encouraging.
Does your kernel support USB3?
Code: | $ grep XHCI /usr/src/linux/.config
CONFIG_USB_XHCI_HCD=y
CONFIG_USB_XHCI_PCI=y | both are required but =m is OK too.
USB2 can support 100Mb/sec Ethernet too, so the above are required but not sufficient.
The output of dmesg would be good, on a pastebin. It won't fit into a post.
If the USB end is OK, we need to look at the Ethernet end. It may have negotiated a 100MBbit link.
dmesg will show that too. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2963 Location: Edge of marsh USA
|
Posted: Sun May 30, 2021 2:11 am Post subject: |
|
|
In my experience, that TP-Link USB NIC doesn't benefit from USB 3.0. I get effectively the same speed on USB 2.0 and USB 3.0 port. I've only used this NIC in a pinch and it met my short-term needs so I didn't pursue the apparenty shortcoming. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
Chili0_ n00b
Joined: 09 Oct 2017 Posts: 71
|
Posted: Mon May 31, 2021 1:35 am Post subject: |
|
|
NeddySeagoon, figueroa
Thanks for your time.
I just notice there is only one usb3.0 port , Bus 004.
Code: | ~ $ lsusb
Bus 004 Device 002: ID 2357:0601 TP-Link UE300 10/100/1000 LAN (ethernet mode) [Realtek RTL8153
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
|
Now I got 1000Mbit/s speed. BTW, my kernel version is 5.10.27-gentoo
Code: |
~ $ ethtool eth1
Settings for eth1:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Link partner advertised pause frame use: Symmetric
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Auto-negotiation: on
Port: MII
PHYAD: 32
Transceiver: internal
netlink error: Operation not permitted
Current message level: 0x00007fff (32767)
drv probe link timer ifdown ifup rx_err tx_err tx _queued intr tx_done rx_status pktdata hw wol
Link detected: yes
|
|
|
Back to top |
|
|
Chili0_ n00b
Joined: 09 Oct 2017 Posts: 71
|
Posted: Thu Jun 03, 2021 1:06 am Post subject: |
|
|
figueroa wrote: | In my experience, that TP-Link USB NIC doesn't benefit from USB 3.0. I get effectively the same speed on USB 2.0 and USB 3.0 port. I've only used this NIC in a pinch and it met my short-term needs so I didn't pursue the apparenty shortcoming. |
Yes, I found sometimes TP-Link UE300 NiC drop down to 100Mb/s sometimes 1000Mb/s, not reliable. If I force to set 1000M with ethtool, the network will have problem. _________________ Regards. |
|
Back to top |
|
|
|