OESF Portables Forum
Model Specific Forums => Gemini PDA => Gemini PDA - Linux => Topic started by: Sir J David on January 11, 2018, 06:30:54 am
-
Hi there, my first post here.
I wonder if there is any software for using the Phone from Linux? I mean the "real phone chip" (3G, 4G etc), not Skype and other apps like that.
Kind regards
/David
-
A tool for managing calls/SMS is planned, it will be probably based on ofono. In the meanwhile, if Planet will provide a Linux driver for the cellular modem's serial port (/dev/ttyS0 or similar), Wammu will probably work:
https://wammu.eu/ (https://wammu.eu/)
[ You are not allowed to view attachments ]
Varti
-
A tool for managing calls/SMS is planned, it will be probably based on ofono.
Is there an ARM port of ofono? Everything I've seen about it, which I admit is a limited amount, has it tied to Intel chips.
I'm just hoping that Planet gives us all the programming hooks for those things for which drivers are not provided (and for those things for which drivers are provided, too). In the video, Janko said Planet is committed to open source all the way or words to that effect; sadly, in today's climate "all the way" or words to that effect has come to mean "some, at least a little. Maybe."
I worry about the 4G support under Linux; with it, I can't forsee ever booting into Android.
-
There are installable packages for ofono and wammu available in the debian 9 repository. Something to play with when we get the devices...
To clarify: All I'm saying is that if you type 'apt-get install ofono' you can expect something to get installed (ie its part of debian so yes it works on ARM), from its description it claims to be a 'Mobile telephony stack (daemon)'. So no UI. From the dependencies on wammu there is no indication that it will talk to ofono, seems more like its designed to talk to external bluetooth mobile phones. But my expectation is that ofono would be the route into linux for the telephone functionality of the hardware.
-
There are installable packages for ofono and wammu available in the debian 9 repository. Something to play with when we get the devices...
Does ofono have its own GUI? I was under the impression that it is just an API.
Varti
-
One frontend for ofono voice calls would be telepathy-ring, another debian package. Found by "apt rdepends ofono". A GUI for the Telepathy framework would be Empathy.
-
Damn, I really hope we can get telephony to work under linux! I don't care if its CLI... we can make an interface for it...
Are we expecting 4G to work under linux for mobile data?
PS: am I imagining planet saying there will be a forum or something - to help the community sort out and collab on stuff like this?
-
The few historical using 4G on Linux threads that I have found wind up with one side asking for 'how do I do this' and the other side telling them to just tether the Linux computer to a phone or 'use Skype'. Example:
https://www.linuxquestions.org/questions/li...8153/page2.html (https://www.linuxquestions.org/questions/linux-networking-3/telephone-usage-through-3g-4g-lte-modem-4175538153/page2.html)
There have, however, been a few attempts at open source phones. That makes me wonder if there is an application stack that can be used as a baseline from one of them.
https://en.wikipedia.org/wiki/List_of_open-...e_mobile_phones (https://en.wikipedia.org/wiki/List_of_open-source_mobile_phones)
I'm coming up pretty empty on actual Linux applications that can offer support for telephone and messaging directly to/from the 3G/4G modem. What am I missing?
-
The few historical using 4G on Linux threads that I have found wind up with one side asking for 'how do I do this' and the other side telling them to just tether the Linux computer to a phone or 'use Skype'. Example:
https://www.linuxquestions.org/questions/li...8153/page2.html (https://www.linuxquestions.org/questions/linux-networking-3/telephone-usage-through-3g-4g-lte-modem-4175538153/page2.html)
There have, however, been a few attempts at open source phones. That makes me wonder if there is an application stack that can be used as a baseline from one of them.
https://en.wikipedia.org/wiki/List_of_open-...e_mobile_phones (https://en.wikipedia.org/wiki/List_of_open-source_mobile_phones)
I'm coming up pretty empty on actual Linux applications that can offer support for telephone and messaging directly to/from the 3G/4G modem. What am I missing?
As Varti has noted, unless Planet has cooked up something secret and special oFono seems to be all we have. I do not know what stands between that and a gui, but apparently there are some working implementations in Sailfish, Ubuntu Touch, and MeeGO.
-
I'm coming up pretty empty on actual Linux applications that can offer support for telephone and messaging directly to/from the 3G/4G modem. What am I missing?
Wammu might be the only available option on Linux. I'll try it once I'll get my Gemini.
Varti
-
I'm coming up pretty empty on actual Linux applications that can offer support for telephone and messaging directly to/from the 3G/4G modem. What am I missing?
Wammu might be the only available option on Linux. I'll try it once I'll get my Gemini.
Isn't Wammu SMS only?
-
Its been a while since I've done anything like this but vgetty was a userland tool for voice calls over modems and it was reasonably easy to make voice calls using AT serial commands in e.g. python. I don't know about modern hardware tho - I know it can't be done over 3g dongles but phone radios obviously do support voice calls. I'd be interested to look at some of the raspberry pi phones that have been made - although they probably use specific python modules for the various GSM shields, or maybe even arduino libraries?
-
I'm coming up pretty empty on actual Linux applications that can offer support for telephone and messaging directly to/from the 3G/4G modem. What am I missing?
Wammu might be the only available option on Linux. I'll try it once I'll get my Gemini.
Isn't Wammu SMS only?
Libgammu can handle calls on some devices - but I think this was with a phone tethered to a computer, rather than an embedded modem. oFono is closer to our use case it seems
Edit: fyi wammu uses libgammu
-
Wammu might be the only available option on Linux. I'll try it once I'll get my Gemini.
Isn't Wammu SMS only?
No, it supports voice calls too:
https://wammu.eu/docs/manual/gammu/index.html#call-commands (https://wammu.eu/docs/manual/gammu/index.html#call-commands)
Varti
-
Wammu might be the only available option on Linux. I'll try it once I'll get my Gemini.
Isn't Wammu SMS only?
No, it supports voice calls too:
https://wammu.eu/docs/manual/gammu/index.html#call-commands (https://wammu.eu/docs/manual/gammu/index.html#call-commands)
Varti
This is great news, is it not? The next question I have is as to the format of storage on the sim card, to wit whether at least in theory I could pull the sim card from my Blackberry and stick it in my Gemini and retain access to numbers and so on stored there. Which would be very cool indeed. My other concern is WiFi calling. There is no cellular signal where I live, but I have worked around it through WiFi calling, which has worked with TMobile and my Blackberry (running Blackberry OS, not Android).
-
Wammu might be the only available option on Linux. I'll try it once I'll get my Gemini.
Isn't Wammu SMS only?
No, it supports voice calls too:
https://wammu.eu/docs/manual/gammu/index.html#call-commands (https://wammu.eu/docs/manual/gammu/index.html#call-commands)
Varti
Depscribe is right, Wammu does not handle calls.
https://wammu.eu/wammu/ (https://wammu.eu/wammu/)
Like I said before libgammu supports calls, and the link you posted refers to gammu command line app, not wammu
-
Depscribe is right, Wammu does not handle calls.
https://wammu.eu/wammu/ (https://wammu.eu/wammu/)
Like I said before libgammu supports calls, and the link you posted refers to gammu command line app, not wammu
Sorry, my bad, I thought that since they were supported by Gammu, Wammu would support them too. There was a ticket requesting to implement it, but it was rejected:
https://github.com/gammu/wammu/issues/29 (https://github.com/gammu/wammu/issues/29)
We'll have to see if the audio will be automatically redirected to the speakers/headset plug and if calls will work under Gammu, if so, we might open a new ticket requesting to handle this under Wammu too.
Varti
-
Just to point out that under the Gemian - Gemini Keyboard Apps project I'm currently porting ubports (Ubuntu Touch) messaging and dialer apps to D9 for use on the Gemini. Fingers crossed my device is in the first batch or I'm going to be unable to test this for some time...
-
Just to point out that under the Gemian - Gemini Keyboard Apps project I'm currently porting ubports (Ubuntu Touch) messaging and dialer apps to D9 for use on the Gemini. Fingers crossed my device is in the first batch or I'm going to be unable to test this for some time...
How reliant is the UT dialier-app on Unity and Mir? How does it interface with the hardware?
-
How reliant is the UT dialier-app on Unity and Mir? How does it interface with the hardware?
it used to be the case that you could send AT commands to a phone module and cause it to make voice calls. If you had a GSM phone with bluetooth, you could use a control app on your phone or PDA to tell the phone to make a voice call.
https://en.wikipedia.org/wiki/Voice_modem_command_set (https://en.wikipedia.org/wiki/Voice_modem_command_set)
whether the G is controlled this way, I don't know, but it would be the first thing I would try - to see if there was a serial device seen by the linux kernel which connects to the radio module (even if the radio module is actually a process which simulates a separate modem-like thing).
-
How reliant is the UT dialier-app on Unity and Mir? How does it interface with the hardware?
That is the effort of the port cutting that stuff out and the adding the keyboard shorts cuts and then tidying up the UI. At the moment I'm still building all the dependencies, which seems to be never ending. It bottoms out in ofono and hybris type things, which I'm hoping Planet will have done the other side of...
-
How reliant is the UT dialier-app on Unity and Mir? How does it interface with the hardware?
That is the effort of the port cutting that stuff out and the adding the keyboard shorts cuts and then tidying up the UI. At the moment I'm still building all the dependencies, which seems to be never ending. It bottoms out in ofono and hybris type things, which I'm hoping Planet will have done the other side of...
fwiw, planet on the indiegogo website among the comments today:
We will be updating on Linux over the next few weeks and at Mobile World Congress. Many exciting announcements on the Linux side soon.
and more, sort of, here:
https://www.mobileworldcongress.com/exhibit...puters-limited/ (https://www.mobileworldcongress.com/exhibitor/planet-computers-limited/)