简体   繁体   English

找不到哪个USB端口在最前面

[英]Can't find out which usb port is the one at the front

I have 2 fronta usb plugs but I want to know which ones are so I can turn on or suspend the power of one of them. 我有2个fronta usb插头,但是我想知道是哪个插头,所以我可以打开或暂停其中一个的电源。

the motherboard has 4 back usb plugs at the back and two at the front. 主板的背面有4个USB插头,正面有2个USB插头。

ls /sys/bus/usb/devices/ ls / sys / bus / usb / devices /

1-0:1.0/     1-3.4/       1-3.4.3:1.0/ 1-3.4.4:1.1/ usb2/        
1-3/         1-3.4:1.0/   1-3.4.4/     2-0:1.0/     
1-3:1.0/     1-3.4.3/     1-3.4.4:1.0/ usb1/

您可以运行sudo dmesg ,然后将设备连接到端口

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

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