Part Number: DRA722
Hi,
I am using Processor SDK 6.00.00.03 Linux Automotive Release based on kernel 4.19.
I am trying to use the board in USB device mode and use USB NCM gadget driver. But any host is not able to enumerate this device.
Steps:
- Boot the board with USB OTG cable connected to board. This will boot the board in host mode.
- Load the gadget driver. => modprobe g_ncm
- Send the board to device mode => echo device > /sys/kernel/debug/488d0000.usb/mode
- Verify the device mode => cat /sys/kernel/debug/488d0000.usb/mode. This will display device.
- Remove the OTG cable and connect the board to a PC (I am using Ubuntu 14.04) using regulat mini USB-cable.
Ideally, the PC should detect the board as USB Ethernet gadget. But this is not happening.
Please note, if I do not connect the OTG cable to the board at boot time (board will boot in device mode), and then I load the driver and connect to PC, PC is able to enumerate the board and list it as a USB Ethernet Gadget.
Regards,
Krishna