(11-11-2019, 07:26 AM)danielt Wrote: (11-09-2019, 06:16 PM)Luke Wrote: Second of all, suspend is always a pain on mainline; what is your gut feeling re. getting suspend to work for the PBP?
suspend-to-idle works and does save a little power. Using the built in battery monitor (which happily takes quite a long time to observe changes so I can peek just after a wake up) then the system is consuming 0.5A whilst suspended to idle versus somewhere between 0.7A and 0.8A with just the backlight disabled. This is enough to be useful to conserve battery life in long meetings but I wouldn't want to leave it sleeping in my bag.
So far I have not been able to wake the machine after suspending-to-ram. Thus enabling suspend to idle (echo s2idle | sudo tee /sys/power/mem_sleep or the tmpfiles.d equivalent) is a good idea for the time being since that way you can leave all the suspend machinary in your desktop environment in the default settings.
Indeed, this does sound like a viable work-around for the time being. Nice, thanks. CC @ tsys
(11-11-2019, 06:01 AM)danielt Wrote: (11-09-2019, 05:36 PM)tsys Wrote: No. Unfortunately it is a crash of the firmware in the ap6255 wifi module. However, I've found another firmware binary in my firmware collection that seems to work a lot more stable. Haven't seen it crash in the past 5 hours or so. I'll keep it running over night and see if it is indeed stable.
Interesting. In that case WiFi has been fully stable for me :-).
... until today, when it appears to be barely alive.
Not sure if this is bad luck, imprecise testing or because I have changed something. Will do a bit of digging.
(11-11-2019, 11:41 AM)danielt Wrote: ... until today, when it appears to be barely alive.
Not sure if this is bad luck, imprecise testing or because I have changed something. Will do a bit of digging.
I've seen similar behaviour. Sometimes it is rock solid, other times it is really flaky. Was stable for me in the last 18 hours, too (which is unfortunate since I do want it to crash for debugging).
(11-11-2019, 12:25 PM)tsys Wrote: I've seen similar behaviour. Sometimes it is rock solid, other times it is really flaky.
I noticed with my unit that WiFi gets unstable when CPU temperature rises under load until the point WiFi just "powers down".
(11-09-2019, 09:23 AM)tsys Wrote: Major News:
Audio is now working \o/
Was just a simple matter of setting up the iomux correctly
Though as I've mentionned in the Manjaro thread, that current settings leaves the speakers always on, a let their amp floating when there's no sound being playing and the speaker picking up random electrical noise.
(When sound is playing the noise disappears).
But still, big thanks for your work!
11-12-2019, 12:42 PM
(This post was last modified: 11-12-2019, 12:45 PM by tsys.)
(11-12-2019, 09:43 AM)DrYak Wrote: (11-09-2019, 09:23 AM)tsys Wrote: Major News:
Audio is now working \o/
Was just a simple matter of setting up the iomux correctly
Though as I've mentionned in the Manjaro thread, that current settings leaves the speakers always on, a let their amp floating when there's no sound being playing and the speaker picking up random electrical noise.
(When sound is playing the noise disappears).
But still, big thanks for your work!
Fixed https://gitlab.manjaro.org/tsys/linux-pi...c3af996dce
Yay! Your kernel is getting cooler and more useful by the minute !!! :-D
(11-12-2019, 12:42 PM)tsys Wrote: Fixed https://gitlab.manjaro.org/tsys/linux-pi...c3af996dce
Quickly tested it yesterday (by decompiling the .dtb with dtc, patching, recompiling). Works for me.
Saw this morning that you published a kernel upgrade, I'll give it a try later (but it should work the same)
Sound-wise, the only outstanding issues are:
- Speaker DAC not being turned on by default.
- Speaker and Headphone jack always outputing simultaneously, thus only a single output port in pulseaudio and no way to switch from one to another upon jack-plugged.
But the noise reduction is a huge win. Thanks for fixing the audio routing in the dtb
11-13-2019, 04:03 AM
(This post was last modified: 11-13-2019, 04:06 AM by tsys.)
(11-13-2019, 03:34 AM)DrYak Wrote: Sound-wise, the only outstanding issues are:
- Speaker DAC not being turned on by default.
You are talking about the default mixer settings I guess? That will be fixed in the next Manjaro preview by providing a suitable asound.state file.
(11-13-2019, 03:34 AM)DrYak Wrote: - Speaker and Headphone jack always outputing simultaneously, thus only a single output port in pulseaudio and no way to switch from one to another upon jack-plugged.
Yeah. That is a little annoying. I'm currently planing to change the simple-audio-card and maybe even the simple-audio-amplifier to add a kcontrol mixer that is auto-muted when a plug is inserted into the headphone jack. That should make it work.
I fear that having actual jack switching through pulse audio (enabling speakers while headphones are pugged in) might not be possible but I will investigate it anyways.
I am reading this thread with bated breath
You guys are incredible and the pace of your work is just blistering.
Thanks a lot for everything !
|