Hi SIr
Does AM335x support USB printer Gadget feature in host and peripheral mode ?
thanks for reply.
Reference
BR
Yimin
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi SIr
Does AM335x support USB printer Gadget feature in host and peripheral mode ?
thanks for reply.
Reference
BR
Yimin
Yimin,
yimin bai34 said:this document is describing how to set gadget_printer driver in USB Host of AM335x.
This is not true. This doc is for usb peripheral controller. Please read the very first paragraph, quoted here:
This driver may be used if you are writing printer firmware using Linux as the embedded OS. This driver has nothing to do with using a printer with your Linux host system.
The example code at the end of the doc shows how to write a user space application to receive data from the printer gadget driver (sent from the USB host), you can use it, for example, to control the real printer.