05-18-2021, 10:56 AM
Did you stop the services that are normally using the modem first? For Phosh that would be modemmanager, and for plasma-mobile it would be ofono. Something like:
sudo systemctl disable ModemManager.service
sudo systemctl stop ModemManager.service
whatever you want to do with the modem
sudo systemctl enable ModemManager.service
sudo systemctl start ModemManager.service
sudo systemctl disable ModemManager.service
sudo systemctl stop ModemManager.service
whatever you want to do with the modem
sudo systemctl enable ModemManager.service
sudo systemctl start ModemManager.service