当前位置:   article > 正文

linux usb网卡支持_Linux中的USB标准和支持

linux usb口支持版本

linux usb网卡支持

The USB standards have evolved to 3.1 and the supported throughput have been increased too. On Linux, the support to USB standards are following the standards development. In this post, we will survey the standards that common hardware support and the support in Linux.

USB标准已经发展到3.1,并且支持的吞吐量也得到了提高。 在Linux上 ,对USB标准的支持正在遵循标准的发展。 在本文中,我们将调查通用硬件支持的标准以及Linux中的支持。

USB标准 (USB standards)

USB 2.0: https://en.wikipedia.org/wiki/USB#USB_2.0

USB 2.0: https//en.wikipedia.org/wiki/USB#USB_2.0

  • Speed: <= 60MB/s, or 480 Mbps

    速度:<= 60MB / s或480 Mbps
  • Availability: I believe almost all modern servers support it.

    可用性:我相信几乎所有现代服务器都支持它。

USB 3.0: https://en.wikipedia.org/wiki/USB_3.0

USB 3.0: https//en.wikipedia.org/wiki/USB_3.0

USB 3.1: https://en.wikipedia.org/wiki/USB_3.1

USB 3.1: https//en.wikipedia.org/wiki/USB_3.1

  • Speed: (Gen2) <= 10 Gbps

    速度:(Gen2)<= 10 Gbps
  • Availability: May be lower than USB 3.0. As the USB storage device and the server mother board and the OS driver should all work well.

    可用性:可能低于USB 3.0。 作为USB存储设备和服务器主板以及OS驱动程序,它们应该都可以正常工作。

Related: identify the type of USB by colors: https://www.geeksinphoenix.com/blog/post/2014/01/12/How-to-tell-what-type-of-USB-connector-you-have-by-color.aspx

相关:通过颜色识别USB类型: https//www.geeksinphoenix.com/blog/post/2014/01/12/How-to-tell-what-type-of-USB-connector-you-have-按色.aspx

USB.png

Linux中的USB stnadards支持 (USB stnadards support in Linux)

In Linux 3.x, USB 3.0 support should be there https://github.com/sarahsharp/xhci . Seems added since 2.6.31 http://www.linux-magazine.com/Online/News/First-Driver-for-USB-3.0 .

Linux 3.x中 ,USB 3.0支持应该在https://github.com/sarahsharp/xhci上自2.6.31开始,似乎已添加http://www.linux-magazine.com/Online/News/First-Driver-for-USB-3.0

For USB 3.1, it may be after 4.6 http://www.theinquirer.net/inquirer/news/2458228/linux-kernel-46-brings-usb-31-support-and-a-new-orangefs-file-system .

对于USB 3.1,可能在4.6 http://www.theinquirer.net/inquirer/news/2458228/linux-kernel-46-brings-usb-31-support-and-a-new-orangefs-file-system之后

一些真实的检查 (Some real checking)

On a PC with CentOS 7:

在装有CentOS 7的PC上:

Both USB 2.0 and USB 3.0 bus/drivers are used

