I know that the reliability fo waking for incoming calls and sms is linked to this hub being powered during suspend. One annoying by-product of this is that any plugging in or removing of a USB C cable will cause the phone to wake.
I find this behavior to be VERY annoying. I am wondering if I can disable to hub during suspend and am totally ok with not getting calls or SMS (who gets these anymore anyway?).
I would suggest that this feature get added to the mobile settings app as well. This would be something that it would be nice to be able to toggle.
I recognize the turning on behaviour, but the L5 shutting down when the USB cable is getting removed, I can’t recall (except for the situation when the battery is depleated).
I’ll pay more attention to it when doing so the next time.
It’s necessary to have the modem be available and ready quickly after resume from system suspend.
This is completely unrelated. The system needs to wake up on USB-C plug events to correctly configure input current limit, so charging can work reliably.
Ok so you performed in that way to fix the USB2.0 Errata issues for modem?
The last testing i did on Librem 5 look like the modem still ON in Suspend, modem look like different behavior like before from suspend.
This is another completely unrelated matter. There were several fixes that touched USB deployed at about the same time, but were otherwise unrelated to each other.
@dos how did this work before we starting having wake from plug and unplug events. Before there was a time when plugging the cable in or out did not wake the phone.
Dear 2disbetter i pretty sure that by just connect the usb-c cable the Librem 5 does not wake up, unless that the end-cable is also connected to Another which generates an Event.
Also @dos explained that it was performed in this way to Reliable charging and i guess too to improve Dock Mode Suspend
You’re on your own with this though. Also, what you want is probably letting the phone wakeup and go to suspend soon afterwards without turning the screen on (which is a userspace thing that GNOME controls), rather than doing this kind of dubious kernel behavior changes.