Message ID | 20180330180151.GA27494@amd (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hi! > > > Would you mind sharing those hacks - I would like to play around with > > > ofonod as well. Maybe I can help with a way forward. > > > > Okay. Here's less hacky version of the hack, but still using AT > > commands. You still need to set up udev, as described in the other > > mail. > > > > And... it seems I can have a qmi connection, too, but that's topic for > > other email. > > This, applied on top of previous patch, gives me some kind of qmi > connection, AFAICT. I can enable/online a modem, but nothing else > works. > > LocationReporting is advertised but does not work. dial-number does > not work either. But from list-modems, it looks like some kind of > communication works... Ok, strange. So there's ofonod in the maemo-leste already. user@devuan:~$ /usr/sbin/ofonod -v 1.22 ...and it seems to somehow work with the droid 4, in default configuration, thinking it is "Gobi" modem. user@devuan:/my/ofono$ sudo python2 test/list-modems [ /gobi_0 ] Features = sms net rat ussd sim gps Emergency = 0 Powered = 1 Lockdown = 0 Interfaces = org.ofono.SmartMessaging org.ofono.PushNotification org.ofono.MessageManager org.ofono.NetworkRegistration org.ofono.RadioSettings org.ofono.SupplementaryServices org.ofono.NetworkMonitor org.ofono.MessageWaiting org.ofono.AllowedAccessPoints org.ofono.SimManager org.ofono.LocationReporting org.ofono.VoiceCallManager Online = 1 Model = 196 Revision = M6600A-SCAUHSZ-3.1.3310T 1 [Jun 09 2011 17:00:00] Type = hardware ... ... and it seems to kind-of work. Even incoming SMSes work, which I could not get to work in AT mode. Otoh, voice calls do not, so... Confused, Pavel
diff --git a/doc/location-reporting-api.txt b/doc/location-reporting-api.txt index 21e346d4..ff0a35dc 100644 --- a/doc/location-reporting-api.txt +++ b/doc/location-reporting-api.txt @@ -13,7 +13,7 @@ Methods dict GetProperties() filedescriptor Request() Asks to turn ON the NMEA stream and supplies the - gps device file descriptor. The external cliend should + gps device file descriptor. The external client should use the file descriptor to receive the NMEA data. Possible Errors: [service].Error.InProgress diff --git a/plugins/udevng.c b/plugins/udevng.c index a4b18488..1c6a6679 100644 --- a/plugins/udevng.c +++ b/plugins/udevng.c @@ -234,9 +234,10 @@ static gboolean setup_gobi(struct modem_info *modem) } DBG("qmi=%s net=%s mdm=%s gps=%s diag=%s", qmi, net, mdm, gps, diag); - +#if 0 if (qmi == NULL || mdm == NULL || net == NULL) return FALSE; +#endif ofono_modem_set_string(modem->modem, "Device", qmi); @@ -1251,7 +1252,7 @@ static struct { { "cinterion", setup_serial_modem }, { "nokiacdma", setup_serial_modem }, { "sim900", setup_serial_modem }, - { "g1", setup_serial_modem }, + // { "g1", setup_serial_modem }, { "wavecom", setup_wavecom }, { "tc65", setup_tc65 }, { "ehs6", setup_ehs6 }, @@ -1602,8 +1603,8 @@ static struct { { "telit", "cdc_acm", "1bc7", "0021" }, { "telitqmi", "qmi_wwan", "1bc7", "1201" }, { "telitqmi", "option", "1bc7", "1201" }, - { "telitqmi", "qmi_wwan", "22b8", "2a70" }, - { "telitqmi", "option", "22b8", "2a70" }, + { "gobi", "qmi_wwan", "22b8", "2a70" }, + { "gobi", "option", "22b8", "2a70" }, { "nokia", "option", "0421", "060e" }, { "nokia", "option", "0421", "0623" }, { "samsung", "option", "04e8", "6889" }, @@ -1719,7 +1720,7 @@ static void check_device(struct udev_device *device) return; } -#if 0 +#if 1 if ((g_str_equal(bus, "usb") == TRUE) || (g_str_equal(bus, "usbmisc") == TRUE)) check_usb_device(device);