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

Wizzuphttps://github.com/maemo-leste-upstream-forks/ofono/commit/e0af50a500c75369c31e211bfe8c82d6c164a4e8 looks like we did00:00
uvos__Wizzup: yes we did, you need up to date ofono and sphone00:04
WizzupI think I do00:04
WizzupI was doing tp testing00:04
uvos__bencoh: "silly question, but why do we need voiceall-manager on top of telepathy-ring and ofono?" yeah i dont like this either, ofono, ring, v-m and the sphone module are just an insane number of mostly redundant abstraction layers00:05
Wizzupintegrating the same code would still give the same bugs, so those need to be solved regardless00:06
Wizzupso for some reason, tp ring + voicecall-manager on vm: - outgoing calls works great, no anonymous bit. -incoming calls aren't even seen00:07
Wizzupon d4: -outgoing calls work but have privacy bit set somehow - incoming calls are seen and work great00:07
uvos__sphone-ofono path works fine i presume00:08
uvos__?00:08
Wizzupwill try00:09
Wizzupyes then it's not hidden00:10
Wizzupuvos__: bencoh: fwiw if someone does the work to take the code from voicecall manager and make it into a sphone module I'll be happy to drop what I've been doing00:11
Wizzupbut until then I'm just going to stay the course and worry about this later00:11
uvos__Wizzup: ok v-m doing somethong wierd then00:18
Wizzupuvos__: it's the same modem as pinephone00:19
Wizzupfwiw00:19
uvos__v-m = voicecall manager00:19
uvos__not virtual machine00:19
Wizzupoh00:19
Wizzuprigh00:19
Wizzupyeah will check00:20
uvos__well my message was confusing00:20
Wizzupbut I'm done with this for today :D00:20
Wizzupstill cool that xmpp/sip works as much as it does already00:20
Wizzuplike I could type in xmpp or sip user and call them (calls failed in gst or some state change, but hey)00:21
Wizzup(type them in in sphone)00:21
Wizzuptmlind: uvos__: got a reset on 6.1.48: https://paste.villavu.com/raw/gYEEtB2LZEpLpfp0W3y2LjAcsWwTa3Jqagx0porb/00:40
uvos__Wizzup: hmm is there no way to import a ics file int qalender at the modment?01:21
uvos__als what happend to syncevolution it and its package dissapeared01:21
uvos__for that matter evolution itself seams to have dissapered in this version of devuan01:21
Wizzupuvos__: syncevo should exist01:40
Wizzupbut I think there is a problem with the syncing, regression since beowulf01:40
uvos__yeah it exists01:41
uvos__but im not trying to sync anyhow#01:42
uvos__just import ics01:42
Wizzuplmk how it does01:48
Wizzupgoes*01:48
WizzupI need to get some rest :)01:48
tmlindWizzup: thanks for the oops, will take a look, maybe that's the mystery oops that we've been looking for05:59
ac_laptophello people12:06
Wizzuphi12:09
Wizzuprafael2k: regarding your kernel question, I tend to agree @ rockchip kernel12:09
Wizzupuvos: btw once this voicecall is working I will try to migrate it to all be inside sphone, maybe even before you merge it, since I do agree it would be better to just have tp in sphone12:10
Wizzupudder: theoretically it might be just 1-2 days of work, but it'll probably be more, I would like some help from your side if I go down that path12:10
Wizzupoops, that was for uvos12:10
Wizzupsorry12:10
Wizzupuvos: but for now just having this testing code is helpful to surface any problems (there aren't that many it looks like), because the migration from voicecall-manager to sphone code should be very simple I think12:11
Wizzupthey just have a plugin for tp, so we'd just need to map that plugin interface to their existing dbus interface12:11
rafael2kWizzup, cool!12:24
ac_laptopn900 discharged normally, I've put a fully charged battery in it, it boots fine under fremantle, crashes/shuts down at boot under leste, what should I do ?12:25
Wizzuprafael2k: if we can have it in the same kernel branch as pp ultimately that would be easier, but I would understand if that is not the case12:27
Wizzuprafael2k: then we don't have to do the packaging dance again basically12:27
Wizzupac_laptop: sorry, I can't really help, please wait for some others12:27
siceloac_laptop: i don't know what to say anymore ... we've given you some suggestions, but it is not clear if you've used them12:27
sicelobattery situation is very unlikely to make system crash in any way12:28
siceloso if you see crashes, you most likely have a bad image, bad SD card, etc.12:28
sicelothe comparison you need to make between fremantle and leste is the voltage each system thinks your battery is at.12:29
siceloin fremantle, you must use hal for that. don't use the bq27200 script12:30
siceloso - when leste refuses to boot using the battery, boot fremantle and immediately check the voltage it reports, then let us know12:31
siceloFYI, the bq27200 script in fremantle does and shows *exactly* the same as the leste kernel ... plus fremantle doesn't directly use the values from the fuel gauge (bq27200). so use hal or bme (not sure if it has a way to expose the voltages it sees)12:35
ac_laptopsicelo: https://paste.debian.net/1299356/12:56
ac_laptophttps://paste.debian.net/1299357/12:58
siceloright. so if you boot leste from this state, it crashes/powers off?13:04
ac_laptopsicelo: yes, it boots untils the desktop shows, doesn't even have the time to load the battery applet, Xorg shows a crash message (although I don't know if it's an actual crash of the normal Xorg error message of a shutdown), and shuts down13:05
sicelothen your problem is not battery related.13:06
sicelothe voltage is very high13:06
sicelotry a new sd card or something, redownload and verify the shasums on a new image13:07
ac_laptopok13:08
ac_laptopbut before I'll try to make it boot under leste again13:08
siceloWizzup: maybe share with ac_laptop how to boot and get dropped to console instead of h-d13:09
sicelothen we can do further checks on their battery situation13:10
ac_laptopand now it booted fine13:11
sicelodo a cat sys class power_supply  bq27200-0  uevent13:11
siceloanyway, you could also have a look in /var/log to see if any of the log files can tell you what the real problem is13:13
siceloyou could always mount the sd card on a pc to look at those logs13:13
ac_laptophttps://paste.debian.net/1299359/13:13
sicelovoltage/battery seems good here, and is reasonably within the values you saw in Fremantle13:14
sicelommm, but something's curious here ... why it shows 0% capacity, when the CI flag is clearly not set13:18
ac_laptopthere should be the two boot attempts of yesterday and the successful boot of a few minutes ago https://www.rhizogen.es.eu.org/~ac/bugs/maemo/leste/syslog13:21
ac_laptopbatt.txt recorded something this time https://www.rhizogen.es.eu.org/~ac/bugs/maemo/leste/batt.txt13:27
siceloac_laptop: go back into Fremantle, then run the bq27200 script without any arguments, and share the output13:28
sicelodo you swap batteries often?13:29
sicelolooks like the fuel gauge data is partly corrupted. frequent swapping of batteries can do this13:32
buZzac_laptop: seen my battery monitor python tool?13:43
buZzhttp://space.nurdspace.nl/~buzz/maemo/batmon.py13:43
buZzits still sucking way too much CPU, but its a nice display of current going in&out in 'realtime'13:43
siceloit will get the same corrupt data though 😋13:44
buZzits not using the gauges though, just current&voltage13:45
ac_laptopsicelo: https://paste.debian.net/1299362/13:46
ac_laptopsicelo: now I do, since I have several batteries, but the problem happened before with just one battery13:46
ac_laptopI would keep the device charging all night and the next day the battery would be 100%, the device would be off, and the booting problem would be the same13:47
sicelotry and stick to one battery while we're troubleshooting this, otherwise there's nothing usef13:48
ac_laptopsicelo: ok13:49
sicelo*nothing useful that we will be able to deduce13:49
siceloin the meantime, clear out the batt.txt, so we have fresh start. how often do you log? i see you have a cronjob for it13:51
ac_laptopsicelo: the one in leste syslog ? it should be every minute13:59
sicelook.14:02
tmlindfyi, here are some initial wlcore gnss patches andreas posted: https://lore.kernel.org/linux-kernel/20231126191840.110564-1-andreas@kemnade.info/14:55
rafael2kWizzup, I'm not sure we'll be able to share the same kernel fork for PP and PPP at this time...15:00
Wizzupok15:07
Wizzuptmlind: great15:41
sicelorafael2k: or, ever :-p16:00
sicelomobian even seriously considered ending official support for the OG PP16:01
Wizzupthat's a little silly16:32
Wizzupkind of in style with gnome though16:33
bencohdoes that mean buying a PP isn't worth it these days?16:46
Wizzuprafael2k: sicelo: is the ppp much better battery life wise?16:48
sicelomobian and gnome actually have nothing in common.16:48
Wizzupsicelo: I thought phosh was gnome based16:49
Wizzupis it not?16:49
bencohWizzup: hm, last time I had a look I was under the impression that the ppp seemed worse battery wise16:51
bencohbut that was only based on stuff I read here and there16:51
sicelo the problem with PP is the state of the kernel ... the way it has been developed is too similar to how things are done in the android world,  i.e. it's more downstream than mainline16:51
sicelomobian is debian mobile, so to speak. it ships phosh, which does have gtk roots. it also ships plasma mobile (kde)16:53
bencohhttps://xnux.eu/log/081.html16:53
sicelorafael2k: you'll still maintain both pp & ppp? or you'll focus on ppp nowadays?16:58
Wizzupsicelo: ah, I didn't know it shipped plasma too17:02
Wizzupbencoh: ah that's not much better, weird17:02
rafael2ksicelo, as time permits, I need to update at least pp kernel18:06
rafael2kWizzup, I did not made many battery tests... I can't tell for now18:07
rafael2kI'm with Mobian on it at the moment, soon to swap to Maemo and start the fun18:08
Wizzupcool18:11
arno11Wizzup: i've just tried the last N900 img. swap is ok :) first boot is still difficult because nokia-modem causes troubles (2min to load the PIN stuff...and at least 2min to be able to enter the code), and omap_ssi and cmt_speech are still missing on boot (?!)19:38
arno11few h-d errors in boot log19:40
arno11concerning background image and priority sched19:40
arno11(maybe that's why it is so slow to start)19:41
arno11otherwise the img is ok after several minutes19:41
arno11after rebooting, it's a bit 'better' but nokia-modem doesn't work19:51
arno11(will work if we add cmt_speech and omap_ssi on boot probably)19:51
Wizzuphm, I think we had them blacklisted per your earlier comments, but would have to check19:51
arno11hm, they are not blacklisted19:53
arno11just missing on boot19:53
arno11these 2 ones are essential19:54
arno11anyway that's just missing modules, slowness is far more problematic19:55
WizzupI don't understand how they would be missing on boot19:57
arno11there were missing from the beginning iirc19:58
arno11i didn't remember this issue has not been resolved19:59
Wizzupwhat does missing mean, sorry for being pedanctic20:00
Wizzuppedantic20:00
Wizzupdo they not exist in /lib/modules ?20:00
Wizzupor are they just not loaded on boot20:00
arno11they are just not loaded on boot20:02
Wizzupand without doing anything, they are loaded at the next boot?20:07
arno11nope, still not loaded20:08
arno11i think that's quite the same issue than nokia-modem module: probably need to add them in etc/module-load.d/ or /etc/modules20:11
arno11personally i use /etc/modules to load them20:12
Wizzupok20:15
arno11oh, maybe they are only in devel lol, have to check20:15
arno11(fresh install is 6.1.9 and devel still 6.1.48)20:16
arno11not in devel, and options nokia-modem pm=1 is still in use.20:19
Wizzupwhat is 'not in devel' ?20:21
arno11ok so many things are wrong with nokia-modem, i'll have a look later and let you know (and send you an email)20:23
arno11('not in devel' <-- omap_ssi and cmt_speech)20:29
Wizzupnot loaded, or not present in /lib/modules20:29
arno11sorry, not loaded20:29
Wizzupok20:31
Wizzupwe can do module-load.d in leste-config20:31
arno11yep20:32
arno11and we need to remove 'options nokia-modem pm=1' in modprobe.d20:34
Wizzuphm, why?20:35
arno11because it's buggy now when loaded on boot (since 6.1.30 iirc)20:36
Wizzuphmmmmmmmmmmmm20:42
Wizzupdo you know how it is buggy?20:42
WizzupI mean we can disable it for now but it really shouldn't be buggy - as in we ought to fix that20:42
Wizzuparno11: do you know what makes it buggy?20:48
arno11i can't give you a quick answer, currently checking my notes (can't remember what was the issue with it)20:51
Wizzupok :)20:55
siceloactually i meant to ask arno11 ... i don't experience the module issue you mention21:06
sicelonot in Leste, nor in pmOS. they load normally every single time21:06
sicelobut from what you said just now, maybe the difference is that i don't use SIM PIN, while it sounds like you do?21:07
siceloso I'm beginning to wonder if the problem is really modules, or rather there's ofono problem or Leste stack related to unlocking  the SIM perhaps?21:08
arno11sicelo: you probably add them following the process from emails21:13
sicelono21:13
arno11ok21:13
siceloit's completely ootb21:13
sicelomaybe try to disable the SIM PIN and see if behavior is different21:13
arno11i think there is a misunderstanding, let me reboot the fresh install (need 10 min lol)21:18
arno11sicelo: that's ok i found them with lsmod :)21:26
arno11so the main issue is just, again, slowness...21:26
siceloright :-p21:26
arno11a fresh install is really difficult to use and more difficult to troubleshoot lol21:26
Wizzupthe slowness goes away after a few minutes right? I don't think we'll able to combat that completely21:27
arno11for the slowness i found hildon-desktop/home errors on boot logs21:29
arno11maybe it can help...or not21:30
arno11Wizzup: sicelo: personally, i removed nokia-modem on boot in my main config: this way, no troubles and faster to start Leste. and i just modprobe it when needed21:36

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