简体   繁体   中英

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. I have the cups package added to the yocto image. The lpstat command returns that no default destination is available. I am trying to see if my printer gets listed via lsusb, but lsusb does not seem to be a recognized command. busybox lsusb doesn't work.

Busybox doesn't provide lsusb but usbutils does. 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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