libera/#maemo-leste/ Monday, 2025-03-24

freemangordondsc_: 4 cores, intel i5 from 201106:47
freemangordon16GB RAM06:48
Wizzuphttps://forgejo.org/ this looks like a gitea fork that might suit us better11:08
Wizzupit has no 'enterprise' features and seems to deal with any security issues better11:08
Wizzupdo we want to try it before we migrate from github? better now than later11:08
Wizzupit should be mostly the same I guess11:08
mkfwhat's the main reason of their fork?11:26
Wizzupmkf: https://forgejo.org/faq/11:33
Wizzuphttps://forgejo.org/compare-to-gitea/11:33
Wizzupit's basically the same thing just seems to have better governance / security policy11:52
WizzupI think fedora is also moving to forgejo12:00
Wizzuphttps://discussion.fedoraproject.org/t/fedora-chooses-forgejo/14062212:03
Wizzupit's also gplv3 I think12:04
sicelofreemangordon: https://gitlab.freedesktop.org/upower/upower/-/issues/301#note_2831220  and https://gitlab.freedesktop.org/upower/upower/-/merge_requests/259/diffs . let's see how this goes13:16
siceloWizzup: mmm, how are you able to send emails to the ML and it arrives this quick? I normally Cc the ML when sending kernel patches, but they take ages to show up on the ML13:18
Wizzupsicelo: maybe some of them require manual review13:22
mkfhttps://github.com/maemo-leste/arm-sdk/tree/master/boards/kernel-configs13:48
mkfis this where kernel configs are?13:48
Wizzupno13:49
Wizzupa lot of the arm-sdk stuff is old/outdated13:50
mkfwhere should i start13:50
Wizzuphttps://github.com/maemo-leste/droid4-linux/commits/maemo-6.12.y/13:50
Wizzupe.g.13:50
Wizzuphttps://github.com/maemo-leste/droid4-linux/commit/26e6e9c6a77d07d81a3609895d07390b43e110be13:50
Wizzupwe just modify omap2plus_defconfig13:50
Wizzupwe also have this https://github.com/maemo-leste/sunxi-linux/13:51
Wizzupbut this was not updated since beowulf13:51
mkfwell what if i'm not omap2plus13:51
mkfis it a good idea to work on arm-sdk instead of having another seprate tree for each kernel?13:51
Wizzupthen either you enable some additional arches (like sunxi) or you create a whole new copy13:51
Wizzupwe will not build any kernels in arm-sdk any more13:52
Wizzupit's not sustainable and a hack13:52
Wizzupwant to distribute kernels in packages13:53
mkfok13:53
mkfis one kernel to rule them all achieveable?13:53
Wizzupyou will also need stuff like this if you're going to make a separate kernel13:53
mkfor one kernel for each device/arch?13:53
Wizzuphttps://github.com/maemo-leste/droid4-linux/commit/0c4218ebd5d888fdb708238f9dbe83532179891813:53
Wizzuphttps://github.com/maemo-leste/droid4-linux/commit/7bdf8dbcf9da99fde4e26b71c7abb967e1dfe02613:53
WizzupI think one kernel for armhf would be great from a maintenance perspective but you can also take the droid4-linux and remove most of the omap patches and build a different defconfig13:54
mkfhm13:57
mkfi pretty much needed no patch for my tablet, mainline just worked™13:58
mkfhowever for some of my devices i don't know how to test properly, like screen rotation or bluetooth13:58
mkfi guess i'll fork droid4 then or update sunxi13:59
sicelofreemangordon: Wizzup: as far as the Maemo/Leste stack is concerned, which process is the most important, and which is not allowed to be stopped/restarted, i.e. restarting it basically requires a reboot, or similar?14:24
siceloi guess dsme can be restarted without ill effect?14:25
sicelobut looks like dsme is the answer for my question, at least what i have in mind. while looking at the upower thing, i noticed that actually https://github.com/maemo-leste/mce/blob/master/src/modules/battery-guard.c#L31-L33 couldn't have worked, since upower requests the shutdown on its own, without involving mce14:34
WizzupI don't think restarting dsme is a great idea14:35
siceloi think correct solution is for dsme to take an inhibitor lock at startup, which would ensure it sees all requests for shutdown and can decide whether or not to honor them. anyway, maybe job for 2030, but this would do a lot of good, i think14:37
sicelomaybe then that gives us also the chance to remove battery stuff from mce, fulfilling uvos' wish :-)14:38
Wizzupcan we have upowerd make no decisions about shutdow and ignore its requests?14:38
Wizzupor, why do we want to utilise upowerd here?14:39
siceloyes we can tell upower to not request the shutdown, if we ship a suitable config (AllowRiskyCriticalPowerAction=true and CriticalPowerAction=Ignore).14:44
Wizzupthat seems to be all we need for now, right?14:46
WizzupI'm trying to understand if/why we would want deeper integration with upowerd, it is not clear to me that it will offer the smarts that we need14:46
siceloyes i didn't mean integrating upower with dsme :-)14:47
siceloi just observed that dsme would probably benefit from taking an inhibitor lock, so it can reliably control/manage requests for shutdown, whether coming from upower or anything else14:49
WizzupI see, and this lock is some systemd interface, or?14:56
siceloyes. elogind also implements it, so it can work on Leste/Devuan too. anyway, it's not an immediate thing to implement. lots of other stuff is more urgent14:58
WizzupI see, so it was ultimately elogind that did the actual shutdown14:59
siceloyes. upower just requests it14:59
Wizzupcan we disable that in elogind?15:00
Wizzupthen we could make things work without a upower fork now, I think15:00
siceloif we had an inhibitor lock held by something else, then yes, we can disable it15:01
siceloanyway, i think the fork will help us in other ways (e.g. we do need to show some sort of status icon, even if inhibit solves the shutdown problem), so let's pursue the fork first, and do the inhibitor later. the idea/plan is for the fork to be upstreamed anyway, so it will not be a maintenance burden like previously15:04
mkffreemangordon: should i put my device trees in linux sunxi or should i fork linux-droid4?15:16
mkfWizzup: btw have you considered source hut?15:45
Wizzupnot really15:51
mkfit's nice imho.15:53
WizzupI don't have a good personal experience with the author of the sw and I think it's perhaps a bit too 'hacker focussed'. I'd consider using it for some personal project15:54
mkffair enough, author was indeed a bit controversial.15:55
mkfhowever it's nice that it doesn't require js. i often find myself around computers without browsers with js support or too weak to handle modern day js.15:56
Wizzuptrue...15:57
Wizzupgitea/forgejo makes things quite easy though, with good migrations tools, oauth2, etc15:58
WizzupI think either will be a big usability change over github15:58
Wizzupbtw, re kernel. I think maybe just take 6.12 or whatever kernel, add the build deb patches we have in linux-droid4, and then push to linux-sunxi or so15:59
Wizzupthe build dep patches are really most of what you need, and probably also take a new debian dir from droid4-linux and change the right names/etc for sunxi15:59
WizzupI can help with some of it16:00
Wizzupbtw, might be worth testing how usable forgejo is without js16:00
mkfis it up?16:01
Wizzupcurrently git.maemo.org runs gitea still, but I plan to nuke it this week and replace it with forgejo16:01
Wizzupdid you try git.maemo.org without js?16:02
mkflet me do so16:02
WizzupI tried dillo and it's ... eh :)16:05
mkfmothra looks like what mothra would generally look like16:06
mkfnetsurf is... at least that works.16:06
Wizzupthis is forgejo https://codeberg.org/explore/repos16:07
mkflet me see microb too16:07
Wizzupmicrob, from frenatle?16:07
Wizzupfremantle?16:07
mkfyes16:07
Wizzupheh16:07
Wizzupdoes that even connect over tls?16:07
mkfi suppose so16:08
mkfis the tls enforced?16:08
mkfforodo looks better16:08
mkfat least in netsurf16:08
mkfuseableish16:08
mkfhttps://cloud9p.org/usr/mkf/tmp/forodo.png16:12
Wizzupcool, another vote for forgejo then16:15
Wizzup(apart from the name, I have trouble typing it every time)16:15
Wizzupis this 9front ?16:15
mkfyes.16:18
mkfhttps://cloud9p.org/usr/mkf/tmp/gitea.png16:18
mkfhere is how gitea looks in contrast16:18
Wizzupok16:25
Wizzupyeah seems like forgejo is better16:25
moparisthebestdon't forget https://git.inept.dev/~doyle/rgit.git/about :)16:26
Wizzupyaeh but I'd like oauth2, some api, issues, github migration path, etc16:28
moparisthebestOh, then do forget it :D16:29
Wizzupci/cd too16:29
mkfi guess there are cgits and githubs.16:30
mkfrgit is a cgit.16:30
moparisthebestI'm still running gitea & jenkins, also likely need to upgrade to forgejo (and probably keep Jenkins) at some point16:30
mkfWizzup: could we merge all linux sources into one repo?16:32
mkfwith seprate branches for each device16:32
Wizzupit would be better from storage perspective I guess, the main issue here is that we can't build multiple packages for say daedalus16:32
Wizzupwe can have multiple branches, but our jenkins CI looks at a branch named maemo/<releasename>16:33
mkfi'm not into linux a lot so i dont know whats the best practice in this case16:33
WizzupI think for now we can have a/the linux-sunxi repo16:33
Wizzupif you can make a kernel with the right changes / version that works for you can I look at packaging16:33
mkfok16:33
Wizzupif that's just out 6.12 droid4-linux head or something that can work too16:34
Wizzups/out/our/16:34
mkfforked :)16:37
freemangordonguys, wait16:41
freemangordondo we really need another kernel for sunxi?16:42
mkfidk, do we?16:42
freemangordoncan;t we just have a single one, based on d4?16:42
freemangordonWizzup: ^^^?16:42
WizzupI am ok with having a single one for armhf16:44
WizzupI would prefer it in fact16:44
mkfsounds good to me.16:44
Wizzupbut we'll need to enable additional arches and modules16:44
Wizzupand we'll want to somehow merge the sunxi_defconfig and omap2plus_defconfig's16:44
mkfalso how do we keep versions in sync?16:45
Wizzupfreemangordon: iirc you always advocated for the most minimal kernel16:45
Wizzupmkf: we rebase on mainline once the pvrsgx patches come out and as time permits iirc16:45
freemangordonWizzup: right, because n90016:46
mkfwhat if at somepoint some bug blocks a device from going latest version but other devices could?16:46
freemangordonbut we lack manpower to maintain kernel for every device around16:47
Wizzupthen we have to fix it16:47
Wizzupfreemangordon: yeah I prefer having a single kernel fyi, but for initial testing I don't mind having a separate pkg16:47
freemangordonmkf: we have -devel repo for that reason16:47
Wizzupif it makes it easier to test now16:47
freemangordonWizzup: we'd better not, as it will affect metapackages16:48
freemangordonbut no hard preference16:48
mkffreemangordon: ok16:48
Wizzupnot too hard to make replaces: sunxi-linux or something but sure16:48
freemangordonWizzup: upstream works with no patches (more or less), we just need to turn the correct knobs in omap2plus_defconfig16:49
Wizzupyes, but sunxi has its own CONFIG_ARCH_ and its own defconfig16:50
WizzupI think there is or was a multi config for all armv7 targets, but that will take days to build on CI/CD16:51
Wizzup(and have a really large pkg for all modules)16:51
freemangordonso, we can't have both arches enabled at once?16:51
Wizzupsure we can, but where do you enable them16:51
freemangordonwell, we can have modules per device16:51
Wizzupin omap2plus_defconfig?16:51
freemangordonyes16:51
mkfWizzup: which config was it?16:51
Wizzupfreemangordon: how do we have modules per device?16:51
freemangordonwe can rename ofc :)16:51
mkfi'd like to use that one for personal tests16:52
freemangordonWizzup: .deb with modules per device16:52
Wizzupthat sounds like a serious project16:52
Wizzupmkf: it benig the multi arch one?16:52
mkfone with all modules16:52
Wizzuplet me see16:53
Wizzupmkf: multi_v7_defconfig16:53
freemangordonWizzup: speaking of kernel, who maintains our d4 kernal?16:57
freemangordon*kernel16:58
Wizzupfreemangordon: you/me/uvos I guess16:59
freemangordonhmm...17:01
freemangordonok, my cpcap/asoc fixes will be in 6.15, I think this shall be the kernel to move to once it is released17:11
freemangordonI will work on ngsm fixes for it17:12
mkfhm17:57
mkfthere is this odd behavior17:57
mkfif you change hostname @ /etc/hostname but dont update /etc/hosts if you lock screen you can't unlock it anymore17:57
mkfbecause dbus can't find some dbus service? (tklock_close?)17:57
freemangordonweird18:01
mkfprob. because it tries to connect to your new hostname but can't resolve it18:01
freemangordonI would expect it to use unix domain sockets18:02
mkffreemangordon: https://github.com/lwfinger/rtl8xxxu/blob/main/rtl8xxxu_8723b.c18:15
mkfhave you seen this?18:15
freemangordonno, but i don think bs is supported by that driver18:22
mkfi keep seeing people mention 8723bs driver is going to be replace by rtl8xxxx family18:22
mkfbut i dont see explict code of 8723bs driver18:23
freemangordon"Driver for Realtek RTL8XXXXU usb wifi chips, which is backported from linux mainline"18:23
mkfhm.18:24
mkfoh well.18:28
gnarfacewhat i seemed to be able to gather, is that basically people don't know that the 8723bs is not the same as the 8723cs18:28
mkfyeah seems no sdio varient exists yet18:28
freemangordonmkf: so, with my band patch your chip cannot connect?18:29
gnarfaceso there's apparently this widespread mistaken assumption that recent efforts to get the 8723cs working with the new (rtw88?) driver also magically inherited 8723bs support, which is not the case18:29
mkfit seems that patch doesn't effect me much, it's still 1 in 10 with maemo ui18:29
freemangordonhmm...18:29
mkf(but better with wpa cli?)18:29
gnarfacehowever, they might not be so different that it can't still be added, reports are that the staging driver is still faster18:29
mkfif i restart icd like ten times i might get that working18:30
freemangordonmkf: that should not be the case, I put a fix in icd plugin, lemme check if it is in stable18:30
freemangordonmkf: your device is on chimaera, right?18:30
freemangordonoh, fixes are not in -stable :(18:32
freemangordonmkf: later on will build those fixes for stable, it should get better after that18:32
mkfby stable you mean debian terminology? isnt chimaera oldstable?18:36
mkfi can update to dadelus18:42
freemangordonno18:46
freemangordonbu stable I mean chimaera-stable18:46
freemangordon*by18:46
freemangordondo you have chimaera-devel repos enabled?18:46
mkfno, but i can do so.18:46
freemangordonno, don't18:46
mkfok18:46
freemangordonwe have to mova that to stable anyways18:46
freemangordon*move18:47
freemangordonargh, another typo day18:47
freemangordonWizzup: do we have a list of diffs between -sable and -devel? for chimaera18:47
mkfthere are like two streams one being devuan and other being leste?18:55
sicelono. leste is based on devuan ...19:03
freemangordonno, what do you mean?19:03
sicelofreemangordon: your ofono CVE fix has been merged ;-)19:04
mkflike leste version x can be installed in devuan x and y19:04
sicelolike leste version x is devuan version x with leste-specific packages on top19:06
mkfokay. so leste isn't really a os like original maemo19:06
sicelowell ... :-)19:06
mkfit's a customized devuan installation with specfic config and packages19:07
mkfi.e, not a hard fork i guess19:07
siceloit can be argued that the original maemo was debian with maemo-specific stuff on top ;-)19:07
siceloyes no, not a hard fork. in fact not a fork at all19:07
mkftrue. :)19:07
sicelolook at /etc/apt/sources.list ... you'll see the devuan repos there19:07
mkffreemangordon: please let me know once that's available.19:29
Wizzupfreemangordon: I can make a repodiff list19:30
Wizzupbrb though19:30
freemangordonWizzup: please do19:31
freemangordonsicelo: :)19:31
Wizzupfreemangordon: https://bpa.st/XOKQ19:48
freemangordonthanks19:48
freemangordonWizzup: cannot rebase libicd-network-wpasupplicant stable on devel :(19:54
freemangordonmkf: done20:04
freemangordonWizzup: any clue why xorg in stable differs from the one in -devel?20:13
Wizzupfreemangordon: did you need me to look at the rebase still20:36
freemangordonno20:36
freemangordonI somehow managed to push :)20:36
freemangordonI guess new development will happen on daedalus or newer, so lets pretend there is no issue20:37
freemangordonstill, do you know why xorg differ?20:37
Wizzupfreemangordon: no, I'd have to check the branches and see how they are different20:42
freemangordoncould you do, you might know better than me about xorg history. At least I don't remember doing anything about it20:48
mkfinstalled it20:54
mkfseems to work.21:00
Wizzupfreemangordon: will look21:05
Wizzupfreemangordon: the branches seem to be the same21:06
Wizzupfreemangordon: oh I see21:06
Wizzupfreemangordon: yeah the same21:06
Wizzup-devel is just stable + a revert and a revert of the revert21:06
Wizzupwhich really makes it the same21:06
Wizzupwe could remove the pkg from -dfevel21:06
freemangordonok21:07
freemangordonhmm... sphone 0.9.5+m7 (> 0.7.5+m7 )21:07
freemangordonuvos__: ^^^21:07
freemangordonWizzup: what about https://github.com/maemo-leste/hildon-connectivity-meta/compare/maemo/chimaera...master ? I guess this needs sphone from devel, right?21:13
mkfhow can i connect to irc using converstions21:14
freemangordonmkf: is wlan better after the upgrade?21:15
mkfyeah. a lot. :D21:16
mkfwhat did that changed?21:16
freemangordonwell, fixed bugs21:16
mkfwonderful, fixed bugs are.21:17
mkfdo bugs go to heaven after they are fixed?21:17
freemangordonI doubt, I guess they roam between the planes for the eternity21:18
freemangordonsee https://github.com/maemo-leste/libicd-network-wpasupplicant/commits/maemo/chimaera21:18
freemangordonlast 4 commits21:18
mkfso we shall meet that bug again, perhaps elsewhere21:19
mkffarewell james the bug21:19
Wizzupfreemangordon: looking21:46
Wizzupfreemangordon: yeah I think so21:46
freemangordonWizzup: what about tp-haze, shall I prompte it from -devel?22:33
freemangordon*promote22:34
Wizzupfreemangordon: yeah22:59
mkftouch screen fixed.23:40
mkfi might have a 1024x768 (or 600?) screen23:41
mkfi thought i had a 800x48023:41
mkf a33-q8h-v1.5/GSL1688_A70_FW.fw: 960x64023:42
mkfright, screen resolution doesn't always apply 1:1 to screens size23:43
Wizzupmkf: making progress!23:53
siceloWizzup: where does devuan keep their development work? i'm looking for their upower packaging. https://git.devuan.org/devuan/upower seems too ancient23:57
siceloat least https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=upower&x=submit suggests there should be a 1.90.7 somewhere ... i don't suppose they're getting it directly from debian, since the debian one build-depends on systemd,23:58
sicelohttps://salsa.debian.org/utopia-team/upower/-/blob/debian/master/debian/control?ref_type=heads#L2423:58

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