libera/#maemo-leste/ Thursday, 2025-03-27

Wizzupok, with a bit more ram droid4-linux clones fine over ssh03:09
freemangordonsicelo: looks like yes. also, I guess you have to init it to NULL on module load, unless it is not already NULL (I don't know how structure is allocated)07:28
siceloI do init it to NULL in the init function, yes. will update the MR in a bit07:34
siceloWizzup: side effect of using upstream upower is that now D4 wrong reports high power usage. in our upower fork, you had changed it to read from power_avg instead of power_now09:13
sicelosounds to me like there might be something wrong in the kernel driver however ... power_now is almost always close to 10x power_avg for some reason09:14
sicelolol, i think i found the kernel bug. will submit MR soonish :p09:16
sicelohttps://elixir.bootlin.com/linux/v6.13.7/source/drivers/power/supply/cpcap-battery.c#L706 ... that looks like it should be 1000, not 10000 ;-)09:17
sicelommm, or not (since it's a divisor). regardless, there's clearly some value in the driver which is 10x more than it should be09:23
halftuxWizzup: rpi 3 is booting with the generic kernel. I will write down what I did. rpi 4 getting rainbow color with the same system but maybe it is only a setting in the config.txt10:18
Wizzuphalftux: great - with 3d?11:31
Wizzupsicelo: good huting :)11:31
Wizzuphunting11:31
Wizzupok, with some more ram and a longer http timeout I can git-clone droid4-linux over both ssh and https12:10
Wizzup(on forgejo)12:10
WizzupI think that's good enough for me, can always give it more ram/cpu/io later12:11
sicelothe modified status-plugin-battery has one problem - charging animation doesn't work correctly :p14:35
sicelooh, working now. shrug14:39
halftuxWizzup: I think yes it loads module vc4. Creating new image because I was on chimaera and had gconf2 issue.14:46
arno11sicelo: with just the modified blacklist, the animation was also buggy. and worked by magic after a second reboot15:03
arno11and now, charging and led and animation just work15:05
siceloyes the blacklist was wrong, so the applet could pick any 'battery'15:24
siceloideally the applet should also have been checking if the battery is present ... all those 'fake' batteries were present = no. anyway, i definitely don't want to see those batteries in the system anyway15:25
sicelothe modified applet will definitely have erratic animation because it relies on the percentage increasing gradually ... if we're estimating, then it simply jumps to near full when charging :p15:27
sicelobecause we look at the reported voltage15:29
siceloi don't really think it's that important yet, but will later on look at what we could do.15:30
arno11yeah not so important atm imo15:31
Wizzuphalftux: great @ image15:51
halftuxWizzup: is there a possiblity during image building to copy from rootfs /usr/lib/linux-image*/broadcom/*.dtb files to boot partition?15:55
WizzupI would strongly prefer that we pkg the kernel15:57
Wizzupthen this happens automatically15:57
Wizzupwhat kernel did you use and what defconfig?15:57
halftuxit is the generic debian kernel but the files are installed to rootfs but we need them also at bootfs15:58
halftuxjust the kernel and modules from generic arm64 image15:58
halftuxno changes15:59
WizzupI think then we just depend on the generic kernel and ensure /boot is mounted from fstab15:59
Wizzupwait, nothing is installed to /boot? hm15:59
Wizzupcan you share the exact pkgnames?15:59
halftuxhttps://packages.debian.org/bookworm/linux-image-arm6416:01
halftuxlinux-image-6.1.0-32-arm6416:01
Wizzupok, so how does debian do /boot installing?16:01
halftuxdon't know the image builder does it I guess copy system.map vmlinuz to bootfs16:03
halftuxhttps://salsa.debian.org/raspi-team/image-specs16:05
Wizzupso how do they deal with kernel package upgrades16:13
Wizzupsurely something must install to /boot16:13
Wizzupare you sure nothing is installed/copied to /boot?16:15
Wizzupthis really should just work I think if /etc/fstab is set up correctly16:15
halftuxthey have raspi-firmware but also not installing something to boot https://packages.debian.org/bullseye/arm64/raspi-firmware/filelist16:16
halftuxalso these /usr/lib files should be available on bootfs16:17
WizzupI think I should just try this out, I can't believe that the debian linux-image wouldn't install into boot - their amd64 version does this16:24
Wizzupthere must be some postinst/trigger that does this16:24
halftuxWhen there is a new kernel, it will be upgraded too (tested with the Pi4 image), and the file /boot/firmware/config.txt will be edited automatically to reflect the change. You can simply reboot to activate it.16:25
halftuxfrom here https://wiki.debian.org/RaspberryPiImages16:25
halftuxbut how is a good question16:25
Wizzuphttps://packages.debian.org/bookworm/arm64/linux-image-6.1.0-32-arm64/filelist16:25
Wizzup/boot/System.map-6.1.0-32-arm6416:25
Wizzup/boot/config-6.1.0-32-arm6416:25
Wizzup/boot/vmlinuz-6.1.0-32-arm6416:25
halftuxyes these files are there but firmware files and dtb files not16:26
Wizzupright, ok16:27
Wizzupyeah so the way we deal with this for the droid4 is that we modify scripts/package/builddeb16:27
halftuxmaybe when they get an update the /usr/lib files get copied to boot during a reboot16:27
Wizzupand our changes add a postinst that installs to /boot16:28
WizzupI truly don't know how debian raspi images do this though, maybe they have some additional package that does this16:28
Wizzupsince something needs to manage the raspi config/txt file as well I guess16:28
Wizzuphttps://git.maemo.org/leste-upstream-forks/droid4-linux/commits/commit/c9acd3b9c606274f5cc421b199cff2f58eb60b1c/scripts/package/builddeb16:29
Wizzupsee the commits started from UNTESTED: and then up16:29
Wizzupso we could just do this, build our own kernel, or we figure out a way to do the postinst differently (maybe better, imo)16:30
WizzupI think we could maybe register a trigger to run after kernel postinst is done16:32
Wizzupsee https://stackoverflow.com/questions/15276535/dpkg-how-to-use-trigger16:33
Wizzupwe can have say leste-config or some other pkg register an interest trigger in the directory that contains dtbs and such16:33
Wizzupfreemangordon: what do you think? I think this way we could get rid of some of our builddep patches16:33
Wizzupbut we should check what debian does as well I think, for raspi at least16:35
Wizzupfreemangordon: sicelo: I'm going to start migration repos over now17:06
Wizzupmigrating17:06
Wizzupfreemangordon: heh, my new email software makes maemo nuhappy:17:16
Wizzup(modest:9918): camel-imap-provider-WARNING **: 17:16:12.648: Unexpected response from IMAP server: B00004 NO Mailbox is already subscribed.17:17
Wizzupfreemangordon: fyi I will move some stuff here https://git.maemo.org/leste-deprecated17:27
WizzupI'll also update jenkins, but of course people will have to update their local remotes17:27
sicelohalftux: why do you need firmware in /boot?17:30
freemangordonok17:34
Wizzupfreemangordon: sicelo: uvos: dsc_: (and everyone else) please either sign in to git.maemo.org using your github account or DM me an email and I'll create an account for you17:38
arno11Wizzup: sign in with GH doesn t work directly: it logs but ask to link with an existing forgejo account or create a new one (deactivated)17:47
Wizzuparno11: let me fix17:48
Wizzupty17:48
Wizzuparno11: done, I think17:49
Wizzupwait a moment17:49
freemangordon502 Bad Gateway17:49
Wizzupyeah just restarting it :)17:49
freemangordon:)17:49
Wizzuptry now17:49
freemangordongetting better, this time 500 :p17:50
Wizzupnow?17:50
freemangordon"Your ROOT_URL in app.ini is "https://git.maemo.org/", it's unlikely matching the site you are visiting."17:51
freemangordonplease redirect http to https17:51
freemangordonsame, it asks to register new account or to link to existing17:52
Wizzupah, you were on http?17:52
Wizzupok, let me figure this out17:52
Wizzupfreemangordon: I think we don't want to redirect but use say HSTS or something17:53
Wizzupfreemangordon: so you can't register a new account?17:54
Wizzupis that still deactivated?17:54
arno11it works for me btw17:54
Wizzupyeah, I think you just need to select 'register new account'17:55
freemangordonsorry, why should I create a new account if I login with my GH one?17:55
freemangordondon;t get it17:55
Wizzupfreemangordon: it's a new account on git.maemo.org17:56
Wizzupthis is just to link them17:56
WizzupI can have it automatically link them if you prefer17:56
freemangordonno, don;t17:56
freemangordonok, I am in, there is nothing to be seen :)17:57
Wizzupbasically, I have disabled 'normal' registration to prevent random folks from making accounts and starting their own repos/projects17:57
freemangordonyeah17:57
Wizzupright now it's limited to just github or me making accounts17:57
freemangordonmake sense17:57
Wizzupin the future we might lock this down some more, but right now anyone with a github account can join17:57
freemangordondoes this sync back repo changes to GH?17:59
Wizzupnot yet, but it will17:59
freemangordonok, good17:59
WizzupI am first migrating all core repos17:59
freemangordonok17:59
freemangordonbrb18:00
WizzupI hit my rate limit on github after 95 repos or so, will continue in a bit18:05
Wizzupfreemangordon: meanwhile you should be owner for all 4 orgas18:06
Wizzupbugtracker is migrated18:29
kivawhat sphone should answer, if I am trying start from osso-xterm?20:24
kivaI ask, because I tried start it from Sphone Dialer icon and it did not started, and I have to make call to find my another Maemo phone :)20:27
kivaright now if I try to start Sphone from xterm it says: "sphone: Failed to load module qtloop no usable LoopModule available, abort20:29
kiva"/usr/lib/sphone/modules/libqtloop.so: cannot open shared object file: No such file or directory"20:30
arno11seems some commits are missing. do you run chimaera, chimaera-devel, daedalus ?20:33
kivachimaera20:33
kivaI think that that icon has worked at least last month20:34
kivaI have do apt-get upgrade at least two times after that.20:36
arno11what is your sphone version btw ?20:41
arno11probably 0.7.520:42
arno11which is too old20:43
kivahmm how to check version? there is not man-page for sphone.20:43
arno11you need 0.9.520:43
arno11apt search sphone20:43
arno11anyway you should upgrade to devel imo20:44
kivait said: sphone/stable,now 0.7.5+m720:46
kivaI try to be stable tester (I think it is best way how I support Leste developing), I try to be stupid first time Maemo Leste user (Althought I have used Maemo over 10 years).20:51
arno11there is no 'stable'. devel is somehow more stable20:52
arno11i mean, last stable things are in devel. some pkgs in 'stable' are too old20:54
kivaif devel is more stable then should be release some kind RC (Release Canditate) version.20:54
arno11well, i'm not the right guy to answer this question but keep in mind that Leste is a very very small team of devs20:56
arno11they already do amazing things20:56
kivaI know, and thanks to you, too.20:56
WizzupI think recently most of devel was moved to stable20:56
Wizzupexcept for the sphone part because I think we're waiting on input from uvos20:56
kivagood to know.20:57
arno11Wizzup: btw extras and forks are not available anymore on GH. is it 'normal' ?20:58
arno11hmm they work from command line but not from the website21:07
arno11maybe they are not visible during the migration (?)21:12
Wizzuparno11: wait what21:48
Wizzuphttps://github.com/maemo-leste-upstream-forks/21:48
Wizzuphttps://github.com/maemo-leste-extras21:48
Wizzuparno11: or do you mean git.maemo.org?21:49
arno11Wizzup: no, i mean github. yeah web addresses still work. but links from the website disappear22:03
Wizzuplinks from where22:31
Wizzupfrom github.com/maemo-leste?22:35
arno11yep22:39
arno11instead of extras and forks links, you have the 'SOURCE MOVED' msg now22:41
arno11anyway22:41
Wizzupyeah22:54
WizzupI will fix that later22:54
WizzupOK, so the core repos are migrated23:35

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