libera/#maemo-leste/ Monday, 2023-02-06

Wizzuplooks like syncevo broke in the chimaera upgrade00:39
Wizzupat least with our current instructions00:39
tmlindWizzup: ok yup that pretty much confirms that modem shuts down around 3.5v06:26
tmlindWizzup: also seems like we have some large cumulative error with the coulomb counter capacity after several charge cycles?06:26
tmlindWizzup: i guess the next step would be to check how fast the coulomb counter capacity gets out of line with the voltage based capacity estimate user space app06:27
tmlindWizzup: and the modem should singnal something before shutting down the usb phy, that's a bug06:28
tmlindanyways, that might explain why we only get a few weeks of uptime06:29
tmlindWizzup: hmm that log of yours is not for invalid register access though like earlier06:31
rafael2kfreemangordon, right, but as far as I can check, it is all good for hitting master07:14
Wizzuptmlind: it might also be different, since this was my bionic just doing gps, the other cases were my d4 with bt10:03
Wizzupbut in both cases the modem seemingly went away10:03
Wizzupuvos__: fyi I will try to pick up the sphone work today10:31
WizzupI also received the xt91010:31
WizzupSuperMarioSF: my impression seems to be that the phones look to be in a great state, with the box containing all the original stuff, I plugged in one of my batteries and am charging it now10:36
uvos__Wizzup: ok10:40
WizzupSuperMarioSF: phone booted fine :)13:12
SuperMarioSFWizzup: nice to hear that, happy hacking!13:58
buZzWizzup: ooo charger patches? exciting!14:09
WizzupbuZz: I think you already knew that it was being worked on no? what I mean is, it's nothing new14:10
Wizzupbut yeah14:10
Wizzupfreemangordon has some stuff lined up14:10
bencoh"ok yup that pretty much confirms that modem shuts down around 3.5v" that's super high :/14:11
Wizzupbencoh: right but it sounds like (I think) this is probably due to some other issue14:12
Wizzupit is also possible that this can be changed and maybe android does that14:12
uvos__for sure android dosent have this issue14:23
uvos__then again it has never happend to me on leste either14:23
Wizzupwell it happens to me on several phones14:23
Wizzupso it's not likely a hw issue14:23
buZzWizzup: the only modem-panics i got were during USB connected btw14:24
buZzseemingly USB modem fighting with the USB gadget mode, or something14:24
bencohon bionic only?14:24
Wizzupwell then there are three different ones14:24
buZz(and failing)14:24
Wizzupbencoh: no, also on droid 4 for me14:24
bencohoh14:25
buZzWizzup: maybe the gadgetmode should be shutdown below ~x voltage? to prevent USB modem from disconnecting14:25
buZzjust a guess14:25
WizzupI don't think so, that sounds like a hack around the problem, and again, it's not the problem I am seeing14:25
Wizzupit's also possible we maybe just draw (a lot) more power, and we also don't gracefully deal with the modem being gone for a bit in any case14:26
buZzyeah its kinda flaky , ofono stop/start doesnt always recover it14:26
buZzbut sometimes it does14:26
Wizzupthat is for sure not the right solution :p14:29
buZzright, but how should i restart the modem then? :D14:32
buZz(in failure cases, ofono stop doesnt even 'kill' the 2G icon from statusbar)14:32
Wizzupprobably we first need to see if the modem even re-appears on usb14:33
Wizzupand then we need to ensure things are good on the kernel level14:33
Wizzupand then we need to ensure ofono picks it up14:33
Wizzupand then we need to ensure userspace deals with it well14:33
buZzi ment for a user14:33
Wizzupsome of these things might already work, but those are the steps I think14:33
peetahuvos__: I'm ready to test your kernels, given that your explain how to do it14:36
uvos__peetah: uname -a, verfiy that kernel version is 6.0-rc814:59
uvos__peetah: edit /etc/apt/sources.list copy the final deb https://maedevu.maemo.org/leste beowulf main contrib non-free... line15:00
uvos__and edit it so it sais  deb https://maedevu.maemo.org/leste beowulf-experimental main contrib...15:00
uvos__and apt update && apt upgrade15:01
uvos__reboot15:01
uvos__verfiy that uname -a is now 6.0.815:01
sicelonot 6.1.8?15:06
peetahmy current kernel is 5.18.915:10
peetahuvos__: ^15:11
peetahLinux devuan-n900 5.18.9 #1 SMP PREEMPT Sun Sep 11 16:52:18 UTC 2022 armv7l GNU/Linux15:12
uvos__peetah: yeah thats fine too15:15
uvos__sicelo: right 6.115:16
peetahLinux devuan-n900 6.1.9 #1 SMP PREEMPT Wed Feb  1 13:59:50 UTC 2023 armv7l GNU/Linux15:25
WizzupSuperMarioSF: other one boots too :)15:27
peetahuvos__: done ^15:32
uvos__peetah: great thanks15:37
sicelomeantime, 6.2-rc7 boots fine too :-)15:47
sicelofmg and sre really helped us figuring out that panel bug. since then we've been reliably booting into new kernels with less headache than before15:47
uvos__sicelo: sure this dosent free us from the agreed policy of testing every release that hits the -devel repo16:01
siceloi wasn't referring to Leste16:01
peetahuvos__: you're welcome, that was an easy first one16:06
peetahfeel free to ask whenever you need to test something on the N90016:06
peetahIs there a way to follow battery discharge more closely, like bq2700.sh script was doing for maemo ? is this script safe to use with maemo-leste or did things evolve to far from mameo for this script to be still of any use ?17:49
bencohafaik I'd say using that script should be safe on n900/leste (since it just reads registers)17:51
bencohbut droid4 relies on a different charger/fuelgauge17:51
bencohthe droid4 battery management hw is part of "cpcap"17:51
bencohon droid4/leste users can rely on upower (upower -d iirc?) to monitor battery status17:53
bencoh(although that wont give you raw readings from the hw)17:54
peetahthanks bencoh18:14
siceloif you want to use the script in Leste, must first unload the bq27xxx_i2c module19:07
sicelopeetah: also, what do you specifically need from that script which isn't already available in /sys../power_supply? asking because I've contributed a few patches to the kernel driver for bq2720019:08
rafael2k https://ftp.heanet.ie/mirrors/fosdem-video/2023/UD2.120%20(Chavanne)/linux_camera_apps.webm19:18
rafael2kthere is screenshot of Maemo running pinphone ^19:18
rafael2kcamera app on Maemo19:18
Wizzuptimestamp? :D19:32
Wizzup19:3019:33
Wizzuprafael2k_: nice19:45
rafael2k_: )19:52
peetahsicelo: it's more about being used to have all the data available on one line in loop mode, than needing something that is not available elsewhere21:42
sicelook. i guess `upower -d` is one way to expose them in one place :-)21:44
sicelobut also `cat /sys/class/power_supply/bq27200-0/uevent` :-)21:44
siceloloop mode: watch -n 17 cat ...21:45
sicelobut yeah, i agree the script is mode detailed. unloading the module will work just fine. see also https://github.com/maemo-leste/bugtracker/issues/170#issue-35524232721:47
sicelos/mode/more/21:47
peetahbut bq27200.sh work out of the box and is hassle free :)21:47
siceloactually even in fremantle, bq27200.sh didn't work ootb on power kernel ;-)21:48
Guest224have anyone asked officially from Nokia, how much cost code for N900 to get voice calls code and cpu power management code?23:40
Guest224back to lurking logs ->23:41
Wizzuphi lurker ;-)23:53
Wizzupnot sure what exactly the cpu power management code would do for us, I think the kernel is all open, and most of the code is there, we just need to fix some of it up23:54
Wizzupfor the voice calls code, we have it mostly in the form of nemo pulseaudio modules and libcmtspeech23:54
WizzupI spoke with Pavel at FOSDEM and he had both directions working, but ran into latency issues, which we can try to tackle, and perhaps use the pa cmtspeech module as well, and we might get pretty far23:55
Wizzupin this sense there is probably not much that nokia could give us, but there is a lot of other stuff they could open source that would help23:55

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