Pinephone Pro will not shut down when peripheral connected
#1
Hi all - hoping someone may be able to shed some light into a solution.  I have a Pinephone Pro connected to an Anker 6-in-1 usb hub.  Intermittent power is being provided through the anker hub.  It will be set up in a remote location to collect some weather data and powered by solar.  My goal is to have the pinephone shut itself down when the battery gets under 50%, then boot back up when power is applied.


The problem: A script can successfully tell the phone to shut down at the specified battery percentage, but the phone will instantaneously reboots as soon as the shutdown process is complete.  This happens when no power is present, but the hub is still plugged in.  I expect this when power is available, but it is a problem that it happens when power is absent as I need the device to shut down to conserve power for bootup.  This seems to happens when any device is plugged into the phone (flash drive, FTDI chip, pinehub, etc).


My theory is that the RK818 PMIC chip is misconfigured and is recognizing the phone's own OTG power as if it were power being passed in.  This then initiates the boot cycle.  Does this make sense?  Can anybody explain what is happening here, and any resolution?  I've seen some threads about a similar issue noted with the keyboard, but none with a resolution to this issue.


I've tried:

  - Mobian, Manjaro, and PostmarketOS and the behavior is consistent across all three.
  - Shutting down OTG power in mobian manually.  Peripherals shut down, but the phone still reboots after shutdown
  - Every type of cable known to humanity between the phone and the hub
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PinePhone Pro Black Screen CrimsenRaven 3 1,441 11-13-2024, 09:33 PM
Last Post: twentyslimy
  PinePhone Pro/IMX258 Camera Debugging problem jasperji 2 777 10-20-2024, 03:59 AM
Last Post: Jite
  Having difficulty installing PostmarketOS on Pinephone Convergence Beta edition spazz 13 1,025 10-17-2024, 03:28 PM
Last Post: fhilliard41
  PinePhone doesn't boot anymore lapin 3 561 09-13-2024, 10:09 AM
Last Post: lapin
  New PinePhone Pro fails... P. Siera 5 1,198 08-01-2024, 04:56 AM
Last Post: P. Siera
  A way to view or log the splash screen on Pinephone Pro running ArchLinux (Danctnix) PHLEMON 4 1,049 07-30-2024, 11:03 PM
Last Post: PHLEMON
  PinePhone Pro silver lining, it’s fast, real damn fast ashoka232 2 1,825 07-30-2024, 05:58 AM
Last Post: DrYak
  Is my PinePhone Pro dead? jlioret 2 2,130 07-28-2024, 04:12 PM
Last Post: dchang0
  Pinephone Pro does not start with RE button pressed c0ssan 11 7,893 07-28-2024, 03:21 PM
Last Post: dchang0
  Will a Pinephone Pro (Explorer) work with TING wpeckham 8 4,505 07-28-2024, 03:04 PM
Last Post: dchang0

Forum Jump:


Users browsing this thread: 1 Guest(s)