Am 02.08.2019 um 17:51 schrieb Michael Mrozek EvilDragon@openpandora.org:
Am Freitag, den 02.08.2019, 16:50 +0200 schrieb H. Nikolaus Schaller
Hm, isn't that exactly what ModemManager should handle? https://www.freedesktop.org/wiki/Software/ModemManager/
Yes, this is also an alternative. There are several options and nobody know all of them...
"ModemManager is a DBus-activated daemon which controls mobile broadband (2G/3G/4G) devices and connections. Whether built-in devices, USB dongles, bluetooth-paired telephones, or professional RS232/USB devices with external power supplies, ModemManager is able to prepare and configure the modems and setup connections with them."
Is the Gemalto-Modem that non-standard that it doesn't use the standard commands?
All Modems have vendor specific AT commands, but usually such software has config tables and "knows" about many of them.
So you should look at the documentation of ModemManager if it supports the PLS8 out of the box.
BR, Nikolaus
Hi,
Am 02.08.2019 um 16:17 schrieb aTc atc@k-n-p.org:
Hi,
I got some extra sim cards to play with the modem a bit, but can't really find any docs on how to get a data connection going.
I found the AT command specification, and the hardware interface description, and from that side everything seems to connect and respond fine, but nothing really for the steps required after that on the linux side of things.
The letux wwan script also doesn't help here, with just a #todo and it sending a command to get the module voltage in the pyra section.
It would be nice to know what all these ttyACM and wwan0/1 ethernet ports are for, and how to use them properly.
Do you have any more docs/sdk stuff from gemalto on this ?
Unfortunatley, there isn't much more than the AT commands. And the 3GPP standards. The ttyACM ports are for AT commands - some do echo others don't. And some can send unsolicited messages. Allare more or less running in parallel. They have some predefined purposes "Application", "NMEA", "Modem".
So usually user-space uses some middleware taking care of all the AT commands and talking to the modem though one of the ttyACM ports. Examples of such middleware are FSO and ofono or RIL (Android).
The root/pin, root/dial and root/tam scripts do that with pure shell scripts and show several commands.
There is also https://github.com/akemnade/simple-gsmgui
But this all is for telephony and not data.
There is the root/wwan script and indeed it has only a stub for the Gemalto modem because I didn't find time to finish it and setup data connections myself.
The wwan ports seem to be instantiated automatically by the kernel because the module appears to support some standard-USB protocol. There is no special setup to make that happen. Maybe Ethernet over USB? But I do not know. I think dmesg and maybe /sys reveals something about these network interfaces and which driver is responsible.
So I think it could suffice to ifconfig up and add some routing table to make them work. Maybe it also needs some AT command to connect in 2G, 3G or 4G data mode. This should be in the list of AT commands.
The general approach should not be extremely different from the OPTION GTM601, just the vendor private AT commands differ.
Hope this helps to move a little forward.
BR, Nikolaus
Kernel mailing list Kernel@pyra-handheld.com http://pyra-handheld.com/cgi-bin/mailman/listinfo/kernel
-- Mit freundlichen Grüßen,
Michael Mrozek
OpenPandora GmbH Geschäftsführer: Michael Mrozek
Schäffbräustr. 11 85049 Ingolstadt Deutschland Tel.: 0841 / 990 5548 http://www.openpandora.de/ HRB 4879, Amtsgericht Ingolstadt
eMail: mrozek@openpandora.org