Disable Hall Effect Sensor Shutdown
-
- Posts: 3
- Joined: Tue Jan 28, 2020 5:28 pm
Disable Hall Effect Sensor Shutdown
Hi, I recently built myself a MintyPi v3, and have been having a lot of fun with it. I have found the hall effect shutdown to be a bit annoying, however, as it takes a long time to boot back up and I prefer manually turning it off anyway. Is there anyway to disable this (like some execution file I could delete) without physically removing the magnet? Thanks for the help.
- infinitLoop
- Posts: 536
- Joined: Mon Dec 24, 2018 11:46 am
- Location: Portland, OR
- Has thanked: 222 times
- Been thanked: 199 times
- Contact:
Re: Disable Hall Effect Sensor Shutdown
the hall sensor shouldn't affect boot-up at all. it acts like a button, so when it's activated, it initiates the software shutdown, the same as if you went into the menus and selected "shutdown system". that can take a few seconds because it has to safely close all the apps in memory, but if all you do is hit the power button to turn off, you will eventually end up causing data corruption or even totally ruining the card.Levitation77 wrote: ↑Tue Jan 28, 2020 5:33 pmHi, I recently built myself a MintyPi v3, and have been having a lot of fun with it. I have found the hall effect shutdown to be a bit annoying, however, as it takes a long time to boot back up and I prefer manually turning it off anyway. Is there anyway to disable this (like some execution file I could delete) without physically removing the magnet? Thanks for the help.
.
Some of my builds...
BMO GBZ
Star Wars Millenium Falcon Challenge
Game Boy Color Zero
... and another Gameboy Color Zero with custom 3D-printed parts
"Ultimate" 3A+ Build
GlowBoy Zero
Some 3d designs I've done...
Soft Tactile Shoulder Buttons, for screw-hole, well mounting
Snap-in, Soft Tactile Shoulder Button insert, for screw-hole, well mounting
Pac-Man and Space Invaders Themed Rear Fan Holder
BMO GBZ
Star Wars Millenium Falcon Challenge
Game Boy Color Zero
... and another Gameboy Color Zero with custom 3D-printed parts
"Ultimate" 3A+ Build
GlowBoy Zero
Some 3d designs I've done...
Soft Tactile Shoulder Buttons, for screw-hole, well mounting
Snap-in, Soft Tactile Shoulder Button insert, for screw-hole, well mounting
Pac-Man and Space Invaders Themed Rear Fan Holder
-
- Posts: 3
- Joined: Tue Jan 28, 2020 5:28 pm
Re: Disable Hall Effect Sensor Shutdown
I may have worded my question a bit weird. The sensor isn't affecting boot up, I just tend to open and close the lid quite frequently and it is annoying when it shuts down every time and I have to wait for it to turn back on. I also never hit the power button to shut it off, I hit shutdown system in the menu. Is there anyway to disable the sensor shutdown?infinitLoop wrote: ↑Wed Jan 29, 2020 10:30 amthe hall sensor shouldn't affect boot-up at all. it acts like a button, so when it's activated, it initiates the software shutdown, the same as if you went into the menus and selected "shutdown system". that can take a few seconds because it has to safely close all the apps in memory, but if all you do is hit the power button to turn off, you will eventually end up causing data corruption or even totally ruining the card.Levitation77 wrote: ↑Tue Jan 28, 2020 5:33 pmHi, I recently built myself a MintyPi v3, and have been having a lot of fun with it. I have found the hall effect shutdown to be a bit annoying, however, as it takes a long time to boot back up and I prefer manually turning it off anyway. Is there anyway to disable this (like some execution file I could delete) without physically removing the magnet? Thanks for the help.
.
- infinitLoop
- Posts: 536
- Joined: Mon Dec 24, 2018 11:46 am
- Location: Portland, OR
- Has thanked: 222 times
- Been thanked: 199 times
- Contact:
Re: Disable Hall Effect Sensor Shutdown
ah. that makes sense now.Levitation77 wrote: ↑Wed Jan 29, 2020 5:52 pmI may have worded my question a bit weird. The sensor isn't affecting boot up, I just tend to open and close the lid quite frequently and it is annoying when it shuts down every time and I have to wait for it to turn back on. I also never hit the power button to shut it off, I hit shutdown system in the menu. Is there anyway to disable the sensor shutdown?
yeah, i think that you should be able to disable it by changing the config...
ssh into your mintypi, or plug a keyboard in and hit f4 to exit out of retropie to a terminal prompt, and type.
Code: Select all
sudo nano ~/OneForAll/keys.cfg
hit ctrl-X to exit, say Y to save and hit enter without changing the file name.
reboot ("sudo reboot now" at the prompt) and it should be disabled
.
Some of my builds...
BMO GBZ
Star Wars Millenium Falcon Challenge
Game Boy Color Zero
... and another Gameboy Color Zero with custom 3D-printed parts
"Ultimate" 3A+ Build
GlowBoy Zero
Some 3d designs I've done...
Soft Tactile Shoulder Buttons, for screw-hole, well mounting
Snap-in, Soft Tactile Shoulder Button insert, for screw-hole, well mounting
Pac-Man and Space Invaders Themed Rear Fan Holder
BMO GBZ
Star Wars Millenium Falcon Challenge
Game Boy Color Zero
... and another Gameboy Color Zero with custom 3D-printed parts
"Ultimate" 3A+ Build
GlowBoy Zero
Some 3d designs I've done...
Soft Tactile Shoulder Buttons, for screw-hole, well mounting
Snap-in, Soft Tactile Shoulder Button insert, for screw-hole, well mounting
Pac-Man and Space Invaders Themed Rear Fan Holder
-
- Posts: 3
- Joined: Tue Jan 28, 2020 5:28 pm
Re: Disable Hall Effect Sensor Shutdown
Thanks for the quick reply! For some reason just changing the shutdown detect number to 0 didn't fix it, so I made the lid sensor number something random and now it is disabled. Thanks again!infinitLoop wrote: ↑Wed Jan 29, 2020 6:05 pm
ah. that makes sense now.
yeah, i think that you should be able to disable it by changing the config...
ssh into your mintypi, or plug a keyboard in and hit f4 to exit out of retropie to a terminal prompt, and type.
at the top there should be a setting for SHUTDOWN_DETECT - change it to 0Code: Select all
sudo nano ~/OneForAll/keys.cfg
hit ctrl-X to exit, say Y to save and hit enter without changing the file name.
reboot ("sudo reboot now" at the prompt) and it should be disabled
.
- infinitLoop
- Posts: 536
- Joined: Mon Dec 24, 2018 11:46 am
- Location: Portland, OR
- Has thanked: 222 times
- Been thanked: 199 times
- Contact:
Re: Disable Hall Effect Sensor Shutdown
huh. weird that it didn't take that setting, but that's good that it worked with the other workaround. just be careful that you dont pick a random pin thats actually used by something, or you might get a random shutdownLevitation77 wrote: ↑Wed Jan 29, 2020 6:46 pm
Thanks for the quick reply! For some reason just changing the shutdown detect number to 0 didn't fix it, so I made the lid sensor number something random and now it is disabled. Thanks again!


Some of my builds...
BMO GBZ
Star Wars Millenium Falcon Challenge
Game Boy Color Zero
... and another Gameboy Color Zero with custom 3D-printed parts
"Ultimate" 3A+ Build
GlowBoy Zero
Some 3d designs I've done...
Soft Tactile Shoulder Buttons, for screw-hole, well mounting
Snap-in, Soft Tactile Shoulder Button insert, for screw-hole, well mounting
Pac-Man and Space Invaders Themed Rear Fan Holder
BMO GBZ
Star Wars Millenium Falcon Challenge
Game Boy Color Zero
... and another Gameboy Color Zero with custom 3D-printed parts
"Ultimate" 3A+ Build
GlowBoy Zero
Some 3d designs I've done...
Soft Tactile Shoulder Buttons, for screw-hole, well mounting
Snap-in, Soft Tactile Shoulder Button insert, for screw-hole, well mounting
Pac-Man and Space Invaders Themed Rear Fan Holder
Who is online
Users browsing this forum: No registered users and 1 guest