To comment on questions or provide answers, please login first.
Register | Login
Hi,
My Moitessier Hat 2 has a shutdown button. However nothing happens when I press it or hold it down. Is there something that needs to be set for the button to be used for shut down?
Thanks.
You need to install the latest Moitessier driver. The HAT will shutdown the Pi, however the HAT will continue its operation.
Thank you, this now works with a driver upgrade,
Hi Thomas,
while shutting down the Pi is an option for HATv2, moitessier.shutdown.service should not be running for HATv1.
Is there an option to prevent this, apart from manually modifying load_driver_moitessier or deleting moitessier.shutdown.service? These would return in future driver updates
Michael
Are you facing any issue on HAT 1 if this service is running?
No, Thomas, I just stumbled over the shutdown.service (and the related sleep processes) when I started analyzing longtime system behaviour due to limited memory. I hadn’t known about the shutdown feature of HAT 2 before I read this QA. Sorry for the bother. I will try commenting it out in the load_driver_moitessier.
Michael
To comment on questions or provide answers, please login first.
Register | Login
Hello, I do have the same Problem of Not shutting down. Latest driver installed thought. Any ideas?
Best regards
Christian
Christian, did you try pressing the button long enough? The service seems to check the button state every 2 seconds, so possibly it missed your short press
Michael
Yep, pressed it for at least 10 second, nothing Happening.
Cheers Christian
Hello Christian,
no need to press the button for seconds. However shutdown might be delayed by the Pi itself and this might take some seconds till the Pi executes the shutdown. Keep in mind, that the shutdown only will work properly with the lastest driver package and only the Pi shuts down, the HAT remains in running mode – the green LEDs will flash as usual.
You could check if your system is able to shutdown the Pi at all without pressing the button by calling the command below in a terminal:
echo 2 | sudo tee /sys/module/moitessier/parameters/DO_SHUTDOWN
Does the Pi shutdown executing this command?
Regards,
Thomas