IRC log of #maemo-ssu for Saturday, 2012-11-10

*** _rd has quit IRC00:11
*** Senicius has quit IRC00:28
*** Senicius has joined #maemo-ssu00:28
*** NIN101 has quit IRC00:38
*** Senicius has quit IRC00:59
*** Senicius has joined #maemo-ssu00:59
*** Senicius has joined #maemo-ssu01:00
*** Senicius has quit IRC01:06
*** Senicius has joined #maemo-ssu01:06
*** ccssnet has quit IRC01:08
*** Senicius has quit IRC01:13
*** Senicius has joined #maemo-ssu01:13
*** Senicius has quit IRC01:15
*** Senicius has joined #maemo-ssu01:15
*** Senicius has quit IRC01:18
*** Senicius has joined #maemo-ssu01:18
*** Senicius has quit IRC01:34
*** Senicius has joined #maemo-ssu01:34
*** arcean has quit IRC01:36
*** kolp has quit IRC01:47
*** kolp has joined #maemo-ssu01:48
*** Senicius has quit IRC01:54
*** Senicius has joined #maemo-ssu01:54
Paliping merlin199101:58
*** Senicius has quit IRC02:01
*** Senicius has joined #maemo-ssu02:01
*** Senicius has quit IRC02:07
*** Senicius has joined #maemo-ssu02:07
*** Senicius has quit IRC02:10
*** Senicius has joined #maemo-ssu02:10
merlin1991Pali: pong02:17
Palimerlin1991, can you also add symlinks for community, extras and rtcomm to oldmaemo?02:18
merlin1991sure, pm me with the paths though please02:19
*** Senicius has quit IRC02:23
*** Senicius has joined #maemo-ssu02:23
DocScrutinizer05merlin1991: wtf is going on on my IroN900? I just got notified about orrery update, and now I have ~984387 updateable pkgs, like libqtm-12-versit installed:1:1.2.0-tp1-0fn-fremantle13  available:1:1.2.0+git20111104-0nd-fremantle302:42
*** Senicius has quit IRC02:44
*** Senicius has joined #maemo-ssu02:44
DocScrutinizer05or sp-rich-core, or python2.5-sip402:44
DocScrutinizer05python-hildon, python, python-osso... pulseaudio-utils (WAAAAH!)02:45
DocScrutinizer05libshiboken1.002:45
DocScrutinizer05even camera-ui02:46
DocScrutinizer05are all the cssu pkgs < maemo-stock same pkg, and only the mp-community-fremantle-pr lifted them on my device?02:47
DocScrutinizer05well, for camera-ui it's the other way round02:48
DocScrutinizer05I downgraded to stock camera and it wants to update to 1.1.29.2+0cssu13 now02:49
DocScrutinizer05hildon-initscripts, intsalled: 1.26-1+0m5, avail: 1.26-1+dp102:51
DocScrutinizer05WTF is dp1?02:51
* DocScrutinizer05 stops bitching and fires up apt-cache02:52
DocScrutinizer05     1.26-1+dp1 002:53
DocScrutinizer05        500 http://repository.maemo.org fremantle/tools/free Packages02:53
DocScrutinizer05:-o02:53
ShadowJKwhat02:54
DocScrutinizer05tools repo activated02:55
* DocScrutinizer05 <--- fool02:55
DocScrutinizer05meh!02:57
DocScrutinizer05disabled tool catalog, no change (except for hildon-initscripts now gone in list of updatable pkgs)02:58
DocScrutinizer05maemo-launcher:  Installed: 0.35-7+0m5  Candidate: 0.35-7+0m5                     Version table:     0.35-7+0m5 0        500 https://downloads.maemo.nokia.com ./ Packages                *** 0.35-7+0m5 0        100 /var/lib/dpkg/status03:00
DocScrutinizer05now wtf?!03:01
*** kolp has quit IRC03:01
DocScrutinizer05grrrrrr03:03
Skry:o03:04
merlin1991well that is no update :D03:04
DocScrutinizer05groff-base:03:05
DocScrutinizer05  Installed: 1.18.1.1-11osso303:05
DocScrutinizer05  Candidate: 1.18.1.1-2103:05
merlin1991and what does policy tell you?03:05
DocScrutinizer05  Version table:03:05
DocScrutinizer05     1.18.1.1-21 003:05
DocScrutinizer05        500 http://repository.maemo.org fremantle-1.3/free Packages03:05
DocScrutinizer05 *** 1.18.1.1-11osso3 003:05
DocScrutinizer05        100 /var/lib/dpkg/status03:05
merlin1991also please pastebin your /etc/apt/sources.list and /etc/apt/sources.list.d/*.list03:06
DocScrutinizer05k03:06
DocScrutinizer05IroN900:~# cat /etc/apt/sources.list03:07
DocScrutinizer05IroN900:~# cat /etc/apt/sources.list.d/*.list03:07
DocScrutinizer05deb http://repository.maemo.org/community-testing/ fremantle free non-free03:07
DocScrutinizer05deb https://downloads.maemo.nokia.com/fremantle/ssu/apps/ ./03:07
DocScrutinizer05deb https://downloads.maemo.nokia.com/fremantle/ssu/mr0 ./03:07
DocScrutinizer05deb http://repository.maemo.org/extras/ fremantle-1.3 free non-free03:07
merlin1991hm that looks perfectly fine03:08
DocScrutinizer05merlin1991: I installed procps and stock camera-ui, and one of those nuked MP03:08
DocScrutinizer05if that's any relevant or yields a clue03:09
DocScrutinizer05wtf groff-base 1.18.1.1-11osso3 ?03:10
DocScrutinizer05or 1.18.1.1-21 003:10
*** M4rtinK has quit IRC03:10
DocScrutinizer05either we got 21.0 in latest cssu-t then where from my device got this other version that's allegedly installed? or cssu-t has 11osso3 then wtf is 21 from03:12
merlin1991hm atm I have no n900 on me so I can't crosscheck what should be there03:12
merlin1991I don't remember anything called groff-base in cssu03:12
DocScrutinizer05anybody could run apt-cache policy groff-base on his device, and share installed version together with his OS flavor?03:13
merlin1991groff-base 21 0 is in extras03:13
merlin1991sdk has the osso303:13
merlin1991see http://maemo.org/packages/view/groff-base/03:13
merlin1991try to disable extras see what happens03:13
DocScrutinizer05np, wilco03:13
*** Senicius has quit IRC03:14
*** Senicius_ has joined #maemo-ssu03:14
*** Senicius_ is now known as Senicius03:15
DocScrutinizer05W*T*F*F?? can't edit catalogs03:15
PaliDocScrutinizer05, do you have HAM from CSSU ?03:15
DocScrutinizer05planned to rename "maemo.org" catalog to "maemo.org extras" - no way03:16
DocScrutinizer05I guess so, Pali03:16
Palirename of system calatogues is not possible03:16
Palionly disable03:16
DocScrutinizer05>:-(03:16
DocScrutinizer05how sane that mameo-extras is named mameo.org03:17
Paliname comes from  nokia03:17
DocScrutinizer05s/mameo/maemo/g03:17
infobotDocScrutinizer05 meant: how sane that maemo-extras is named maemo.org03:17
Paliand that name can be translated into more languages03:17
Palisame as ssu name03:17
Palirenaming is possible in file in /usr/share/hildon-application-manager/03:18
DocScrutinizer05I feel assraped03:18
DocScrutinizer05by HAM03:18
Palisecurtiy reason - you cannot modify system catalogues as user03:19
Paliit is like aegis--03:19
DocScrutinizer05# of pkgs down to 3: camera-ui (ok'ish), maemo-auncher (?????), pulseaudio-utils ( GRRR )03:19
merlin1991well no idea why there is an update for the later 2 but at least camera-ui is reasonable03:20
DocScrutinizer05I can't modify da fuckin NAME, for security reasons?03:20
merlin1991you cna#t modify anything on the cataloge for security reasons ;)03:21
DocScrutinizer05no idea why there was an update for 89820987 when extras been enabled03:21
DocScrutinizer05I'll teach fsckng HAM about security!03:21
merlin1991maybe the expired keys of the ssu repos had something todo with that?03:22
DocScrutinizer05bullshit rationale. Worse though to adopt it in cssu03:22
DocScrutinizer05(security)03:22
DocScrutinizer05btw now orrery is gone as well :-/03:24
DocScrutinizer05for upgrade03:24
DocScrutinizer05of course03:24
DocScrutinizer05I wouldn't want to permanently disable maemo-extras repo!03:24
merlin1991my bet is, that the domain policy for the ssu repos within ham was valid as long as the keys were not expired and now all the libs and whatnot that have been pushed to extras can be replaced as if there is no priority to repos anymore03:25
DocScrutinizer05pulseaudio-utils:  Installed: 0.9.15-1maemo38+0m5  Candidate: 0.9.15-1maemo43+0m5  Version table:     0.9.15-1maemo43+0m5 0        500 https://downloads.maemo.nokia.com ./ Packages *** 0.9.15-1maemo38+0m5 0        100 /var/lib/dpkg/status03:27
DocScrutinizer05last update installed crap from tools?03:28
merlin1991yep that looks like03:29
merlin1991the installed version is in no avaiable repo so I guess tools03:29
DocScrutinizer05then that could be the culprit03:29
DocScrutinizer05probably since I already had MP nuked when I did last update (?), it "updated" a lot of shit to tools revision level03:30
Palilast version of pulseaudio from nokia is 0.9.15-1maemo43+0m503:31
DocScrutinizer05this is a cssu-t system though03:31
DocScrutinizer05aah03:31
Palidownloads.maemo.nokia.com/fremantle/ssu/mr0/pulseaudio-utils_0.9.15-1maemo43+0m5_armel.deb03:31
DocScrutinizer05well, I got a third version I omitted in above paste:03:32
DocScrutinizer05     0.9.15-1maemo27+0m5 003:32
DocScrutinizer05        500 https://downloads.maemo.nokia.com ./ Packages03:32
Palithis is too old version03:33
Palido you have PR1.2 installed?03:33
DocScrutinizer05aah old version in same repo03:33
Palino in nokia repo is only last version03:33
DocScrutinizer05nfc03:33
Palimaybe in SDK is older too03:33
DocScrutinizer05 500 https://downloads.maemo.nokia.com ./ Packages03:34
DocScrutinizer05hell here's the fuill spam of paste:03:34
DocScrutinizer05IroN900:~# apt-cache policy pulseaudio-utils03:34
DocScrutinizer05pulseaudio-utils:03:34
DocScrutinizer05  Installed: 0.9.15-1maemo38+0m503:34
DocScrutinizer05  Candidate: 0.9.15-1maemo43+0m503:35
DocScrutinizer05  Version table:03:35
DocScrutinizer05     0.9.15-1maemo43+0m5 003:35
DocScrutinizer05        500 https://downloads.maemo.nokia.com ./ Packages03:35
DocScrutinizer05 *** 0.9.15-1maemo38+0m5 003:35
DocScrutinizer05        100 /var/lib/dpkg/status03:35
DocScrutinizer05     0.9.15-1maemo27+0m5 003:35
DocScrutinizer05        500 https://downloads.maemo.nokia.com ./ Packages03:35
Paliseems like you had disabled SSU repo03:35
Paliand now you enabled it03:35
DocScrutinizer05nope, I disabled tools repo03:36
DocScrutinizer05and now I disabled extras repo03:36
Paliaaa, now I see problem03:36
PaliDocScrutinizer05, you have in your system enabled PR1.2 nokia repo03:36
DocScrutinizer05o.O03:36
Palior PR1.103:36
PaliPR1.1 is downloads.maemo.nokia.com/fremantle/mr0/03:36
Paliand PR1.3 is downloads.maemo.nokia.com/fremantle/ssu/mr003:37
PaliI looked into PR1.1 and there is pulseaudio 2703:37
DocScrutinizer05[2012-11-10 02:07:14] <DocScrutinizer05> deb https://downloads.maemo.nokia.com/fremantle/ssu/mr0 ./03:37
Paliand in PR1.3 is 4303:37
Palido apt-get update03:37
DocScrutinizer05no change03:38
Palidid you downgraded pulseaudio package?03:39
DocScrutinizer05nevar03:39
DocScrutinizer05why should I do that03:39
Palithis looks like bad upgrade to PR.1303:39
Palior some stupid extras package want to downgrade pulseaudio03:40
Pali(no idea why)03:40
Paliand HAM did it03:40
DocScrutinizer05and what about the other 986487 pkg that show up when I enable maemo-extras?03:41
Palior, maybe you have corrupted /var/lib/dpkg/something03:42
Palithere is one file on debian where is stored version of each installed package03:42
DocScrutinizer05/usr/bin/apt-get install libmissioncontrol-utils ;# Mo.,  9. Jul. 2012 11:51:05 CEST03:42
DocScrutinizer05/usr/bin/apt-get install procps ;# Fr., 17. Aug. 2012 20:30:11 CEST03:42
DocScrutinizer05/usr/bin/apt-get install sp-oops-extract ;# So., 26. Aug. 2012 18:37:46 CEST03:42
DocScrutinizer05/usr/bin/apt-get install openntpd ;# Di., 11. Sep. 2012 21:36:04 CEST03:42
DocScrutinizer05/usr/bin/apt-get install procps ;# Sa., 15. Sep. 2012 20:10:57 CEST03:42
DocScrutinizer05/usr/bin/apt-get install camera-ui=1.1.29.1+0m5 ;# So.,  7. Okt. 2012 16:17:11 CEST03:43
DocScrutinizer05no way I did any weird things via HAM03:44
Palicall: sudo hildon-application-manager-config update03:44
Paliand then upload your sources.lists03:44
DocScrutinizer05I'm root03:45
DocScrutinizer05IroN900:~# cat /etc/apt/sources.list03:46
DocScrutinizer05IroN900:~# cat /etc/apt/sources.list.d/*.list03:46
DocScrutinizer05deb http://repository.maemo.org/community-testing/ fremantle free non-free03:46
DocScrutinizer05deb https://downloads.maemo.nokia.com/fremantle/ssu/apps/ ./03:46
DocScrutinizer05deb https://downloads.maemo.nokia.com/fremantle/ssu/mr0 ./03:46
DocScrutinizer05http://mg.pov.lt/maemo-ssu-irclog/latest.log.html#t2012-11-10T03:07:1503:47
DocScrutinizer05I guess merlin1991 was on a trace to something03:48
Paliok03:48
Paliwhat is problem?03:48
DocScrutinizer05[2012-11-10 02:25:50] <merlin1991> my bet is, that the domain policy for the ssu repos within ham was valid as long as the keys were not expired and now all the libs and whatnot that have been pushed to extras can be replaced as if there is no priority to repos anymore03:49
Paliyes, this is true03:50
Palibecause packages from bad domain are ignored03:50
Paliand bad domain is when gpg key is not valid03:51
Palior when gpg key does not match to stored in HAM03:51
DocScrutinizer05how to fix that now?03:52
DocScrutinizer05I mean, I wanna enable extras again03:52
Paliask nokia to increase life of gpg key03:52
merlin1991rehost ssu repo and put the key you use to sign it into the trusted zone03:52
DocScrutinizer05and forget PA-utils for now03:52
DocScrutinizer05I'm not hosting ssu03:53
merlin1991well you could use apt-pinning to give the ssu repo a higher priority03:55
Paliis there anybody in nokia who can change gpg key expiration?03:55
merlin1991you basically have to give it a prio over 10003:55
merlin1991err over 100003:55
merlin1991Pali:  X-Fade could03:55
merlin1991...03:55
DocScrutinizer05dang, aren't *we* hosting ssu?03:55
Paliand how expiration of gpg keys working?03:56
merlin1991*we* are hosting a subset of ssu that works as long as regular ssu works03:56
merlin1991Pali: when you create a key you either specifiy an expiration date or "valid forever"03:56
merlin1991so nokia would have to resign repos with a new key and push an ssu update containing the fingerprint03:56
Paliyes, but I think that there is option to change expiration date of existing key03:57
DocScrutinizer05so, wait a minute! what's the actual situation now? Is it just me who hosed his device, or do we face a major desaster?03:57
merlin1991DocScrutinizer05:  http://wiki.maemo.org/Extras-devel#Limiting_the_damage you'll have to pin nokia ssu and cssu at a higher level than extras03:57
merlin1991DocScrutinizer05: gotta check on my device but possibly everyone03:57
merlin1991if my guess is correct about the source of your problem03:58
DocScrutinizer05I noticed several maemo keys being expired on http last few days03:59
merlin1991yeah (almost) all sll certs around maemo.org have expired aswell03:59
DocScrutinizer05merlin1991: I fail to clearly figure how to tell this pinning voodoo about the repo to pin/priorize04:05
*** Pali has quit IRC04:05
DocScrutinizer05l=?04:06
merlin1991uh I don't know either, gotta read the docs, but I think you can pin based on "suite" which is in the release file on the repo04:06
DocScrutinizer05gibberish to me, sorry04:07
DocScrutinizer05Package: *04:07
DocScrutinizer05Pin: release l=Extras04:07
DocScrutinizer05Pin-Priority: 100104:07
DocScrutinizer05is suppesed to do what? prio of maemo-extras to 1001?04:07
DocScrutinizer05so my guess been I have to swap Extras by ssu/cssu04:08
merlin1991yeah pin ssu and cssu04:08
merlin1991and look into the release files ie there's l (label04:08
merlin1991arf04:08
merlin1991paste fale04:08
merlin1991ie http://repository.maemo.org/extras/dists/fremantle-1.3/Release04:08
merlin1991Suite can be matched with a=string, label with l=string04:09
DocScrutinizer05I'm too tired to get what you're trying to tell me04:09
DocScrutinizer05nfc about apt and pinning04:10
DocScrutinizer05neither about suite04:10
DocScrutinizer05and God damn me if I know what to look up in http://repository.maemo.org/extras/dists/fremantle-1.3/Release04:15
DocScrutinizer05shouldn't I maybe lookup "Label: XXXXX" in CSSU repo Release file?04:17
merlin1991yep04:18
merlin1991cssu has a label of community-testing04:18
merlin1991so you can match that with Pin: release l=community-testing04:18
DocScrutinizer05so I prepare a file with.. ? TWO sections like04:19
DocScrutinizer05Package: *04:19
DocScrutinizer05Pin: release l=Extras04:19
DocScrutinizer05Pin-Priority: 100104:19
merlin1991extras has to have no prio04:19
merlin1991you need to pin ssu and cssu at the same prio (or cssu higher than ssu) and leave extras alone04:20
DocScrutinizer05yes, but do I need TWO sections for cssu-testing and nokia-ssu or whatever the name?04:20
merlin1991yep you need 2 sections04:20
merlin1991and the file is in /etc/apt/preferences04:20
merlin1991or actually is exactly that path04:20
DocScrutinizer05now just about the friggin label of nokia ssu04:21
DocScrutinizer05ssu/mr0 ?04:21
DocScrutinizer05or maybe ssu/apps?04:21
DocScrutinizer05meh, nm.  https://downloads.maemo.nokia.com/fremantle/ssu/mr0 is 404 or sth04:22
DocScrutinizer05so nfc again where to find the Release file there04:23
DocScrutinizer05to look up "Label: nokia-ssu"04:24
DocScrutinizer05or "Label: MR0" or whatever it might be04:25
merlin1991yeah the friggin ssu repo requires user and pass :/04:25
DocScrutinizer05:nod:04:26
merlin1991and ofc the proper path04:26
merlin1991hm should be https://downloads.maemo.nokia.com/fremantle/ssu/mr0/dists/Release04:26
DocScrutinizer05Access Denied though04:26
DocScrutinizer05wait, wasn't that a question of right device to run browser on?04:27
DocScrutinizer05meh, N900 microb also shows "Access Denied"04:28
DocScrutinizer05ok, that nokia ssu repo isn't pin-able04:34
DocScrutinizer05so what now?04:34
merlin1991well either wait for nokia, or add some hugeass mp to cssu that pins everything ssu related04:35
* merlin1991 hides04:35
DocScrutinizer05should I try to install my MP again, for a first shot?04:35
merlin1991well in order to have cssu you can't use the ssu mp, and the cssu mp doesn't pin anything that we didn't update04:36
DocScrutinizer05who knows, maybe all those 897498 pkgs were just those that cssu updated?04:37
* merlin1991 wonders with which key cssu is signed04:37
DocScrutinizer05actually it were maybe 10004:37
DocScrutinizer05good question04:38
DocScrutinizer05I thought you have that, but on second thought...04:38
DocScrutinizer05probably x-fade created one for us?04:38
DocScrutinizer05apt-get install mp-fremantle-community-pr ?04:38
merlin1991yep04:38
DocScrutinizer05k04:39
merlin1991but it's probably not going to help04:39
merlin1991and obviously brings back camera-ui04:39
DocScrutinizer05yoh04:39
*** dafox has quit IRC04:39
DocScrutinizer05The following extra packages will be installed:  busybox-symlinks-procps camera-ui The following packages will be REMOVED:  procps The following NEW packages will be installed:  busybox-symlinks-procps mp-fremantle-community-pr The following packages will be upgraded:  camera-ui04:40
DocScrutinizer05yoh yoh yoh04:40
*** nox- has quit IRC04:41
DocScrutinizer05now would I dare to do a `apt-get -s upgrade` instead of starting HAM?04:42
DocScrutinizer05nm, need to activate extras anyway04:45
DocScrutinizer05meh04:45
DocScrutinizer05takes minutes04:45
DocScrutinizer05so I guess...04:46
DocScrutinizer05yep, 94984270982 pkgs to update04:46
DocScrutinizer05this is pretty symptomatic:04:47
DocScrutinizer05IroN900:~# apt-cache policy maemo-launcher04:47
DocScrutinizer05maemo-launcher:04:47
DocScrutinizer05  Installed: 0.35-7+0m504:47
DocScrutinizer05  Candidate: 0.35-7+0m504:47
DocScrutinizer05  Version table:04:47
DocScrutinizer05     0.35-7+0m5 004:47
DocScrutinizer05        500 https://downloads.maemo.nokia.com ./ Packages04:47
DocScrutinizer05 *** 0.35-7+0m5 004:47
DocScrutinizer05        100 /var/lib/dpkg/status04:48
merlin1991ham trolls you ;)04:48
DocScrutinizer05installed: some unknown (or deprecated or whatnot) version "from var/lib/dpkg/status"; Candidate: a supposedly more trusted higher prio identical version from extras04:50
DocScrutinizer05or rather from Nokia ssu?04:50
DocScrutinizer05err nope, https://downloads.maemo.nokia.com ./ Packages  should be extras aiui04:51
DocScrutinizer05or not? I should stop this, as long as my beloved N900 is still alive04:51
DocScrutinizer05deb http://repository.maemo.org/extras/ fremantle-1.3 free non-free   is extras04:52
DocScrutinizer05seems we should get a hold of X-Fade as SOON AS POSSIBLE04:53
DocScrutinizer05X-Fade: ping! merlin1991found out that our cssu cert expired. We need a fixed one urgently04:54
merlin1991/lib/dpkg/status is the currently installed pacakge04:54
DocScrutinizer05:nod:04:54
DocScrutinizer05gathered as much04:54
merlin1991actually the nokia ssu cert expired ;)04:55
merlin1991about the cssu cert I'm not 100% sure04:55
merlin1991gotta check that myself04:55
DocScrutinizer05yeah, might still be me and my friggin tools repo04:55
merlin1991and ofc I have to check on my device it it is going similar foobar04:58
merlin1991btw it might actually be even funkier04:58
merlin1991extras04:58
merlin1991is a trusted repo too04:58
merlin1991it came in pr1.204:58
merlin1991maybe that cert is valid and the nokia ssu isn't anymore04:58
merlin1991I didn't run into the problem because I only have extras-devel enabled, but I'll do some testing when I get home04:59
merlin1991btw do you see the bazillion updates in apt or in ham?04:59
merlin1991(or both)04:59
merlin1991DocScrutinizer05: ^^05:01
DocScrutinizer05in HAM05:01
DocScrutinizer05haven't checked apt05:02
DocScrutinizer05[2012-11-10 03:42:56] <DocScrutinizer05> now would I dare to do a `apt-get -s upgrade` instead of starting HAM?05:02
DocScrutinizer05merlin1991: in fact I wouldn't exactly know what to do in apt to simulate the HAM "update" display05:03
DocScrutinizer05Reading package lists... Done05:05
DocScrutinizer05W: GPG error: https://downloads.maemo.nokia.com ./ Release: The following signatures were invalid: KEYEXPIRED 1349249546 KEYEXPIRED 1349249546 KEYEXPIRED 134924954605:05
DocScrutinizer05W: GPG error: https://downloads.maemo.nokia.com ./ Release: The following signatures were invalid: KEYEXPIRED 1349249546 KEYEXPIRED 1349249546 KEYEXPIRED 134924954605:05
DocScrutinizer05W: You may want to run apt-get update to correct these problems05:05
DocScrutinizer05merlin1991: ^^^05:05
DocScrutinizer05on apt-get update05:06
DocScrutinizer05it's a Warning though05:08
DocScrutinizer05I wonder if that might be related to new HAM version05:08
DocScrutinizer05merlin1991: http://pastebin.com/QrqdWWWj05:11
DocScrutinizer05ooh, and just for the shits'n'giggles:  http://pastebin.com/A7J3h5kh05:19
*** infobot has quit IRC05:34
merlin1991DocScrutinizer05: still around?05:34
*** infobot_ has joined #maemo-ssu05:35
*** ChanServ sets mode: +v infobot_05:35
*** amiconn_ has joined #maemo-ssu05:36
*** amiconn has quit IRC05:36
*** amiconn_ is now known as amiconn05:36
DocScrutinizer05yep05:42
DocScrutinizer05err WUT??? infobot_  ??05:42
DocScrutinizer05~+uptime05:42
infobot_- Uptime for infobot -05:42
infobot_Now: 8m 29s running infobot 1.5.4 (SVN) -- linux05:42
infobot_1: 59d 8h 41m 19s running infobot 1.5.4 (SVN) -- linux, ended Sun Nov 14 18:39:57 201005:42
infobot_2: 57d 3h 9m 23s running infobot 1.5.4 (SVN) -- linux, ended Fri Jun 26 20:39:27 200905:42
infobot_3: 36d 20h 47m 14s running infobot 1.5.4 (SVN) -- linux, ended Tue Aug  4 17:38:59 200905:42
*** infobot_ has quit IRC05:44
DocScrutinizer05merlin1991: yep, still around05:44
merlin1991I just got home, need to charge my n900 a bit then I'll try myself05:44
*** infobot has joined #maemo-ssu05:45
*** ChanServ sets mode: +v infobot05:45
DocScrutinizer05seen my pastebins?05:45
merlin1991yep05:45
*** Milhouse has quit IRC05:47
*** Milhouse has joined #maemo-ssu05:47
DocScrutinizer05just remembered the Z900 (N900-thombie), and noticed it has a [!] and says "maemo5-thumb update available"05:48
merlin1991and apt-worker is running :D05:58
*** DocScrutinizer05 has quit IRC06:00
*** DocScrutinizer05 has joined #maemo-ssu06:00
merlin1991aaaand ham troll me06:02
merlin1991nice06:02
merlin1991s/troll/trolls/06:02
DocScrutinizer05not really06:02
DocScrutinizer05I want my plastic medal now for digging this up first06:03
DocScrutinizer05shit06:03
merlin1991so far I didn't see a bazillion of packges to upgrade06:03
DocScrutinizer05hmm?06:03
DocScrutinizer05what now?06:04
merlin1991I currently have extras, ssu, and cssu enabled and see no avaiable updates06:04
merlin1991in my case it would only upgrade gstreamer0.10-ffmpeg06:05
DocScrutinizer05well, what does apt-get update tell you?06:05
merlin1991the ususal with the 2 key expired warnings06:05
DocScrutinizer05ummm06:05
* merlin1991 tries what happens if he removes the mp06:06
DocScrutinizer05rather isntall procps06:07
merlin1991ah yeah06:07
merlin1991I need the tool repo right?06:08
DocScrutinizer05possibly06:08
DocScrutinizer05tough policy is again cryptic to me06:08
DocScrutinizer05500 http://repository.maemo.org fremantle-1.3/free Packages06:09
DocScrutinizer05Candidate: 1:3.2.7-11maemo1+0m506:09
merlin1991ah seems to be in extras06:09
merlin1991still only gstreamer06:10
DocScrutinizer05I still suspect the enabled tools repo been the culprit06:10
merlin1991you must have somehow f00bared your device with the tools repo, becuase I really can't reproduce the problem here06:11
DocScrutinizer05I'm pretty sure enabling tools and then installing sth while MP is gone will cause this mess06:11
DocScrutinizer05though, would something like >> Inst python-osso [0.4-0maemo4] (0.4-0maemo5 Extras:2.0/fremantle-1.3) << be related to tools?06:14
DocScrutinizer05I pasted last few months of apt-get install logs way up06:15
merlin1991well for starters I don't even have python-osso installed here06:16
merlin1991and extras seems to ship the maemo5 version06:16
DocScrutinizer05and I for sure didn't any fapman or HAM stuff that's more insane than enabling a catalog06:16
*** sicelo^ has quit IRC06:17
DocScrutinizer05here's another one: Inst python2.5-qt4-maemo5 [4.7.3-maemo5] (4.7.5-maemo2 Extras:2.0/fremantle-1.3) []06:17
*** sicelo^ has joined #maemo-ssu06:17
DocScrutinizer05well, you got them all in my pastebin06:17
DocScrutinizer05the weird stuff is why I had to reinstall procps several times06:18
DocScrutinizer05I guess my apt-get log is missing the --reinstall calls06:19
merlin1991btw is that paste with or without extras enabled?06:20
DocScrutinizer05errr with06:20
DocScrutinizer05without there's not that much06:20
DocScrutinizer05only those 3 pkgs06:21
merlin1991hm well the only idea i have is, that you installed something without having extras enabled, otherwise why would you have so many old pkgs?06:21
DocScrutinizer05hmmm06:21
DocScrutinizer05so you think I should allow an upgrade all?06:24
merlin1991at least that list looks safe06:24
DocScrutinizer05I wonder how the F* this list could show up *now* while before it never did06:25
DocScrutinizer05whatever, HAM GO GO GOOOOO06:25
DocScrutinizer05this seems to take a while06:29
merlin1991the python stuff takes some time, it optifies on install or something similar weird06:35
DocScrutinizer05python-pyside-qtcore(1.0.5-1maemo1) conflicts with python-pyside-qtgui(1.0.0-1maemo1) :-/06:38
merlin1991hm but there should be an equally new python-pyside-qtgui06:41
DocScrutinizer05python-pyside-qtgui(1.0.5-1maemo1) installing06:41
DocScrutinizer05HAM bastard06:42
DocScrutinizer05pythin2.5-qt4-common(4.7.5-maemo2) and python2.5-sip4(4.11-maemo0) in python-2.5-qt4-common conflict with python2.5-qt4-core(4.7.3-maemo5)06:44
DocScrutinizer05dafaq06:45
*** dhbiker has quit IRC06:46
DocScrutinizer05python2.5-qt4-core conflicts with python2.5-qt4-gui(4.7.3-maemo5) dafaqfaqfaqfaq06:47
merlin1991well you need to update all python qt packages in one go06:47
merlin1991they need exact versions06:47
DocScrutinizer05this is HAM!!06:47
merlin1991you need to find the single package that depends on all the others then :D06:47
DocScrutinizer05hahahaha06:48
DocScrutinizer05I'll run it a second time06:49
merlin1991which would be python-pyside06:49
DocScrutinizer05and then a third time if necessary06:49
DocScrutinizer05:shrug:06:50
DocScrutinizer05no more available updates06:50
DocScrutinizer05apt-worker busy like hell06:50
DocScrutinizer05The following packages have been kept back:06:52
DocScrutinizer05  libsdl-mixer1.206:52
DocScrutinizer050 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.06:52
DocScrutinizer05NFC who installed the failing pkgs now, and when06:52
DocScrutinizer05IroN900:~# apt-cache policy python2.5-qt4-core06:54
DocScrutinizer05python2.5-qt4-core:06:54
DocScrutinizer05  Installed: 4.7.5-maemo206:54
DocScrutinizer05  Candidate: 4.7.5-maemo206:54
DocScrutinizer05merlin1991: thanks anyway06:54
DocScrutinizer05psproc and camera-ui in place again, everything fine07:02
DocScrutinizer05fsck tools repo07:02
* DocScrutinizer05 idly wonders if apt could update pkgs from their original repos *only*07:04
DocScrutinizer05n807:04
*** l4m3rx has joined #maemo-ssu08:11
*** l4m3rx is now known as _shadowx08:11
*** _xnt14 has quit IRC08:44
*** _xnt14 has joined #maemo-ssu08:46
*** dhbiker has joined #maemo-ssu09:28
kerioDocScrutinizer05: yep09:59
kerioit's kinda doable09:59
kerioi think, at least10:00
keriopin that package/repo combination at 60010:00
*** _xnt14 has quit IRC10:08
*** infobot has quit IRC10:09
*** mickname has quit IRC10:09
*** _xnt14 has joined #maemo-ssu10:11
*** infobot has joined #maemo-ssu10:11
*** mickname has joined #maemo-ssu10:11
*** asimov.freenode.net sets mode: +v infobot10:11
*** dhbiker has quit IRC10:15
DocScrutinizer05~+uptime10:16
infobot- Uptime for infobot -10:16
infobotNow: 4h 32m 43s running infobot 1.5.4 (SVN) -- linux10:16
infobot1: 59d 8h 41m 19s running infobot 1.5.4 (SVN) -- linux, ended Sun Nov 14 18:39:57 201010:17
infobot2: 57d 3h 9m 23s running infobot 1.5.4 (SVN) -- linux, ended Fri Jun 26 20:39:27 200910:17
infobot3: 36d 20h 47m 14s running infobot 1.5.4 (SVN) -- linux, ended Tue Aug  4 17:38:59 200910:17
*** dhbiker has joined #maemo-ssu10:56
*** dhbiker has quit IRC11:03
*** luf has joined #maemo-ssu11:06
*** Pali has joined #maemo-ssu11:34
*** _rd has joined #maemo-ssu11:45
*** tg has quit IRC11:49
*** tg has joined #maemo-ssu11:58
*** _rd has quit IRC12:02
*** _rd has joined #maemo-ssu12:03
*** NIN101 has joined #maemo-ssu12:10
Pali~seen X-Fade12:19
infobotx-fade is currently on #maemo (2h 6m 9s) #harmattan (2h 6m 9s) #meego (2h 6m 9s) #maemo-ssu (2h 6m 9s), last said: 'ZogG_laptop: ?'.12:19
*** M4rtinK has joined #maemo-ssu12:23
*** kolp has joined #maemo-ssu12:34
*** NIN101 has quit IRC12:44
*** NIN101 has joined #maemo-ssu12:45
Paliping freemangordon13:04
*** Senicius_ has joined #maemo-ssu13:12
freemangordonPali: pong13:32
Palifreemangordon, check your time(zone) for git, in systemui alarm repo is good anomaly :D13:33
freemangordonPali: I am using virtual machine, it could be that time zone is not setup correctly13:34
Paliok13:34
freemangordonhmm, settings look ok13:34
freemangordontime zone is correct13:34
Palianyway I pushed new patch for debian/control13:35
Pali(commit time about 30 minutes ago)13:35
freemangordonPali: good. And I pushed some fixes, alarmui should be working ok now13:35
Paliok :-)13:36
freemangordonok as in stock :)13:36
freemangordonI am going to remove all of the global variables dhit13:36
freemangordoncan't believe it is written in that way :(13:36
freemangordondid yoiu look at the code?13:37
freemangordon*you13:37
Paliyes13:39
Palibtw, why are you marking that c source file as executable?13:39
freemangordonI am using QtCreator under windows to edit it13:39
freemangordonchmod 77713:39
*** _rd has quit IRC13:39
Palichmod 666 or chmod 64413:40
*** _rd has joined #maemo-ssu13:40
freemangordonok, ok, I know, no particular reason for 77713:40
jon_yC file doubles as a shell script to compile itself :)13:40
Palijon_y, not possible because header #!/ is not comment in C13:41
*** freemangordon has quit IRC13:44
*** freemangordon has joined #maemo-ssu13:46
*** Woody14619a has quit IRC13:46
*** Woody14619a has joined #maemo-ssu13:46
*** Woody14619a has quit IRC13:46
*** Woody14619a has joined #maemo-ssu13:46
freemangordonhmm, power outage :(13:47
*** _rd has quit IRC13:56
*** _rd has joined #maemo-ssu13:57
jon_yPali: it calls sed to output and stream itself to gcc?14:04
jon_yyeah, probably more complicated than required14:04
Palijon_y, stupid, because that source is plugin, not executable14:04
Palijon_y, but tcc can be used as #!/usr/bin/tcc -run :-)14:04
Palitcc is tiny c compiler14:05
jon_yyeah, I forgot about tcc14:05
jon_ytcc should implement repl-like functionality :)14:06
jon_yso C can run as fast as interpreted script code :)14:06
keriojon_y: there's CINT for that14:10
kerioor picoc14:10
jon_ydoes it run as fast as interpreted code? :)14:10
kerioidk14:11
jon_yit's a feature to emulate that part as well14:11
keriojust write the interpreter in python :D14:11
jon_yoh, I have pypy to do that, infinite recursions14:12
jon_ymay run out of stack running helloworld tests14:12
*** toxaris has joined #maemo-ssu14:21
*** iDont has joined #maemo-ssu14:33
*** dhbiker has joined #maemo-ssu14:37
*** _rd has quit IRC14:41
kerio:315:10
*** _rd has joined #maemo-ssu15:11
*** dhbiker has quit IRC15:16
keriojon_y: pypy works by black magic, though15:17
jon_yI guess jython it is15:18
keriojython sucks :(15:19
kerioPali: i want moar features in your battery applet!15:19
jon_ykerio: only doing a subset of python?15:19
Palikerio, patches are welcome :-)15:19
keriojon_y: nah, i think it does pretty much everything cpython does, except for the c bindings thing15:20
kerioPali: no, i don't actually want to do things15:20
kerio>:D15:20
jon_yI do JNI for that :)15:20
jon_yor JNA15:20
keriojon_y: jython runs in the jvm15:20
kerioit's evil15:20
jon_yeven if it is the GNU classpath? :)15:20
* jon_y has no idea how good the gnu jvm thing is15:21
keriomaybe kaffe is better?15:22
*** dafox has joined #maemo-ssu15:22
jon_ykerio: kaffe?15:23
keriooh, it does use gnu classpath15:23
jon_ydoes it go up to Java 1.7 standards?15:24
kerioi doubt it15:24
keriothe last stable release was 4 years ago15:24
jon_youch15:25
kerioopenjdk+icedtea is neat15:26
kerioPali: btw, what does the battery applet uses right now?15:26
jon_yicedtea is the jvm?15:27
keriojon_y: idk15:28
kerioit's basically openjdk with replacements for the binary parts15:28
jon_yok, it's a build system for openjdk15:28
tadzikPali: speaking of battery widget, the estimated time seems completely nonsensical, what kind of value this is? Estimated runtime at warp 9?15:29
jon_yI want that on windows too :(15:29
tadzik(no irony, I'm seriously curious)15:29
Palikerio, it is written in C using GTK+Hildon15:29
Palitadzik, data from BME15:29
Palior data from BME replacement drivers15:30
tadzikI see15:30
tadzikSo it doesn't calculate stuff on its own?15:30
keriotadzik: ofc not15:31
keriotadzik: /sys/class/power_supply/bq27200-0/time_to_empty_now15:32
keriotadzik: or /sys/class/power_supply/bq27200-0/time_to_empty_avg15:32
kerionot sure *how* the data gets there though15:32
*** Jaded has quit IRC15:36
*** Jade has joined #maemo-ssu15:37
*** Jade has joined #maemo-ssu15:37
tadzikkerio: I don't seem to have /sys/class/power_supply at all15:49
keriotadzik: it's not my fault your kernel sucks15:49
tadzikwell, shame on KP then15:50
*** dhbiker has joined #maemo-ssu15:52
*** toxaris has quit IRC15:53
Palitadzik, replacement bq modules are by default blacklisted16:09
Palibecause are incompatible with BME16:09
Palithat kernel modules are replacement for BME16:10
*** MrPingu has joined #maemo-ssu16:11
kerioPali: where's the blacklist?16:18
kerioand what loads them?16:18
Paliwhich blacklist?16:19
keriothe module blacklist16:19
Pali/etc/modprobe.d/16:20
kerioi see16:20
keriowhat's mousedev?16:20
PaliMouse (ExplorerPS/2) device interfaces16:24
Paliit is disabled since v34 by titan16:26
keriowhy?16:45
* freemangordon wonders how to properly test the changes in alarm UI16:46
kerioPali: how can i convince you to give absolute priority to bq27200 data over rx51-battery data?16:46
freemangordonkerio: which data, voltage?16:47
keriofreemangordon: total capacity, percentage16:47
Palibq27x00_battery cannot report total capsacity16:47
freemangordonkerio: bq27000 needs a  calibration to have proper values16:48
kerioPali: it reports the full charge16:48
freemangordonthis one too16:48
keriofreemangordon: which is better than the silly value reported by rx51-battery16:48
Palithere is no full charge16:48
kerio(where does that come from?)16:48
Palionly some last value16:48
kerioPali: /sys/class/power_supply/bq27200-0/charge_full16:48
Palivalue that consider chip as last used16:48
keriothat's not the last value, that's the last calibration value16:49
kerioaged "appropriately"16:49
freemangordonkerio: this is not design capacity16:49
Palikerio, it is last16:49
keriofreemangordon: why should we use design capacity?16:49
kerioPali: it's the last if you followed the proper calibration procedure16:49
kerio...which makes it accurate16:49
freemangordon"proper calibration procedure"16:49
freemangordonthis16:49
Palirx51_battery reporting full capacity16:50
keriofreemangordon: yeah but bq27200 doesn't save the full charge unless you reach VDQ and then go down to EDV116:51
Palibq27x00_battery reporting last or design=2048mAh16:51
kerioPali: it's because you haven't calibrated it16:51
keriothe design is silly, yes, but we don't really need that16:51
kerioDocScrutinizer05: is there a way to figure out if bq27k has been calibrated?16:51
Palikerio, what is the problem??16:52
kerio...oh, of course there is, CI16:52
PaliI do not understand...16:52
kerioPali: using battery design is silly, and becomes sillier as the battery becomes older16:52
Paliand what?16:53
keriothe most accurate thing to measure battery data is bq27200, when properly calibrated16:53
kerioPali: maybe it's just me, but 75% to me means that the battery has 75% of the charge that it can hold as of now, not 75% of the charge that it could hold when it was manufactured16:54
kerioPali: btw, there's no "done charging" apparently17:03
*** _rd has quit IRC17:05
lufIs here someone who has stock kernel + stock bluez? I want to see if there is err log "Can't create GN bridge" when you enable network plugin in bluez :)17:13
*** _rd has joined #maemo-ssu17:14
DocScrutinizer05kerio: bq27200 is reporting percent-of-current-capacity for charge-level17:28
DocScrutinizer05freemangordon: I don't know if we'd need design-capacity *anywhere* for battery-statusbar-applet etc17:30
DocScrutinizer05it's irrelevant and often incorrect too17:31
freemangordondeffinitely we need it for genuine(or not) batteries17:32
DocScrutinizer05the charge values reported on a 'normal' lshal are ratiomentric to the actual max charge that battery currently can hold, not to design capacity17:32
kerioDocScrutinizer05: maybe as a measure for weird values caused by lack of calibration?17:32
DocScrutinizer05this is particularly true when deducing charge level from voltage17:33
freemangordonof course, but it is good to be able to compare reported capacity agains what is written on the label17:33
DocScrutinizer05not done in statusapplet-battery17:33
DocScrutinizer05you *might* need design-capacity when bq27200 is CI, and you want to deduce available charge in mAh from voltage17:34
DocScrutinizer05available charge in % from voltage is a formula with one variable: voltage17:35
DocScrutinizer05available charge in mAh is with 2 variables: voltage and design capacity17:36
DocScrutinizer05unless you got better values from bq27200 since CI=017:36
freemangordonPali: https://gitorious.org/community-ssu/osso-systemui-alarm/commit/5209126ea32c19013a3435b6740a66df0e43263217:37
freemangordon:)17:37
freemangordonGuys I need volunteers to test the alarm UI17:37
freemangordonso far clock alarm should be ok17:37
freemangordonbut IDK how to test calendar alarm17:37
freemangordonnew UI allows alarms with 1 minute interval ;)17:38
freemangordonauto-snooze should work too with multiple alarms17:38
Paliworking it in portrait mode?17:39
*** NIN101 has quit IRC17:39
freemangordonPali: hmm, never tested it :D17:39
Paliok17:40
freemangordonbut that will be the cherry on the top when *FUNCTIONALITY* is ok :P17:40
Palinext question, difference between nokia and your version17:40
freemangordonBTW portrait works with forced rotation, so I think we only need to add appropriate flag17:40
*** NIN101 has joined #maemo-ssu17:41
Paliok17:41
freemangordonPali: see the commits. Or rephrase17:41
freemangordonMy changes are on top of "stock"17:41
freemangordonI don;t reinvent alarm UI17:41
Paliwhat bugs are in nokia version?17:42
freemangordonBTW I really wonder what kind of QA (if any) has  passed this piece of crap17:42
freemangordonPali: most of the data is global17:42
freemangordonso you just can't have simultanios alarm events17:43
freemangordonand all the stuff like that17:43
freemangordonmemory leaks17:43
Palinow you know reason, why nokia did not opensourced it :D17:43
freemangordonyeah :(17:44
DocScrutinizer05usual reason, actually17:44
DocScrutinizer05no kidding17:44
freemangordonbut I didn't tested calendar and power-on code paths17:44
*** dhbiker has quit IRC17:44
freemangordonthat is why I need volunteers :D17:45
DocScrutinizer05power-on is rather tricky17:45
freemangordonI know17:45
DocScrutinizer05dunno how much gets gandled by alarmd17:45
DocScrutinizer05handled*17:45
freemangordonit sends the events17:45
keriofreemangordon: does it work fine with the replacement for worldclock?17:45
freemangordonkerio: those are unrelated17:46
freemangordonboth are frontends to alarmd17:46
kerioare you sure? because it does some weird stuff with alarms for specific days17:46
freemangordon"it"?17:46
keriothe open worldclock17:46
DocScrutinizer05WTF?!17:47
keriothe UI to set up alarms is different17:47
freemangordonwell, could be, I don't use it17:47
freemangordonkerio: if you think there is a bug, report it to ade17:47
kerioit's not a bug, but i'm afraid that it won't work properly with your UI change :(17:48
freemangordonkerio: there is no change to UI17:49
freemangordonthe changed part is how the alarm events are handeled17:49
DocScrutinizer05wait, so what *is* it you're working on?17:49
freemangordonthe logic behind the UI17:49
DocScrutinizer05Ui of what?17:50
freemangordonalarm17:50
freemangordonosso-systemui-alarm17:50
DocScrutinizer05so I'd see it when I type `alarm` to xterm?17:50
DocScrutinizer05osso-systemui-alarm17:50
DocScrutinizer05?17:50
freemangordonthe one with STOP/SNOOZE buttons on it17:50
Paliosso-systemui-alarm is plugin for systemui17:51
Palisystemui is daemon which do some magic with plugins17:51
Paliand one plugin is alarm which show alarms17:51
DocScrutinizer05aha17:52
Palialarms are: events from calendar or alarm clock, ...17:52
freemangordon:nod:17:52
DocScrutinizer05Pali: thanks17:52
*** dhbiker has joined #maemo-ssu17:52
freemangordonand it is decoupled to worldclock17:52
* DocScrutinizer05 sneezes and snivels a few times17:53
DocScrutinizer05I gather it gets invoked whenever there's an alarm from alarmd firing17:54
freemangordonyep17:54
DocScrutinizer05maybe a certain class of alarmd alarm17:54
Palisystemui daemon has 27144B and about 1800 lines arm instructions17:54
DocScrutinizer05and I gather it's closed (sys-ui)17:55
freemangordonye17:55
freemangordonyep17:55
DocScrutinizer05lart nokia17:56
Pali(without @plt and data sections)17:56
*** NIN101 has quit IRC17:56
keriowhat deals with alarms when the n900 is turned off, btw?17:56
DocScrutinizer05the RTC?17:56
keriohow does it turn on, i mean?17:56
DocScrutinizer05you mean, what handles wakeup alarms during bootup?17:57
DocScrutinizer05since device is turned on by RTC17:57
DocScrutinizer05obviously17:57
keriooh, neat17:57
freemangordont is RTC that wakes the device on. In ACTDEAD mode17:57
DocScrutinizer05LOLWUT, RTC wake reason results in act_dead?17:58
DocScrutinizer05how reasonable17:58
Palinot in alarm mode?17:58
freemangordonit seems so, as there is a code in alarm UI which checks for ACTDEAD17:59
Palithere is some rtc mode17:59
Paliyes, getbootstate convert rtc mode to actdead17:59
Paliso you are right17:59
Paligetbootstate report user, actdead or malf17:59
DocScrutinizer05now hwat wheed did those engineers smoke?17:59
Palithis getboostate was not touched since 77018:00
Palinew rewritten getboostate is in harmattan (open source)18:00
DocScrutinizer05device coming up from RTC IRQ should enter user runlevel, not act_dead runlevel, for all I could think of18:01
DocScrutinizer05anyway we won't touch that for a while I guess, since it seems to work18:01
Pali    if(!strcmp(bootreason, BOOT_REASON_RTC_ALARM)) {18:02
Pali        log_msg("Alarm wakeup occured\n");18:02
Pali        return_bootstate("ACT_DEAD", 0, COUNT_BOOTS);18:02
Pali    }18:02
DocScrutinizer05no matter how screwed the design18:02
Palithis is in harmattan getbootstate ^^^^^^18:02
DocScrutinizer05yeah18:02
Paliand seems that this is in fremantle18:03
DocScrutinizer05toldya bootup-alarm handling is rather tricky18:03
DocScrutinizer05there might be reasons why it has to come up in act_dead18:03
DocScrutinizer05after all you can tell alarm-ui to shut down again18:03
DocScrutinizer05or you tell it to boot up completely, when it asks you for lockcode etc18:04
Paligetbootstate return: FLASH, LOCAL, TEST, MALF, SHUTDOWN, ACT_DEAD, USER18:04
DocScrutinizer05iirc18:04
DocScrutinizer05(last tested it ~3 years ago)18:05
DocScrutinizer05(since after all, *who* whould *shut down* his N900?? ;-P)18:05
Paliwhen you connect charger to powered off device it boot into actdead, if you press power button it full reboot and bootreason will change to sw_rst which getboostate translate to user or malf18:06
DocScrutinizer05alarm-ui has to handle all those niche cases18:06
*** NIN101 has joined #maemo-ssu18:06
DocScrutinizer05aiui18:06
Paliso why I need to reboot my phone??18:07
freemangordonDocScrutinizer05: well, stock one does not handle anything but ACTDEAT18:07
PaliSHUTDOWN is handled by /sbin/preinit and it immediately turn off device18:08
PaliMALF is also handled by /sbin/preinit and it show stupid message18:08
DocScrutinizer05nfc, it handles wakeup from power-down, wake-up from act_dead, and alarms during screen-locked as well as alarms during interactive18:08
DocScrutinizer05Pali: irrelevant for alarm-ui18:08
freemangordonwake-up from power down because of RTC is act-dead18:09
DocScrutinizer05I don't give a shit about what 'it is'18:09
DocScrutinizer05it gets handled correctly by stock alarm-ui18:09
freemangordonbut?18:09
DocScrutinizer05nothing but18:10
DocScrutinizer05rather make sure this doesn't change for the worse18:10
freemangordonORLY?18:10
DocScrutinizer05hehehe18:11
*** dafox has quit IRC18:11
DocScrutinizer05[2012-11-10 17:03:39] <DocScrutinizer05> there might be reasons why it has to come up in act_dead18:11
DocScrutinizer05[2012-11-10 17:03:57] <DocScrutinizer05> after all you can tell alarm-ui to shut down again18:11
freemangordonno, once woken, it stais there18:12
freemangordonAIUI18:12
DocScrutinizer05nope18:12
freemangordonbooted in actdead18:12
freemangordonthough I might be wrong, didn't checked that part of the code18:13
DocScrutinizer05you didn't even check the function in real life18:14
freemangordonDocScrutinizer05: what's wring with you man?18:14
freemangordon*wrong18:14
DocScrutinizer05???18:14
freemangordonwhy don;t you check the commit dates, ok?18:14
freemangordonhours even18:14
DocScrutinizer05???18:14
freemangordon<DocScrutinizer05> you didn't even check the function in real life18:15
DocScrutinizer05???18:15
freemangordonwhen I was supposed to do that?18:15
DocScrutinizer05before you start to develop patches for that very function?18:15
freemangordonthe source code is REed18:15
DocScrutinizer05to see what original component is doing in that situation?18:16
freemangordonok, ok.18:16
DocScrutinizer05set an alarm, power down device, watch alarm firing, look what the alarm-ui does in that particular case18:17
DocScrutinizer05as mentioned above *I* tested that some 3 years ago, so I can't help with 100% accurate info - you're on your own18:18
*** Woody14619a has quit IRC18:21
*** Woody14619a has joined #maemo-ssu18:21
*** Woody14619a has quit IRC18:21
*** Woody14619a has joined #maemo-ssu18:21
DocScrutinizer05It comes up, asking "snooze" "stop alarm". Then when I stop alarm, it asks "start up device?" "shut down again?"18:22
DocScrutinizer05alas it shuts down during the time I typed this if I don't answer last question18:23
DocScrutinizer05(this is most actual recent info now, for your convenience)18:24
DocScrutinizer05(all of the above tested with no charger plugged in)18:26
DocScrutinizer05when I answer "power up device", it goes thru a complete reboot cycle, incl blue-on-white NOKIA screen and vibrator kicking and all18:28
DocScrutinizer05(btw powerkernl still does that also on powerdown - quite a bit puzzling)18:29
keriodafuq?18:29
kerionot here18:29
DocScrutinizer05I tested on Z900-thumbified and it does exactly that on shutdown:black, screen, .... bwahahaha this time of course it doesn't18:30
kerioNOTABUG could not reproduce18:31
keriomwahaha18:31
*** ron0062000 has joined #maemo-ssu18:32
*** _ade_ has joined #maemo-ssu18:34
_ade_kerio: whats that "because it does some weird stuff with alarms for specific days"18:35
kerio_ade_: ohai18:36
keriofor instance, it supports alarms for specific dates :)18:36
_ade_hai18:36
_ade_so?18:36
kerioso it's something that the stock worldclock doesn't do18:36
_ade_okay, I thought we where talking about a bug...18:37
freemangordonkerio: if stock alarm UI handles that, there will be no problem with replacement18:37
kerioi think that it's an alarmd thing, so there shouldn't be a problem18:38
DocScrutinizer05dafaq, it did 3 times irregular behaviour on shutdown now, in a row, and now 3 time shutdown behaviour as expected18:38
kerioDocScrutinizer05: i never encountered that behaviour18:38
*** iDont has quit IRC18:38
DocScrutinizer05haha, I know what it did! It changed alarmd time to (real-alarm-time - 1min), and thus on shutdown it already thought "duh, I need to enter act_dead mode now, so I'll be able to kick off due alarm in 90sec"18:40
_ade_kerio: for alarms on a specific date, I just fill the timestamp, just like the calendar app does for example.18:40
kerioDocScrutinizer05: hahaha18:41
kerio_ade_: yep, that's what i figured18:41
*** dhbiker has quit IRC18:43
_ade_freemangordon: when adding an alarm to alarmd, you can provide a custom alarms sound (per alarm). But that does not work. Is that functionality a part of alarm-ui?18:45
DocScrutinizer05Pali: freemangordon: it's obviously like that: alarmd sets RTC to a time some minutes _before_ real alarm is scheduled, to allow system to boot up to act_dead. Alarmd is active in act_dead. Then at real alarm-time as scheduled by used, alarmd emits the according events/signals to start up alarm-ui18:47
DocScrutinizer05alarm-ui in turn, when detecting "current-state == act_dead" shows a requester "boot up device?" / "shut down again?" and initiates according runlevel transition18:48
DocScrutinizer05HTH18:49
DocScrutinizer05btw system on boot-up needs to check if bootreason been RTC-alarm and if so, stays in act_dead for above scheme to work18:54
keriocouldn't've they just said to people to keep the phone on to make alarms work? :s18:55
DocScrutinizer05you can watch all this if you set an alarm 5+ minutes to the future, and then shut down system. Watch it boot up to act_dead ~1min before your scheduled alarm18:56
*** dhbiker has joined #maemo-ssu18:58
*** ron0062000 has quit IRC18:58
DocScrutinizer05kerio: how would you keep device on for as long as alarm set to 2012-12-24,19:30 on the N900 gift for your nephew19:00
keriowhy would i give my nephew a N900 as a gift instead of keeping it for myself?19:01
kerio"the n900 is a dead platform - here, have this galaxy s3"19:01
DocScrutinizer05tell him "here's your xmas gift package, it has a hole here you should plug an usb-charger to until you inpack on xmas eve"?19:01
DocScrutinizer05meh19:02
kerioDocScrutinizer05: somehow i think he'll remember that 24/12 is christmas' eve19:02
kerioeven without the alarm :)19:02
DocScrutinizer05you're a quite uninspired person, aren't you?19:03
kerioi'm old enough to open gifts when i receive them :D19:03
DocScrutinizer05I think it's a nice surprise if xmas gift package starts off an alarm under the tree, while kids are still singing holy-shit19:03
keriohehe19:04
kerio"BEWARE, I LIVE"19:04
keriohttp://www.youtube.com/watch?v=S-XEINagmaU19:04
merlin1991rofl @ "holy-shit"19:04
*** ron0062000 has joined #maemo-ssu19:05
*** ron0062000 has quit IRC19:57
*** _ade_ has left #maemo-ssu19:57
*** ron0062000 has joined #maemo-ssu19:59
*** ron0062000 has quit IRC20:00
*** _rd has quit IRC20:11
*** _rd has joined #maemo-ssu20:33
*** dhbiker has quit IRC20:38
*** ron0062000 has joined #maemo-ssu20:48
*** dhbiker has joined #maemo-ssu21:01
*** _rd has quit IRC21:17
*** _rd has joined #maemo-ssu21:17
*** dafox has joined #maemo-ssu21:35
*** MrPingu has quit IRC21:47
*** dafox has quit IRC22:06
*** MrPingu has joined #maemo-ssu22:06
*** nox- has joined #maemo-ssu22:12
*** MrPingu has quit IRC22:13
*** MrPingu has joined #maemo-ssu22:33
lufkerio: I also understood how to use dbus + bluez to connect to the remote PAN server ;)22:43
*** MrPingu has quit IRC22:52
*** arcean has joined #maemo-ssu22:58
*** _rd has quit IRC22:59
*** dafox has joined #maemo-ssu23:04
*** MrPingu has joined #maemo-ssu23:05
*** NIN101 has quit IRC23:07
*** ron0062000 has quit IRC23:14
*** int_ua has joined #maemo-ssu23:49
*** ron0062000_ has joined #maemo-ssu23:53

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!