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.

How can we disconnect usb device between computer by SW command in DM385?

Other Parts Discussed in Thread: DM385

Hi,

    I am working on disconnecting between DM385(as a usb camera gadget device) and Computer by SW command.

    How can I do that? Is there any sw command I can do?

     I've tried echo "c" > /proc/driver/musb_hdrc.0

     But it seems like it's software disconnect, not HW disconnect.

     I can successfully remove usbcam module if I unplug the connection, but when I tried echo "c" >

/proc/driver/musb_hdrc.0  I  fail to remove usbcam driver.

      Can anyone help me? Thanks