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.

Linux/AM5728: AM57xx-EVM

Part Number: AM5728

Tool/software: Linux

I need to interface one barcode scanner with my AM572x-evm over USB. Barcode scanner support multiple configuration like UART, USB-HID & USB-VCP. 

Right now am using ti-processor-sdk-linux-am57xx-evm-05.01.00.11 . 

I tried to configure barcode scanner with different modes after connecting it with AM572x-EVM USB port. And its successfully configured.

On Virtual Port Config its shows on ttyACM0 , while in HID it showing usb-xhci-hcd.1 .

Can i know how to start communication with scanner  from AM572x-evm as a host. 

  • Hi Akash,

    akash garg said:

    On Virtual Port Config its shows on ttyACM0 , while in HID it showing usb-xhci-hcd.1 .

    Can i know how to start communication with scanner  from AM572x-evm as a host. 

    This is out of our support scope. But the guideline is that you will access the scanner's ttyACM0 and HID interfaces in the same way as the non-USB serial ports and HID devices.

    By the way, I don't believe usb-xhci-hcd.1 is the HID interface of your scanner. It should be the xHCI usb host controller.

  • Hi Bin Liu,
    In that case I have to use xHCI USB host interface as my main requirement is to interface scanner module over USB only. Can i know the procedure for this.
    Thanks
    Akash
  • Akash,

    Sorry, I don't understand your question.

    If the scanner has UART, HID, or VCP usb interface, the Linux kernel usb driver will expose them as device nodes under /dev, such as /dev/ttyACM, /dev/input. Your application have to open those device nodes and communicate as to those non-USB device nodes. Your application doesn't have to do anything with the xHCI host interface. Basically your application shouldn't care if those interfaces are from a USB device, just treat them as a UART or HID device.
  • Hi, I haven’t heard back from you, I’m assuming you were able to resolve your issue. If not, just post a reply below (or create a new thread if the thread has locked due to time-out). thanks.