Power consumption and suspend to ram - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111) +--- Forum: General Discussion on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=112) +--- Thread: Power consumption and suspend to ram (/showthread.php?tid=10250) |
RE: Power consumption and suspend to ram - robt - 07-12-2020 Hi termac, I confirm no audio after suspend... RE: Power consumption and suspend to ram - rik-shaw - 07-13-2020 Coming to this thread late but just wondering if there are any distros that get it *right* out of the box, or do these tweaks need to be applied regardless of distro? Is there a minimum kernel number (eg 5.6, so Armbian couldn't be fixed since it is on 4.4?) Finally, for clarity could someone post a "comprehensive" list of what tweaks are needed after fresh install of a distro (eg Manjaro XFCE, etc)? That way when latecomers come they don't have to piece together different tips from multiple posts. It could then be a "sticky" as I think many are facing this challenge: they have new shiny PBPs but the battery drains when sleeping over night (that's my case). RE: Power consumption and suspend to ram - rik-shaw - 07-13-2020 (07-13-2020, 10:06 AM)rik-shaw Wrote: Coming to this thread late but just wondering if there are any distros that get it *right* out of the box, or do these tweaks need to be applied regardless of distro?Better yet would be to get the necessary information to the wiki so that users don't have to trawl the forum to find fixes. So if we can consolidate a list of tweaks needed to get suspend to work it would be great to get those to the wiki: https://wiki.pine64.org/index.php/Pinebook_Pro RE: Power consumption and suspend to ram - xmixahlx - 07-13-2020 i am basically doing that in pbp-tools and my pinebook-pro-debian-installer fork with the hwaccel kernel on debian. RE: Power consumption and suspend to ram - rik-shaw - 07-18-2020 (07-13-2020, 11:08 PM)xmixahlx Wrote: i am basically doing that in pbp-tools and my pinebook-pro-debian-installer fork with the hwaccel kernel on debian. xmixahlx, thanks for the suggestions. Again I am new to this so I hadn't run across your stuff before. When starting from scratch, a bit confused on whether to use the original debian-installer (which was updated as recently as 18 days ago) or yours. Is yours doing additional things to target deep sleep by default? Or maybe you simply use that different kernel than the original debian-installer? Are you looking to keep in sync by keeping on top of commits to the original script? Or? Any interest in then posting the resulting image or do you prefer to keep it at the script level so that it won't need rebuilding all the time? Just curious over your longer term idea. Regarding all the great tools in pbp-tools, are there several that are "good for all pbp users", then the others are if you want to install specific software packages, etc? We would need to walk relatively low-tech users through the process of getting their pbp to a reasonable running state. That is why I am asking for any wiki updates and/or updated images. Lastly, we have some software that is built for Ubuntu and distributed via ppa. Not sure what it may break but I would be testing if it would be reasonable to add and use an Ubuntu PPA. Thanks again for the great work! RE: Power consumption and suspend to ram - mamboman777 - 08-03-2020 (06-14-2020, 03:01 PM)robt Wrote: The battery life of my PBP is really good, I get 8+ hours with my usage (browsing, bit of vnc, paying attention to brightness levels).I'm trying to figure this out. I am using an spiflash.bin and booting directly from an NVME drive. How will the procedure be different? Has anyone successfully implemented boot from NVME and suspend to ram? RE: Power consumption and suspend to ram - wdt - 08-03-2020 The nvme (which runs off a pcie port), at this time, is not capable of suspend, sorry That is, it suspends, then a few seconds later wakes up RE: Power consumption and suspend to ram - mamboman777 - 08-03-2020 (08-03-2020, 08:00 AM)wdt Wrote: The nvme (which runs off a pcie port), at this time, is not capable of suspend, sorryThanks for the reply and clarification. Saves me time trying to figure it out. *Shrugs* Boots fast enough anyways. RE: Power consumption and suspend to ram - User 18041 - 11-30-2020 Hi, I am using the PBP with Manjaro KDE Plasma 20.10 (the last update). I was following the steps from this forum page in order to be able to use the suspend to ram feature: https://forum.pine64.org/showthread.php?tid=10250 All the steps went fine, but after reboot the green light appears immediately and nothing else happens. Can you please help? 1. Was I doing anything wrong? I have a 128GB emmc installed. 2. How can I recover from this state? (11-30-2020, 06:12 AM)3xC0MM Wrote: Hi, And now I just did it again for my 64GB emmc Installed uboot-pinebookpro-bsp (1.5-7), and ran sudo dd if=/boot/idbloader.img of=/dev/mmcblk2 seek=64 conv=notrunc sudo dd if=/boot/uboot.img of=/dev/mmcblk2 seek=16384 conv=notrunc sudo dd if=/boot/trust.img of=/dev/mmcblk2 seek=24576 conv=notrunc My 2 emmcs are not booting anymore. I suppose that I can take them out, re-imagine them using my Mac and the SD-EMMC adapter + the Manjaro 20.10 image. But I would like to recover them though, without reinstalling everything. Can anyone help with a procedure on how to make them again to boot? Thank you very much in advance. RE: Power consumption and suspend to ram - User 18041 - 11-30-2020 (11-30-2020, 06:12 AM)3xC0MM Wrote: Hi, Update nr. 2 1. I have created a bootable SD with Manjaro 20.10 2. I have opened the back cover and disabled the emmc switch 3. I have inserted the SD and started the PBP, and after 5 seconds I have turned on the emmc switch 4. I ended up to my login page. I logged in and I have realised that the laptop is using now the /boot partition of the SD and the /root of the emmc 5. The wifi card is not detected I will try to check how can I reflash the uboot from this state, to be able to boot again from the emmc. Until now I have no clue how to do it. |