Modem INIT
Sai Chaitanya
msaichaitanya at gmail.com
Tue Apr 29 08:33:34 UTC 2025
Hi,
I have a modem connected to my linux laptop. I am looking at using
ModemManager to talk to the modem. It gets detected fine after power-on and
I can connect to internet too. But I want to know if there is a way in
ModemManager that allows me to power on/off the modem also. This is not
same as putting the modem is some low power state. I want to write a
plugins if needed, to do something like this:
# PowerON the modem:
echo 1 > /sys/class/gpio/lte/power_on/value
# PowerOFF the modem:
echo 0 > /sys/class/gpio/lte/power_on/value
So when modem manager starts, this plugin powers ON the modem also and then
configures it too. I found init functions in src/plugins/<modem
manufacturer>/ where we can possibly add code to configure the modem. But I
need something way earlier, that can send pulse to the modem's gpio and
turns it on from my SoC/MCU.
If this framework is not available yet, I am happy to submit patches to
ModemManager with some pointers from the main developers as to how to go
about it.
Any pointers would be highly appreciated,
Regards,
Sai.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libmbim-devel/attachments/20250429/2a3059c0/attachment.htm>
More information about the libmbim-devel
mailing list