简体   繁体   English

如何在Linux中设置USB设备的总线号

[英]How to set bus number of usb device in linux

I have two Logitech webcams, when I plug them in any of the usb ports of my Intel NUC they always end up on bus 002. This is a problem because bus 002 does not have enough bandwidth to support two webcams at high frame rates. 我有两个Logitech网络摄像头,当我将它们插入我的Intel NUC的任何usb端口时,它们总是以总线002结尾。这是一个问题,因为总线002没有足够的带宽来支持两个高网络速率的网络摄像头。

Is there a way to force one of the webcams onto a different bus? 有没有一种方法可以将一个网络摄像头强制插入另一条总线?

When I plug in other usb devices they end up on bus 001. This indicates that the bus selection is not defined by the usb port but by the driver or some magic inside the usb controller? 当我插入其他USB设备时,它们最终连接在总线001上。这表明总线选择不是由USB端口定义的,而是由驱动程序或USB控制器内部的某种魔法定义的? Is there a way to influence this behavior? 有没有办法影响这种行为?

Ok I found a solution. 好的,我找到了解决方案。 The busses are used for different usb speeds. 总线用于不同的USB速度。 Super speed devices always end up on bus 002 while everything else ends up on bus 001. So to force an usb3.0 device on bus 001 I have to turn it into a usb2.0 device. 超高速设备总是在总线002上终止,而其他所有设备都在总线001上终止。因此,要在总线001上强制使用usb3.0设备,我必须将其转换为usb2.0设备。 This is done by connecting a usb2.0 hub inbetween the usb3.0 device and the usb port :-) Hacky but works. 这是通过在usb3.0设备和usb端口之间连接一个usb2.0集线器来完成的:-) Hacky,但可以。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM