使用 Sunnybeamtool 通过 Rasperry Pi USB 端口读取 sunnybeam。
我在 dmesg 中遇到很多错误,这些错误不会影响工作(显然)程序是用 C 编写的。
留言:
[30563.867756] usb 1-1.3.3: usbfs: process 32327 (sunnybeamtool) did not claim interface 0 before use
[30563.938025] usb 1-1.3.3: usbfs: process 32327 (sunnybeamtool) did not claim interface 0 before use
Run Code Online (Sandbox Code Playgroud)
锄头我摆脱这些消息?
小智 0
看起来该进程sunnybeamtool
并未独占 Linux 内核的所有权,因此sunnybeamtool
与 USB 通信时遇到困难。
您收到的日志是因为
[30563.867756] usb 1-1.3.3: usbfs: process 32327 (sunnybeamtool) did not claim interface 0 before use
[30563.938025] usb 1-1.3.3: usbfs: process 32327 (sunnybeamtool) did not claim interface 0 before use
Run Code Online (Sandbox Code Playgroud)
进程sunnybeamtool
可能没有适当的权限,或者 USB 打开调用可能失败。您可以尝试检查 USB 打开呼叫,如果失败,请尝试断开设备。
归档时间: |
|
查看次数: |
3291 次 |
最近记录: |