lsusb - 我总是无法打开设备。这是正常的吗?

lsusb - 我总是无法打开设备。这是正常的吗?

当我写作时,lsusb -v我总是会得到"Couldn't open device, some information will be missing"每辆公交车都是这样的正常情况吗?

附言:我试图从通过 USB 连接的激光扫描仪读取数据。但我收到“无法打开串行端口”的提示。我想检查一下端口,lsusb发现每个 USB 端口上都写着“无法打开设备”。甚至我的鼠标也显示“无法打开”,但它可以正常工作。

答案1

是的。您要求提供硬件信息,因此某些信息可能需要 sudo。查看两者之间的区别...

rinzwind@schijfwereld:~$ lsusb -v | grep device
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing

当使用 sudo 时它会消失,但您会收到其他通知:

rinzwind@schijfwereld:~$ sudo lsusb -v | grep device
can't get debug descriptor: Resource temporarily unavailable
      Lowest fully-functional device speed is SuperSpeed (5Gbps)
can't get debug descriptor: Resource temporarily unavailable
Device Qualifier (for other device speed):
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable

相关内容