[M] <piggz> megi: odd problem here, wondered if you had any idea .... kernel 6.11 working fine ... 6.12, with same config has this odd issue .... a service, systemd-bootstate fails to write its output to /run/systemd/boot-status/bootstate.... this causes some later services to fail to run correctly ... however, if i ssh into the device, i can restart that service and it runs correctly, and i can restart the other services and get things up again. but i cant see why the initial run fails
Читать полностью…[M] <piggz> is the front camera on the ppp different to the pp? what module is it if i need to replace?
Читать полностью…[I] <dsimic> which is similar to the trans_table for GPU devfreq, if you remember :)
Читать полностью…[I] <dsimic> @piggz : you can check is CPU DVFS working as expected by running something like this:
Читать полностью…[I] <dsimic> but idling with WFI, which is always supported, should still produce measurable reduction of heat and power consumption
Читать полностью…[I] <dsimic> there might be some issue with idling (i.e. powering off) the CPU cores when inactive using PSCI (i.e. TF-A)
Читать полностью…[I] <dsimic> that's what Linux kernel does, the OPPs/frequencies for the CPU cores are selected automatically according to the configured temperature thresholds
Читать полностью…[M] <piggz> at the moment, when i tether, i create a wakelock to prevent susepend, but, thats still quite power hungry
Читать полностью…[I] <dsimic> @piggz : as a note, it's all about the DVFS support for the Allwinner A64 or the Rockchip RK3399, i.e. it isn't specific to the PinePhone (Pro)
Читать полностью…[I] <megi> kernel options are the CPUFREQ_ ones / https://www.kernel.org/doc/html/v4.14/admin-guide/pm/cpufreq.html
Читать полностью…[M] <piggz> ok, i wont swap it then, ill take to bits, see if anything is obvious, and if not, order a spare!
Читать полностью…[M] <piggz> since i had the mod frame out, im not getting an image from the front cam
Читать полностью…[M] <piggz> i noticed the phone qute warm, when screen off, with an active wakelock, but not doing much else, but not measured any cpu frequencies etc
Читать полностью…[M] <piggz> if i could have the kernel auto scale the freqnecy etc, that would be easiest
Читать полностью…[M] <piggz> dsimic: its also about what support in there is in sailfish for setting the frequencies etc .... most of this kind of stuff is handled by a daemon called mode-control-entity (mce) ... but I suspect most android kernels handle this internally and auto scale the cpu frequency ? afaik, all mce generally controls is whether or not the device fully suspends or not, and allows the kernel to suspend using config_pm_autosleep .... but full suspend isnt much good if, eg, you are tethering from the phone, so, im looking at some way to not suspend, but still be in a low power state
Читать полностью…[M] <piggz> do the pinephone(s) have any cpu frequency scaling to reduce power while staying awake? any kernel options needed for that? (megi)
Читать полностью…