libera/#maemo-leste/ Wednesday, 2023-02-01

uvosWizzup: i mean if its overly burdonsome a couple of visual glitches arnt a deal breaker10:01
javiermhello folks, does anyone know if there's some doc to boot a mainline linux kernel and maemo (or any other user-space) on the N9?10:08
javiermI just found this https://leste.maemo.org/Nokia_N9 and https://wiki.maemo.org/Resurrect_your_N9#Firmware10:08
javiermI guess that can make my way from there, but just in case there was a more up-to-date guide that I missed10:08
uvosi dont think anyone has worked on n9 since then10:09
uvostheres a kernel fork on our git for it10:09
uvosthat you can use as a base10:09
uvosbut its really old10:09
uvosand last time it was tried it dident work (but this may be userspace issue too)10:09
uvosbut really getting something going on n9 with modern kernel should not be too hard10:10
rafael2khow I miss my N950...10:11
rafael2k:/10:11
javiermuvos: thanks, that's what I thought. I actually think that there should be good support in mainline by looking at the arch/arm/boot/dts/omap3-n9*.dts10:12
uvosjavierm: sure some level of support is there, however its probable it has bit roted somewhat, as i dont think anyone uses or tests it10:13
javiermuvos: git log shows me that Sakari has landed some commits not that far ago (2020) so I'm hopeful :)10:14
rafael2kIs that applies to the N950 too? Is the hardware similar enough?10:17
uvosafaik yes10:18
javiermrafael2k: yes, the N950 and N9 have a common .dtsi file, they are quite similar10:19
rafael2kcool!10:19
rafael2khey, which is the launch date for Leste-Chimaera?11:03
rafael2kFor the PP, chimaera is already better11:03
Wizzuprafael2k: I think we have to agree on what to finish for it11:17
Wizzupthe way I see it there's elogind issues and some extras are not yet ported11:17
Wizzupjavierm: I also have a n9 here for leste purposes (never flashed it though), would be super cool if we could add support for it11:18
javiermWizzup: cool11:31
javiermWizzup: I remember your username from somehwere... but don't know from where11:31
javiermmaybe we talked in the exynos channel a few years ago?11:32
Wizzupyeah, probably #linux-exynos :)11:34
WizzupI created that some years ago after libv asked in fosdem (during his lima driver presentation) for some folks to start a wiki/irc channel like sunxi, so linux-exynos.org was born11:39
Wizzupbtw, today is five years since we announced this project :)11:42
bencoh:)11:47
sicelorafael2k: oh wow, you had N950?11:47
bencohhappy birthday leste :)11:47
dsc_happy bday11:49
freemangordonre elogind - isn;t it ok to have consoletools (or whatever it was) pre-installed?11:57
Wizzupconsolekit11:57
WizzupI have to check if it is11:57
freemangordonyeah :)11:57
Wizzupit's not installed on beowulf either I think11:57
freemangordonI think it is11:57
freemangordonor gets installed when you need it11:57
* freemangordon checks beowulf VM11:58
freemangordonWizzup: at least in my VM I have it installed11:59
freemangordonand given I have no idea what it is, it was not me to install it11:59
freemangordonso I guess it was pulled by apt at some point11:59
freemangordonwhy this does not happen on chimaera is another questio12:00
freemangordonWizzup: https://pastebin.com/sJy9Xzw612:00
freemangordonto me policykit-1 pulled it12:01
freemangordoncould someone with beowulf device try to install policykit-1 (if it is not already there) and report wht apt wants to pull?12:02
Wizzupfreemangordon: I can try in a bit12:08
Wizzupif we agree we can release chimaera, I'll probably start writing up a post for it, and we can release it tomorrow or so, and I'll make sure we get some images built too12:09
freemangordonelogind issue is the only stopper, no?12:10
freemangordonoh, wait12:10
freemangordonwe still have the issue on d4 with dist-upgrade12:10
Wizzupwhat dist-upgrade issue?12:11
freemangordonmapphone vs droid4 config12:12
freemangordonI think bencoh was the last to hit it12:12
freemangordonI hit it too while upgrading12:12
WizzupI think this is only for -devel users12:12
freemangordonwhich is basically most of the users, no?12:13
Wizzupdon't know if it is12:13
Wizzupfeel free to look into it, I think it's absolutely debian FUBAR12:13
Wizzupfreemangordon: so you want me to install policykit-1 and reboot?12:14
freemangordondo not install it12:14
freemangordonjust *try* to12:14
freemangordonto see what apt wants to pull in addition12:14
freemangordonthis is on beowulf12:14
Wizzupok, the real test of course is to see if the device still boots with it installed12:14
freemangordonon chimaera?12:15
Wizzupyes12:15
Wizzup policykit-1 : Depends: default-logind or12:15
Wizzup                        logind or12:15
Wizzup                        consolekit but it is not going to be installed12:15
freemangordonyes, this is the issue12:15
Wizzupwhat is 'this'? what I pasted?12:15
freemangordontry the same on beowulf12:15
Wizzupthis is beowulf12:15
freemangordonok, who installed consolekit then12:15
Wizzupprobably you did? :)12:15
freemangordonthe issue is that apt cannot decide which of the 2 packages to install12:16
freemangordonno12:16
Wizzupbut we can depend on consolekit in hildon-base if we decide it's useful12:16
Wizzupand easily solve that problem for apt12:16
freemangordonhowever, I have consolekit in both beowulf and chimaera VMs and they boot fine12:16
Wizzupthe questions are: (1) does that break stuff and (2) do we want that12:16
Wizzupok12:16
Wizzupand does this let you install say blueman ?12:16
freemangordonI will install on my d4 too12:16
freemangordonat least it allowed me to install gparted12:16
freemangordonlemme try blueman in the VM12:17
freemangordonWizzup: installing consolekit in the VM allowed me to install blueman and gparted, VM survived a reboot12:22
freemangordonwill try on my d4 no12:22
freemangordon*now12:22
uvoswe dont really want to use consolekit12:24
freemangordonuvos: even as a stop-gap?12:25
WizzupI'm curious as to why not @ consolekit, I used it for a long time, well, years ago :D12:25
freemangordonWizzup: is it normal that blueman does not find any adaptors on d4?12:29
freemangordonIOW - yes, consolekit allowed me to install blueman on d4, now doing power-cycle of the device to see if everything still looks working12:29
uvosso i dont know what benefits logind has over consolekit (besides mulitseat being mutch easier to set up)12:31
uvosbut everyone thought logind was better and switched to that12:31
uvoswich is exactly the problem12:31
uvosconsolekit support is becomeing less common12:31
Wizzupfreemangordon: yes, you must load module first12:31
uvosfreemangordon: you need to modprobe the bluetooth driver by hand12:31
freemangordonuvos: ok, but RN we cannot support logind, what issues do you expect if we use consolekit as a stopgap?12:32
Wizzupfreemangordon: but careful, this will eventually send the kernel into a constant warning dmesg error state, which will fill up your sd and burn all cpu in rsyslogd12:32
freemangordonok12:32
uvosnever happend here12:32
uvosand i use it all the time12:32
freemangordonthen first thing is lunch :)12:32
freemangordonttyl12:32
uvosso this is something only wizzup sees :P12:32
Wizzupuvos: https://github.com/maemo-leste/bugtracker/issues/64512:32
Wizzupbuzz too12:32
freemangordonmaybe I will see it too12:32
uvoscould be dependant on what you connect to it maybe12:33
Wizzupbt headset mostly really, but also car infotainment12:33
uvosi use it for some bose qc35-II12:33
uvosand nothing else12:33
Wizzupok12:35
Wizzupso I'm fine with ck12:35
Wizzupconsolekit12:35
Wizzupfor now12:35
Wizzupbetter than neither  II think12:35
uvosas a stopgap its ok12:35
Wizzupbut yeah, not long term12:35
freemangordondo we have issue for dist-upgrade problem?12:50
sicelosystemd did take over (re: logind), no matter how hard people think they're systemd-less13:15
uvosWizzup: is something going on with ci?14:54
uvosit seams awfully slow14:54
Wizzuplet me see14:55
Wizzupit seems juts busy14:55
uvosok14:55
sicelohttps://talk.maemo.org/showpost.php?p=759982&postcount=104 someday i should try building kernel on the N900 ... need to get a big high first, I guess15:14
sicelo3 hours, not bad. of course, that was kernel 2.6.2815:14
Wizzupsicelo: why build on n90015:19
bencohpoor n90015:29
bencohimagine, debugging on-the-go offline on-device :)15:29
Wizzupfreemangordon: consolekit also didn't adversely impact my droid15:31
Wizzuplooks like I can install blueman too15:33
uvosso kern 6.1.8 seams to work fine on mapphones, can someone test on n900, so that i can promote to devel?17:59
siceloi'm already using 6.2-rc6. works fine18:09
sicelooh, you mean Leste packaging? no idea18:09
uvosright i mean this kernel18:09
siceloanyway, if config isn't broken, it will work on n900. i've tested all revisions up to 6.2-rc618:10
uvosconfig is unlikely to be broken18:10
uvosbut we do presumably have different extra patches18:11
uvosso id like someone to at least boot it18:11
sicelowhat extra patches?18:11
uvosall the extra patches we carry18:11
uvosthere are lots18:11
siceloplease be specific18:11
uvosi cant idk what the diff between whatever 6.2-rc6 you booted and our kernel is18:11
siceloi'm maintaining kernel for N900 elsewhere, without issue18:11
siceloalright18:12
uvosover mainline, we carry pvr, all kinds of patches for d4 that may or may not affect n900 somehow, we carry various n900 fix patches (presumable you carriy these too but how should i know) etc18:13
sicelobencoh: in case you're interested, so on current mainline, n900 camera driver fails to get extclk, https://elixir.bootlin.com/linux/latest/source/drivers/media/i2c/et8ek8/et8ek8_driver.c#L142118:25
sicelowhich is defined in dts https://elixir.bootlin.com/linux/v6.2-rc6/source/arch/arm/boot/dts/omap3-n900.dts#L82918:25
siceloso that's what i still have to find cause for. also the focus coil returns a -121. have yet to check where/why that's the case18:26
siceloi wonder why that check has a NULL id ... i should compile the dts with 'extclk' there and see what happens18:28
sicelos/NULL id/NULL clock id/18:30
bencohsicelo: fails to get it, as in, just fails to read it from dts?18:36
siceloi think so18:37
sicelo[   13.714904] et8ek8 3-003e: could not get clock18:37
bencohthat should be devm_clk_get(dev, "extclk")18:37
bencohinstead of NULL18:37
siceloyes i think so too18:37
bencohunless devm_clk_get() accepts NULL as <any clock>18:37
bencohbut I've never used it that way18:37
siceloof course the question also arises - how did it work before :-)18:38
bencohexcellent question18:38
bencohmaybe the API or the dts changed18:38
sicelodts didn't for sure18:38
bencohI'd just change it to "extclk", test, and shrug it off :)18:38
siceloyes, will test that some time18:38
sicelouvos: in case someone wants to try your kernel, where would they find it?19:02
Wizzupbeowulf-experimental19:02
WizzupI think19:02
sicelook19:02
rafael2ksicelo, yes, I had a N950, was my main phone for around 3 year20:10
rafael2kWizzup, right. Which are the blockers for chimaera, can I help?20:11
WizzupI think consolekit solving our elogind problem for now is a big leap20:11
Wizzuplet me think20:11
rafael2kno rush... eheheh20:11
WizzupI have blueman on my d4 again20:12
rafael2kI like blue tooth20:14
rafael2kuntil my pp keyboard unstuck between china and me20:14
Wizzuprafael2k: see https://github.com/maemo-leste/bugtracker/issues/64420:17
Wizzupsome extras need to be ported20:17
Wizzupwhich are not real blockers20:18
Wizzuprafael2k: freemangordon: uvos: I'm pushing a hildon-base change to chimaera-devel now that blocks again on elogind and depends on consolekit20:20
rafael2kshould I add chimaera-devel here?20:26
rafael2kyes right20:26
WizzupI am not sure what else is in there, but yeah20:27
rafael2kcan you give a summary of just he stuff that needs to be done? I got a bit lost tbh20:27
WizzupI mean it's the same as installing consolekit with apt20:27
Wizzuprafael2k: so there are some extras that aren't ported yet, although we also ought to see if some on that list have since been ported without my knowing20:28
Wizzupthen there is a bug in our image builder for chimaera image somehow for pinephone/arm6420:28
Wizzupapart from that, it should be like beowulf or better20:28
rafael2kright, neverball-gles, where is this repo20:30
rafael2klemme help with something20:30
rafael2kdo we package from a fork20:30
Wizzupall of the extras are probably on the maemo-leste-extras gh20:33
Wizzupone thing is that some of them might just build on chimaera with no changes20:33
Wizzuplet me push the hildon-base change to chimaera20:34
Wizzuplet's see if there are other things I can think of20:39
Wizzuprafael2k: with the consolekit change I think we can probably start building beowulf images tbh20:40
sicelo*chimaera, you mean20:41
rafael2kcool!20:45
rafael2kI is sooo cool to have the same distro in the phone and in the desktop20:46
Wizzupsicelo: yes20:54
WizzupI might upgrade the image builder VMs, see if that just resolves our image building issues20:56
rafael2kwhich is the source.list line for chimaera-devel ?22:06
rafael2kbaby sleeping22:06
rafael2kbtw, from PP front, my only blocker for chimaera is the volume applet22:10
Wizzuprafael2k: it's already in regular chimaera22:10
Wizzuprafael2k: maybe the volume applet code can be updated to find the default sink?22:12
Wizzupthis might be relatively trivial22:12
rafael2kthe issue: https://leste.maemo.org/PinePhone#Volume_Applet22:14
rafael2kWizzup, yes22:14
Wizzupso the only diff is Audio vs PinePhone?22:15
WizzupI think this might not be ucm fixable actually22:16
Wizzuprafael2k: if you're up for it you could write code that if it cannot find sink_name, it falls back to what the default sink is?22:16
Wizzupit should be a matter of22:17
Wizzuppa_context_get_server_info22:17
Wizzup+22:17
Wizzup->default_sink_name on the result22:18
Wizzuphttps://github.com/maemo-leste/sphone/blob/master/src/modules/route-pulseaudio.c#L22322:18
Wizzuphttps://github.com/maemo-leste/sphone/blob/master/src/modules/route-pulseaudio.c#L18922:18
Wizzupfreemangordon: uvos: sounds ok? ^22:19
* Wizzup bbiab22:19
rafael2kyes22:21
rafael2kthat is the annoying22:21
rafael2kalso suspend...22:21
rafael2kI made my one button app22:21
rafael2kand without a keyboard... literm/fingerterm is really useful. I can package one of them22:22
uvossure i allready mentioned to rafael2k that this is what needs to be done22:22
uvosit needs a special config sink name "auto" that makes it use the default sink for that volume22:22
rafael2kuvos, lazyness is also big :P22:22
uvosrafael2k: i was not suggesting you do this even22:22
uvosjust mentioning that this was discussed allready22:22
rafael2ksure22:23
rafael2kit is just that this could be a per platform setup for now22:23
rafael2kuntil we fix it22:23
uvosthis is more work than the fix really22:24
uvosso no22:24
rafael2kno problem, I agree it is better in the app22:25
rafael2kthe same very emacs version, both in the note and in the phone - that is Maemo-Leste advertizement! ow, how I miss my second kbd already that did not arrive yet22:28
rafael2kbtw, if anyone gets the gsoc in libcamera to do the omap3, I really wanna look for a N90022:29
rafael2kit will be the best camera you ever want, with support for sending the pics using AFSK over FM22:31
Wizzuprafael2k: I could send you one23:19
rafael2k: ))23:25
rafael2klets see!23:25
siceloheh, @sending pics over AFSK23:57

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