怎麼查看是否一個插入的usb3.0 U盤啓用了UASP功能。


首先你通過設備名找到設備Bus和Device number:

$ lsusb
...
Bus 002 Device 005: ID xxxx:yyyy MyDeviceManufacturer
...

Then look at the USB tree and find your device (mine was Bus 2, Dev 5):

然後查看USB 樹找出想查看的設備:

$ lsusb -t
...
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
    |__ Port 2: Dev 5, If 0, Class=Mass Storage, Driver=uas, 5000M
    |__ Port 4: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
...


從Driver段可以看出是否使用的是uasp,

如果沒啓用,顯示就想上面Dev 3那樣。


如果是arm開發板,可以

cat /sys/kernel/usb/devices

來查看Driver段。


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章