libera/#maemo-leste/ Tuesday, 2022-04-19

sicelothe idea and solution not perfect (plus script is unfinished yet). if you think there's a way for this to be implemented in kernel itself, that'd be even better00:02
nochwould be interesting to see screenshots of phosh on n900.00:24
nochwas it in landscape mode?00:24
nochbut i have to say, maybe again, how i dislike phosh. because it takes screenshot of the window, like android.00:25
nochnot like maemo. and when you navigate through the list of opened programs00:25
nochyou see screenshots00:25
nochyou don't see those are alive.00:25
nochyou don't see something is happening inside.00:25
nochyou see a screenshot of a terminal with top in it, top does not update.00:26
nochalso usability wise it is not convenient to search a window like that.00:26
nochand it is not convenient to scroll among these windows to find00:26
nochthe one you need00:26
nochin maemo it is very cool.00:26
nochyou see all the opened windows00:26
nochand you see the updates in windows.00:27
siceloyes00:30
sicelobut of all the modern mobile DEs, i'd say phosh is the one more closely related to maemo/hildon. some of the main people there are ex-maemo users/devs (and still own/use N900, at least once in a while)00:32
sicelonoch: the squeekboard dev, for example, https://dcz_self.gitlab.io/posts/rust_maemo00:32
nochsqueekboard is good, better than our keyboard.00:33
Palisicelo: I have never investigated how bq27x00 could be configured. I even do not remember if I read this part of spec.00:36
PaliSo I could not help with this.00:38
sicelonoch: https://matrix-client.matrix.org/_matrix/media/r0/download/matrix.org/jWYinsOOHhHbWJvGeLRnFZPE00:39
siceloPali: alright. i also found out about the WRTNAC only today while re-reading the datasheet. the script is working already, but i wanted to know if there are ways to improve it, or even if this the job of userspace or kernel. i think it's userspace because it's very N900 specific00:41
sicelos/WRTNAC/WRTNAC register/00:41
sicelonoch: and this was Gnome 42, https://matrix-client.matrix.org/_matrix/media/r0/download/matrix.org/quThLRcVGEccOAVlGOgYQQwF00:43
nochsicelo, wow thank you for sharing100:44
nochsicelo, wow thank you for sharing!00:44
nochomg, gnome worked with 256m of ram?00:45
siceloon idle it had about 110MB RAM in use :-)00:46
sicelotbh, i didn't use it much ... that N900 touchscreen doesn't work properly00:46
sicelonoch: fun thing is - i didn't even use 3D acceleration. i wonder how it would have performed or felt if i had done so00:48
nochso gnome is possible to use withoet 3d acceleration? or you mean you didn't try some 3d things?00:49
nochwas that pmos?00:49
nochi can try to boot a recent mainline from sdcard on n810 and uboot.00:50
nochbut i don't know, i need to turn many things off in kernel to save memory, probably.00:50
siceloyes pmos. honestly, i don't think gnome42 and phosh are worth one's time on N900 (and N810). it was mostly proof-of-concept (okay ... also i wanted to play phosh's feedbackd that seems very interesting)00:52
siceloi think for N810, i3 makes the best sense ... you can tweak it to work well on a touchscreen device (at least at some point i had a nice thing going for sway on N900 with debian)00:53
siceloi will get back to my sway config at some point (just want to work on N900 kernel a little bit more) ... currently running 5.18-rc3, yay00:53
PaliWizzup: Could you look at that U-Boot DM serial patch?01:11
PaliAnd... Tom was asking about USB DM...01:12
WizzupPali: I'm home in a few days, then I can do both. the usb dm was in the back of my head but it's not done yet :(01:23
Paliok!01:23
WizzupI had to extend my work trip01:36
freemangordonWizzup: done13:17
Wizzupty13:21
nochsicelo, i3 is ok, as well as dwm, as well as anything. i just need a modern kernel running on it, modern libraries, and x.13:45
norlynoch: maybe raspbian as a start, since that is armv6hf? with standard debian/devuan, you're stuck with armv5 non-hf.13:54
nochhmmm... interesting. i did not know that debian doesn't have armv6hf. if i do something, i'll do it with gentoo ecosystem, which i understand.13:57
nochthank you!13:57
nochthough raspbian must be easy. so i take the rootfs, open it on sdcard13:58
nochand i configure the u-boot to boot the kernel i want.13:58
nochhmmm, need to try it.13:58
nochand no need to build anything.13:58
nochexcept, probably, kernel.13:58
nochno idea if u-boot on n810 can boot a kernel from the sdcard. i think it could. but i also can place a kernel in emmc and tell it to mount the system on sdcard.13:59
buZzwas there ever something changed on kexecboot to allow 'charging when not really full enough to boot' to happen inside that?14:01
* buZz tries booting to android from kexecboot to see what happens there14:03
buZzconsidering just adding breakout wires to the battery to use some external charger :P14:08
buZzseems i destroyed my android install :P hehe14:12
buZzactually, i wonder if maybe battery contacts are loose? hmm14:13
buZzalright, finally got it somewhat charged enough to boot into proper charging :P20:35
buZzseems that apt update; apt upgrade broke wifi though :P will try the wifi-calibration later20:35
sicelobuZz: at this point i'm not sure which has better behavior for charging from extremely depleted battery, if you don't have access to special equipment (e.g. bench power supply) - N900 vs. Droid 421:23
bencohI experienced the issue with droid4 (it probably wasn't really depleted though) and it was kinda funky21:24
bencohI think it somehow booted when I plugged it in, but apparently stopped charging early, because when I tried booting afterwards leste showed an empty battery and quickly powered off21:25
bencohafter that it refused charging until I hw-reset it (power+volume) and booted to emergency shell21:25
buZzyeah 'usb condom' charging is needed for a while for me, its ~50mA and drops off all the time21:34
buZzneed to trickle some power into droid4 with a couple cycles of that 50mA charging, until its charged enough to survive booting into linux :P21:34
buZzi think, a lot of specifically the droid4 issues could be handled if kexecboot could do 'if <some % battery, stick in a loop with charger enabled and display some msg'21:53
uvosit dose this on bionic21:53
uvosyeah the d4 has some issues with the boot taking to long21:53
uvosandroid boots very fast and enables pm features very fast21:54
uvosmbm/cpcap assumes the os will do so21:54
buZzyeah indeed, droid4, when booting with power already connected, doesnt even enable charging for me21:54
uvosbut mainline + kexecboto is way to slow21:54
buZzi need to unplug & replug power before it'll charge21:54
uvoskernel?21:55
uvosthere was a kernel bug that did this for a short time21:55
uvosit should work very realiably now21:55
buZzah eh , not sure, whatever latest on leste21:55
uvosbesides being underdischarged21:55
buZzbut, as my wifi is broken now, i might just reinstall from image21:55
uvosalso underdischarging should be avoided mostly21:55
uvossince we power off early21:55
uvosbut if you leave it in a cuppobord for a while it will still do it21:56
uvosthe mainline kernel fails to shutdown the device fully21:56
uvoswe dont know what remains on but something draws about a mw21:56
uvosso if your going to store the device for some time21:56
uvosshut it down with android/kexecboot menu21:56
uvosnothing changed with wifi21:57
uvosso thats akward21:57
uvoswhat image is this?21:57
uvosoh i missread this21:58
uvoswifi is broken after an upgrade?21:58
buZzhehe yeah , the internetconnections menu in hildon shows no networks21:58
uvosok so its just icd thats broken21:59
uvosie wpa_cli works?21:59
buZzlets see22:05
uvosalso check if the modules are loaded pfc22:06
uvosofc22:06
buZzwifi menus now appeared in menu ! after a long time of being booted22:06
buZznot sure wtf22:06
uvoshmm ok22:06
buZz-touchscreen- also stopped working :D so rebooting22:06
uvosno22:06
uvosjust turn the screen off and on again22:06
uvosthats a hw bug22:06
buZzi did couple times, didnt fix anything22:07
uvoshmm ok22:07
siceloit's a known issue, and you see it easily when you don't have autoconnect to wifi set. at least i know i've mentioned it before.22:10
buZzyeah 'not charging when booting droid4 with power already connected' is still there for me22:53
buZzmaybe i'll reinstall image22:53
buZzbut , wifi has connected22:53

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