Hi all,
I found that after triggering usb_modeswitch command the usb is disconnected and then reconnected again with product ID changed. I tried to search in the code (in function switchSendMessage()) where reset of the usb is done but I couldn't find any.
My question : Is the usb is disconnect and reconnect again from itself after sending the message (MessageContent) for doing the switch part ?, I mean don't we need to reset the usb using a function like resetUSB() ?
Re: Reset of usb modem after switching
The disconnect/reconnect is purely a matter of the device firmware. It's the reaction to the switching "message" which is a special UFI mass storage command in most cases.Guest wrote:My question : Is the usb is disconnect and reconnect again from itself after sending the message (MessageContent) for doing the switch part ?, I mean don't we need to reset the usb using a function like resetUSB() ?
usb_modeswitch has no influence on that process. It actually resembles unplugging and replugging.
A device reset is not needed and doesn't do anything for most devices.
Re: Reset of usb modem after switching
Thanks for the quick response 