libera/#maemo-leste/ Monday, 2023-03-06

freemangordonWizzup: ok, got it. maemo-launcher does not get started from init.d script even now, but from XSession script, so I am going to remove init.d script for maemo launcher08:40
freemangordonWizzup: the boot 25 seconds hang is because of 'su - user'11:39
freemangordongoogle suggests it is related to selinux11:39
freemangordonhmm:11:41
freemangordonMar  6 10:36:43 localhost dbus-daemon[2090]: [system] Activating service name='org.freedesktop.login1' requested by ':1.0' (uid=0 pid=2227 comm="su - user /etc/osso-af-init/real-af-dbus start ") (using servicehelper)11:41
freemangordonthis is it I guess11:42
freemangordonuvos: Any idea what is this? ^^^11:43
freemangordonoh, ok, adding elogind as a dependency of dbus-user fixes the boot delay11:46
freemangordonthis fixes poweroff delay as well11:47
Wizzupfreemangordon: good work12:18
arno11Hi guys. Hope things are going well with chimaera stuff12:20
arno11fyi N900 overclocking + undervolting works fine12:21
arno11battery +20 %12:22
arno11Removing 125 freq helps a lot12:23
Wizzupthe real battery saver is working to enable ret and off modes12:24
Wizzupbut that requires kernel work12:24
Wizzupthen you'll get a week no problem I think12:24
arno11i know but indeed that's not an easy task12:24
Wizzup:)12:25
Wizzupyou can get RET on leste with gui, but it will just reset eventually12:25
arno11ah ok good to know12:26
WizzupI already made some pm fixes to make this possible, but yeah, I don't remember where it resets12:26
arno11i found your pm stuff on github and tried few things12:28
arno11but it seems that something still block sleep mode12:29
Wizzupyeah, you also need to block some modules from loading iirc12:31
WizzupI can check next weekend if you're interested in helping out12:31
arno11sure12:32
arno11just ping me when you have time to check12:35
Wizzupcool13:00
Wizzupfreemangordon: the fixes you made, shall we push them to chimaera-devel?13:00
freemangordonWizzup: what fixes?14:45
Wizzupfreemangordon: 11:46 < freemangordon> oh, ok, adding elogind as a dependency of dbus-user fixes the boot delay14:50
freemangordonI will fix the package later on14:51
freemangordonnothing is still on github14:51
uvos__sorry i wasent qutie following allong14:51
freemangordonuvos__: after installing elogind, there is 25 seconds boot (and shutdown) delay14:51
uvos__so our solution wrt elogind is "kick the can down the road" for now? ie you are disableing it as far as possible14:51
uvos__while haveing he pacakge installed14:52
freemangordonwe disable nothing14:52
uvos__but are you creating a lognd session?14:52
uvos__and running in that?14:52
freemangordontrying to14:52
uvos__ok14:52
uvos__neat14:52
uvos__sorry for still being busy :(14:52
freemangordonbut, initially (and for the purpose of chimaera being released), there will be no logind session leste will run in14:53
uvos__ok14:53
uvos__yeah this should work with no mofidications really14:53
freemangordonso, elogind is installed and running14:53
freemangordonnot really14:53
uvos__ok14:53
freemangordonas it seems su wants elogind running14:53
uvos__ok14:53
freemangordonotherwise it wait for 25 seconds :)14:53
freemangordon*waits14:53
uvos__ok14:53
freemangordonalso, weem maemo-launcher already runs from xsession script14:54
freemangordon*seems14:54
uvos__ok14:54
uvos__so it has the user env14:54
freemangordonyes14:54
uvos__maybe i should implement maemo-launcher sending itself the env via dbus, so that eatch proc has the env from where it is launched14:54
uvos__(since this probubly causes other issues too)14:55
freemangordoniI don;t see maemo-launcher causing any issues14:55
uvos__for now14:55
uvos__but its suprizeing when you application suddenly runs in a random env14:55
uvos__different from where it was launched from14:55
uvos__(seemingly)14:55
freemangordonso, my plan is to start /etc/X11/Xsession from autologin14:56
freemangordonand all will start working automagically14:56
Wizzupwell the env affects how things are loaded potentially14:56
uvos__through hidon-session i hope14:56
freemangordonthis will be for the future14:56
uvos__ok14:56
uvos__not sure why14:56
uvos__since its just the same ting14:56
freemangordonif xsession init.d script launches login session, I think we can call it a day for now14:57
uvos__but redirected trough 2 shells14:57
uvos__er bash scripts14:57
uvos__but ok14:57
uvos__i gues launching x is different14:57
freemangordonright14:57
uvos__launching x as root is bad however14:57
uvos__so is pulse14:58
uvos__we can have regular pulse then too14:58
freemangordonok, but as a stop-gap (until we have all this working) I guess we can do it like that14:58
uvos__yes14:58
uvos__i agree14:58
freemangordonalso, that would mean we do it in smaller steps14:58
uvos__yes14:58
freemangordonso easier to track the issues14:58
uvos__total agreement14:58
freemangordon:deal: :)14:59
uvos__hopefull ill find the time to do the rest14:59
freemangordonright14:59
freemangordonalso, we shall keep gconf for now14:59
uvos__sure14:59
uvos__thats a nightmare14:59
freemangordonright14:59
uvos__but we should maybe decide on where to move14:59
uvos__soonish14:59
freemangordonagree14:59
uvos__since we can then start implementing stuff like switchble backends15:00
freemangordonI proposed configfs, but not sure if it can be 100% replacement15:00
uvos__me neither15:00
uvos__i think gsettings can work15:00
uvos__eccept icd215:00
uvos__exceppt15:00
freemangordonno, because of the dynamic creation of keys15:00
uvos__you can do that15:00
freemangordoncan I?15:00
freemangordon:)15:00
uvos__yes, but its quite rigid15:00
freemangordonanyway, this is for the future15:01
uvos__you have a scheme that references another sheme, but the number instances of this scheme is dynamic15:01
uvos__so that works in most casses15:01
freemangordonI see15:01
uvos__icd2 is wierd because the keys it creates changes15:01
uvos__anyhow15:02
freemangordonthat looks over-engineered to me15:02
uvos__we can also use something else15:02
freemangordon(gsettings)15:02
freemangordonyeah15:02
uvos__the benefit is that the api is the same15:02
uvos__so are the schemes15:02
uvos__it just enforces things that are optional in gconf15:02
uvos__so you can migrate easier15:02
freemangordonhmm15:02
uvos__than elsewhere (presumably)15:02
uvos__in simple cases15:02
uvos__(not dynamic keys)15:02
freemangordonso, there is nothing similar to windows registry now in linux, right?15:03
uvos__i mean gconf is pretty simmular to windows registry15:03
uvos__so not sure what you mean by that15:03
freemangordonyes, but it is no more ;)15:03
bencohnothing replaces gconf?15:03
freemangordonthat's why I said *now*15:04
freemangordonbencoh: do you know of a replacement?15:04
uvos__a "well behaved" (compleat scheme with all keys etc) gconf application needs minimal modfication15:04
bencohfreemangordon: I dont, I'm just surprised15:04
uvos__bencoh: by what?15:04
freemangordonthey migrated everything to gsettings, but it lacks functionality compared to gconf15:04
bencohah, I see15:05
uvos__i mean thats not really true, its just way way more enforceing of structure15:05
freemangordonand why is that needed?15:05
uvos__like every key needs to be in a scheme so gsettings knows 100% that i can delete all the keys when a application is uninstalled15:05
uvos__for instance15:05
freemangordonaha15:05
uvos__ie so that the windows registry is huge effect dosent occure :)15:06
freemangordonso, it is like "yeah, screw the functionality as long as we don;t have to do anything complicated" :)15:06
uvos__i mean gnome people wrote this15:06
uvos__so yes15:07
freemangordonyeah15:07
maemish_Good job.17:13
Wizzupuvos: I am trying to remember why I got the mz615 - easier to reflash?17:44
Wizzupgod my memory is terrible17:44
Wizzupiirc it had no modem so there was a microsd card slot?17:44
uvos__Wizzup: some mz61x variants other than mz617 have a sdcard slot, yes, im not sure if mz615 is one of those, but i think yes17:58
uvos__this allows you to have mainline linux installed with resonable space without breaking android17:59
uvos__without the sdcard slot you have to first install linux to a small partition via fastboot and then install it somewhere else useing that install17:59
uvos__still18:00
uvos__mz615 has the extreamly locked bootloader too18:00
uvos__so you need to use the spicy method of installing kexecboot18:00
freemangordonWizzup: building osso-af-startup for chimaera19:26
freemangordonfeel free to push the other changes once it is ready19:27
freemangordonhmm, seems autobuilder has issues19:29
freemangordonWizzup: please have a look once you are around19:30
Wizzupfreemangordon: what is the issue19:32
Wizzupeverything seems to have passed19:32
freemangordonthere is nothing in the irc19:33
Wizzupfreemangordon: yes, it doesn't update for 'all' archtres19:34
Wizzupit's silly19:34
WizzupI need to fix it some time19:34
freemangordonok, osso-af-startup is there19:34
freemangordonwe need config and hildon-base now19:34
freemangordonand we should be ready19:34
freemangordonmaybe upgrade and confirm boot delay is gone19:35
Wizzupok, later tonight :)19:40
siceloarno11: nice work!20:56
sicelomight be useful to document the O/C work in wiki20:56
arno11sicelo: thank you :)21:13
arno11its on the road for the wiki21:14
arno11just testing few other things before21:14

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