libera/#maemo/ Tuesday, 2022-02-15

duuudeis it feasible to apply security patches to fremantle kernel?10:25
siceloif they can apply to the kernel sauce ;-)10:33
bencohyou could always try, but fremantle runs a 2.6.28 kernel from 11y ago, so ...10:41
bencohwait, 12~13yo even10:42
KotCzarnyo.O10:42
KotCzarnydoesnt fremantle run recent kernels?10:42
KotCzarnyerm10:42
KotCzarnynvm, mind barf10:42
bencohcssu runs a patched kernel, some fixes were merged over time, but even then you'd have the same issues trying to apply recent patches10:43
bencohmaemo-leste runs an almost-mainline kernel ("almost" because of pvr and a few pending patches)10:44
bencohand support is getting pretty good these days :)10:45
duuudeis power management still messy?11:00
bencohit should be much better than, say, half a year ago11:03
bencohIt might not be on-par with fremantle yet though, but iirc it's pretty close11:04
duuudereally? what changed?11:04
bencohAFAIR: work was done on the OFF mode, and there was something about proactive memory compaction waking up the device more than necessary11:05
duuudedoes it still empty the entire battery?11:06
bencoh?11:06
duuudelast time it emptied the entire battery when discharging11:07
duuudeturning the device on again was painful11:07
bencohyou mean, under the trickle charge threshold?11:07
bencoh(ie "deep" discharge)11:07
duuudeyes11:08
bencohI think this could happen with fremantle as well, except that fremantle's bme would poweroff way before that happens11:09
bencohbut if you replace bme with its opensource counterpart (kernel driver + some userspace script iirc) I think you'd have the same issue as in leste11:09
duuude~bme11:10
bencohI don't remember what cssu uses nowadays, I'm not certain opensource battery management was pushed to cssu-stable, it might be only in -devel (and maybe -testing)11:11
bencohhttps://wiki.maemo.org/N900_Software_BME11:11
bencohI think that page lacks info on the final replacement solution but apart from that it looks pretty detailed and accurate11:13
Wizzupyeah so there's still pm work to do in mainline kernel, it does enter off mode with some patches but some drivers keep it awake11:16
Wizzupit's not clear which parts do11:16
duuudecan one have this bme thing on leste?11:17
bencohthe closed-source one you mean? I highly doubt it, and a better solution would be to just poweroff device at 10~20% instead of letting it reach close-to-empty state11:18
Wizzupmce has this already11:19
Wizzup(on leste)11:19
bencohconfigurable you mean?11:20
bencohor a hardcoded 10~20%?11:20
Wizzupthere is some hardcoded voltage limit I think11:25

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