yes, I have been following the guide entirely...just other have experienced, when I add that to the config file, I get the kernel panic message and when I remove it, it goes away.Camble wrote:@Spruc3Moose Have you amended your /boot/config.txt to include the following line:
Code: Select all
dtoverlay=gpio-poweroff,gpiopin=22,active_low="y"
[Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed
- Spruc3Moose
- Posts: 34
- Joined: Thu May 05, 2016 4:00 am
- Location: Maryland
- Has thanked: 2 times
- Been thanked: 5 times
Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed
Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed
strange ... I'm also getting a kernel panic ...
after adding following command line the Pi starts to shutdown:
After short booting I'm getting kernel panic ...
thats how my config.txt looks:
after adding following command line the Pi starts to shutdown:
Code: Select all
echo "@reboot /usr/bin/nice -n 19 /usr/bin/python ~/GBZ-Power-Monitor_PB/gbz_power_monitor.py" >> mycron; crontab mycron;rm mycron
thats how my config.txt looks:
Code: Select all
max_usb_current=1
dtoverlay=gpio-poweroff,gpiopin=22,active_low="y"
dtoverlay=pwm-2chan,pin=18,func=2,pin2=13,func2=4
disable_audio_dither=1
Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed
it's working now for me (without power plugged) ...
I have replaced the /boot/config.txt with this (I have done these before) and added the "dtoverlay=gpio-poweroff,gpiopin=22,active_low="y"" line ...
http://www.mediafire.com/file/5am8ss7b7 ... config.txt
edit: ok, it's strange ... after some successful shutdowns I'm now receiving the kernel panic after booting. Looks like the Pi immediately shutsdown after the script started. Checked the wiring -> ok; checked twice -> ok ... I have no idea
I have replaced the /boot/config.txt with this (I have done these before) and added the "dtoverlay=gpio-poweroff,gpiopin=22,active_low="y"" line ...
http://www.mediafire.com/file/5am8ss7b7 ... config.txt
edit: ok, it's strange ... after some successful shutdowns I'm now receiving the kernel panic after booting. Looks like the Pi immediately shutsdown after the script started. Checked the wiring -> ok; checked twice -> ok ... I have no idea
- 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
Some people have had issues with the cable plugged in. The board I'm using to test here works with or without the charging cable, so I'm having trouble replicating the problem again.Paddy wrote:it's working now for me (without power plugged) ...
I have replaced the /boot/config.txt with this (I have done these before) and added the "dtoverlay=gpio-poweroff,gpiopin=22,active_low="y"" line ...
http://www.mediafire.com/file/5am8ss7b7 ... config.txt
edit: ok, it's strange ... after some successful shutdowns I'm now receiving the kernel panic after booting. Looks like the Pi immediately shutsdown after the script started. Checked the wiring -> ok; checked twice -> ok ... I have no idea
Your /boot/config.txt looks fine. The one you posted has the first 55 lines commented out, so not really much different to what you had.
@Spruc3Moose Have you tried a fresh image?
There is a way to force the Pi to reboot on kernel panic. With this board, it should power everything off at that point.
To /etc/sysctl.conf, add:
Code: Select all
kernel.panic = 1
- Spruc3Moose
- Posts: 34
- Joined: Thu May 05, 2016 4:00 am
- Location: Maryland
- Has thanked: 2 times
- Been thanked: 5 times
Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed
@camble
I have tried many fresh images on two pi zeros and I have still not seen any safe shutdown video...power switch still just shuts down the pi immediately.
I added the kernel.panic = 1, but now the pi reboots when I initiate a shutdown from the emulation station menu.
I have tried many fresh images on two pi zeros and I have still not seen any safe shutdown video...power switch still just shuts down the pi immediately.
I added the kernel.panic = 1, but now the pi reboots when I initiate a shutdown from the emulation station menu.
- 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
It will kernel panic if the switch is set to ON and you shut it down manually, yes. Because the PowerBoost will not power off unless the switch is set to OFF.Spruc3Moose wrote:@camble
I have tried many fresh images on two pi zeros and I have still not seen any safe shutdown video...power switch still just shuts down the pi immediately.
I added the kernel.panic = 1, but now the pi reboots when I initiate a shutdown from the emulation station menu.
- Spruc3Moose
- Posts: 34
- Joined: Thu May 05, 2016 4:00 am
- Location: Maryland
- Has thanked: 2 times
- Been thanked: 5 times
Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed
So i'm not sure what the next step is to make the safe shutdown work...if I flip the switch off, it still just shuts down immediatelyCamble wrote:It will kernel panic if the switch is set to ON and you shut it down manually, yes. Because the PowerBoost will not power off unless the switch is set to OFF.Spruc3Moose wrote:@camble
I have tried many fresh images on two pi zeros and I have still not seen any safe shutdown video...power switch still just shuts down the pi immediately.
I added the kernel.panic = 1, but now the pi reboots when I initiate a shutdown from the emulation station menu.
- 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 this happen when just running on battery?Spruc3Moose wrote:Camble wrote:Spruc3Moose wrote:if I flip the switch off, it still just shuts down immediately
- Spruc3Moose
- Posts: 34
- Joined: Thu May 05, 2016 4:00 am
- Location: Maryland
- Has thanked: 2 times
- Been thanked: 5 times
Re: [Pre-Order] Safe Shutdown Switch (PowerBoost Version) - Closed
yes, i have not tried shutting down while charging.Camble wrote:Does this happen when just running on battery?Spruc3Moose wrote:Camble wrote:
Who is online
Users browsing this forum: No registered users and 1 guest