简体   繁体   English

如何列出yocto上连接的所有USB设备(打印机)?

[英]How to list all the USB devices (printers) connected on yocto?

I am trying to get a USB printer to work with an embedded system using yocto. 我正在尝试让USB打印机与使用yocto的嵌入式系统一起使用。 I have the cups package added to the yocto image. 我将杯子包装添加到yocto图像中。 The lpstat command returns that no default destination is available. lpstat命令返回没有默认目标可用。 I am trying to see if my printer gets listed via lsusb, but lsusb does not seem to be a recognized command. 我正在尝试查看打印机是否通过lsusb列出,但是lsusb似乎不是公认的命令。 busybox lsusb doesn't work. busybox lsusb无法正常工作。

Busybox doesn't provide lsusb but usbutils does. Busybox不提供lsusb而usbutils提供。 As you can see here : 正如你可以看到在这里

Contains the lsusb utility for inspecting the devices connected to the USB bus.

Also, I invite you to use dmesg to understand what happens with the device. 另外,我邀请您使用dmesg了解设备发生的情况。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM