Please let me know is there any available Linux system call / function / kernel API / kernel function using which (from user space)
I can switch to network mode from the storage mode for my USB modem device which is detected by the system.
Please let me know with some example (C / C++). I have explored libudev.h header file and also explored usb_modeswitch, but this is a command,
I need an API or function (the call to this API or function will be from user space) which will do this switch to network mode from the storage mode for my already detected USB modem device.
Thanks in advance.