libera/#maemo-leste/ Monday, 2023-11-13

ac_laptopAnyway I just want to say that I already like the features that this Maemo Leste is bringing, such as the bash by default, the sudo su in place of the old gainroot , and the fact that the timezone is saved instead of having to set it every time the battery is removed. Keep up the good work !00:04
Wizzup:)00:05
Wizzupsicelo: merged both prs and building00:06
Wizzupto -devel00:06
siceloWizzup: thanks08:00
sicelofreemangordon: <freemangordon> arno11: patch that allows us to use hrtimer for IRTX on n900 was just pushed to upstream 6.1  .... i can't see it. link perhaps?08:01
freemangordonsicelo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/tree/queue-6.1/drivers-clocksource-timer-ti-dm-don-t-call-clk_get_r.patch?id=cc8743ec5bb4cd059b3df5f787c658a570a8a6e308:22
sicelothanks. i was looking under drivers/media/rc :p08:26
Wizzupuvos: freemangordon: so I was babysitting my d4 with the screen on (permanently), voltage around 3.4-3.3, and it just suddenly shut off, whatever safeguard we have definitely did not kick in10:07
WizzupI'm trying to get the battery to be calibrated but it just shuts off rather than says 'now is the time to plug in'10:07
Wizzupbut this is with a frankenbattery10:10
uvos__Wizzup: the now is the time to plug in thing generally dosent work when the battery is not callibrated10:37
uvos__it works by checking if the battery is below 15% (or 10% dont remember exacly)10:37
uvos__but our charge estimateion sucks so it mostly dosent work10:37
uvos__the "emergency" shutdown is triggered by mce at a set voltage10:38
uvos__this most definatly works fine (for me)10:38
uvos__the voltage it shal shutdown is set in 70-droid4.ini10:38
uvos__er in  mapphone.ini actually10:38
uvos__freemangordon: what happend to your charge estimation improvements btw?10:38
uvos__the kernel itself also triggers an emergency shutdown on voltage10:39
uvos__but this comes after mce so should not trigger, except whenever mce is not running (so boot mostly)10:39
uvos__this threshold is 3.1 iirc10:40
Wizzupit didn't get to that though, it just shut off10:40
Wizzupbut again, it's a different batterey10:40
Wizzupall I really care about is to calibrate it though :)10:40
uvos__well the battery shal not matter10:40
uvos__this means that the bms of the battery is triggering shutdown10:40
Wizzupwell it shut down before it hit 3.2V, but maybe it dropped a lot because of a spike10:40
uvos__this is really really bad10:40
uvos__they trigger at 2.9v or so and its only intended to be used a couple of times10:41
uvos__it causes damage10:41
uvos__please check with mce if the battery guard module is loaded and setup correctly10:42
uvos__please check if the system can read the voltage proparly10:43
Wizzupwell it was set up before, so I doubt this changed10:44
Wizzupthis is not a polarcell battery btw, it was some other nexus 4 compatible one10:45
uvos__well soemthing dosent sound healthy there10:45
freemangordonuvos__: sitting on the queue11:14
freemangordon:(11:14
uvos__freemangordon: ok i know the ocv esstmation wasent finished11:17
uvos__but do did have a better ocv->soc function right?11:17
uvos__maybe if you post it somewhere i can add it to upower11:17
freemangordonno11:17
uvos__it would allready improve things on its own i gues11:17
freemangordonit was not good enough11:18
uvos__freemangordon: ok11:18
uvos__ok11:18
uvos__not good enough mitght still be better than the current one :P11:18
freemangordonwell, it wass better, but not good enough for my taste :)11:18
uvos__but ok11:18
uvos__freemangordon: might be worth while11:18
uvos__still11:18
freemangordonI would better first finish charging detection patches11:19
uvos__ok11:19
freemangordonuvos__: estimation function was giving bogus values when I tried it on the allwinner tablet I have here11:20
uvos__the current function gives bogus values everywhere11:20
uvos__so i dont see the regression :P11:20
freemangordonheh :)11:20
freemangordonright, but why change something that does not work woth another that gives the same end result?11:21
uvos__well if its even marginally better on d4 it helps somewhere11:21
uvos__anyhow your call11:21
freemangordonanyway, now I am close to finishing multimedia stuff, I might get back to charger detection11:21
freemangordonttyl11:22
uvos__ttyl11:22
arno11Wizzup: i added comments in transitions ini commit13:37
Wizzupthanks!13:37
arno11ask me if you need more details13:37
arno11bbabl13:37
Wizzupwell at least my battery is calibrated now14:48
Wizzupfreemangordon: how do you feel about the transitions.ini changes for n900 by arno11?14:49
Wizzuphttps://github.com/maemo-leste/leste-config/pull/38/files14:49
uvos__Wizzup: not freemangordon but if i may add what i think: it is why16:00
uvos__clearly the defaults worked fine on freemantle, they allready where tuned for the n900, so why do they need to change now16:00
uvos__why is it so much slower on leste, seams wierd16:01
uvos__on the other hand i disabled many animations on d4, not because they are slow, but because i find them annoying16:02
uvos__anyhow i would nak that pr on the basis that it affects everyone when the target is only to affect the n90016:03
Wizzupit only affects n90016:03
Wizzup>16:03
Wizzupleste-config-n900/usr/share/hildon-desktop/transitions.ini.leste16:03
uvos__how would that even work16:03
Wizzupso that would only get added on devices with the n900 leste config installed16:03
uvos__the file is in hildon-desktop16:03
uvos__allready16:03
Wizzupyes, that might be a problem :)16:03
WizzupI think with dpkg divert it works16:04
Wizzupso the hildon-desktop one would become .divert or whatever they do16:04
uvos__ok and what happens when hildon is reinstalled16:04
Wizzupit will remain diverted16:04
uvos__ok16:04
Wizzupthis is not new territory, we do this with various things afaik16:04
Wizzupit's still not -great-, but this wouldn't be the first time16:04
Wizzupas for the other comments, I don't really have a strong opinion, but I think that if arno11 is finding ways to make hildon more usable on n900 it might be a good thing, I haven't looked at the differences personally16:05
uvos__you know what would make it more usable16:05
uvos__well not on n90016:05
uvos__but tagging a relaease out would help16:05
Wizzuphm?16:06
uvos__as currently there is a totaly pointless .5 sec delay on rotation16:06
Wizzupah16:06
uvos__https://github.com/maemo-leste/hildon-desktop/commit/2a1a4e1c45d79d374933f64e8ffdfa1541617a8716:06
uvos__(was not released so far)16:06
uvos__anyhow16:07
WizzupI can definitely do that now if you like, to -devel16:07
uvos__no strong optinion on the n900 transisitons beside that its wierd that it should be needed16:07
uvos__Wizzup: that would be great16:07
Wizzupbuilding now16:09
uvos__thank you :)16:12
siceloWizzup: did dbus-scripts work for you? iirc there's something you were going to use them for16:33
WizzupI think it did, but iirc you had to run two, one for system and one for user session, which was a bit silly16:33
sicelodoesn't seem to be working at all for me now. i.e. it starts, but doesn't catch any events16:33
Wizzupok, I don't remember what I used it for16:33
siceloi understand the need for separate buses. in my case, I'm monitoring on the default system bus. weird16:34
siceloregarding the transitions.ini, i did test it, and it was quite fast as arno11 mentions16:35
siceloi missed some of the fancy stuff done by default, but i guess people will love the fast interaction16:36
uvos__we used to use  dbus-scripts for rotation16:48
uvos__it def worked then, every one used it, it was default16:49
siceloah right. I'll check to see how it was done at the time16:50
Wizzupuvos__: ah yes that's rightg16:51
Wizzupuvos__: if I wanted a few hours of your time this week (not all the hours, but parts of them) to look at the d3 issues, what would work for you?17:00
uvos__Wizzup: sure17:02
WizzupI mean, what day :)17:02
freemangordonWizzup: I don;t think we shall have special transitions for n90017:04
freemangordonif it is slow, we shall find why17:04
freemangordonthe same HW works ok with fremantle17:04
Wizzupmaybe it can be an optional pkg then17:05
uvos__that sounds like a good idea yeah17:05
uvos__ideally we would make it a transitions.ini.d for this however17:05
freemangordonstill, the question remains - why it is slow? 32bpp vs 16 bpp?17:06
uvos__thats probubly some of it yeah17:06
Wizzupit's even slow on fremantle sometimes I think17:06
uvos__i think running n900 in 16bit would be ok, it cant runn the applications i am worried about that dont work in 32bit anyhow17:06
freemangordonuvos__: BTW, .5 s delay on rotation is because it needs some time to redraw the applications17:07
freemangordonotherwise you will see everything rotated and resized17:07
freemangordonon n900 that is ;)17:07
uvos__freemangordon: no not that i added a delay because on ddk1.9 xorg crashed if you created ogl surfaces immitatly after roation17:08
uvos__this was a bug in that ddx17:08
uvos__its no longer with us17:08
uvos__so i reverted the delay17:08
uvos__but it was not released17:08
freemangordonah17:08
freemangordonreally?17:08
uvos__no, but Wizzup just released it17:08
freemangordonalso ctrl-backspace?17:08
uvos__yeah17:09
freemangordonmhm17:09
uvos__but we still need to change the config file for that17:09
Wizzupuvos__: sounds like any day of the week works then? :D17:11
uvos__Wizzup: thursday or wednesday gives you the best chances17:12
Wizzupokay17:13
sicelotalking about N900, what would you suggest as possible reasons that wlan is very slow?17:31
siceloi don't want to believe other omap3 users (e.g. pandrora, etc.) have same issue17:32
Wizzupsicelo: power saving17:34
Wizzuptry to turn it off with iw17:34
siceloright, yes that too. how could i forget!? but let me check it really gets ok then17:37
arno11Wizzup: just to clarify a bit: i don't make this last PR like a definitive stuff, simply i can't continue calls integration with a none responsive UI OOTB. i'm totally agree it is better to find the root cause of slowness but ATM sphone is really to slow OOTB without transitions tweaks and sound is not great enough with stock daemon.conf. definitely it is just a temporary workaround18:07
arno11for example, calls latency depends of 2G or 3G tech, priorities (rt or not), depending of how quick cmt and sphone start/react, resampling method, sample rate, the use of sudo or not and other stuff...18:13
arno11so it is really difficult with random slowness18:15
arno11and n900 works so nicely with overclock and tweaks :)18:16
Wizzup:)18:17
arno11bbl (driving)18:19
bencohpersonally I'd vote for light transitions by default in any case18:20
Wizzupyeah that makes sense to me too, as long as it's obvious how to switch18:21
ac_laptophi again19:37
ac_laptopwhat can I do when the X server crashes ? can I access a console somehow ?19:38
ac_laptopI've made a typo in my keyboard config file and now Xorg crashes at startup19:39
ac_laptopand I don't know how to go back to a TTY19:39
ac_laptopand the network didn't set up automatically either, so no SSH19:40
freemangordonac_laptop: just mount sd card on your PC19:44
ac_laptopfreemangordon: this is what I ended up doing19:48
ac_laptophm now it doesn't like my .xinitrc , I guess I shouldn't have put the xbindkeys command in it19:51
ac_laptopwhy doesn't it fall back to a TTY ? is it because TTYs are deactivated or is there an other reason ?19:58
arno11freemangordon: i think i don't have the skills to solve the problem but maybe i can find what is wrong with n900 default responsiveness. IYO where should i look first ? (i'll have time next weekend with not too much kid/baby stuff)20:16
arno11uvos: same question for you lol20:17
freemangordonarno11: change xorg bpp to 16 and see if it behaves the same or os better20:26
freemangordon*is better20:26
arno11ok thx :)20:27
ac_laptopI'm still trying to determine where I should put the xbindkeys command to launch it when Xorg starts20:28
ac_laptop.xsession doesnt seem to work20:29
ac_laptopit should, unless there's a login manager20:29
freemangordonac_laptop: there is20:31
freemangordonautologin20:32
freemangordonuvos__: please, fix ^^^ license :D20:33
freemangordonuvos__: https://github.com/maemo-leste-upstream-forks/autologin/blob/maemo/chimaera/debian/copyright#L620:34
freemangordonac_laptop: there is elogind session20:35
Wizzupok, dist upgraded my lime2 olimex tablets and my pinephone :)23:45
sicelo:-)23:50

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