Problems At Shutdown?
#10
Information 
Greetings,

I have confirmed that the shutdown (at least in my testing) is actually halting the system properly and the storage is being cleanly unmounted!  I verified this with the system serial console.



Serial Console:

Please see the first post in this link:

I was able to get the serial console running for boot-up and shutdown.  I was also able to get a three (3) pole plug to work;  four pole plug is not necessary ( as long as the collar is taped ).

1) tape the collar of the plug ( 2mm ) or use a four pole plug

( the plug is labeled wrong , well do you label the plug's pins , or do you label where the plug's pins go !?! )

( plug's pins:  tip--Rx,  ring--Tx,  ring--gnd,  collar taped )      if using three(3) pole plug !

2) flip the slider switch inside the Pinebook (mainboard outside edge) towards the center of the board

3) disable the systemd service which starts the pinebook-headphones service !   (important:  see top link)

     sudo  systemctl  disable  pinebook-headphones

4) attach the cabling & start your serial console monitor terminal software ( I used minicom )

5) boot-up the Pinebook



Notes:  I'm embarrassed to tell you that not including the time it took me to cut the slot in the bottom case (to have access to the slider switch) it took me four hours to make the cable and get the damned console running!  This is insane. The serial console of an embedded system should just work.  To recommend this to a noob who needs help fast would be immoral, or at least unethical. 




Once you get the logon prompt on the serial console you may logon to the Pinebook with the serial terminal ; its fun, enjoy!

If you leave the serial console running , when you shutdown there will be shutdown messages on the console as services are quiesced and storage is unmounted ( these messages are very similar to boot-up messages but in reverse ).

If everything goes smoothly you should see a message at the end with a time-stamp and the words:

   Sytem halted.



Anyways, it looks like there is a disconnect between the system and the ARISC|PMIC ( AXP803 Power Management Integrated Circuit ).  The system does shutdown cleanly, but the PMIC fails to power-down;  failure to notice this will leave the power on forever until the battery is flat-- chances are very good that after that the battery will not recover without a great deal of effort.  Please see this link:

Note:   There are three ways to initiate the shutdown :

   1) sudo halt    ( from the serial console )

   2) click System Shutdown -->  shutdown dialogue ( then click shutdown )

   3) press and hold the power button momentarily --> shutdown dialogue ( then clcik shutdown )

As it turns out, (3) option above is the most reliable for a full power-down because not only the OS gets told to shutdown, but the ARISC PMIC expects the shutdown to come along;  so the full power-down actually occurs !

Blush


marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )


Messages In This Thread
Problems At Shutdown? - by robbiemacg - 08-22-2017, 10:02 AM
RE: Problems At Shutdown? - by Luke - 08-22-2017, 10:50 AM
RE: Problems At Shutdown? - by robbiemacg - 08-22-2017, 12:11 PM
RE: Problems At Shutdown? - by MarkHaysHarris777 - 08-22-2017, 01:25 PM
RE: Problems At Shutdown? - by guidol - 08-23-2017, 03:47 AM
RE: Problems At Shutdown? - by robbiemacg - 08-23-2017, 05:27 AM
RE: Problems At Shutdown? - by daid - 08-24-2017, 02:22 PM
RE: Problems At Shutdown? - by Siliconserf - 08-24-2017, 11:12 PM
RE: Problems At Shutdown? - by MarkHaysHarris777 - 08-25-2017, 12:45 AM
RE: Problems At Shutdown? - by MarkHaysHarris777 - 08-25-2017, 09:34 AM
RE: Problems At Shutdown? - by MarkHaysHarris777 - 08-25-2017, 10:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook Pro (i3 WM): Confirm Shutdown on Power Button etothepii 3 7,012 08-14-2020, 06:03 AM
Last Post: loblik
  Flakey WIFI (problems authenticating, etc.) robbiemacg 6 9,267 12-15-2019, 04:31 AM
Last Post: matze79
  Problems putting Ubuntu (Xenial Mate) on my replacement eMMC. frank-zappa 11 13,630 05-01-2019, 12:09 PM
Last Post: frank-zappa
  KDE Neon problems persisting (1080) ImmortanJoe 8 9,211 11-18-2018, 02:22 AM
Last Post: ImmortanJoe
Music Problems using Spotify Web version because DRM (Firefox & Chromium) Ekkaia 6 8,987 09-07-2018, 02:23 AM
Last Post: JerrySmith1021
  Problems to install qemu on Xenial Mate (for EMMC) demian 1 3,137 03-14-2018, 08:43 AM
Last Post: xalius

Forum Jump:


Users browsing this thread: 1 Guest(s)