| sicelo | inky: yes I do. | 06:13 |
|---|---|---|
| sicelo | what are you trying to do BTW? | 06:13 |
| sicelo | busctl call org.ofono /motmdm_0 org.ofono.Modem SetProperty sv Powered b false | 06:14 |
| sicelo | this will. disable the modem while leaving wifi working. to ensure modem doesn't power up at boot, you can do | 06:15 |
| sicelo | sudo rc-update del cellulard | 06:16 |
| sicelo | got ussd interface to show up on motmdm_0, and at least the request does reach the qmimodem driver. but fails. maybe using wrong qmi device :-/ | 07:56 |
| sicelo | https://paste.debian.net/1338631/ | 07:56 |
| freemangordon | sicelo: upstream ofono? | 07:57 |
| freemangordon | BTW, I am writing droid driver using qmi in upstream, as we speack | 07:58 |
| sicelo | no, leste version | 07:58 |
| sicelo | thanks @ upstream!! | 07:58 |
| sicelo | i rebased leste's ofono to 2.1 yesterday, but didn't get around to building and testing | 07:58 |
| freemangordon | well, upstream is 2.13 already, and API has changed a lot | 07:59 |
| sicelo | yeah | 08:00 |
| sicelo | i'll wait for your ofono, not duplicating efforts :-) | 08:01 |
| freemangordon | yeah, better do | 08:04 |
| sicelo | please do ping when there's something to test | 08:22 |
| freemangordon | sure | 08:24 |
| sicelo | so you're saying now it'll be qmi only? no more AT-QMI hybrid? | 08:26 |
| freemangordon | I guess we'll need some AT | 08:58 |
| freemangordon | but will see | 08:58 |
| freemangordon | but yeah, most of it will be qmi | 08:58 |
| inky | sicelo, thank you so much! | 10:33 |
| inky | i think i did it, yay. | 10:33 |
| inky | but is just not starting cellulard enough? | 10:34 |
| inky | i think i still need to disable modem after reboot, no? | 10:34 |
| sicelo | no | 10:40 |
| sicelo | cellulard is what powers up the modem at boot. | 10:41 |
| inky | thank you! | 10:52 |
| freemangordon | sicelo: upstream ofono has a nasty bug in qmi: callbacks are not called in case of error | 14:21 |
| freemangordon | hmm, scratch that | 14:39 |
| freemangordon | sicelo: ping | 14:56 |
| freemangordon | sicelo: majority of the modem drivers in ofono create gprs contexts after SIM is available (pin entered etc), the others (including n900) create gprs context after modem is put online | 14:59 |
| freemangordon | I wonder which one is the correct one | 14:59 |
| sicelo | I think all are correct iirc. n900-era modems do it after online because that's the only time you can use a context | 17:22 |
| freemangordon | ok, I'll do like gobi does (after sim) | 17:26 |
| sicelo | with lte, voice calls may need a context, even emergency calls. hence context should be available early | 17:26 |
| sicelo | yes. Gobi way is best for ofono because qmimodem | 17:27 |
| freemangordon | https://pastebin.com/QsJnEdQh | 17:30 |
| sicelo | yay, this is 2.13? | 17:30 |
| freemangordon | mhm | 17:31 |
| freemangordon | but on ubuntu | 17:31 |
| freemangordon | 20 | 17:31 |
| freemangordon | means - didn;t try on the device yet | 17:31 |
| freemangordon | no idea if voica calls work | 17:31 |
| freemangordon | *voice | 17:31 |
| freemangordon | also, no idea if notifications work | 17:31 |
| freemangordon | d4 is connected via usb to the pc | 17:32 |
| freemangordon | but anyway, will push to our repo | 17:32 |
| sicelo | yeah please do. Will build as soon as I'm home | 17:34 |
| sicelo | how are you accessing d4 modem from ubuntu? | 17:35 |
| freemangordon | bp mode | 17:46 |
| freemangordon | holding vol up/down when pressing power button | 17:46 |
| freemangordon | then select "bp mode" with vol down and press vol ip | 17:47 |
| freemangordon | *up | 17:47 |
| sicelo | interesting | 17:52 |
| freemangordon | Wizzup: I remember you patched ofono - something related to RAT or similar, but cannot find the patch, could you help | 19:22 |
| freemangordon | ah, that one https://github.com/maemo-leste-upstream-forks/ofono/commit/cbffe1d6d3a1872db5454327a4f8c6f20419bd5f | 19:23 |
| freemangordon | Wizzup: hmm, that comment you put there | 21:23 |
| freemangordon | the result might (in theory) contain multiple interfaces | 21:24 |
| freemangordon | so we are back to square one | 21:25 |
| freemangordon | Wizzup: see https://chromium.googlesource.com/chromiumos/third_party/libqmi/+/master/gobi-api/Gobi_2012-06-18-1054/GobiConnectionMgmt/GobiConnectionMgmtAPIStructs.h | 22:05 |
| freemangordon | search for sNASGetRFInfoResponse_RFInfo | 22:05 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!