libera/#maemo-leste/ Saturday, 2024-12-07

siceloinky: yes I do.06:13
sicelowhat are you trying to do BTW?06:13
sicelobusctl call org.ofono /motmdm_0 org.ofono.Modem SetProperty sv Powered b false06:14
sicelothis will. disable the modem while leaving wifi working. to ensure modem doesn't power up at boot, you can do06:15
sicelosudo rc-update del cellulard06:16
sicelogot 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
sicelohttps://paste.debian.net/1338631/07:56
freemangordonsicelo: upstream ofono?07:57
freemangordonBTW, I am writing droid driver using qmi in upstream, as we speack07:58
sicelono, leste version07:58
sicelothanks @ upstream!!07:58
siceloi rebased leste's ofono to 2.1 yesterday, but didn't get around to building and testing07:58
freemangordonwell, upstream is 2.13 already, and API has changed a lot07:59
siceloyeah08:00
siceloi'll wait for your ofono, not duplicating efforts :-)08:01
freemangordonyeah, better do08:04
siceloplease do ping when there's something to test08:22
freemangordonsure08:24
siceloso you're saying now it'll be qmi only? no more AT-QMI hybrid?08:26
freemangordonI guess we'll need some AT08:58
freemangordonbut will see08:58
freemangordonbut yeah, most of it will be qmi08:58
inkysicelo, thank you so much!10:33
inkyi think i did it, yay.10:33
inkybut is just not starting cellulard enough?10:34
inkyi think i still need to disable modem after reboot, no?10:34
sicelono10:40
sicelocellulard is what powers up the modem at boot.10:41
inkythank you!10:52
freemangordonsicelo: upstream ofono has a nasty bug in qmi: callbacks are not called in case of error14:21
freemangordonhmm, scratch that14:39
freemangordonsicelo: ping14:56
freemangordonsicelo: 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 online14:59
freemangordonI wonder which one is the correct one14:59
siceloI think all are correct iirc. n900-era modems do it after online because that's the only time you can use a context17:22
freemangordonok, I'll do like gobi does (after sim)17:26
sicelowith lte, voice calls may need a context, even emergency calls. hence context should be available early17:26
siceloyes. Gobi way is best for ofono because qmimodem17:27
freemangordonhttps://pastebin.com/QsJnEdQh17:30
siceloyay, this is 2.13?17:30
freemangordonmhm17:31
freemangordonbut on ubuntu17:31
freemangordon2017:31
freemangordonmeans - didn;t try on the device yet17:31
freemangordonno idea if voica calls work17:31
freemangordon*voice17:31
freemangordonalso, no idea if notifications work17:31
freemangordond4 is connected via usb to the pc17:32
freemangordonbut anyway, will push to our repo17:32
siceloyeah please do. Will build as soon as I'm home17:34
sicelohow are you accessing d4 modem from ubuntu?17:35
freemangordonbp mode17:46
freemangordonholding vol up/down when pressing power button17:46
freemangordonthen select "bp mode" with vol down and press vol ip17:47
freemangordon*up17:47
sicelointeresting17:52
freemangordonWizzup: I remember you patched ofono - something related to RAT or similar, but cannot find the patch, could you help19:22
freemangordonah, that one https://github.com/maemo-leste-upstream-forks/ofono/commit/cbffe1d6d3a1872db5454327a4f8c6f20419bd5f19:23
freemangordonWizzup: hmm, that comment you put there21:23
freemangordonthe result might (in theory) contain multiple interfaces21:24
freemangordonso we are back to square one21:25
freemangordonWizzup: see https://chromium.googlesource.com/chromiumos/third_party/libqmi/+/master/gobi-api/Gobi_2012-06-18-1054/GobiConnectionMgmt/GobiConnectionMgmtAPIStructs.h22:05
freemangordonsearch for sNASGetRFInfoResponse_RFInfo22:05

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!