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
Bug PinePhone modem keeps "disappearing" Kevin Kofler 17 15,213 12-12-2025, 03:27 AM
Last Post: biketool
  Modem Issues with the Pinephone Temmie19 5 4,038 07-02-2025, 12:50 PM
Last Post: biketool
  FOSS fw problem - PinePhonePro, EG25 modem dukla2000 5 3,376 02-05-2025, 02:30 AM
Last Post: biketool
  Kill switches for Wifi/Bluetooth does not work luxgiammi 0 1,626 10-14-2024, 03:34 PM
Last Post: luxgiammi
  Supported Carrier and Modem Bands NachoMomma 4 5,915 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 3,872 02-17-2024, 04:15 PM
Last Post: vortex
  modem not working michelinux 0 2,054 02-16-2023, 04:56 AM
Last Post: michelinux
  modem not detected al_x 3 7,252 02-15-2023, 11:17 AM
Last Post: fxc
  firmware udate Quectel EG25-G modem alwi 7 11,734 07-06-2022, 01:43 PM
Last Post: user641
  Need command to tell what modem firmware I am on. purpletiger 4 6,266 07-06-2022, 12:35 PM
Last Post: Zebulon Walton

Forum Jump:


Users browsing this thread: 1 Guest(s)