Only enable modem when needed with kill switches
#1
Hello!

For privacy reasons I want to keep modem disabled unless I want to make a call or use internet via the modem.

I was expecting operating system on pinephone to find the modem once its powered back by the hardware kill-swich on the back of the device.

Doesn't work: once the modem's hardware kill-switch is "off", the modem does not re-appear in pinephone operating system when the hardware kill-switch is returned to "on" position.

I tried with postmarketOS, ubuntu touch and pure os for pinephone (purism guy says on Librem phone the switches are not requiring re-boot for re-activating the hardware, at least not wifi: https://forums.puri.sm/t/librem-5-pineph...es/8793/12 ). Neither was able to detect modem when its re-enabled by the hardware kill-switch.

Is there any way to bring pinephone modem back to operating mode without system reboot after I flip its hardware kill switch from "off" to "on" position?

Thank you
#2
Hi,



on my Linux laptop (not a Pine product) the internal 4G modem sometimes 'disappears' after a suspend. I'm always able to enable it again and have it detected by modemmanager by resetting it using usb_modeswitch -R  -v vendorid -p productid

Update: just checked on my PinePhone, the Quectell LTE Modem is on USB, id:2c7c:0125
as root, running: 
usb_modeswitch -R -v 2c7c -p 0125
Did reset the modem. 



Cheers,



Filip.
#3
Interesting.

I also see Quectell LTE Modem on USB Bus 003, device 002: ID 2c7c:0125 on my PinePhone.

Problem is: when modem is hardware killed with physical switch flipped "off" and then back "on" - the modem does not re-appear in lsusb output.

At this point running as root
usb_modeswitch -R -v 2c7c -p 0125
gives

Code:
Look for default devices ...
No devices in default mode found. Nothing to do. Bye!

It seems that after being killed with hardware kill-switch host has to reset the bus to enable the re-enumeration of the device (source Replicant devs: https://www.mail-archive.com/replicant@o...00700.html)

Is there way to reset USB Bus 003 to force enumeration of attached USB devices?


Possibly Related Threads…
Thread Author Replies Views Last Post
  Modem Issues with the Pinephone Temmie19 2 243 10-16-2024, 07:54 AM
Last Post: Temmie19
  Kill switches for Wifi/Bluetooth does not work luxgiammi 0 119 10-14-2024, 03:34 PM
Last Post: luxgiammi
  Supported Carrier and Modem Bands NachoMomma 4 2,356 03-23-2024, 02:00 PM
Last Post: Kevin Kofler
  power circuit can't charge battery and can't supply enough power for modem or wifi vortex 2 1,163 02-17-2024, 04:15 PM
Last Post: vortex
Bug PinePhone modem keeps "disappearing" Kevin Kofler 14 8,076 03-22-2023, 05:28 PM
Last Post: Kevin Kofler
  modem not working michelinux 0 1,192 02-16-2023, 04:56 AM
Last Post: michelinux
  modem not detected al_x 3 5,025 02-15-2023, 11:17 AM
Last Post: fxc
  firmware udate Quectel EG25-G modem alwi 7 7,059 07-06-2022, 01:43 PM
Last Post: user641
  Need command to tell what modem firmware I am on. purpletiger 4 3,805 07-06-2022, 12:35 PM
Last Post: Zebulon Walton
  The modem does not recognize Korean SIM cards (what?) bdicewk 9 5,568 06-13-2022, 04:12 AM
Last Post: zetabeta

Forum Jump:


Users browsing this thread: 1 Guest(s)