the-modem-distro / pinephone_modem_sdk

Pinephone Modem SDK: Tools to build your own bootloader, kernel and rootfs
GNU General Public License v3.0
597 stars 64 forks source link

SMS does not arrive #94

Closed hooger closed 2 years ago

hooger commented 2 years ago

Hello,

first of all thank you for your amazing job, I really appreciate that you take the time to create a FOSS driver. I'm confident, that it can work much better than any other mode developmentl because we can reach out and you can react openly to issues. And this is the reason I'm writting. :)

So calling and answering calls works, also sending SMS works, but receiving is unreliable, but mostly does not work. Setup:

Logs attached created with the recommended script. Tell me what else should I test, it bothers me a lot, so I try to help as much as I can. Best regards,

dmesg-modem.txt dmesg-pinephone.txt eg25-manager.log modemmanager.log networkmanager.log openqti.log

Biktorgj commented 2 years ago

I can see your message being sent, but there's not even an indication of any message being received after that. The last thing I can see is this: [457.7516] the Pinephone tells the modem to send a message to a phone number. After that, at [458.0176], the modem indicates the message has been passed to the network (0x02 0x04 0x00 0x00 0x00 0x00 0x00 in that same line ), but there's absolutely nothing after that, the modem doesn't seem to be getting a notification from the network that there's a pending message

To discard other stuff, can you disable LTE (set the peferred network type to 3G/2G) and try again? (If your carrier still supports non-lte, that is). Most likely scenario that I can imagine is that the network is trying to send the message over LTE and the modem is not getting it, but can't really know without data

hooger commented 2 years ago

Thanks for the reply. I will try it, when I have some time. Question in the meantime: should I install 0.6.5 or test with the 0.6.4 version? I definitely would like to roll with the newer, just not sure if it helps or hinders the triage.

hooger commented 2 years ago

So it seems to be, that when I switched to 2G/3G (preferred) it does works. I will be testing it some more and see what happens.

hooger commented 2 years ago

So first I set the modem to use 3G/2G and under Manjaro Plasma I received every call and every sms, which was nice. However the setup crashed on me regularly so I am trying Mobian/Phosh to see if that is more stable, yet it still has the problem of not receiving SMS once I sent one. Modem fw is 0.6.4 so I sent you the logs via Matrix. I will reflash 0.6.5 so the logs will be obfuscated and everything can be checked here, and also reflash the 6th ADPS stuff to see if that helps (you suggested it for the 4G problem). Thanks for looking into it!

hooger commented 2 years ago

Whit a lot of debugging and Biktor explaining how stuff work, he figured my problem is the Chatty option -> MMS/SMS Settings -> Request Delivery Reports which is on by defult. Switching it off solved my problem. Thanks for the help!