Closed Shatur closed 1 year ago
Even though the modem stops to disappear, a message from qmi about incoming call from suspend may be lost upon waking up.
So there is additional patch that is required for PPP: usb-serial-option-add-reset-resume-callback-for-WWAN.
I compiled the kernel with this patch and can confirm that it fixes the issue. Please, add this patch too. Was suggested by @biktorgj
.
So there is additional patch that is required for PPP: usb-serial-option-add-reset-resume-callback-for-WWAN.
The patch location was moved in a recent commit. It's now here: https://salsa.debian.org/Mobian-team/devices/kernels/rockchip-linux/-/blob/mobian-6.1/debian/patches/common/0010-usb-serial-option-add-reset-resume-callback-for-WWAN.patch
Looks like the requested changes were added in this commit: https://github.com/dreemurrs-embedded/Pine64-Arch/commit/00247b8918753c4a89dfab50f656edb63f927984
I installed the latest changes and everything seems to be working so far. The modem is appearing right away when waking from suspend.
Was fixed, the problem no longer appears.
Steps to reproduce
Run
sudo systemctl suspend
and wake up the phone by pressing the power button.Expected behavior
Modem is available.
Actual behavior
Modem reappears in ~10 seconds.
Other distros
The issue was fixed in other distros such as Mobian by reverting the quirk. I think we should do it as well.
Temporary workaround without recompiling the kernel
Just add
usbcore.quirks=2c7c:0125:e
to the kernel boot parameters inboot/boot.txt
and runsudo ./mksrc
.