启动时usbview错误

Met*_*ils 6 usb

usbview在尝试启动程序后收到此消息错误消息时,我正在尝试使用该程序:

Verify that you have USB compiled into your kernel, 
have the USB core modules loaded, and have the 
usbdevfs filesystem mounted. 
Run Code Online (Sandbox Code Playgroud)

在此之后,它或多或少取决于用户,所以我真的不知道该怎么办?

Vol*_*gel 9

您需要以 root 身份运行该程序。

在文本终端/shell 中,使用:

sudo usbview

(您需要输入密码)

如果您需要 GUI 命令,请使用:

gksu usbview


该错误对话框窗口中的完整错误消息是:

Can not open the file /sys/kernel/debug/usb/devices

 Verify that you have USB compiled into your kernel, 
 have the USB core modules loaded, and have the 
 usbdevfs filesystem mounted.
Run Code Online (Sandbox Code Playgroud)

它列出了该问题的各种可能情况——除了最常见的一种——令人困惑。
这也让我觉得这可能不是问题,因为我希望它出现在列表中。实际上,人们可以将这条消息视为一个小错误。