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.

usb slave driver issue

now I met a problem:

I have a customize board based on DM6467, I want to stream video out to windows PC via usb port. so I made the following changes in the board kernel:

Kernel config for Gadget Serial Driver

[Linux Kernel Configuration] -→ [Device Drivers] -→ [USB support] -→ [USB Gadget Support]

<M> Support for USB Gadgets
<M>   Serial Gadget (with CDC ACM support)

then I load the gadget serial driver using command :

root@dm6467-evm:/opt/usb# insmod g_serial.ko use_acm=1
g_serial gadget: Gadget Serial v2.4
g_serial gadget: g_serial ready

root@dm6467-evm:/opt/usb# ls /dev/ttyGS0 -l
crw-rw----    1 root     dialout  250,   0 Jan 12 23:29 /dev/ttyGS0

 

normally,when the gadget serial driver is loaded and the USB device connected to the Windows host with a USB cable, Windows should recognize

the gadget serial device and ask for a driver. but actually,my PC had no reflection.

 

can anybody help me?

 

I already have files “gserial.inf” and “usbser.sys”.

the D- and D+ pins of USB port (B type) are connected to DN(A20) and DP(A19) pins of 6467.