USB 2.0和USB 3.0总线/驱动器均被使用

  1. $dmesg | grep -P "xhci|ehci"
  2. [ 0.491877] xhci_hcd 0000:00:14.0: xHCI Host Controller
  3. [ 0.491899] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
  4. [ 0.492968] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x00009810
  5. [ 0.492972] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
  6. [ 0.492985] xhci_hcd 0000:00:14.0: irq 25 for MSI/MSI-X
  7. [ 0.493032] usb usb1: Manufacturer: Linux 3.10.0-327.36.3.el7.x86_64 xhci-hcd
  8. [ 0.494982] xhci_hcd 0000:00:14.0: xHCI Host Controller
  9. [ 0.495002] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
  10. [ 0.495031] usb usb2: Manufacturer: Linux 3.10.0-327.36.3.el7.x86_64 xhci-hcd
  11. [ 0.501360] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  12. [ 0.501365] ehci-pci: EHCI PCI platform driver
  13. [ 0.501423] ehci-pci 0000:00:1a.0: EHCI Host Controller
  14. [ 0.501447] ehci-pci 0000:00:1a.0: new USB bus registered, assigned bus number 3
  15. [ 0.501457] ehci-pci 0000:00:1a.0: debug port 2
  16. [ 0.505354] ehci-pci 0000:00:1a.0: cache line size of 64 is not supported
  17. [ 0.505364] ehci-pci 0000:00:1a.0: irq 20, io mem 0xf7d1c000
  18. [ 0.511356] ehci-pci 0000:00:1a.0: USB 2.0 started, EHCI 1.00
  19. [ 0.511379] usb usb3: Manufacturer: Linux 3.10.0-327.36.3.el7.x86_64 ehci_hcd
  20. [ 0.511535] ehci-pci 0000:00:1d.0: EHCI Host Controller
  21. [ 0.511558] ehci-pci 0000:00:1d.0: new USB bus registered, assigned bus number 4
  22. [ 0.511566] ehci-pci 0000:00:1d.0: debug port 2
  23. [ 0.515464] ehci-pci 0000:00:1d.0: cache line size of 64 is not supported
  24. [ 0.515473] ehci-pci 0000:00:1d.0: irq 23, io mem 0xf7d1b000
  25. [ 0.521364] ehci-pci 0000:00:1d.0: USB 2.0 started, EHCI 1.00
  26. [ 0.521383] usb usb4: Manufacturer: Linux 3.10.0-327.36.3.el7.x86_64 ehci_hcd
  27. [ 0.813648] usb 3-1: new high-speed USB device number 2 using ehci-pci
  28. [ 0.823644] usb 4-1: new high-speed USB device number 2 using ehci-pci
  29. [ 0.847634] usb 1-5: new low-speed USB device number 2 using xhci_hcd
  30. [ 1.284016] usb 1-6: new low-speed USB device number 3 using xhci_hcd
  31. [ 1.606273] usb 1-12: new high-speed USB device number 4 using xhci_hcd
  32. [16145.244966] usb 1-2: new high-speed USB device number 5 using xhci_hcd
  33. [16341.737992] usb 1-2: new high-speed USB device number 6 using xhci_hcd
  34. [19857.242165] usb 1-2: new high-speed USB device number 7 using xhci_hcd
  35. [19912.856648] usb 1-2: new high-speed USB device number 8 using xhci_hcd
  36. [23640.528415] usb 1-2: new high-speed USB device number 9 using xhci_hcd
  37. [119677.002573] usb 1-2: new high-speed USB device number 10 using xhci_hcd
  38. [180140.108974] usb 1-2: new high-speed USB device number 11 using xhci_hcd
  39. $ uname -a
  40. Linux host1 3.10.0-327.36.3.el7.x86_64 #1 SMP Mon Oct 24 16:09:20 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

On one server with F22, seems there is an USB 3.0 (xHCI) bus identified:

在具有F22的一台服务器上,似乎已识别出USB 3.0(xHCI)总线:

  1. $ lspci | grep USB
  2. 00:14.0 USB controller: Intel Corporation C610/X99 series chipset USB xHCI Host Controller (rev 05)
  3. 00:1a.0 USB controller: Intel Corporation C610/X99 series chipset USB Enhanced Host Controller #2 (rev 05)
  4. 00:1d.0 USB controller: Intel Corporation C610/X99 series chipset USB Enhanced Host Controller #1 (rev 05)
  5. # uname -a
  6. Linux svr1 4.2.8-200.fc22.x86_64 #1 SMP Tue Dec 15 16:50:23 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

On another server with CentOS 7:

在装有CentOS 7的另一台服务器上:

  1. $ lspci | grep USB
  2. 00:14.0 USB controller: Intel Corporation C610/X99 series chipset USB xHCI Host Controller (rev 05)
  3. 00:1a.0 USB controller: Intel Corporation C610/X99 series chipset USB Enhanced Host Controller #2 (rev 05)
  4. 00:1d.0 USB controller: Intel Corporation C610/X99 series chipset USB Enhanced Host Controller #1 (rev 05)
  5. $ uname -a
  6. Linux svr1 3.18.41-20.el7.x86_64 #1 SMP Wed Sep 7 15:49:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

翻译自: https://www.systutorials.com/usb-standards-supports-linux/

linux usb网卡支持

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/神奇cpp/article/detail/991625
推荐阅读
相关标签
  

闽ICP备14008679号