linux – 如何确定USB版本1.1或2.0

前端之家收集整理的这篇文章主要介绍了linux – 如何确定USB版本1.1或2.0前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我有一个附带USB存储的ubuntu服务器9.10系统.

它非常非常慢.是否有命令来测试它是1.1还是2.0 usb?

我该怎么知道?

谢谢你的帮助!

解决方法

插入你的设备,然后看到syslog:

$tail -n 2 /var/log/syslog
Dec 22 17:25:14 localhost kernel: [73348.931267] usb 2-3: new high speed USB device using ehci_hcd and address 13
Dec 22 17:25:14 localhost kernel: [73349.084555] usb 2-3: configuration #1 chosen from 3 choices

注意那里的设备总线ID:usb 2-3.
现在获取版本:

$cat /sys/bus/usb/devices/2-3/version
2.00

干杯! 原文链接:https://www.f2er.com/linux/401956.html

猜你在找的Linux相关文章