Hi, On 04/20/2016 04:11 PM, Yorn wrote: > + adding ofono mailinglist as it may be of interest > Thanks. > Point is, that I am trying to run the u-blox on ofono+connman and had/have some questions regarding the setup. > I compiled the git version of the ofono for a freescale vf610 board with an onboard ublox usb adapter and got quite far. > > A manual setup on pppd+peer+provider+chat script gave me a clean internet connection. > > Now I want to integrate that with ofono/connman. I got ofono finding the module, advertise it as a cellular technology to connman, but no service is showing up. > > I will go on setting up the umts high throughput profile. > > So the rest of the story can be found below! > > @Dragos: > without any changes, I got > lsusb: > 1546:1146 U-Blox AG (which is high performance?) > Good. Now we're on stable grounds :). > online modem runs without any complains, but without any changes > root(a)colibri-vf:~/test# ./online-modem > Setting modem /ublox_0 online... > Can you check the output of list-contexts now? You should see one active. And if that is so, you should also see a connman cellular service present. > > BR - Yorn (Jörn) > > > Am 20.04.2016 um 15:16 schrieb Dragos Tatulea: >> Hi Jörn, >> >> Can we take this discussion to the connman/ofono ml? Other people >> might find this useful. >> >> On 04/20/2016 03:01 PM, Jörn wrote: >>> Hi Dragos, >>> >>> I got python to work for the test scripts, this is what it gave [1]. I believe I am just a minute away .. >>> >> Good. >> >>> I got the connection up and running on a manual (old fassioned) way with pppd, chat and provider script. However I am not an expert on ofono/connman yet (but trying hard ...). >>> >>> I firstly wanted to use 2g/3g with high performance mode (as I saw your effort has been put on this point, right?). I am rather not sure, how to configure that without having a connman service. >> The AT Commands Examples [1] documents that (USB configuration section). >> You should change the mode manually. A successful set will yield the >> following ids from lsusb: >> >> 1546:1140 U-Blox AG >> >> >>> BR - Jörn >>> >>> [1] >>> root(a)colibri-vf:~/test# ./activate-context >>> Error activating /ublox_0/context1: org.ofono.Error.NotAttached: GPRS is not attached >>> root(a)colibri-vf:~/test# ./list-contexts >>> [ /ublox_0 ] >>> [ /ublox_0/context1 ] >>> Username = >>> AuthenticationMethod = chap >>> Protocol = ip >>> Name = Internet >>> Settings = { } >>> IPv6.Settings = { } >>> Active = 0 >>> AccessPointName = >>> Password = >>> Type = internet >>> >>> root(a)colibri-vf:~/test# ./list-modems >>> [ /ublox_0 ] >>> Features = net gprs sim >>> Emergency = 0 >>> Powered = 1 >>> Lockdown = 0 >>> Interfaces = org.ofono.NetworkRegistration org.ofono.ConnectionManager org.ofono.SimManager >>> Online = 1 >>> Model = TOBY-L210 >>> Revision = 09.71 >>> Type = hardware >>> Serial = 352255060097262 >>> Manufacturer = u-blox >>> [ org.ofono.NetworkRegistration ] >>> Status = roaming >>> Strength = 60 >>> Name = Tele2 M2M (E-Plus) >>> LocationAreaCode = 0 >>> Mode = auto >>> MobileCountryCode = 262 >>> Technology = hspa >>> CellId = 16 >>> MobileNetworkCode = 03 >>> [ org.ofono.ConnectionManager ] >>> Powered = 1 >>> Attached = 0 >>> Bearer = none >>> RoamingAllowed = 0 >>> [ org.ofono.SimManager ] >>> ServiceProviderName = Tele2 M2M >>> Retries = [pin2 = 3] [puk2 = 10] [pin = 3] [puk = 10] >>> MobileCountryCode = 240 >>> FixedDialing = 0 >>> SubscriberNumbers = >>> PreferredLanguages = en >>> BarredDialing = 0 >>> CardIdentifier = 89462046051001005763 >>> LockedPins = >>> MobileNetworkCode = 07 >>> SubscriberIdentity = 240075810199181 >>> Present = 1 >>> PinRequired = none >>> >>> Thanks -- Dragos Tatulea Software Developer @ Endocode AG dragos(a)endocode.com Endocode AG, Brückenstraße 5A, 10179 Berlin +49 30 1206 4472 | info(a)endocode.com | www.endocode.com Vorstandsvorsitzender: Mirko Boehm Vorstände: Dr. Thomas Fricke, Sebastian Sucker Aufsichtsratsvorsitzende: Alexandra Boehm Registergericht: Amtsgericht Charlottenburg - HRB 150748 B