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.Camble wrote:The dtoverlay line is simply to set the keep-alive GPIO pin to high and the JFET is not responsible for the shutdown.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.
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.
[Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed
Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed
Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed
Still the same "Kernel panic" after a fresh new install. I also tried with another sd-card, with the same result.
- 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
Does it happen if you manually shutdown?johweb wrote: Still the same "Kernel panic" after a fresh new install. I also tried with another sd-card, with the same result.
Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed
That's a good try ! Doing a "sudo shutdown -h now" gives me the same error...
Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed
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)
- 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
@johweb You can try using another GPIO pin, or remove the dtoverlay line altogether and use UART BCM14 (Physical pin 8)
Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed
OK, I'll try it tomorrow. Thanks for your help.
Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed
I have the same symptoms. If I manually shutdown I get a kernel panic.
Which wire would need to be moved to pin 8?
Which wire would need to be moved to pin 8?
- 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
@DarrylUK The one marked "Keep-on"
Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed
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.
Who is online
Users browsing this forum: No registered users and 1 guest