Making phone calls
#1
I am trying to get the phone part of the PinePhone working, what I wrote here is what I tried, however I did not succeed yet and I hope you can help me with it.

I use this as a guideline:
(02-08-2020, 12:21 PM)kop316 Wrote: https://megous.com/dl/tmp/modem.txt

For the mixer it is written:
Quote:1) alsamixer

- set "Line Out Source" to "Mono Differential"
- Unmute "AIF1 Slot 0 Digital DAC"
- (optional) unmute the microphone / mute loudpeaker

And I tried to do that in bash
Code:
# Enable audio
sudo modprobe snd_soc_simple_amplifier
sudo modprobe snd_soc_simple_card_utils

# Unmute audio
amixer -c 0 set 'AIF1 Slot 0 Digital DAC' unmute

# Mute speaker (audio will loop otherwise trough the speaker and mic, terrible noise!!)
amixer -c 0 set 'Line Out' mute

# Unmute the ear speaker? (not sure)
amixer -c 0 set 'Earpiece' unmute

# Open microphone
amixer -c 0 set 'Mic1' unmute

# Set volume
amixer sset 'Line Out'  0%
amixer sset 'Earpiece' 100%
amixer sset 'Mic1' 100%

# Set mono
amixer sset 'Line Out Source' 'Mono Differential'

Next is how to send AT commands to the modem?

If I run the following command I get the modem device name and information:
Code:
/usr/share/ofono/scripts/list-modems

And I want to run something like:
Code:
sudo echo "AT+QTTS=2,\"Welcome to use the module of QUECTEL" > /quectelqmi_0

But /quectelqmi_0 needs do be a device file and it is not I guess.

Who want to help me out here?

Thank you in advance!
  Reply
#2
(02-15-2020, 03:02 PM)PinePhoneCoder Wrote: I am trying to get the phone part of the PinePhone working, what I wrote here is what I tried, however I did not succeed yet and I hope you can help me with it.

I use this as a guideline:
(02-08-2020, 12:21 PM)kop316 Wrote: https://megous.com/dl/tmp/modem.txt

For the mixer it is written:
Quote:1) alsamixer

- set "Line Out Source" to "Mono Differential"
- Unmute "AIF1 Slot 0 Digital DAC"
- (optional) unmute the microphone / mute loudpeaker

And I tried to do that in bash
Code:
# Enable audio
sudo modprobe snd_soc_simple_amplifier
sudo modprobe snd_soc_simple_card_utils

# Unmute audio
amixer -c 0 set 'AIF1 Slot 0 Digital DAC' unmute

# Mute speaker (audio will loop otherwise trough the speaker and mic, terrible noise!!)
amixer -c 0 set 'Line Out' mute

# Unmute the ear speaker? (not sure)
amixer -c 0 set 'Earpiece' unmute

# Open microphone
amixer -c 0 set 'Mic1' unmute

# Set volume
amixer sset 'Line Out'  0%
amixer sset 'Earpiece' 100%
amixer sset 'Mic1' 100%

# Set mono
amixer sset 'Line Out Source' 'Mono Differential'

Next is how to send AT commands to the modem?

If I run the following command I get the modem device name and information:
Code:
/usr/share/ofono/scripts/list-modems

And I want to run something like:
Code:
sudo echo "AT+QTTS=2,\"Welcome to use the module of QUECTEL" > /quectelqmi_0

But /quectelqmi_0 needs do be a device file and it is not I guess.

Who want to help me out here?

Thank you in advance!

I found two lines on another part of the forums that seem to work for me as far as the modem goes.
sudo /usr/share/ofono/scripts/enable-modem
sudo /usr/share/ofono/scripts/online-modem

After you type each and hit enter, you will see a message about the modem, and after the second line you should see the network symbol show up in the notifications bar (assuming you have a SIM card in place.)

Made my first call today, found a carrier that works for the PinePhone (TracPhone, using the ATT SIM card), got the SIM activated, used the two script lines to enable the modem, and had the network symbol show up in the notification bar.  Successfully called my Verizon phone from my PinePhone.  Only problem is that the PinePhone has no sound, so I cannot receive calls.  But Texting works!

Script lines for enabling the modem.  (Lucas posted these elsewhere in the forums.)
sudo /usr/share/ofono/scripts/enable-modem
sudo /usr/share/ofono/scripts/online-modem
I refuse to tiptoe through life, only to arrive safely at death.
  Reply
#3
(02-22-2020, 11:50 PM)noeman5 Wrote:
(02-15-2020, 03:02 PM)PinePhoneCoder Wrote: I am trying to get the phone part of the PinePhone working, what I wrote here is what I tried, however I did not succeed yet and I hope you can help me with it.

I use this as a guideline:
(02-08-2020, 12:21 PM)kop316 Wrote: https://megous.com/dl/tmp/modem.txt

For the mixer it is written:
Quote:1) alsamixer

- set "Line Out Source" to "Mono Differential"
- Unmute "AIF1 Slot 0 Digital DAC"
- (optional) unmute the microphone / mute loudpeaker

And I tried to do that in bash
Code:
# Enable audio
sudo modprobe snd_soc_simple_amplifier
sudo modprobe snd_soc_simple_card_utils

# Unmute audio
amixer -c 0 set 'AIF1 Slot 0 Digital DAC' unmute

