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.
Tool/software:
Dear E2E community,
I'm working on a project with the SK-AM62A-LP, and my goal is to configure the board so that any computer recognizes it as a USB HID mouse. I've enabled the DWC3 module and attempted to activate gadget mode. I followed the guidance in the AM62x DWC3 USB documentation, which suggests using make menuconfig
to enable the required configurations.
However, I currently don't have access to a Linux PC to recompile the kernel, and I’m not certain that recompiling the kernel is necessary for this setup. I’ve also tried using device tree modifications, but I haven’t had success so far.
Here are the steps I’ve taken:
g_hid
module but encountered errors indicating it wasn't found.I would appreciate guidance on the best way to proceed. Specifically:
Thank you for your support!
Best regards,
Lía
Hi Lia,
First of all, the DWC3 USB documentation you referred explains the details about kernel DWC3 drivers, it is useful when you want to customize the kernel. But the kernel config options explained in the documentation are already enabled in the Processor SDK prebuilt Linux.
However, the USB HID gadget is not enabled in the SDK prebuilt Linux, so you would have to enable it in kernel config and rebuild the kernel.
USB HID gadget is not specific to any TI processor, supporting it is beyond the scope of this E2E forums, but please refer to kernel Documentation/usb/gadget_hid.rst for details in using the HID gadget.