*** Guest38428 has quit IRC | 00:02 | |
*** DocScrutinizer05 has quit IRC | 00:32 | |
*** DocScrutinizer05 has joined #maemo-ssu | 00:33 | |
*** NIN101 has quit IRC | 01:41 | |
*** arcean_ has quit IRC | 04:14 | |
*** LaoLang_cool has joined #maemo-ssu | 05:18 | |
*** Guest38428 has joined #maemo-ssu | 05:23 | |
*** Guest38428 has quit IRC | 05:23 | |
*** amiconn_ has joined #maemo-ssu | 05:34 | |
*** amiconn has quit IRC | 05:34 | |
*** nox- has quit IRC | 05:38 | |
*** LaoLang_coo_ has joined #maemo-ssu | 06:36 | |
*** LaoLang_cool has quit IRC | 06:39 | |
*** jonwil has joined #maemo-ssu | 06:49 | |
*** tadzik has quit IRC | 07:32 | |
*** jonwil_ has joined #maemo-ssu | 07:58 | |
*** jonwil has quit IRC | 08:00 | |
*** jonwil_ is now known as jonwil | 08:00 | |
*** LaoLang_coo_ has quit IRC | 08:11 | |
*** LaoLang_coo_ has joined #maemo-ssu | 08:12 | |
LaoLang_coo_ | DocScrutinizer, thank you for kind help, downloading madde :) | 08:14 |
---|---|---|
LaoLang_coo_ | Estel_, thank you for kind help, will try it when have time :) | 08:14 |
*** jonwil_ has joined #maemo-ssu | 08:16 | |
*** jonwil has quit IRC | 08:17 | |
*** jonwil_ is now known as jonwil | 08:18 | |
Estel_ | no problem :) | 08:22 |
*** LaoLang_coo_ has quit IRC | 09:05 | |
*** tadzik has joined #maemo-ssu | 09:44 | |
*** LaoLang_cool has joined #maemo-ssu | 10:01 | |
*** ekze has quit IRC | 10:16 | |
*** ekze has joined #maemo-ssu | 10:16 | |
*** Pali has joined #maemo-ssu | 10:29 | |
*** LaoLang_cool has quit IRC | 10:55 | |
*** jon_y_ has joined #maemo-ssu | 11:06 | |
*** jon_y has quit IRC | 11:09 | |
*** jonwil has quit IRC | 11:12 | |
kerio | freemangordon: yay for mp-fremantle-community-pr! | 11:35 |
kerio | just installed, without even rebooting | 11:35 |
kerio | freemangordon: why did you add the metapackage, btw? | 12:23 |
kerio | every thumb package depends on the errata kernel feature | 12:23 |
kerio | just upgrading will require a good kernel | 12:23 |
*** taziff has joined #maemo-ssu | 12:43 | |
*** M4rtinK has joined #maemo-ssu | 12:47 | |
freemangordon | kerio: the old metapackage(thumb12) was depenging on kernel-cssu = 1:2.6.28.10-cssu2 | 12:54 |
*** Pali has quit IRC | 12:58 | |
*** Pali has joined #maemo-ssu | 12:58 | |
*** M4rtinK has quit IRC | 12:59 | |
*** jonwil has joined #maemo-ssu | 12:59 | |
*** Pali has quit IRC | 13:05 | |
kerio | freemangordon: yeah but, i mean | 13:08 |
kerio | why even bother with a metapackage? won't all the packages pull an appropriate kernel via dependencies? | 13:08 |
*** NIN101 has joined #maemo-ssu | 13:15 | |
*** arcean has joined #maemo-ssu | 13:18 | |
*** NIN101 has quit IRC | 13:18 | |
freemangordon | kerio: because there is a new kernel, and if someone swithes tomorrow to cssu-thumb without having latest kernel-power installed, without having extras-devel enabled, he is busted | 13:21 |
kerio | he's not, because no package from cssu-thumb will install without also installing a kernel with the errata | 13:21 |
kerio | except for -bootimg fuckups | 13:22 |
kerio | every one of your packages depends (rightfully so) on the kernel-feature-whatever-errata | 13:22 |
freemangordon | kerio: the older metapackage was depending on kernel-cssu = 1:2.6.28.10-cssu2, the current kernel in cssu-thumb is kernel-cssu = 1:2.6.28.10-cssu3 | 13:22 |
kerio | i'm not talking about the particular version issue, i'm talking in general | 13:23 |
freemangordon | kerio: I am not sure what you are talking about, but using -mp is the way to make system upgrades in CSSU, be it thumb or not | 13:25 |
*** NIN101 has joined #maemo-ssu | 13:25 | |
kerio | freemangordon: except that it worked perfectly fine for me - and i didn't have the mp- package until this morning | 13:25 |
kerio | if you have cssu-testing installed, and a kernel that provides the errata, just enabling the repo and upgrading the packages that need to be upgraded will work | 13:26 |
kerio | if you don't have a kernel that provides the errata, apt will want to install one, to fulfill the dependencies | 13:26 |
freemangordon | kerio: STOP THAT apt-get TALKING, will you? | 13:27 |
freemangordon | apt-get is not the way to make system upgrades | 13:27 |
kerio | :c | 13:27 |
kerio | but it has super cow powers! | 13:27 |
freemangordon | And I don't give a ratshit how good *nix hacker you are, -mp is intended for those who are not | 13:30 |
*** rd has joined #maemo-ssu | 14:25 | |
*** rd is now known as Guest10183 | 14:25 | |
*** Guest10183 has quit IRC | 14:34 | |
freemangordon | merlin1991: ping | 14:38 |
*** M4rtinK has joined #maemo-ssu | 15:01 | |
*** M4rtinK has quit IRC | 15:32 | |
kerio | goddammit this opname widget sucks | 15:34 |
kerio | it's... wrong | 15:34 |
kerio | how | 15:34 |
kerio | i don't even | 15:34 |
*** jonwil_ has joined #maemo-ssu | 15:41 | |
*** jonwil has quit IRC | 15:43 | |
*** jonwil_ is now known as jonwil | 15:44 | |
DocScrutinizer05 | actually I always thought MP was a Nokia invention just because they didn't like to check for proper comprehensive dependencies. And I also thought CSSU originally planned to get rid of this abomination | 15:45 |
*** asem has joined #maemo-ssu | 15:45 | |
kerio | DocScrutinizer05: wtf, i'm in 2g (so the only possible operator name is "TIM") but the operator name says "3 ITA CHIETI" ("CHIETI" is the cell broadcast) | 15:47 |
kerio | it makes no sense | 15:47 |
DocScrutinizer05 | please open a ticket, please attach the logs | 15:49 |
kerio | enabled logging, where are the logs saved? | 15:52 |
DocScrutinizer05 | (MP) I think the original problem with MP - as with any other pkg - is that there was no proper way to uninstall anything by an upgrade | 15:52 |
freemangordon | qwazix, vi__: uploading fennec in thumb repo(will take maybe 15 minutes), have in mind you should manually install libqtm-12 | 15:52 |
kerio | "cell id change 49713" "incoming cell tower name 3 ITA CHIETI, cell id 49713" | 15:52 |
kerio | which makes no sense, because it should be "TIM CHIETI" | 15:52 |
freemangordon | oops, wrong channel | 15:52 |
DocScrutinizer05 | kerio: complain to the BTS owner | 15:53 |
kerio | DocScrutinizer05: no u | 15:53 |
kerio | if i reboot i get the correct name | 15:53 |
kerio | reboot/restart hildon-home | 15:53 |
DocScrutinizer05 | :shrug: | 15:54 |
kerio | i wonder if it just caches the name because this is technically my "home network" but not quite | 15:55 |
DocScrutinizer05 | quite probably you're not in cell id 49713 anymore, and your current cell doesn't send any CBS on that channel you selected | 15:55 |
kerio | the problem isn't the CBS, the problem is the operator *name* | 15:55 |
DocScrutinizer05 | please don't pester me I still got headache | 15:56 |
DocScrutinizer05 | the cbswidget gives no fsck about whether there's a 'name' in the broadcast | 15:56 |
DocScrutinizer05 | <kerio> "cell id change 49713" "incoming cell tower name 3 ITA CHIETI, cell id 49713" | 15:56 |
DocScrutinizer05 | I gather that's from log | 15:57 |
kerio | yeah but the problem is the "3 ITA" part | 15:57 |
DocScrutinizer05 | so that is what you get | 15:57 |
kerio | IT'S AN OPERATOR WITH NO GSM ANYWHERE | 15:57 |
kerio | it can't be 3 ITA | 15:57 |
DocScrutinizer05 | don't shout!!! | 15:57 |
kerio | oh right, headache | 15:58 |
DocScrutinizer05 | as mentioned above, complain to BTS owner for sending BS | 15:58 |
kerio | "Start Operator Name" "operator 3 ITA error 0" "oper is TIM" "code 34 240 153" "service provider name empty" "set operator name TIM" | 15:58 |
kerio | notice the "operator 3 ITA" part | 15:59 |
DocScrutinizer05 | WE ARE NOT RESPONSIBLE FOR CONTENT OF SMSCB | 15:59 |
kerio | YES YOU ARE BECAUSE YOU MADE ME INSTALL IT | 15:59 |
kerio | (not you in particular) | 15:59 |
DocScrutinizer05 | STFU | 15:59 |
freemangordon | :nod: | 15:59 |
kerio | :c | 15:59 |
DocScrutinizer05 | disable the feature if you don't like what they send | 16:00 |
kerio | the... feature? as in the operator *name*? | 16:00 |
*** asem has quit IRC | 16:01 | |
DocScrutinizer05 | >:-(((( it's obviously not in our discretion to do any filtering to the data that gets sent by BTS | 16:01 |
kerio | the bts is sending his fucking operator name correctly | 16:02 |
DocScrutinizer05 | except for not displaying SMSCB at all | 16:02 |
kerio | i disabled smscb now | 16:02 |
DocScrutinizer05 | open a ticket, attach the logs! | 16:02 |
DocScrutinizer05 | so we can close it as invalid | 16:02 |
kerio | i'm not sure you understood the problem correctly | 16:03 |
kerio | operator-name-cbs-widget displays operator name incorrectly for me | 16:03 |
kerio | operator *name* | 16:03 |
kerio | the part that comes before any cbsms | 16:03 |
kerio | the stock one displays it correctly | 16:03 |
DocScrutinizer05 | open a ticket, attach the logs! | 16:05 |
kerio | so you can close it as invalid? | 16:05 |
DocScrutinizer05 | then we might investigate | 16:05 |
*** jonwil_ has joined #maemo-ssu | 16:07 | |
kerio | forget it, i just uninstalled it | 16:07 |
DocScrutinizer05 | my suspicion is that cbsmswidget doesn't properly update the name when roaming from a cell with cellbroadcast to a cell without cellbroadcast | 16:07 |
kerio | yep, stock one confirmed working properly | 16:07 |
DocScrutinizer05 | kerio: fine, then please never again pester me with any "bug report" | 16:07 |
*** jonwil has quit IRC | 16:08 | |
*** jonwil_ is now known as jonwil | 16:08 | |
DocScrutinizer05 | as otherwise my answer will be: "forget it! just delete it!" | 16:08 |
jonwil | whats this about operator-name-cbs-widget being broken? | 16:09 |
DocScrutinizer05 | this is TESTING, you know? It's meant for YOUR testing and reporting about problems | 16:09 |
kerio | jonwil: it displays the wrong operator name for me, sometimes, when i change from 2g only to 3g only (it causes a change in the operator name because my home operator is 3g-only, and uses another 2g operator for national roaming) | 16:10 |
DocScrutinizer05 | if you're not willing to do proper reports, you shouldn't use T first instance. And if you do pleas edon't pester us with unproductive noise | 16:10 |
jonwil | If you wont file a proper bug, dont complain here | 16:11 |
DocScrutinizer05 | exactly | 16:11 |
DocScrutinizer05 | well, it was kinda ok'ish until [2012-07-29 15:07:07] <kerio> forget it, i just uninstalled it | 16:12 |
kerio | <DocScrutinizer05> open a ticket, attach the logs! <DocScrutinizer05> so we can close it as invalid | 16:12 |
kerio | it's not exactly encouraging | 16:13 |
DocScrutinizer05 | kerio: noooooo dude! | 16:14 |
DocScrutinizer05 | [2012-07-29 15:05:16] <kerio> so you can close it as invalid? | 16:14 |
DocScrutinizer05 | [2012-07-29 15:05:17] <DocScrutinizer05> then we might investigate | 16:14 |
DocScrutinizer05 | [2012-07-29 15:07:07] <kerio> forget it, i just uninstalled it | 16:14 |
DocScrutinizer05 | [ | 16:14 |
DocScrutinizer05 | is the whole story | 16:14 |
kerio | that's from a later point | 16:14 |
freemangordon | kerio: the way you demand support is not how it should be. if you have CSSU-testing and have a problem, there is a bugtracker. period. | 16:15 |
DocScrutinizer05 | get lost! | 16:15 |
jonwil | as for actually fixing that problem, unless either someone with good skills shows up and reverse engineers the stock widget (to figure out the exact algorithm used and find out why my algorithm is incorrect) or we can somehow get the logic from Nokia or something, I dont see hoe it can be made better | 16:15 |
kerio | jonwil: DocScrutinizer said something about not updating the name correctly when moving from a cell with cb to a cell without it | 16:16 |
kerio | and/or viceversa | 16:16 |
freemangordon | jonwil: bugreport with logs attached could help ;) | 16:16 |
jonwil | yes it would help | 16:16 |
kerio | I'M WORKING ON IT DAMMIT | 16:16 |
jonwil | ok :) | 16:16 |
freemangordon | shhht, do not shout | 16:16 |
DocScrutinizer05 | we need to reset SMSCB display on (cell-handover + timeout-expired) | 16:17 |
DocScrutinizer05 | jonwil: ^^^ | 16:17 |
DocScrutinizer05 | jonwil: where timeout is ~90s | 16:17 |
jonwil | I have no way to test such a change | 16:17 |
jonwil | so I cant write the code | 16:17 |
DocScrutinizer05 | or maybe 180 | 16:17 |
kerio | component? | 16:18 |
kerio | there's no operator-name-cbs-widget | 16:18 |
freemangordon | general | 16:18 |
kerio | i'll put it in general,y eah | 16:18 |
freemangordon | CSSU | 16:18 |
DocScrutinizer05 | jonwil: you don't see a change in CID? | 16:18 |
jonwil | I do see a change in CID | 16:18 |
jonwil | my operator has stopped sending CBSMS messages for any cells that are anywhere near me | 16:18 |
DocScrutinizer05 | >>cell id 49713<< | 16:18 |
jonwil | so I cant verify the case of "hey, moved to new cell and got CBSMS message | 16:19 |
DocScrutinizer05 | no, but you can verify the case of "moved to new BTS and got *no* SMSCB during 90s guardtime" | 16:20 |
DocScrutinizer05 | and reset to normal display in that case | 16:20 |
DocScrutinizer05 | I'm more than willing to do the final tests for you, I still got proper SMSCB on chan221 here | 16:20 |
jonwil | The code will reset the CBSMS if it sees a change of operator and a change of mode (2G vs 3G) | 16:21 |
DocScrutinizer05 | this needs to add CID | 16:21 |
DocScrutinizer05 | test for CID | 16:21 |
DocScrutinizer05 | test for change in CID | 16:21 |
jonwil | Where is the specific case of an operator sending CBSMS on only certain cells | 16:21 |
jonwil | i.e. who is seeing the problem in question | 16:22 |
DocScrutinizer05 | where kerio lives | 16:22 |
jonwil | How do we know for sure that no CBSMS is being sent? Do we have logs to confirm that yes, we see a change of cell ID but no new CBSMS? | 16:25 |
DocScrutinizer05 | also it's a question of design spec. Since SMSCB is BTS-specific info, it MUST get reset when handover to another BTS aka cell happens. For user convenience/experience we will want to delay that reset on cell handover by a guardtime, to allow new BTS to send SMSCB so there will be no "gaps" in display of SMSCB content | 16:25 |
jonwil | My old Motorola did not reset cell tower name on handover | 16:26 |
jonwil | its a pitty there is very little documentation out there in the public space about CBSMS and its workings | 16:27 |
DocScrutinizer05 | jonwil: on *any* cell handover you start a guartime timer (90s). If the timer expires you simply reset the display. When a new SMSCB comes in you delete the timer | 16:27 |
jonwil | as I said, my old motorola didn't do it. But then again, it may not have been doing the right thing w/r/t the specs | 16:27 |
jonwil | :) | 16:28 |
DocScrutinizer05 | or the guardtime been longer | 16:28 |
DocScrutinizer05 | actually I guess any crappy old motorola probably will do an implicit reset when T3212 expires | 16:29 |
kerio | isn't there a way to detect an operator change? CB data at that point should be considered invalid anyway | 16:29 |
jonwil | we do | 16:29 |
jonwil | we throw away CBSMS on operator change | 16:29 |
jonwil | so therefore if you are seeing an operator change but not seeing the correct change in either operator name or CBSMS, its a bug | 16:29 |
kerio | should i paste the logs in the description or should i attach them? | 16:35 |
jonwil | attach them I guess | 16:36 |
kerio | i can only attach one | 16:36 |
jonwil | also, is this the only issue with operator-name-cbs-widget or are there others? | 16:36 |
kerio | the only one i had, at least | 16:36 |
jonwil | ok | 16:36 |
DocScrutinizer05 | you can attach more than one attachment | 16:38 |
DocScrutinizer05 | or you tar them up | 16:38 |
kerio | https://bugs.maemo.org/show_bug.cgi?id=12645 | 16:38 |
povbot_ | Bug 12645: operator-name-cbs-widget does not display the operator name correctly | 16:38 |
jonwil | ok, in those logs I see nothing wrong with the cbsms as sent, just with the operator name. | 16:44 |
jonwil | or is there some other different issue with the CBSMS? | 16:44 |
kerio | i even disabled the CBSMS (it only works with TIM, which is not my main operator anyway, and only the channel 50) | 16:44 |
jonwil | well the cbsms doesnt matter for the operator name | 16:44 |
kerio | no, enabling CBSMS only leads to the correct CB message appended to the wrong operator name sometimes | 16:44 |
kerio | yeah | 16:45 |
jonwil | If you are connected to 2G only and to TIM and reboot the phone (or kill hildon-home) what do you see as the operator name? | 16:45 |
kerio | i see TIM | 16:46 |
kerio | but then, as i change back to 3G, the name gets stuck on TIM | 16:47 |
DocScrutinizer05 | see? now that's a proper ticket where we actually understand what you're doing, what's expected outcome and how we could reproduce the problem | 16:47 |
jonwil | kerio, I think this might be fixable if you are willing to reinstall the widget and run some specific tests. | 16:47 |
kerio | yeah, i reinstalled it | 16:48 |
jonwil | ok | 16:48 |
jonwil | step 1, connect to 3G | 16:48 |
jonwil | delete cbsms.log and opername.log | 16:48 |
jonwil | or clear them out | 16:48 |
kerio | done | 16:48 |
DocScrutinizer05 | >cbsms.log | 16:48 |
jonwil | then restart the phone | 16:48 |
DocScrutinizer05 | is the command ;-) | 16:48 |
jonwil | or restart hildon-home | 16:48 |
kerio | DocScrutinizer05: > as a shorthand for touch is neat | 16:49 |
kerio | er | 16:49 |
kerio | for rm+touch | 16:49 |
kerio | jonwil: i think that those two lead to different results | 16:49 |
jonwil | yeah restart the phone | 16:49 |
jonwil | thats the right answer | 16:49 |
jonwil | so delete the log files and restart the phone | 16:49 |
kerio | bootin' | 16:50 |
kerio | k, booted, operator name is displayed correctly | 16:50 |
jonwil | so it prints "3 ITA"? | 16:50 |
kerio | yeah | 16:50 |
jonwil | now mark in the opername.log and note "booted on 3G, name is 3 ITA" | 16:51 |
DocScrutinizer05 | and you're on what? 2G or 3G? | 16:51 |
kerio | i'm on 3G | 16:51 |
kerio | ok, done | 16:51 |
jonwil | forget cbsms.log, thats not relavent to operator name | 16:51 |
jonwil | now swich to 2G | 16:51 |
jonwil | and make a note in opername.log to say that you switched to 2G and what operator name you get | 16:52 |
jonwil | then after that, restart the phone | 16:52 |
DocScrutinizer05 | echo "note 2G" >>cbsms.log | 16:52 |
DocScrutinizer05 | echo "note 2G" >>opername.log | 16:52 |
DocScrutinizer05 | even | 16:52 |
jonwil | and make another note about what operator name you see | 16:52 |
kerio | hm, i see "3 ITA" | 16:53 |
jonwil | ok, so you are on 2G and you see 3 ITA | 16:53 |
jonwil | ok, make a note of that in the log file | 16:53 |
kerio | sometimes it works correctly | 16:53 |
jonwil | ok | 16:53 |
jonwil | ok, so what you done so far is booted in 3G with empty log file | 16:54 |
DocScrutinizer05 | echo "hm, i see 3 ITA" >>opername.log | 16:54 |
jonwil | then made a note | 16:54 |
jonwil | then switched to 2G | 16:54 |
jonwil | and made another note | 16:54 |
kerio | yep | 16:54 |
jonwil | now reboot the phone whilst still in 2G | 16:54 |
DocScrutinizer05 | echo "rebooting" >>opername.log | 16:55 |
jonwil | make another note that you rebooted in 2G and what operator you see | 16:55 |
jonwil | after that, switch back to 3G and make one final note | 16:55 |
jonwil | then give me opername.log | 16:55 |
DocScrutinizer05 | attach to ticket | 16:55 |
jonwil | yeah | 16:56 |
DocScrutinizer05 | prepare for doing whole sequence again, in case we missed something | 16:56 |
jonwil | that sequence "boot in 3G, switch to 2G, boot again in 2G, switch to 3G" should be enough | 16:57 |
kerio | my poor battery :( | 16:57 |
DocScrutinizer05 | jonwil: you know about the devil and where it hides. one time echo foo >bar instead echo foo >>bar is enough to spoil things | 16:58 |
kerio | hm, something changed | 16:58 |
kerio | i get the correct name now | 16:58 |
DocScrutinizer05 | even better!! | 16:59 |
DocScrutinizer05 | so we got a proper commented log of a case where it worked | 16:59 |
jonwil | yeah get me the log | 16:59 |
DocScrutinizer05 | of same device user location where it failed before | 16:59 |
kerio | the change i see is that it says "oper is (null)" "oper is changed to TIM" ... "oper is (null)" "oper is changed to 3 ITA" | 16:59 |
kerio | https://bugs.maemo.org/attachment.cgi?id=3461 | 17:01 |
*** DocScrutinizer05 has quit IRC | 17:03 | |
*** DocScrutinizer05 has joined #maemo-ssu | 17:03 | |
kerio | anyway, the operator name changes correctly now | 17:03 |
*** DocScrutinizer has quit IRC | 17:03 | |
*** DocScrutinizer has joined #maemo-ssu | 17:03 | |
kerio | sometimes it does that | 17:03 |
DocScrutinizer05 | your phone used different 2G BTS aiui | 17:09 |
kerio | hm, really? i noticed some changes in cell in cbsms.log, but they were on the 3G side | 17:10 |
DocScrutinizer05 | 34 2 1; 34 146 1 vs 34 130 1 | 17:10 |
kerio | i see | 17:11 |
kerio | i'm in a place with not so good coverage, sadly | 17:11 |
jonwil | those numbers have nothing to do with BTS | 17:11 |
jonwil | or cell ID | 17:11 |
DocScrutinizer05 | sad for you, good for us ;-) | 17:11 |
DocScrutinizer05 | ohh, then never mind | 17:11 |
jonwil | I cant see for the life of me what my code is doing differently to the stock (and working) code | 17:14 |
DocScrutinizer05 | kerio: since the opername.log doesn't contain such interesting info like CID, could you attach cbsms.log as well? (maybe next time ;-D) | 17:15 |
kerio | k | 17:15 |
jonwil | the cid doesn't matter | 17:15 |
DocScrutinizer05 | sure it does matter, since I see if the cell changed | 17:16 |
jonwil | changes in the cell ID have no effect on the operator name selection logic | 17:16 |
DocScrutinizer05 | now THAT doesn't matter, since the cells themselves might behave different | 17:16 |
DocScrutinizer05 | and we'll have a hard time to spot this when we don't even know which CID | 17:17 |
DocScrutinizer05 | there's also quite some hidden 'logic' in modem itself. E.G. it stores last cell parameters to speed up a reboot and re-login | 17:18 |
DocScrutinizer05 | that's why your phone is 'online' way faster when switching down and restarting in same location, than when switching down and moving powered down phone several miles before switching on again | 17:19 |
DocScrutinizer05 | quite possible that modem behaves different regarding opername as well, when booting to same cell, than when booting to a "new" environment | 17:21 |
DocScrutinizer05 | it might safely assume that opername didn't change when CID didn't change | 17:21 |
DocScrutinizer05 | (well, CID and CC and Oper) | 17:22 |
DocScrutinizer05 | and last not least any such logic in modem might in fact be buggy | 17:23 |
jonwil | what I wouldn't give for source code to connui-cellular right now (or to pick the brains of Mikko Mehtonen who wrote connui-cellular). But since that isn't going to happen the only way to solve this is to further reverse engineer libconnui-cellular or the stock widget. | 17:24 |
kerio | where does this Mikko live? | 17:25 |
jonwil | no idea | 17:25 |
jonwil | he is a Nokia guy :P | 17:25 |
jonwil | or was at the time :P | 17:25 |
jonwil | and I have used all my reverse engineering skills already so I have no further ability to find out whats wrong with this widget | 17:26 |
jonwil | i.e. why my algorithm doesn't match the Nokia algortihm 100% | 17:27 |
DocScrutinizer05 | then maybe find out what's not working, no matter how Nokia did it? | 17:32 |
jonwil | I would but I dont know whats working because I dont know how its supposed to do it | 17:33 |
kerio | where does the operator name come from? | 17:33 |
jonwil | it comes from various possible sources | 17:33 |
DocScrutinizer05 | I mean c'mon we got a testcase as comfortable as rarely ever, with kerio producing working and not working scenarios | 17:34 |
DocScrutinizer05 | can't be that difficult to add proper debug printf to log, to find out WHAT differs between the working and the non-working ones | 17:35 |
kerio | DocScrutinizer05: well, it would've been more comfortable for jonwil to actually experience the problem | 17:35 |
kerio | :) | 17:35 |
DocScrutinizer05 | well, alas neither he nor me can reproduce your situation | 17:36 |
DocScrutinizer05 | since at least here there's no such setup where 3G differs from 2G | 17:36 |
jonwil | Adding more logging wont help trust me | 17:38 |
DocScrutinizer05 | but he could throw in a few dozen additional debug printf | 17:38 |
DocScrutinizer05 | err, why? | 17:38 |
jonwil | because there is logging in every place related to operator name that would matter | 17:38 |
jonwil | trust me | 17:38 |
DocScrutinizer05 | what else will help? | 17:38 |
DocScrutinizer05 | obviously there isn't as you can't even tell why your code delivers diferent results | 17:39 |
DocScrutinizer05 | or can you? | 17:39 |
DocScrutinizer05 | I elaborated above that for example CID might matter pretty much | 17:40 |
DocScrutinizer05 | since I suppose you got no random function in your code, any of the input parameters must differ to cause differing results | 17:41 |
DocScrutinizer05 | only way to find out is to trace as many of those input parameters as possible | 17:42 |
DocScrutinizer05 | maybe we can neglect sub-second timing issues | 17:42 |
DocScrutinizer05 | maybe we find out we actually can't | 17:43 |
jonwil | The main problem is that there is ZERO documentation on what connui_cell_net_status_*, connui_cell_net_get_operator_name, connui_cell_sim_get_service_provider or connui_cell_sim_is_network_in_service_provider_info actually DOES | 17:43 |
DocScrutinizer05 | that's not causing the problem, that's causing your headache | 17:43 |
jonwil | Thats whats causing the problem to fix this | 17:43 |
jonwil | More specifically I have no clue how the code in libconnui-cell fills in the operator_name field of the net_status callback | 17:44 |
DocScrutinizer05 | even kerio (no offense, kerio!) noticed a difference in logs between working and not working case | 17:45 |
jonwil | yes I know there is a difference between the logs | 17:45 |
jonwil | I know which code paths its following through the code in all the different cases | 17:45 |
kerio | offense taken! :c | 17:46 |
DocScrutinizer05 | so you say you call an undocumented function() that returns opername, and this return value differs despite you feeding the function with identical parameters? | 17:47 |
DocScrutinizer05 | or did I get it wrong? | 17:47 |
jonwil | no | 17:47 |
jonwil | The difference has to do with how the code fills in the operator_name field in the state structure passed to the widget_net_status_cb | 17:47 |
DocScrutinizer05 | sorry but that doesn't tell me much | 17:48 |
jonwil | I mean how the code in libconnui-cell fills that in | 17:49 |
DocScrutinizer05 | as I haven't looked into the code yet | 17:49 |
jonwil | some code we dont have and know basically nothing about is filling in a structure differently when it passes it to the operator widget in different cases | 17:49 |
DocScrutinizer05 | so how's that any different from my assumption >>you call an undocumented function() that returns opername, and this return value differs despite you feeding the function with identical parameters?<< | 17:50 |
DocScrutinizer05 | >some code we dont have and know basically nothing about< == >you call an undocumented function()<; >is filling in a structure differently when it passes it to the operator widget< == >this return value differs despite you feeding the function with identical parameters< | 17:53 |
jonwil | Let me run similar tests to what kerio ran on my own phone to see what output I get in case the output I get means loading the stock widget into GDB will help | 17:53 |
jonwil | ok, I think I can do some gdb debugging to see whats going on here I hope | 17:55 |
DocScrutinizer05 | you're still too focused on diffs between your code and Nokia code, when you rather should analyse what's exactly going on in your own code | 17:55 |
jonwil | I know what my code is doing | 17:55 |
jonwil | exactly what its doing | 17:55 |
jonwil | and knowing that doesn't help | 17:56 |
jonwil | because I know how its deciding which operator name to use | 17:56 |
DocScrutinizer05 | so which cannel is it the differences sneak in? | 17:56 |
jonwil | what I need to figure out is under which circumstances to use which of the 3 or so possible operator names | 17:56 |
DocScrutinizer05 | the differences between your code working and your code not working | 17:57 |
jonwil | which is why I am about to GDB the stock widget to find out | 17:57 |
*** arcean has quit IRC | 17:57 | |
*** arcean has joined #maemo-ssu | 17:58 | |
DocScrutinizer05 | you should focus on the differences between runs of your own code that yield different results, rather than on differences between your code and Nokia's | 17:59 |
jonwil | the differences are because Nokia functions that we know almost nothing about return different values. The stock widget clearly handles these different results in a way mine doesn't. Finding out what the Nokia widget does differently is the only way I am going to fix this. | 18:01 |
DocScrutinizer05 | if you can't tell the difference, you are missing some channels for input parameters | 18:01 |
DocScrutinizer05 | that's why I suggested to log CID and other possibly relevant parameters, as it's obvious that not all input channels are logged | 18:02 |
DocScrutinizer05 | and you can bet on finding in the end that Nokia's code *does* monitor those input channels you don't, as otherwise Nokia had no way to do "the right ting" where your code fails to do so | 18:03 |
DocScrutinizer05 | since we have logs of both working and failing scenarios, we could spot the channel that delivers differing info | 18:05 |
DocScrutinizer05 | at least if we'd bother to add logprints for allegedly unrelated stuff that in the end will turn out to be related nevertheless, like CID | 18:06 |
jonwil | I can say the cell ID doesn't matter as none of the inputs the Nokia code receives include the cell ID (i.e. its not passed in to the callback nor does the code make any calls to functions that return it) | 18:08 |
jonwil | nor is it making any dbus calls to obtain it either | 18:08 |
DocScrutinizer05 | of course you *might* be able to spot the missing input channel by careful analysis of that closed source Nokia blobs | 18:08 |
DocScrutinizer05 | jonwil: but I hope you concur that in the end it's modt likely a difference in BTS behavior that casues the problem (or at least there's a certain chance it's related), so while CID maybe isn't the missing input channel, it still may verify or falsify this hypothesis when we see one CID it always works while other CID it never works. So from this finding we might go on trace raw data delivered by cell, to find what's the difference | 18:12 |
DocScrutinizer05 | in format or content of the opername relevant bits | 18:12 |
DocScrutinizer05 | or we find it always works when BTS is same as before boot, while it always fails when BTS is a new one | 18:13 |
DocScrutinizer05 | again we'd like to know WTF *is* the CID so we could tell apart differing BTS | 18:13 |
DocScrutinizer05 | as a general rule of thumb you'll hardly learn new stuff by monitoring only those info bits you already know about | 18:15 |
jonwil | Clearly my code is doing something different to the Nokia code in the "it displays wrong operator name" case. Therefore (since I can get something similar to that case locally) using gdb to find out whats different makes sense | 18:25 |
jonwil | I have a lead on that, I just need to get my widget into gdb to confirm something | 18:28 |
*** Estel_ has quit IRC | 18:29 | |
DocScrutinizer05 | some background: there's a opercode->operator-name table in modem (most likely), another one in userland of AP iirc, and there's two flavours of over-the-air message with operator name (long and short operator name) | 18:34 |
*** M4rtinK has joined #maemo-ssu | 18:34 | |
DocScrutinizer05 | whenever the values in those tables differ from what the network sends, you can see the operator name change in display a short while after login | 18:35 |
DocScrutinizer05 | aaaah I forgot there's also a operator name on SIM | 18:36 |
jonwil | well there are 3 different operator names we are dealing with here, one comes from what gets passed into the callback, second is what we get when we call connui_cell_net_get_operator_name and third is what we see when we call connui_cell_sim_get_service_provider | 18:36 |
DocScrutinizer05 | my SIM has operator name "interkom" while some tables have "o2" and other source has "O2_de" | 18:37 |
*** Estel_ has joined #maemo-ssu | 18:38 | |
DocScrutinizer05 | connui_cell_net_get_operator_name and connui_cell_sim_get_service_provider seem quite obviously matching to my above info regarding name from SIM and name from network | 18:39 |
DocScrutinizer05 | where "from network" actually are three distinct sources OTA: operator-id numeric, operator-name-short ascii and operator-name-long ascii | 18:41 |
DocScrutinizer05 | form operator-id numeric both the modem and the linux may find an ascii name in local databases | 18:42 |
DocScrutinizer05 | s/form/from/. | 18:42 |
DocScrutinizer05 | in the end this is what you'll find when analyzing the Nokia opername blobs | 18:43 |
DocScrutinizer05 | nfc how Nokia is mixing and priorizing all those methods, and what they give back via function return value in the end | 18:44 |
DocScrutinizer05 | but I know on some phones I see 3 opernames in sequence: 'interkom' (from SIM), 'O2', and finally 'o2_de' | 18:45 |
DocScrutinizer05 | all this happens during ~20s after typing in PIN | 18:46 |
jonwil | aha, I think I have a fix | 18:52 |
jonwil | Let me build a new deb for kerio to test | 18:52 |
kerio | jonwil: there's a problem though | 18:53 |
jonwil | what problem? | 18:53 |
kerio | it's currently working fine | 18:53 |
jonwil | ok | 18:53 |
jonwil | in that case I should just get this change into git (and hence from there into the next cssu-testing release) and then people can report any problems with this new version | 18:54 |
kerio | i thought that cbs widget was going to be removed in a future version | 18:54 |
jonwil | where was that said? | 18:55 |
jonwil | and what reason to remove it? | 18:55 |
DocScrutinizer05 | it conflicts with custom-opername-widget, so it will not get removed but go optional | 18:56 |
jonwil | I can make it support a custom name easily enough | 18:56 |
DocScrutinizer05 | that's been one of the suggested improvements/fixes to the issue | 18:57 |
jonwil | i.e. if you give it a custom name, it overrides whatever operator name it would otherwise pull from the network | 18:57 |
jonwil | any other changes that would need to be made to the widget? | 18:57 |
*** Estel_ has quit IRC | 18:57 | |
*** Estel_ has joined #maemo-ssu | 18:57 | |
jonwil | or is that the only one you know of that would need to be made for people to be happy? | 18:57 |
DocScrutinizer05 | atm I don't know of other major concerns | 18:58 |
jonwil | ok, well I can fix that easily enough with a bit of work | 18:58 |
DocScrutinizer05 | except of course the allegedly missing 100% functional compatibility to stock as rised by e.g. kerio | 18:58 |
jonwil | also btw DocScritinizer05, there is already logic in there to clear out the old cell tower name if there is a change of cell tower and no new CBSMS comes in after a timeout | 18:58 |
jonwil | I cant remember if it was me or pali that added it but its there | 18:59 |
DocScrutinizer05 | please check out custom-operator-widget to see how it works, so any extensions to that one will work with yours as well (I heard of people [ab]using custom-opername-wdgt to display all sorts of weird stuff, like date, or RSS channels, or whatever. Seems there's a sort of "API" to change the displayed string at runtime) | 19:00 |
DocScrutinizer05 | I think it's been pali after I asked him to do that | 19:01 |
DocScrutinizer05 | jonwil: *I* however had a few maybe weird ideas a few hours ago: add parameters to the string to display (if you get such "constant" user defined string instead of cellbroadcast), sth like ID = cell id, B = SMSCB string as usual (but embedded into the constan string), other stuff that *might* be interesting for some users, like BCH = SMSCB channel as set in config, all the opernames, whatnot else | 19:06 |
DocScrutinizer05 | dafaq | 19:06 |
DocScrutinizer05 | jonwil: *I* however had a few maybe weird ideas a few hours ago: add parameters to the string to display (if you get such "constant" user defined string instead of cellbroadcast), sth like %CID = cell id, %CB = SMSCB string as usual (but embedded into the constan string), other stuff that *might* be interesting for some users, like %CBCH = SMSCB channel as set in config, all the opernames, whatnot else | 19:07 |
jonwil | Lets just get it doing custom operator names for now | 19:07 |
jonwil | Reading the source of custom-operator-widget, the only place it gets the string to display from is from gconf | 19:08 |
jonwil | therefore anyone changing it dynamically must be setting it in gconf | 19:08 |
DocScrutinizer05 | custom name: "I listened to channel %CBCH on cell %CID and got \"%CB\" as message" | 19:08 |
DocScrutinizer05 | jonwil: (gconf) sounds about right | 19:09 |
jonwil | all that fancy stuff is way beyond what I ever intended operator-name-cbs-widget o do | 19:09 |
jonwil | to do | 19:09 |
jonwil | the only reason I am adding the custom operator name thing is because lots of people seem to want it :) | 19:10 |
*** andre__ has joined #maemo-ssu | 19:31 | |
jonwil | ok, if this compiles, I can test it to make sure the functionality works, fix it if its broken, then commit it to git | 19:39 |
jonwil | once this is done, we can push this to testers in next cssu-testing and if they want more functionality, they can ask for it and it will be added | 19:40 |
*** nox- has joined #maemo-ssu | 19:50 | |
freemangordon | jonwil: better push it in cssu-devel | 19:51 |
freemangordon | so it'd be tested before next -testing | 19:51 |
jonwil | well it will be going into the relavent git | 19:53 |
jonwil | http://gitorious.org/community-ssu/operator-name-cbs-widget | 19:53 |
jonwil | whatever people do with it from there is up to them | 19:53 |
freemangordon | jonwil: cssu-devel is not a git repo, but debian repo ;) | 19:53 |
freemangordon | git repo remains the same | 19:53 |
jonwil | yes that I know | 19:53 |
freemangordon | then I am unable to parse | 19:54 |
jonwil | its up to someone who knows all the repos to make sure it gets from the git repo into whatever other repos it has to go into | 19:54 |
jonwil | since these debian repos are not my responsibility | 19:54 |
freemangordon | no, it is you to do it. though you can ask merlin or Pali | 19:54 |
freemangordon | ask merlin1991 then | 19:54 |
jonwil | ok, just need to find out why its not properly repainting the widget when the custom name is changed | 20:08 |
amiconn_ | jonwil: I do have the problem with the cssu-provided operator name widget. | 20:14 |
jonwil | ok, what problem do you have? | 20:14 |
amiconn_ | My home provider sends no cell broadcasts at all. Normally this doesn't affect me, but two weeks ago I've been in Poland (i.e. international roaming). After returning to Germany (far enough from the border so I've definitely been connected to my home provider) the widget didn't show my home provider name. It still displayed the Polish provider's name | 20:17 |
jonwil | I assume your phone was not restarted or turned off between leaving poland and noticing this problem? | 20:18 |
amiconn_ | Stock widget does not have that problem | 20:18 |
jonwil | Was your phone turned off or restarted after leaving poland and connecting to the german operator? | 20:19 |
amiconn_ | no | 20:19 |
jonwil | ok | 20:19 |
jonwil | I have a fix that will be going into git shortly that should fix your problem if is the same one I have been seeing in logs before | 20:20 |
jonwil | i.e. if its the one I am thinking it is | 20:20 |
amiconn_ | I did this after noticing the problem. This fixed the display | 20:20 |
jonwil | ok, that confirms that its most likely the issue I am thinking of | 20:20 |
* amiconn_ would like to uninstall the widget, because he has no use for it, but I don't know whether that's possible without uninstalling other parts of cssu... | 20:21 | |
jonwil | ok, that all works, now I just have to remember how to commit to git | 20:21 |
*** amiconn_ is now known as amiconn | 20:21 | |
*** mase76 has joined #maemo-ssu | 20:35 | |
*** M4rtinK has quit IRC | 20:45 | |
jonwil | ok, I committed my changes to git | 20:59 |
jonwil | merlin1991: ping | 21:02 |
kerio | amiconn: it's possible to remove it, the only side effect would be that it uninstalls the mp- package | 21:10 |
kerio | and you'd possibly have issues if you autoremove afterwards | 21:10 |
kerio | anyway, amiconn <3 | 21:11 |
kerio | I AM NOT CRAZY!! ^_^ | 21:11 |
*** andre__ has quit IRC | 21:32 | |
*** jonwil has quit IRC | 21:39 | |
*** arcean_ has joined #maemo-ssu | 21:58 | |
DocScrutinizer05 | amiconn: you rather update to latest jonwil version ;-) | 21:59 |
DocScrutinizer05 | kerio: nobody doubts you're crazy ;-) | 21:59 |
DocScrutinizer05 | kerio: we knew about problems in cbsms-widget already | 22:00 |
DocScrutinizer05 | I went thru all this with amicon before | 22:00 |
DocScrutinizer05 | and pali implemented something I thought might fix the issue | 22:01 |
*** arcean has quit IRC | 22:01 | |
DocScrutinizer05 | I just forgot I suggested that fix and pali actually implemented it, until jonwil mentioned there's already such function | 22:02 |
*** nox- has quit IRC | 22:13 | |
*** KrayonWork has quit IRC | 22:13 | |
*** nox- has joined #maemo-ssu | 22:17 | |
*** Jade has joined #maemo-ssu | 22:58 | |
*** Guest10183 has joined #maemo-ssu | 22:58 | |
*** arcean_ is now known as arcean | 23:20 | |
*** mase76 has quit IRC | 23:49 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!