xmm7360 / xmm7360-usb-modeswitch

Tools for the Fibocom L850-GL / Intel XMM7360 LTE modem
124 stars 21 forks source link

usb modem missing after resume from suspend #33

Open likengmx opened 1 year ago

likengmx commented 1 year ago

Before suspend, lsusb: 2cb7:0007 Fibocom L850-GL

After resume it is missing from lsusb. And it is also missing from lspci.

Any idea how to recover it without restarting the computer?

I have also noticed that if when I start the computer I leave the modem in PCI mode, it is still there after suspend and resume, and I can do the switch to USB and it works.

Any idea on how to revert from USB mode to PCI mode, to do it before suspending?

likengmx commented 1 year ago

Update.

I can recover the modem after wake up with this command as root:

echo "_SB_.PCI0.RP12.PXSX._RST" > /proc/acpi/call

Maybe not the same address for everybody, but you can find it adding line

printf "%s" "${acpi_path}._RST"

in the script xmm2usb before exit 0