# Mute speaker (audio will loop otherwise trough the speaker and mic, terrible noise!!)
amixer -c 0 set 'Line Out' mute

# Unmute the ear speaker? (not sure)
amixer -c 0 set 'Earpiece' unmute

# Open microphone
amixer -c 0 set 'Mic1' unmute

# Set volume
amixer sset 'Line Out'  0%
amixer sset 'Earpiece' 100%
amixer sset 'Mic1' 100%

# Set mono
amixer sset 'Line Out Source' 'Mono Differential'

Next is how to send AT commands to the modem?

If I run the following command I get the modem device name and information:
Code:
/usr/share/ofono/scripts/list-modems

And I want to run something like:
Code:
sudo echo "AT+QTTS=2,\"Welcome to use the module of QUECTEL" > /quectelqmi_0

But /quectelqmi_0 needs do be a device file and it is not I guess.

Who want to help me out here?

Thank you in advance!

I found two lines on another part of the forums that seem to work for me as far as the modem goes.
sudo /usr/share/ofono/scripts/enable-modem
sudo /usr/share/ofono/scripts/online-modem

After you type each and hit enter, you will see a message about the modem, and after the second line you should see the network symbol show up in the notifications bar (assuming you have a SIM card in place.)

Made my first call today, found a carrier that works for the PinePhone (TracPhone, using the ATT SIM card), got the SIM activated, used the two script lines to enable the modem, and had the network symbol show up in the notification bar.  Successfully called my Verizon phone from my PinePhone.  Only problem is that the PinePhone has no sound, so I cannot receive calls.  But Texting works!

Script lines for enabling the modem.  (Lucas posted these elsewhere in the forums.)
sudo /usr/share/ofono/scripts/enable-modem
sudo /usr/share/ofono/scripts/online-modem
  Reply
#4
The next kernel update (whenever Marius has time) will make it 'just work' like on the pmos + Plasma image. I'll try to reach out to him and see how he is on time.
You can find me on IRC, Discord and Twitter


  Reply
#5
(02-23-2020, 02:55 PM)Luke Wrote: The next kernel update (whenever Marius has time) will make it 'just work' like on the pmos + Plasma image. I'll try to reach out to him and see how he is on time.
What is the status of this?  There is still no ability to make calls...  It would be nice to have some sort of VOIP solution as a workaround
  Reply
#6
(07-23-2020, 10:20 AM)israel Wrote:
(02-23-2020, 02:55 PM)Luke Wrote: The next kernel update (whenever Marius has time) will make it 'just work' like on the pmos + Plasma image. I'll try to reach out to him and see how he is on time.
What is the status of this?  There is still no ability to make calls...  It would be nice to have some sort of VOIP solution as a workaround

Ping and nag the UT devs Smile
You can find me on IRC, Discord and Twitter


  Reply
#7
(07-23-2020, 12:05 PM)Luke Wrote:
(07-23-2020, 10:20 AM)israel Wrote:
(02-23-2020, 02:55 PM)Luke Wrote: The next kernel update (whenever Marius has time) will make it 'just work' like on the pmos + Plasma image. I'll try to reach out to him and see how he is on time.
What is the status of this?  There is still no ability to make calls...  It would be nice to have some sort of VOIP solution as a workaround

Ping and nag the UT devs Smile
Big Grin @UTdevs <nag>help</nag>
  Reply
#8
(07-23-2020, 12:05 PM)Luke Wrote:
(07-23-2020, 10:20 AM)israel Wrote:
(02-23-2020, 02:55 PM)Luke Wrote: The next kernel update (whenever Marius has time) will make it 'just work' like on the pmos + Plasma image. I'll try to reach out to him and see how he is on time.
What is the status of this?  There is still no ability to make calls...  It would be nice to have some sort of VOIP solution as a workaround

Ping and nag the UT devs Smile
I wonder if this is now solved for everyone, can this be marked as solved these days?
It would be nice to mark this solved, I think!
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  E-mail on the pine phone thorensjubilee 4 3,273 02-05-2023, 04:57 AM
Last Post: thorensjubilee
  Audio in Calls no longer functioning KNERD 4 3,099 11-16-2022, 07:04 PM
Last Post: KNERD
  How to answer a call on a sleeping phone Athansor 1 2,501 10-20-2021, 05:03 PM
Last Post: lacriz
  Screen-off = dead phone okgo 11 11,711 09-27-2021, 07:53 PM
Last Post: jtn0514
  Is UT in PinePhone same thing than in another phone? natasha 23 27,978 08-24-2020, 10:23 AM
Last Post: Cree
  No calls GloriousCoffee 7 9,181 08-21-2020, 07:34 AM
Last Post: Hobgoblin
  Mint Mobile & Pine Phone Lt. Dillinger 10 17,608 08-14-2020, 04:00 PM
Last Post: klick
  Unable to make a phone call bingo600 4 7,794 07-23-2020, 10:18 AM
Last Post: israel
  New Pine Phone User LinuxBrave 2 3,983 07-21-2020, 05:43 PM
Last Post: natasha
  Problems with Phone Calls TitanToast 0 2,249 06-25-2020, 11:31 AM
Last Post: TitanToast

Forum Jump:


Users browsing this thread: 1 Guest(s)