maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 7 / Leste (https://talk.maemo.org/forumdisplay.php?f=66)
-   -   Modem registered but Calls, sms not working (https://talk.maemo.org/showthread.php?t=101483)

donchurch 2024-03-29 19:10

Modem registered but Calls, sms not working
 
Greetings, I have the Pinephone Beta Edition and have successfully used PMOS as of late but since they are going to the dark side (systemd) and since I run Devuan on my PC's plus have an N900 (but Tmobile is not available at my locale) I installed and like Maemo-Leste.

Tinkering with mmcli commands I confirmed that the modem is registered plus the system icons show 4g and PureTalk with okay signal but no data and when entering a number and hitting "call" after a few seconds the dialer just resets.

Looking at the logfile, syslog I think, it was curious(to me) to see a PMOS modem setup routine called but I saw no errors.

Another thing is that on PMOS with PureTalk I had to run an mmcli command to set the APN to RESELLER to get things working but that command was not recognized on Leste plus when researching mmcli commands online I found that some of the commands were not found in the Leste install.

Thanks in advance for any input.

sicelo 2024-03-30 07:38

Re: Modem registered but Calls, sms not working
 
Hi, Maemo Leste uses ofono, not ModemManager. So how did you end up with mmcli on your installation? I would recommend uninstalling ModemManager if you installed it manually

teroyk 2024-03-31 10:42

Re: Modem registered but Calls, sms not working
 
With latest image it should this easy to start use Pinephone beta edition as phone with Maemo Leste:
- put sdcard with Maemo Leste (image wrote with dd) in sdcard slot.
- start your phone (first boot sometimes have to start two times)
- write you SIM-card-pin
- Call with Sphone dialer icon or write SMS with Sphone New SM- icon (both apps comes with image)

btw. this answer was wrote with Pinephone Keyboard.

donchurch 2024-03-31 13:53

Re: Modem registered but Calls, sms not working
 
Quote:

Originally Posted by teroyk (Post 1576013)
With latest image it should this easy to start use Pinephone beta edition as phone with Maemo Leste:
- put sdcard with Maemo Leste (image wrote with dd) in sdcard slot.
- start your phone (first boot sometimes have to start two times)
- write you SIM-card-pin
- Call with Sphone dialer icon or write SMS with Sphone New SM- icon (both apps comes with image)

btw. this answer was wrote with Pinephone Keyboard.

I accomplished all of those except for the SIM PIN being that my provider does not issue one. The APN has been the issue in the past and ofono config is my goal, thanks.

donchurch 2024-03-31 13:55

Re: Modem registered but Calls, sms not working
 
Quote:

Originally Posted by sicelo (Post 1576012)
Hi, Maemo Leste uses ofono, not ModemManager. So how did you end up with mmcli on your installation? I would recommend uninstalling ModemManager if you installed it manually

Hi thanks, I was unaware that the two were mutually exclusive having used MM with other installs but Leste seems rather stripped down so I installed things trying to get usb ethernet and bluetooth keyboard going too and something to get modem status. I read that ofono has nil for commands so I'll dig around for some config utils for files. My first move is to set the APN since it's been the roadblock in the past.

Thanks again

donchurch 2024-03-31 19:22

Re: Modem registered but Calls, sms not working
 
Well with a fresh install and some research I found that modem-manager-gui is compatible with ofono and the status showed things connected and I was able to edit some config data including APN but other variables used with Android like mmc type were not included so I just entered the APN and clicked the "activate" button but "failed" was the result.

I did happen to receive a call while connected but could not place outgoing calls and still no data.

I read about an ofonoctl function but could not find it.

I installed Network-Manager for the usb ethernet and something wierd happened. Since no icon was found I started it via command line, then I got a message stating something saying ifup and ifdown managed the network and to delete their config file for Network-Manager to work (something like that) and then after snooping and a reboot, the usb ethernet was working but I could no longer find Network-manager. Command not found. I dunno, maybe I'm losing it.

sicelo 2024-04-01 08:58

Re: Modem registered but Calls, sms not working
 
maemo leste has it's own 'network manager.' please don't install another

you can add/edit the APN by opening Settings/Control Panel, choosing Internet Connections, and modifying the appropriate one.

and yes, ofonoctl is not in Maemo Leste and is not needed

donchurch 2024-04-01 13:31

Re: Modem registered but Calls, sms not working
 
Quote:

Originally Posted by sicelo (Post 1576020)
maemo leste has it's own 'network manager.' please don't install another

you can add/edit the APN by opening Settings/Control Panel, choosing Internet Connections, and modifying the appropriate one.

and yes, ofonoctl is not in Maemo Leste and is not needed

Hi thanks but it wasn't until I installed Network-Manager that usb ethernet would connect and I don't know what I'm missing but the "Internet Connections" routine only displays wifi options. I see no cellular,LTE,4G options despite "PureTalk","4G" and signal strength bar graph being displayed on the status bar.

On a side note it's interesting that when I select commtest as the backend and dial a number, I will receive an incoming call from that same number and if I answer the call then hang up the incoming call repeats. Only when I reject the call will it stop and show a missed call notification.

sicelo 2024-04-01 18:36

Re: Modem registered but Calls, sms not working
 
Quote:

Originally Posted by donchurch (Post 1576022)
the "Internet Connections" routine only displays wifi options. I see no cellular,LTE,4G options despite "PureTalk","4G" and signal strength bar graph being displayed on the status bar

provisioning failed. i will have to remind myself what you can/should do in that case.

if you have access to IRC, consider joining #maemo-leste on the libera.chat network

Quote:

Originally Posted by donchurch (Post 1576022)
it wasn't until I installed Network-Manager that usb ethernet would connect

I think it was working. The thing is - Leste doesn't provide a DHCP server on the phone, so you must enter the IP address manually on the PC. Also, you may have to choose "PC Suite" mode on the popup that appears when inserting the USB cable.

See https://leste.maemo.org/Status/USB_P...ork_on_your_PC

donchurch 2024-04-02 00:55

Re: Modem registered but Calls, sms not working
 
I'm using the so called docking station usb c plug-in and my router is the dhcp server. I acknowledge that there may be another way to get lan connected but internet connections isn't it and Network-Manager worked without configuring. I'm not much into the chat scene but will look into IRC, thanks.

teroyk 2024-04-02 08:10

Re: Modem registered but Calls, sms not working
 
Quote:

Originally Posted by donchurch (Post 1576024)
I'm using the so called docking station usb c plug-in and my router is the dhcp server. I acknowledge that there may be another way to get lan connected but internet connections isn't it and Network-Manager worked without configuring. I'm not much into the chat scene but will look into IRC, thanks.

Wait a minute..you might answer to my question about ethernet:
https://talk.maemo.org/showthread.php?t=101354

donchurch 2024-04-02 13:18

Re: Modem registered but Calls, sms not working
 
Thanks you that's good information but unless Network-Manager is conflicting with something I'm happy to leave it just as I have a bluetooth manager for my keyboard.
My Android phone has network settings and my cellular provider seems to need at least one of them to be happy. I know some providers "just work" with Leste. It's curious that Leste uses a PMOS routine during boot and I'm coming from PMOS which uses modem-manager but of course I did have to give it this command to start talking "mmcli -m 0 --3gpp-set-initial-eps-bearer-settings="apn=RESELLER,ip-type=ipv4".

teroyk 2024-04-02 18:09

Re: Modem registered but Calls, sms not working
 
Quote:

Originally Posted by donchurch (Post 1576029)
I'm happy to leave it just as I have a bluetooth manager for my keyboard.

Not tested myself (because I have Pinephone Keyboard), but bluetooth keyboard should work without extra managers with Leste.

Quote:

Originally Posted by donchurch (Post 1576029)
It's curious that Leste uses a PMOS routine during boot and I'm coming from PMOS which uses modem-manager but of course I did have to give it this command to start talking "mmcli -m 0 --3gpp-set-initial-eps-bearer-settings="apn=RESELLER,ip-type=ipv4".

I am pretty sure that developers have solution to your problem, you can easily ask from IRC channel #maemo-leste, you can connect thru web here:
https://web.libera.chat/

donchurch 2024-04-03 00:45

Re: Modem registered but Calls, sms not working
 
There are no bluetooth options in settings. If I remember correctly I couldn't find any packages installed initially and of course they need pairing.

teroyk 2024-04-04 21:36

Re: Modem registered but Calls, sms not working
 
Quote:

Originally Posted by donchurch (Post 1576031)
There are no bluetooth options in settings. If I remember correctly I couldn't find any packages installed initially and of course they need pairing.

ok..then somebody should compile this Maemo 5 software to Leste:
https://talk.maemo.org/showthread.php?t=65577

donchurch 2024-10-07 19:52

Re: Modem registered but Calls, sms not working
 
Greetings,
I just thought I'd update the situation, admittedly I put the Pinephone aside for months at a time when ambition is waning. :)

I did visit the IRC channel (thank you Sicelo) a few times. The first time my problem went unresolved. Months later I switched from Puretalk to H2O having read of Pinephone connectivity and them appealing to my other desires but the carriers are AT&T line leasers. So I figured I'd give Leste another attempt on the PP since my LineageOS is a couple years out of date and no more support for the phone that I could find.

Being a little ignorant on the scene I didn't know that the APN is for data and not voice calls and gprs is not GPS location setting.

So with the latest install and new carrier I had a similar problem. I could send and receive text messages and RECEIVE voice calls but making a call failed just like before.

With trial and error I discovered that I could make calls using a phone call app, Gnome-calls I think or similar.

So I visited the IRC chat a second time to give and update of my situation and was informed that my system was actually broken and so the guys there tried to debug my system to no avail. Sicelo offered the suggestion to build and try the latest ofono development package and so with help from them I succeeded in that endeavor and low and behold I was able to make AND receive phone calls. I did have an issue or two like not being able to access the dial pad during a call to enter a code or the like but it was at least usable.

I had Leste installed on a micro SDHC and with the recreational Python app testing that I was enjoying it didn't take long before the cheap memory card FAILED and so I was back at installing all that I had before but on the EMMC internal.

So trying to build the ofono package again I had trouble with prerequisites in that one of the dev packages had a maemo-dev package conflict and wouldn't build.

So back to the IRC chat I went and explained the situation to see if anyone had knowledge of the situation but I noticed for some reason there was zero activity on the channel showing up on my screen. The next day or so and re-logging I discovered that I am blocked from the Maemo-Leste channel. Was I too much of a layman to chat there? Did someone in charge decide I was a pest?

I'll soon maybe pick the phone back up again and see if the issue was naturally resolved but in the mean time the old LineageOS phone is lightyears ahead but I do like the idea of running my desktop Devuan Linux OS on my cell phone. Though they're all likely spy devices in the end.

biketool 2024-10-08 04:52

Re: Modem registered but Calls, sms not working
 
I am curious if anyone using Leste in this PinePhone (&Pro) thread has upgraded to the mostly-FOSS distro for the modem module. It saves power ind improves call quality as well as mostly solving the wakeup issues.
https://themodemdistro.com/
https://github.com/the-modem-distro/pinephone_modem_sdk
It is also important to note that there is a fix on the modem distro website if users encounter a non-booting module as happens with upgrades on newer hardware releases, this involves rebuilding the IMEI and other components of the 'firmware' and completely solves this issue.

sicelo 2024-10-09 14:48

Re: Modem registered but Calls, sms not working
 
Quote:

Originally Posted by donchurch (Post 1576268)
So back to the IRC chat I went and explained the situation to see if anyone had knowledge of the situation but I noticed for some reason there was zero activity on the channel showing up on my screen. The next day or so and re-logging I discovered that I am blocked from the Maemo-Leste channel. Was I too much of a layman to chat there? Did someone in charge decide I was a pest?

Hi, no one kicked you from the room. I wonder if your IP address is not from a pool that is blacklisted.

Try to do it again. Maybe see if you can try a different IP address, VPN, or something else.

donchurch 2024-10-09 18:15

Re: Modem registered but Calls, sms not working
 
Quote:

Originally Posted by biketool (Post 1576269)
I am curious if anyone using Leste in this PinePhone (&Pro) thread has upgraded to the mostly-FOSS distro for the modem module. It saves power ind improves call quality as well as mostly solving the wakeup issues.
https://themodemdistro.com/
https://github.com/the-modem-distro/pinephone_modem_sdk
It is also important to note that there is a fix on the modem distro website if users encounter a non-booting module as happens with upgrades on newer hardware releases, this involves rebuilding the IMEI and other components of the 'firmware' and completely solves this issue.

I flashed the package and I saw no modem functionality. The non-booting modem help made no mention of rebuilding the IMEI. I'm not really interested in submitting the log files and debugging this project right now so I did the flash stock option.

donchurch 2024-10-09 18:49

Re: Modem registered but Calls, sms not working
 
Quote:

Originally Posted by sicelo (Post 1576272)
Hi, no one kicked you from the room. I wonder if your IP address is not from a pool that is blacklisted.

Try to do it again. Maybe see if you can try a different IP address, VPN, or something else.

Hey thanks sicelo, I opened the chat app and the room connected. I'm not too hip on the that scene and I'm gonna start fresh and basic again since the dialer has no backend listed after flashing the modem thing a couple times.

teroyk 2024-10-16 10:35

Re: Modem registered but Calls, sms not working
 
Buy new sdcard, do this:
https://talk.maemo.org/showpost.php?...13&postcount=3
and come then then tell is do you have some problem.
Then I can help you.

donchurch 2024-10-18 03:36

Re: Modem registered but Calls, sms not working
 
Despite my abandonment of the Leste for now I'll post my experience the I can remember. After flashing "The Modem Distro" then going back using "flash_stock" I flashed the latest Leste image to the eMMC without a SIM installed. I upgraded all and immediately went through the process of going devel and building the latest ofono pkg. All went well having figured out the process but when inserting the SIM and reboot, the SIM was never acknowledged and no backend showed up on the dialer. So I thought ****! I hosed my modem firmware with my Modem Distro screwing around so I followed the steps to install the firmware I think I had before (V0708_30.006.30.006) and then repeated the entire process with a fresh install thinking the modem condition even the lack of SIM had an effect on the ofono pkg building. I actually repeated the process 2 or 3 times because once I did a make then install rather than make then make install. Ultimately the SIM was recognized but the ofono backend still wasn't on the dialer. Calling didn't work. I decided to do an /etc/init.d/ofono restart for the hell of it then the stinking phone stopped recognizing the SIM again even after a reboot.

I've had a working PostMarketOS on a microSDHC that I fall back to sometimes and so that's where I went. It was way out of date so I did the big upgrade and it works well. I also set up my WxPython project on it and it works well too unlike on Leste where the screen never clears when the app starts and all the widgets stay on the screen when switching from one tab to another within my multi-tabbed app

So I'm hanging with PMOS for now despite "systemd" and let Leste mature for awhile before trying again

On a side note I had one of those Emergency Broadcast System tests that played on my android phone that had no SIM in it but the EBS test didn't play on the Pinephone that had the SIM in place Hmmm!?.

biketool 2024-10-18 12:50

Re: Modem registered but Calls, sms not working
 
Quote:

Originally Posted by donchurch (Post 1576282)
Despite my abandonment of the Leste for now I'll post my experience the I can remember. After flashing "The Modem Distro" then going back using "flash_stock" (snip)

Yes, you have a newer modem then. The stock flash will do nothing to help you but this will work.
https://themodemdistro.com/efs_recovery

Remember to use root(sudo su) not sudo to do your modem flashing commands.
If you cant get back into flashing mode do a full sutdown without charging cable in and then boot up.

This takes about 10-15 min and you will have fixed the modem and it will always be safe to flash.

This is well documented on https://forum.pine64.org/

donchurch 2024-10-18 14:43

Re: Modem registered but Calls, sms not working
 
The Modem Distro site docs seem to have changed since I last used them. And I'm not convinced that the level of recovery that I performed was necessary because I didn't confirm that the modem wasn't booting, I just ASSumed, but I used the "qfirehose" app including opening up the phone and shorting two connection points while booting. Considering the fact that the phone works fine with PMOS I have to conclude that the phone and modem are in good working order.

biketool 2024-10-23 06:35

Re: Modem registered but Calls, sms not working
 
I had the situation on a Pinephone Pro from this year where after doing the modemdistro upgrade I was getting up to to a slash through the telephone signal symbol on the GUI; it was still accepting the command to enter flash though.
I was not able to use ADB flashing nor some script flashing tools though because of permissions problems, while sudo ,command. or chmod'ing or chown'ing the script should work making myself root on the phone(mobian) was the only way to get them to run. I just started by creating a root shell, sudo su, and everything worked as advertised even if it didn't at first fix the modem function,
I was getting close to trying the pin-short option, which I dont think wouldhave done anything more than I already had, when I found the solution.
It still took scrolling in the git issues to discover someone linking the dev had a website with everything, even though it is not mentioned in the git anywhere.

To confuse issues further I had previously went through a round of trying to flash new ADSBs and themodemdistro firmware after the PPp arrived then tried flashing back to 'stock' when I had gotten the dysfunction issue, instead of trying toshort pads I left the phone overnight with no battery, and regained functionality when I booted in the morning.


All times are GMT. The time now is 21:24.

vBulletin® Version 3.8.8