[Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed

Completed sale threads will be moved here to keep things tidy in the main For Sale forum.
User avatar
HoolyHoo
Posts: 766
Joined: Sat Jul 09, 2016 9:34 pm
Has thanked: 206 times
Been thanked: 741 times

Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed

Post by HoolyHoo » Sun Oct 09, 2016 8:33 am

Camble wrote:
HoolyHoo wrote:What's happening is by setting that dtoverlay the pi is expecting a manual shutdown which in this case is done by the jfet.
The dtoverlay line is simply to set the keep-alive GPIO pin to high and the JFET is not responsible for the shutdown.

When the switch is in the ON position, GPIO27 is kept high by the 3.3v line. When you slide the switch to OFF, GPIO27 is pulled low by the internal pull-down set in the python script. This signals the shutdown. The JFET ensures the PowerBoost supplies the Pi until it has safely shut down.
I was commenting about the panic message and I was referring to the power shut down by closing the en pin with the jfet. You can see by the panic message screenshot that the shutdown was initiated but, because the power is not being shut off by the jfet closing that pin, the panic message occurs. He can test it by removing the dtoverlay line, rebooting and see if he gets the panic message after shutdown.

User avatar
johweb
Posts: 61
Joined: Sun Aug 21, 2016 10:28 pm
Has thanked: 9 times
Been thanked: 7 times

Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed

Post by johweb » Sun Oct 09, 2016 9:25 am

:( Still the same "Kernel panic" after a fresh new install. I also tried with another sd-card, with the same result.

User avatar
Camble
Posts: 885
Joined: Thu May 05, 2016 2:31 am
Location: Scotland
Has thanked: 269 times
Been thanked: 488 times

Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed

Post by Camble » Sun Oct 09, 2016 9:32 am

johweb wrote::( Still the same "Kernel panic" after a fresh new install. I also tried with another sd-card, with the same result.
Does it happen if you manually shutdown?

User avatar
johweb
Posts: 61
Joined: Sun Aug 21, 2016 10:28 pm
Has thanked: 9 times
Been thanked: 7 times

Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed

Post by johweb » Sun Oct 09, 2016 9:43 am

That's a good try ! Doing a "sudo shutdown -h now" gives me the same error...

User avatar
johweb
Posts: 61
Joined: Sun Aug 21, 2016 10:28 pm
Has thanked: 9 times
Been thanked: 7 times

Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed

Post by johweb » Sun Oct 09, 2016 10:16 am

I tried removing the config.txt line "dtoverlay...." as said HoolyHoo : when I use the switch to power off, I have no kernel panic. Pi is powering off with no error (screen stays powered on)

User avatar
Camble
Posts: 885
Joined: Thu May 05, 2016 2:31 am
Location: Scotland
Has thanked: 269 times
Been thanked: 488 times

Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed

Post by Camble » Sun Oct 09, 2016 12:25 pm

@johweb You can try using another GPIO pin, or remove the dtoverlay line altogether and use UART BCM14 (Physical pin 8)

User avatar
johweb
Posts: 61
Joined: Sun Aug 21, 2016 10:28 pm
Has thanked: 9 times
Been thanked: 7 times

Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed

Post by johweb » Sun Oct 09, 2016 12:41 pm

OK, I'll try it tomorrow. Thanks for your help.

DarrylUK
Posts: 62
Joined: Thu Jul 21, 2016 2:09 pm
Has thanked: 14 times
Been thanked: 20 times

Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed

Post by DarrylUK » Sun Oct 09, 2016 12:45 pm

I have the same symptoms. If I manually shutdown I get a kernel panic.

Which wire would need to be moved to pin 8?

User avatar
Camble
Posts: 885
Joined: Thu May 05, 2016 2:31 am
Location: Scotland
Has thanked: 269 times
Been thanked: 488 times

Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed

Post by Camble » Sun Oct 09, 2016 12:47 pm

@DarrylUK The one marked "Keep-on"

User avatar
johweb
Posts: 61
Joined: Sun Aug 21, 2016 10:28 pm
Has thanked: 9 times
Been thanked: 7 times

Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed

Post by johweb » Sun Oct 09, 2016 11:56 pm

I've soldered the keep-on on pin 8, and removed line in config.txt. When pushing the switch to off, pi powers off without kernel panic. It's completely off after a few seconds, no led blinking on it. But screen stays powered. Then I push the switch to position "on", nothing happens.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest