Hi all,
My code base is IPNC_RDK_DM385_v3.8.0 and configure platform to DM385.
My DM385IPNC connects with computer by USB cable. (DM385IPNC as a usbcam)
I want to disconnect usbcam by SW command, just like the USB cable is disconnected.
I tried the following two ways:
1. echo "c" > /proc/driver/musb_hdrc.0
=> It's software disconnect.
2. use "rmmod" to remove usb driver
=> I can't remove usbcam driver if USB cable is connected.
Is there any other SW command that I can use to simulate "USB cable is disconnected"?
Could anyone please give me some hints?
Thanks.