libera/#maemo-leste/ Friday, 2022-08-26

uvosis it tho? arm devices are still a clusterf**k compeard to x86 based ones no?00:09
uvoswrt standarization allowing a common kernel to work.00:09
uvosat least its sill that way with cromebooks00:10
uvosis this different?00:10
Wizzupuvos: seems like 5.20 supports it00:18
Wizzupnot sure about everything00:18
Wizzupbut could potentially be a nice build machine too00:18
uvos__Wizzup: btw something remains wrong with the call audio registers, when calling via gsm, i have the problem that there is significant gsm interferance on the audio, in android this is not the case.09:27
uvos__presumably we are leaving a pa on we should not09:27
Wizzupuvos__: hm, possible, we can compare the dumps10:48
Wizzupuvos__: btw, 'pa'?10:48
uvos__Wizzup: an amp10:53
Wizzuppreamp ok10:56
freemangordonok, there is more than one isseu11:08
freemangordon*issue11:08
freemangordonas soon as ofonod is restartde, there are no more sim plug/unplug events11:09
Wizzupfreemangordon: what if you restart ofono again?11:16
WizzupI've found that sometimes it doesn't even find the modem on restart11:17
freemangordonno matter how many times I restart ofono, it needs reboot to start receive sim events again11:17
freemangordonbut lets first fix the parser11:17
Wizzupok11:20
uvos__sounds like fun buggyness :P11:53
uvos__i had a long call yesterday11:54
uvos__and the modem just dropped from usb during the call11:54
uvos__call continued however, but there was no further way to interact with it (or end the call)11:55
Wizzupheh12:22
freemangordontmlind: why is  expect_pdu set to TRUE here https://github.com/maemo-leste-upstream-forks/ofono/blob/maemo-ofono/drivers/motorolamodem/sim.c#L8012:51
freemangordonWizzup: could you gather n_gsm logs on bionic? I want to see if data ends with \n\r or with \n or with \r :)13:28
Wizzupwhat kind of logs do you want13:31
Wizzupin particular13:31
freemangordonn_gsm debug=0xff13:31
Wizzupfor sim insertion, or just reboot and then the logs until I enter pin, or?13:31
freemangordonyes, just reboot13:31
tmlindfreemangordon: hmm worth checking them all if pdu is really needed, worth checking the commit logs too if there might be some comments13:34
freemangordontmlind: my point is - it seems it expects \n as EOL and \r as end of PDU13:35
freemangordonSo far I have seen no multi-line responses, besides yesterday which I cannot repro anymore13:36
freemangordonso, at least for MSIM a line is needed, not PDU13:36
freemangordonIIUC13:36
Wizzupfreemangordon: btw -I think- my syslog also has a rule for logging n_gsm traffic to /var/log/maemo but I am not sure now13:36
tmlindfreemangordon: yup could be a cut and paste error from sms handling which should use the pdu flag13:37
freemangordontmlind: ok, but you can never get PDU there as well13:37
freemangordonas there is no '\r'13:38
tmlindmultipart messages13:38
freemangordonI understand, but parser can never extract PDU without either '\n\r' or '\n\n' (with your hack)13:39
freemangordoni guess thats why sometimes SMSes get lost13:39
tmlindok could be13:39
tmlindi'm still using just shell scripts..13:39
freemangordontmlind: what about adding '\r' at the end of each frame?13:39
freemangordonin n_gsm that is13:39
freemangordonor maybe there is some modem option to send '\n\r'13:41
tmlindmaybe possible to fix up after detecting firmware version or something13:42
freemangordonbut where?13:42
freemangordonin ofono it is too late13:42
tmlindthe real problem is with ophono though, we are trying to parse packet data with a serial line parser13:43
freemangordonyes, but is it garanteed that tty will send the whole packet at one chunk?13:43
tmlindwell n_gsm needs to decode it it first, after that it's packet data13:44
freemangordonok, but is is guaranteed that read() in ofono will receive the packet at once?13:44
tmlindi think that depends on the fifo state13:45
freemangordonfifo? umm, isn;t it(n_gsm) supposed to receive the whole packet before pushing to userspace?13:46
tmlindonly place that would possibly know to append a missing \r is n_gsm.c13:46
freemangordonmhm13:46
freemangordondoes it have some quirks?13:46
Wizzupfreemangordon: https://paste.villavu.com/raw/7521/13:47
Wizzupfreemangordon: yeah so /var/log/maemo/modem.log should be all gsd_receive_buf and gsm_data_kick messages13:47
Wizzuphere: https://paste.villavu.com/raw/7522/13:48
Wizzupand yes that's my sim id and pin etc but w/e :)13:48
freemangordonok, it is exactly the same on d413:49
Wizzuphm13:49
Wizzupthis is for a sim with pin fyi13:49
freemangordonit ends with 0x0a13:49
freemangordondoes not matter13:49
tmlindprobably the \r and \n differences between firmwares are for incoming sms then13:51
freemangordoncould be13:52
freemangordonbut at least in MSIM there is no difference13:52
tmlindso did your try parsing MSIM without the pdu flag set?13:53
freemangordonso, lets first set expect_pdu to FALSE;13:53
freemangordongoing to13:53
tmlindright13:53
* freemangordon is afk for ~15 min13:58
uvos__even if there is a a modem option that changes line endings14:04
uvos__we should not set it, that would most likely break libmoto_ril on android/los14:05
tmlindyup14:08
freemangordontmlind: yep, works14:21
tmlindfreemangordon: great :) probably worth fixing it for the other notifications i used it for too14:26
tmlindsounds like it should be kept for incoming sms only14:26
mglbg[m]What is unclear to me from the wiki, do i need to root a droid4 to get ML on there? Iirc the pmos wiki did mention rooting it, but the ML wiki does not?14:33
tmlindmglbg[m]: rooting is optional if using droid4-kexecboot14:37
uvos__and installing los to /system would be my reccomended way of rooting :)14:39
tmlindfreemangordon: fyi g_at_chat_register using pdu for notifications: ~+CREG=, ~+MSIM=, ~+GCMT=, ~+GSSR=, not using pdu for notifications: ~+RSSI=14:42
tmlindseems all those should be fixed14:42
freemangordonmhm14:43
freemangordontmlind: but, question is - does we receive PDU for SMSes?14:44
freemangordonor, I shell send multi-part SMS to d4 to test?14:44
tmlindyeah please test both on d4 and bionic with a long multipart sms14:46
freemangordonok14:46
freemangordonI will fix all other g_at_chat_register() calls14:47
freemangordonto not require PDU14:47
tmlindhmm so presumably we can use non-pdu g_at_chat_register() on the same dlci with a pdu parser.. not sure if those conflict14:47
tmlindack14:47
freemangordonWTYM pdu parser? at least in case of MSIM no parsing is done, IIUC14:48
tmlindwell let's say we add sim read/write support that also uses dlci10 and we get pdus for some commands, not sure if that's the case though14:49
freemangordonah, I see14:49
tmlindanyways, the issue should go away when switching to ell14:49
freemangordonhmm,14:49
freemangordondo wa already have ell parser?14:50
freemangordon*we14:50
tmlindyeah i think ofono uses that for new modems14:50
tmlindi think grep for ell.h14:50
freemangordonyep, it is there14:50
freemangordonare you going to do that?14:51
tmlindi was, and pavel was, but ran out of steam14:51
tmlindon my infinite list of things to do :)14:51
freemangordonalso, I still fail to see how this will fix the missing end-of-packet marker14:52
tmlindsee what i pasted yesterday, pdu parser fails to see anything14:52
freemangordonsorry, long backscroll, what do you mean?14:53
freemangordonwhat exactly that is14:54
tmlindsee at_chat_handle_command_response() for resp = strstr(line, p->delimiter);14:56
tmlindoh hmm but so in this case d4 and bionic both use the same delimiter?14:57
freemangordonyes14:58
freemangordonalso, again, it is not about command responses14:58
freemangordonbut unsol messages14:58
tmlindyeah so no clue then :)14:58
freemangordonit is another story when we send cmd and expect PDU as response14:58
tmlindyup14:58
freemangordonfor responses the correct flags are set befor parsing14:59
tmlindwhy would it work on bionic though?14:59
freemangordonno idea14:59
freemangordonah, yes14:59
freemangordonbecause qmimodem also receives notifications about SIM14:59
freemangordonsomehow14:59
tmlindon bionic only?14:59
freemangordonI saw on d4 as well14:59
tmlindthe qmimodem notification is kicked by this dlci10 MSIM parsing..15:00
tmlindunless something else also kicks the qmi modem15:00
freemangordonwell... no idea15:00
tmlindnote how the notifier function just calls mot_qmi_trigger_events()15:01
freemangordonyes15:01
freemangordonanything else? https://pastebin.com/9kTCvQYb15:01
tmlindand that just does a dummy SMSC query to trigger pending qmimodem notifications15:01
freemangordonyeah, taht's another issue15:02
tmlindlooks good, let's hope it fixes the issue of lost incoming sms too15:02
freemangordonmhm15:03
tmlindwould be nice to switch to using ofono :) it's been on my list for years now..15:03
freemangordonand you'll have the incentive to port to ell :p15:04
tmlindheh i wish15:04
tmlindshould be trivial though (tm)15:04
freemangordonI can do it as well, if you give me some hints what and where has to be done15:04
Wizzupif this stuff now works reliably, I think there's a few other things to tackle, but with the current knowledge it might be easy15:05
tmlindgo for it, unlikely i can look into it in the near future15:05
tmlindfreemangordon: so few years back we discussed on the ofono list that it should use ell.h15:05
tmlindto get it upstreamed. presumably gatchat is kind of deprecated15:05
freemangordonok, but ell.h just includes headers15:06
freemangordonl_io_new() ?15:07
tmlindso with ell.h, we'd just implement motmdm read/write functions,  skip past the U1234 header and that's about it15:07
tmlindno idea, have not looked at it for a few years now15:07
freemangordonah15:07
freemangordonok15:07
freemangordonhmm, tho only one that uses ell in our tree seems to be mbim.c15:09
tmlindok15:10
tmlindit has command_read_handler()15:11
freemangordonRSSI notifications seems to be parsed as well15:15
tmlindok great15:16
tmlindfyi, here's the ofono list ell discussion: https://www.mail-archive.com/ofono@ofono.org/msg19568.html15:16
freemangordonah, so they want to get rid of glib15:17
freemangordontmlind: I don;t think it has anything to do with the parser15:18
tmlindwell i described what we want to do, denis replied: "Example of using ell?  See drivers/mbimmodem/*.15:19
tmlind"15:19
freemangordonok15:19
tmlindso if we want to have our own read/write, we can implement it with ell like mbimmodem15:20
freemangordonok15:21
freemangordonbut still the question - how to detect the packet end? :)15:21
tmlindsounds like that will be only an issue for multipart sms hopefully15:21
tmlindhmm if we see U1234, the previous packet ended :)15:22
freemangordonare we guaranteed that read will always return whole packets? or \n marks the end of the packet?15:22
freemangordonhmm15:22
freemangordonright :D15:22
tmlindnot sure, both n_gsm and serdev use fifos15:22
freemangordonok, I guess I can write something15:23
freemangordonsee https://pastebin.com/GdASUGuv15:23
freemangordonlong sms from d4 to my n900 with delivery status report15:23
freemangordongoing to send long sms back15:24
tmlindhmm is GSSR=64\r really a pdu then?15:24
freemangordonnot sure15:25
freemangordonmaybe I shall revert your \n hack and see15:26
tmlindmaybe it does not matter if we just use it to notify usb qmimodem15:27
tmlindseems we can't parse GSSR content unless it's pdu, but if we do not anyays do it, we could add a comment about it15:27
freemangordontmlind: https://pastebin.com/3uEahCK615:28
freemangordonseems modem combines multipart for us15:29
freemangordonor not15:30
tmlindseems like the parser should use the size in ~+GCMT=116 for parsing the rest of the pdu15:30
tmlindi think 116 is the size15:30
freemangordonlooks like15:30
freemangordondoesn;t it do it already?15:31
tmlindthese are custom moto commands, well at least some are15:31
tmlindcustom moto notifications15:31
tmlindso not sure the pdu parser does much anything for us, i could be wrong15:32
freemangordonhttps://pastebin.com/MYDvEY9y15:33
freemangordonI don;t think this is the whole sms15:33
freemangordonhmm, it is, maybe15:33
tmlindsms is handled by the usb qmimodem :)15:34
tmlindwe just need to kick it15:34
mglbg[m]<uvos__> "and installing los to /system..." <- Allright, any howtos? :)15:34
freemangordonah15:34
freemangordonwell, it seems it works than15:34
freemangordon*then15:34
tmlindshould also work for mms too in theory15:34
tmlindthat's just a url to operator website to download the xml file from..15:35
freemangordonbesides... if ofono receives SMS while noone listens for it, how is that supposed to work?15:35
freemangordonyes, the whole SMS is received15:35
tmlindmotorola qmimodem is hardwired to require sms ack15:36
tmlindofono writes out the messages to directories from what i recall15:36
tmlindanyways, for notifications on ngsm dlci, if we are not parsing anything, there's no need to use pdu it seems as we just kick the usb qmimodem15:38
uvos__iirc from implementing sphone you can query ofono for old messages15:38
uvos__sphone dosent do this atm15:38
uvos__so if sphone isent running sms will be lost from a user perspective atm15:38
tmlindi think there's a possibility of ofono losing messages between acking and saving still15:38
tmlindi could be wrong15:38
freemangordonyeah, but that's a corner case15:39
tmlindyeah not sure if i remember right15:39
tmlindso care to add a comment to your patch for not using pdu for possible pdu packets for the notifiers?15:40
freemangordonok15:40
tmlindsomething like: "As we only notify the usb qmimodem and are not parsing the PDU packet, we do not set the PDU option for g_at_chat_register()"15:41
freemangordonok15:41
tmlindmight save days of hair pulling the next time around :)15:41
tmlindWizzup noticed w15:42
Wizzuphm?15:42
tmlindsome commands activate the usb qmimodem btw :)15:42
tmlindso kudos to him15:42
tmlindotherwise we'd be stuck implementing complete modem support over ngsm15:43
Wizzup:)15:43
freemangordonok, lemme push what I have done so far15:45
tmlindok15:47
tmlindso even if we managed to get rid of the pdu option completely with the excuse of just kicking the usb qmimodem, we still have the voice call delimiter for : hack left and the skipping of U123415:48
tmlindso the case for ell is still there even without the pdu hacks15:49
freemangordonsure15:49
freemangordonI am good at writing parsers, esp easy ones :)15:49
freemangordonso I may consider writing it15:49
tmlindyeah so the motmdm_read() could just wait until it has the full packet read based on the size15:51
WizzupI can definitely perform some bigger testing (with logging), just let me know when. some other things to eventually test are picking certain operators and/or scanning for operators15:51
Wizzupui wise I will fix the network activation icd2 stuff to wait, and then implement some roaming things15:52
tmlindfreemangordon: looks like ~+RSSI= notifier actually parses the signal strength so should use pdu i think15:52
tmlindmaybe it works without the pdu option too not sure15:52
freemangordonI didn;t change RSSI thingie :)15:52
freemangordonsee diff ^^^15:52
tmlindok15:54
tmlinddid you push out to m-l git?15:54
freemangordonhttps://github.com/maemo-leste-upstream-forks/ofono/commit/770802824a8975059d555e4b1499a1f6381e271915:55
freemangordonWizzup: could you release for devel? I was not able to grok the versioning in debian/changelog :)15:55
Wizzupok, will do in 1-2hrs15:56
freemangordonok15:56
Wizzup(maybe sooner)15:56
freemangordonalso, we shall teach pin UI to as a pin when it sees SIM card15:56
freemangordon*to ask15:56
Wizzupit does in the xsession15:57
freemangordonshould not be that hard15:57
Wizzupit just comes too late15:57
Wizzupofono reports 'no pin' when it runs15:57
Wizzupand then later ofono realises it has a pin15:57
Wizzupif you go to settings and then phone15:57
freemangordonno pin or no SIM?15:57
Wizzupyou will get the dialog15:57
Wizzupno sim.15:57
freemangordonyes, my point15:58
Wizzupbecause the modem reports this way later in boot process15:58
Wizzupwell it doesn't stay around15:58
Wizzupdo you want to run it on dbus signals?15:58
uvos__on mapphones you can also hotplug sim15:58
uvos__so the xsession thing makes no sense anyhow15:58
freemangordonwe shall listen to dbus events (somewhere) and show pin UI upon SIM arrival15:58
freemangordonuvos__: :nod:15:58
Wizzupso will this run all the time? I hope we can avoid that15:59
freemangordonwhat is this? dbu listener?15:59
freemangordon*dbus15:59
Wizzupyes15:59
freemangordonwhy not15:59
Wizzupram?15:59
Wizzupwe could maybe use dbus-scripts for this15:59
freemangordonno, hildon-status-menu plugin16:00
freemangordonwe already have on there16:00
uvos__sphone also could do it16:00
freemangordonfor connection status16:00
uvos__it has to deal with this stuff anyhow16:00
uvos__if you like16:00
freemangordonuvos__: no, we already have status menu plugin that deals with gsm stuff16:00
uvos__ok16:00
tmlindfreemangordon: commit looks good to me :) thanks for debugging the mystery issue16:00
freemangordon:)16:01
freemangordontmlind: no, please debug why after ofono gets restarted, no more unsol events arrive :)16:01
freemangordon*now16:01
freemangordonthis is something in the kernel16:01
freemangordonuvos__: https://github.com/maemo-leste/connui-cellular/blob/master/status-menu-item/status-item.c16:02
freemangordonwe just have to check if pin is required and call PIN ui16:03
uvos__freemangordon: yeah i know, im just not sure a plugin for a statusbar is the right place to do this kind of stuff16:03
uvos__seams the wrong process imo16:03
uvos__like how the volume applet used to do routing....16:04
freemangordonnot really, as this is part of connui-cellular16:04
freemangordonand this is used for GSM stuff16:04
tmlindfreemangordon: strange, so no more unsol events in dmesg?16:05
freemangordonyes16:06
freemangordonhmm, we already have connui_cell_security_code_register()16:06
freemangordonWizzup: what do you think?16:06
uvos__btw pinui is broken in landscape16:07
Wizzupgimme 10mins sry16:07
uvos__im sure you noticed16:07
uvos__(screen size issue)16:07
freemangordonnever seen it on any other device but n900 :)16:08
freemangordonbut ok, will fix that16:08
uvos__its some issue with libhildon pushbuttons that when they get streched to far horizontaly they break, i have seen it in serveral apps16:10
tmlindfreemangordon: you sure m-l does not do gsm 1 AT+SCRN=0 at some point to stop the unsol messages?16:10
freemangordonit does16:10
freemangordonbut isn't that related to RSSI only?16:10
tmlindi guess16:11
uvos__should we be calling UNSOL=1 after SCRN=1 ?16:11
freemangordondoes nto seem to matter16:11
tmlindno idea what UNSOL=1 does if anything16:11
freemangordon:nod:16:11
Wizzupuvos__: yes I know16:12
freemangordontmlind: just removed the card with SCRN=0 and received MSIM notification16:12
tmlindfreemangordon: but don't get it if you restart ofono?16:13
freemangordonput it back, and received MSIM in 6 seconds16:13
freemangordonlemme restart ofono and see16:13
freemangordonnothing16:15
freemangordonthere is no more MSIM events16:15
freemangordon*there are16:15
freemangordona reboot is needed to recover16:15
tmlindin dmesg?16:16
freemangordonnothin16:16
freemangordong16:16
tmlindwhat if you use ngsm 10 for the sim?16:17
tmlindanything in dmesg with that?16:17
tmlindneed to go out here, bbl16:17
freemangordonok16:17
freemangordonhttps://pastebin.com/2R1D34uX16:20
freemangordontmlind: ^^^16:20
tmlindso manually typed it still responds fine?17:10
freemangordonmhm17:10
tmlindweird17:10
freemangordonhmm,   RSSI callback does not get called17:10
tmlindthe pdu issue again?17:11
freemangordonno17:12
freemangordonit is like callback is not registered17:12
freemangordonummm17:14
freemangordonit is not17:14
freemangordonam I blind?17:15
tmlindsome state lingering somewhere from previous ofono run?17:15
freemangordonoh, I saw it17:15
freemangordonI am blind :)17:16
tmlindso what issues remain then?17:18
freemangordonoh, it seems that it does not get registered to the network until I enter the PIN17:18
freemangordonthat's why no RSSI callabck is set17:19
freemangordontmlind: ofono restart missing MSIM events17:19
tmlindok17:20
tmlindmaybe usb qmimodem shutdown clears some setting?17:20
freemangordonwell, AFAIK :)17:20
freemangordonyeah, could be17:20
tmlinddoes offlining the modem also stop RSSI after re-enabled?17:21
freemangordonWizzup: please, LMK if you are ok if I implement PIN UI call from connui-cellular status menu item?17:21
freemangordontmlind: RSSI is enabled by SCRN, no?17:22
tmlindsorry i mean MSIM17:22
freemangordonah, I think no17:22
freemangordonlemme check17:22
freemangordontmlind: hmm, actually those events come no matter if modem is offline or not, IIUC17:23
tmlindok17:23
freemangordonI think they come faster if modem is online, but that's another story I guess17:24
tmlindok17:24
freemangordonmaybe related to SCRN17:24
tmlindif there's noting in dmesg for MSIM after restarting ofono, it seems like it's some firmware setting that got somehow changed17:24
tmlindassuming other things work17:24
freemangordonmhm17:25
freemangordoncan we dump all parameters somehow?17:25
freemangordonand compare17:25
tmlindmaybe qmicli can dump most of the nvram17:27
tmlindoh actually.. tcmdrw should be able to dump the whole nvram17:27
tmlindtcmdrw --all17:27
freemangordonok, seems having modem online and SCRN enabled leads to SIM plug event being generated in few seconds17:28
freemangordoninstead of 2 minutes17:28
tmlindwhat about just toggle SCRN=1 followed by SCRN=0?17:28
freemangordonif I lock the screen, it sends SCRN=017:29
freemangordonmce that is17:29
tmlindi think android suffers from this same issue where it can take a long time to see the sim sometimes17:29
Wizzupfreemangordon: around now17:29
Wizzuplet me read backlog17:29
freemangordonok17:29
freemangordontmlind: even with SCRN=0, unplug is reported almost instantly17:30
freemangordonugh, plug as well :)17:30
freemangordonseems the key is modem being online :)17:30
Wizzupfreemangordon: pin ui already check if pin is required, so you can probably just spawn it17:31
freemangordonmhm17:32
freemangordonI just want to register callback on SIM present event17:32
freemangordonand spawn pin UI17:32
Wizzupsounds fine by me, this is for the applet that shows network tech and such?17:33
Wizzupnetwork signal too17:33
freemangordonmhm17:33
freemangordonthat one17:33
tmlindfreemangordon: ok interesting17:34
freemangordonWizzup: who brings modem online ATM?17:34
freemangordonnobody?17:34
Wizzupicd217:34
Wizzupbut only on network search17:34
Wizzupso you have to go to the network connections and then it will17:34
Wizzupwhich is a kludge17:34
freemangordondoes it care about flight mode?17:34
freemangordonscratch that17:35
Wizzupyou wrote the icd2 part17:35
WizzupI think it reads it, but I don't think it acts on it17:35
freemangordonI think we shall online the modem as soon as possible, during boot, unless flight mode is set17:35
Wizzupyes17:37
freemangordonanyway, going on a ride, please release ofono for -devel if you have time17:37
freemangordonbbl17:37
Wizzupwill do now17:37
Wizzupfreemangordon: where did you push17:39
Wizzupoh to beowulf-devel17:39
freemangordonmhm17:47
Wizzupit's in repos already17:49
buZzmake sure pin UI is just optional :P18:22
buZzi nearly always disable pin on sims18:22
uvospinui just closes if its triggered and sim is unlock18:23
uvosd18:23
uvosso yeah its "optional"18:23
buZzah, nice18:23
WizzupWow, 256GB microsd cards cost like 30 euro these days21:06
Wizzupfreemangordon: I can confirm that the sim is now seen, even with pin21:51
Wizzupon boot on d421:51
Wizzupso I booted on my sim with pin on my d4, entered pin, and then tried to activate the context21:57
Wizzuplooks like it is timing out21:58
WizzupI do see some motmdm_voice_get_state: lines21:58
Wizzupthose happen often/usually when activating the internet context21:58
Wizzuptoo bad I didn't have n_gsm debug on21:58
Wizzupwill turn that on now21:58
Wizzupmaybe it misses the CREG22:13
Wizzupthis time it worked, need to try again22:13
uvosyeah microsd cards got crazy cheep22:15
uvos(just as most phones droped the slots.. ahm)22:15
Wizzupwould 1tb work in the d4?22:15
uvosi think 2tb is the addressing limmit22:16
uvosbut have to check again22:16
Wizzupuvos: btw, there's one more thing I'd like to see fixed in the sphone rtcom code, which is when you get a sms from a random service (i.e. bank or your operator or such) that it picks up the name that the network provides22:16
uvosso yeah22:16
WizzupI couldn't find that in the code22:16
uvosWizzup: its ofono22:16
WizzupI can try to monitor dbus for the value22:16
Wizzupsee if ofono passes it22:16
WizzupI bet it does22:16
uvosofono passes the line identifier form the netowork directly into sphone22:17
uvosthis should be the phone number22:17
uvosbut operators can put whatever they like there22:17
Wizzupok, but what about other fields?22:17
uvosi dont think those sms have a phone number at all22:17
WizzupI get the number, but the n900/fremantle gets both the number and the the name22:17
uvosat least android cant display it22:17
uvosok22:17
uvosthen idk but ofono gives you no indication22:17
WizzupI'll check dbus I suppose22:18
uvosso im not sure how sphone should know the difference22:18
Wizzupwell, I suspect it will just be in the dbus signal :)22:18
uvosyeah maybe i missed something22:18
WizzupI don't know of an easy way to trigger it but maybe I can mess with my bank and try to get it to send me a text22:18
uvoseasy22:18
uvosjust move to a different country22:18
uvosthe operator sends you a welcome sms :P22:19
Wizzuphm looks like this time it just took 58s to get the ~+CREG=5,11...22:20
uvosWizzup: btw you could get the softmodem of ofono going22:21
Wizzupuvos: I suppose I could go to a place near the croatian and bosnian border, it switches there all the time22:21
uvosthat might be usefull in other ways too22:21
uvosi got a austrian welcome sms recently, i was >50km away from the border, not sure how that happend22:22

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