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.

AM3352: USB printer gadget support

Part Number: AM3352

Hi SIr

Does AM335x support USB printer Gadget feature in host and peripheral mode ? 

thanks for reply.

Reference

BR

Yimin

  • The software team have been notified. They will respond here.
  • Yimin,

    Yes, but only enumeration is validated, since printer function is out of the scope. The kernel document "Documentation/usb/gadget_printer.txt" has the details of how to use the printer gadget driver.
  • Hi Sir

    this document is describing how to set gadget_printer driver in USB Host of AM335x.

    if we want to set AM335x USB mode as peripheral mode to support USB printer gadget and connect AM335x to PC, how do we set the software setting ?

    thanks for reply.

    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.